Name | Type | Description | Notes |
---|---|---|---|
Branch | Pointer to string | [optional] | |
Id | Pointer to string | [optional] | |
Name | Pointer to string | [optional] | |
Owner | Pointer to string | [optional] | |
Path | Pointer to string | [optional] | |
PrNumber | Pointer to int32 | [optional] | |
Sha | Pointer to string | [optional] | |
Source | Pointer to string | [optional] | |
Url | Pointer to string | [optional] |
func NewGitRepository() *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) GetBranch() string
GetBranch returns the Branch field if non-nil, zero value otherwise.
func (o *GitRepository) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetBranch(v string)
SetBranch sets Branch field to given value.
func (o *GitRepository) HasBranch() bool
HasBranch returns a boolean if a field has been 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) HasId() bool
HasId returns a boolean if a field has been set.
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) HasName() bool
HasName returns a boolean if a field has been set.
func (o *GitRepository) GetOwner() string
GetOwner returns the Owner field if non-nil, zero value otherwise.
func (o *GitRepository) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetOwner(v string)
SetOwner sets Owner field to given value.
func (o *GitRepository) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (o *GitRepository) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
func (o *GitRepository) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetPath(v string)
SetPath sets Path field to given value.
func (o *GitRepository) HasPath() bool
HasPath returns a boolean if a field has been set.
func (o *GitRepository) GetPrNumber() int32
GetPrNumber returns the PrNumber field if non-nil, zero value otherwise.
func (o *GitRepository) GetPrNumberOk() (*int32, bool)
GetPrNumberOk returns a tuple with the PrNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetPrNumber(v int32)
SetPrNumber sets PrNumber field to given value.
func (o *GitRepository) HasPrNumber() bool
HasPrNumber returns a boolean if a field has been set.
func (o *GitRepository) GetSha() string
GetSha returns the Sha field if non-nil, zero value otherwise.
func (o *GitRepository) GetShaOk() (*string, bool)
GetShaOk returns a tuple with the Sha field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetSha(v string)
SetSha sets Sha field to given value.
func (o *GitRepository) HasSha() bool
HasSha returns a boolean if a field has been set.
func (o *GitRepository) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
func (o *GitRepository) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GitRepository) SetSource(v string)
SetSource sets Source field to given value.
func (o *GitRepository) HasSource() bool
HasSource returns a boolean if a field has been set.
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) HasUrl() bool
HasUrl returns a boolean if a field has been set.