Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 6.13 KB

GitRepository.md

File metadata and controls

264 lines (143 loc) · 6.13 KB

GitRepository

Properties

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]

Methods

NewGitRepository

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

NewGitRepositoryWithDefaults

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

GetBranch

func (o *GitRepository) GetBranch() string

GetBranch returns the Branch field if non-nil, zero value otherwise.

GetBranchOk

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.

SetBranch

func (o *GitRepository) SetBranch(v string)

SetBranch sets Branch field to given value.

HasBranch

func (o *GitRepository) HasBranch() bool

HasBranch returns a boolean if a field has been set.

GetId

func (o *GitRepository) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *GitRepository) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *GitRepository) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *GitRepository) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *GitRepository) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *GitRepository) HasName() bool

HasName returns a boolean if a field has been set.

GetOwner

func (o *GitRepository) GetOwner() string

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk

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.

SetOwner

func (o *GitRepository) SetOwner(v string)

SetOwner sets Owner field to given value.

HasOwner

func (o *GitRepository) HasOwner() bool

HasOwner returns a boolean if a field has been set.

GetPath

func (o *GitRepository) GetPath() string

GetPath returns the Path field if non-nil, zero value otherwise.

GetPathOk

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.

SetPath

func (o *GitRepository) SetPath(v string)

SetPath sets Path field to given value.

HasPath

func (o *GitRepository) HasPath() bool

HasPath returns a boolean if a field has been set.

GetPrNumber

func (o *GitRepository) GetPrNumber() int32

GetPrNumber returns the PrNumber field if non-nil, zero value otherwise.

GetPrNumberOk

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.

SetPrNumber

func (o *GitRepository) SetPrNumber(v int32)

SetPrNumber sets PrNumber field to given value.

HasPrNumber

func (o *GitRepository) HasPrNumber() bool

HasPrNumber returns a boolean if a field has been set.

GetSha

func (o *GitRepository) GetSha() string

GetSha returns the Sha field if non-nil, zero value otherwise.

GetShaOk

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.

SetSha

func (o *GitRepository) SetSha(v string)

SetSha sets Sha field to given value.

HasSha

func (o *GitRepository) HasSha() bool

HasSha returns a boolean if a field has been set.

GetSource

func (o *GitRepository) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

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.

SetSource

func (o *GitRepository) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *GitRepository) HasSource() bool

HasSource returns a boolean if a field has been set.

GetUrl

func (o *GitRepository) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

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.

SetUrl

func (o *GitRepository) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *GitRepository) HasUrl() bool

HasUrl returns a boolean if a field has been set.

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