Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
OrganizationId | Pointer to string | [optional] | |
RepositoryId | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
IsDefault | Pointer to bool | [optional] | |
IsProtected | Pointer to bool | [optional] | |
Provider | Pointer to KgitproxyRepositoryProvider | [optional] [default to KGITPROXYREPOSITORYPROVIDER_INVALID_PROVIDER] |
func NewKgitproxyBranch() *KgitproxyBranch
NewKgitproxyBranch instantiates a new KgitproxyBranch 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 NewKgitproxyBranchWithDefaults() *KgitproxyBranch
NewKgitproxyBranchWithDefaults instantiates a new KgitproxyBranch 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 *KgitproxyBranch) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) 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 *KgitproxyBranch) SetId(v string)
SetId sets Id field to given value.
func (o *KgitproxyBranch) HasId() bool
HasId returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KgitproxyBranch) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *KgitproxyBranch) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetRepositoryId() string
GetRepositoryId returns the RepositoryId field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) GetRepositoryIdOk() (*string, bool)
GetRepositoryIdOk returns a tuple with the RepositoryId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KgitproxyBranch) SetRepositoryId(v string)
SetRepositoryId sets RepositoryId field to given value.
func (o *KgitproxyBranch) HasRepositoryId() bool
HasRepositoryId returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) 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 *KgitproxyBranch) SetName(v string)
SetName sets Name field to given value.
func (o *KgitproxyBranch) HasName() bool
HasName returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetIsDefault() bool
GetIsDefault returns the IsDefault field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) GetIsDefaultOk() (*bool, bool)
GetIsDefaultOk returns a tuple with the IsDefault field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KgitproxyBranch) SetIsDefault(v bool)
SetIsDefault sets IsDefault field to given value.
func (o *KgitproxyBranch) HasIsDefault() bool
HasIsDefault returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetIsProtected() bool
GetIsProtected returns the IsProtected field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) GetIsProtectedOk() (*bool, bool)
GetIsProtectedOk returns a tuple with the IsProtected field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KgitproxyBranch) SetIsProtected(v bool)
SetIsProtected sets IsProtected field to given value.
func (o *KgitproxyBranch) HasIsProtected() bool
HasIsProtected returns a boolean if a field has been set.
func (o *KgitproxyBranch) GetProvider() KgitproxyRepositoryProvider
GetProvider returns the Provider field if non-nil, zero value otherwise.
func (o *KgitproxyBranch) GetProviderOk() (*KgitproxyRepositoryProvider, bool)
GetProviderOk returns a tuple with the Provider field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *KgitproxyBranch) SetProvider(v KgitproxyRepositoryProvider)
SetProvider sets Provider field to given value.
func (o *KgitproxyBranch) HasProvider() bool
HasProvider returns a boolean if a field has been set.