Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.43 KB

File metadata and controls

34 lines (25 loc) · 1.43 KB

RepositoryPost

Properties

Name Type Description Notes
name str The repository name
source_link str A URL to access the repository [optional]
commit_url_template str A template for constructing a valid URL to view the commit [optional]
hunk_url_template str A template for constructing a valid URL to view the hunk [optional]
type str The type of repository. If not specified, the default value is <code>custom</code>. [optional]
default_branch str The repository's default branch. If not specified, the default value is <code>main</code>. [optional]

Example

from launchdarkly_api.models.repository_post import RepositoryPost

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

# convert the object into a dict
repository_post_dict = repository_post_instance.to_dict()
# create an instance of RepositoryPost from a dict
repository_post_from_dict = RepositoryPost.from_dict(repository_post_dict)

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