bunnyshell.com/sdk@v0.16.0/docs/GitInfo.md (about) 1 # GitInfo 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Repository** | Pointer to **NullableString** | | [optional] 8 **Branch** | Pointer to **NullableString** | | [optional] 9 10 ## Methods 11 12 ### NewGitInfo 13 14 `func NewGitInfo() *GitInfo` 15 16 NewGitInfo instantiates a new GitInfo object 17 This constructor will assign default values to properties that have it defined, 18 and makes sure properties required by API are set, but the set of arguments 19 will change when the set of required properties is changed 20 21 ### NewGitInfoWithDefaults 22 23 `func NewGitInfoWithDefaults() *GitInfo` 24 25 NewGitInfoWithDefaults instantiates a new GitInfo object 26 This constructor will only assign default values to properties that have it defined, 27 but it doesn't guarantee that properties required by API are set 28 29 ### GetRepository 30 31 `func (o *GitInfo) GetRepository() string` 32 33 GetRepository returns the Repository field if non-nil, zero value otherwise. 34 35 ### GetRepositoryOk 36 37 `func (o *GitInfo) GetRepositoryOk() (*string, bool)` 38 39 GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise 40 and a boolean to check if the value has been set. 41 42 ### SetRepository 43 44 `func (o *GitInfo) SetRepository(v string)` 45 46 SetRepository sets Repository field to given value. 47 48 ### HasRepository 49 50 `func (o *GitInfo) HasRepository() bool` 51 52 HasRepository returns a boolean if a field has been set. 53 54 ### SetRepositoryNil 55 56 `func (o *GitInfo) SetRepositoryNil(b bool)` 57 58 SetRepositoryNil sets the value for Repository to be an explicit nil 59 60 ### UnsetRepository 61 `func (o *GitInfo) UnsetRepository()` 62 63 UnsetRepository ensures that no value is present for Repository, not even an explicit nil 64 ### GetBranch 65 66 `func (o *GitInfo) GetBranch() string` 67 68 GetBranch returns the Branch field if non-nil, zero value otherwise. 69 70 ### GetBranchOk 71 72 `func (o *GitInfo) GetBranchOk() (*string, bool)` 73 74 GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise 75 and a boolean to check if the value has been set. 76 77 ### SetBranch 78 79 `func (o *GitInfo) SetBranch(v string)` 80 81 SetBranch sets Branch field to given value. 82 83 ### HasBranch 84 85 `func (o *GitInfo) HasBranch() bool` 86 87 HasBranch returns a boolean if a field has been set. 88 89 ### SetBranchNil 90 91 `func (o *GitInfo) SetBranchNil(b bool)` 92 93 SetBranchNil sets the value for Branch to be an explicit nil 94 95 ### UnsetBranch 96 `func (o *GitInfo) UnsetBranch()` 97 98 UnsetBranch ensures that no value is present for Branch, not even an explicit nil 99 100 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 101 102