Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.07 KB

CreateForkOption.md

File metadata and controls

31 lines (22 loc) · 1.07 KB

CreateForkOption

CreateForkOption options for creating a fork

Properties

Name Type Description Notes
name str name of the forked repository [optional]
organization str organization name, if forking into an organization [optional]

Example

from clientapi_forgejo.models.create_fork_option import CreateForkOption

# TODO update the JSON string below
json = "{}"
# create an instance of CreateForkOption from a JSON string
create_fork_option_instance = CreateForkOption.from_json(json)
# print the JSON string representation of the object
print(CreateForkOption.to_json())

# convert the object into a dict
create_fork_option_dict = create_fork_option_instance.to_dict()
# create an instance of CreateForkOption from a dict
create_fork_option_from_dict = CreateForkOption.from_dict(create_fork_option_dict)

[Back to Model list] [Back to API list] [Back to README]