Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Name | string | ||
Url | string | ||
DefaultBranch | Pointer to string | [optional] | |
IsPrivate | Pointer to bool | [optional] |
func NewGitRepository(id string, name string, url string, ) *GitRepository
NewGitRepository instantiates a new GitRepository object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGitRepositoryWithDefaults() *GitRepository
NewGitRepositoryWithDefaults instantiates a new GitRepository object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *GitRepository) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *GitRepository) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetId(v string)
SetId sets Id field to given value.
func (o *GitRepository) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GitRepository) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetName(v string)
SetName sets Name field to given value.
func (o *GitRepository) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *GitRepository) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *GitRepository) GetDefaultBranch() string
GetDefaultBranch returns the DefaultBranch field if non-nil, zero value otherwise.
func (o *GitRepository) GetDefaultBranchOk() (*string, bool)
GetDefaultBranchOk returns a tuple with the DefaultBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetDefaultBranch(v string)
SetDefaultBranch sets DefaultBranch field to given value.
func (o *GitRepository) HasDefaultBranch() bool
HasDefaultBranch returns a boolean if a field has been set.
func (o *GitRepository) GetIsPrivate() bool
GetIsPrivate returns the IsPrivate field if non-nil, zero value otherwise.
func (o *GitRepository) GetIsPrivateOk() (*bool, bool)
GetIsPrivateOk returns a tuple with the IsPrivate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetIsPrivate(v bool)
SetIsPrivate sets IsPrivate field to given value.
func (o *GitRepository) HasIsPrivate() bool
HasIsPrivate returns a boolean if a field has been set.