bunnyshell.com/sdk@v0.16.0/docs/ComponentGitItem.md (about) 1 # ComponentGitItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Service component identifier | [optional] [readonly] 8 **Name** | Pointer to **string** | Service component name | [optional] [readonly] 9 **Repository** | Pointer to **string** | Git repository | [optional] [readonly] 10 **RefName** | Pointer to **string** | Git ref name | [optional] [readonly] 11 **Path** | Pointer to **NullableString** | Git application path | [optional] [readonly] 12 **RefSha** | Pointer to **NullableString** | Git ref sha | [optional] [readonly] 13 **DeployedSha** | Pointer to **NullableString** | Git deployed sha | [optional] [readonly] 14 **Environment** | Pointer to **string** | Environment identifier. | [optional] [readonly] 15 16 ## Methods 17 18 ### NewComponentGitItem 19 20 `func NewComponentGitItem() *ComponentGitItem` 21 22 NewComponentGitItem instantiates a new ComponentGitItem object 23 This constructor will assign default values to properties that have it defined, 24 and makes sure properties required by API are set, but the set of arguments 25 will change when the set of required properties is changed 26 27 ### NewComponentGitItemWithDefaults 28 29 `func NewComponentGitItemWithDefaults() *ComponentGitItem` 30 31 NewComponentGitItemWithDefaults instantiates a new ComponentGitItem object 32 This constructor will only assign default values to properties that have it defined, 33 but it doesn't guarantee that properties required by API are set 34 35 ### GetId 36 37 `func (o *ComponentGitItem) GetId() string` 38 39 GetId returns the Id field if non-nil, zero value otherwise. 40 41 ### GetIdOk 42 43 `func (o *ComponentGitItem) GetIdOk() (*string, bool)` 44 45 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 46 and a boolean to check if the value has been set. 47 48 ### SetId 49 50 `func (o *ComponentGitItem) SetId(v string)` 51 52 SetId sets Id field to given value. 53 54 ### HasId 55 56 `func (o *ComponentGitItem) HasId() bool` 57 58 HasId returns a boolean if a field has been set. 59 60 ### GetName 61 62 `func (o *ComponentGitItem) GetName() string` 63 64 GetName returns the Name field if non-nil, zero value otherwise. 65 66 ### GetNameOk 67 68 `func (o *ComponentGitItem) GetNameOk() (*string, bool)` 69 70 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 71 and a boolean to check if the value has been set. 72 73 ### SetName 74 75 `func (o *ComponentGitItem) SetName(v string)` 76 77 SetName sets Name field to given value. 78 79 ### HasName 80 81 `func (o *ComponentGitItem) HasName() bool` 82 83 HasName returns a boolean if a field has been set. 84 85 ### GetRepository 86 87 `func (o *ComponentGitItem) GetRepository() string` 88 89 GetRepository returns the Repository field if non-nil, zero value otherwise. 90 91 ### GetRepositoryOk 92 93 `func (o *ComponentGitItem) GetRepositoryOk() (*string, bool)` 94 95 GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise 96 and a boolean to check if the value has been set. 97 98 ### SetRepository 99 100 `func (o *ComponentGitItem) SetRepository(v string)` 101 102 SetRepository sets Repository field to given value. 103 104 ### HasRepository 105 106 `func (o *ComponentGitItem) HasRepository() bool` 107 108 HasRepository returns a boolean if a field has been set. 109 110 ### GetRefName 111 112 `func (o *ComponentGitItem) GetRefName() string` 113 114 GetRefName returns the RefName field if non-nil, zero value otherwise. 115 116 ### GetRefNameOk 117 118 `func (o *ComponentGitItem) GetRefNameOk() (*string, bool)` 119 120 GetRefNameOk returns a tuple with the RefName field if it's non-nil, zero value otherwise 121 and a boolean to check if the value has been set. 122 123 ### SetRefName 124 125 `func (o *ComponentGitItem) SetRefName(v string)` 126 127 SetRefName sets RefName field to given value. 128 129 ### HasRefName 130 131 `func (o *ComponentGitItem) HasRefName() bool` 132 133 HasRefName returns a boolean if a field has been set. 134 135 ### GetPath 136 137 `func (o *ComponentGitItem) GetPath() string` 138 139 GetPath returns the Path field if non-nil, zero value otherwise. 140 141 ### GetPathOk 142 143 `func (o *ComponentGitItem) GetPathOk() (*string, bool)` 144 145 GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise 146 and a boolean to check if the value has been set. 147 148 ### SetPath 149 150 `func (o *ComponentGitItem) SetPath(v string)` 151 152 SetPath sets Path field to given value. 153 154 ### HasPath 155 156 `func (o *ComponentGitItem) HasPath() bool` 157 158 HasPath returns a boolean if a field has been set. 159 160 ### SetPathNil 161 162 `func (o *ComponentGitItem) SetPathNil(b bool)` 163 164 SetPathNil sets the value for Path to be an explicit nil 165 166 ### UnsetPath 167 `func (o *ComponentGitItem) UnsetPath()` 168 169 UnsetPath ensures that no value is present for Path, not even an explicit nil 170 ### GetRefSha 171 172 `func (o *ComponentGitItem) GetRefSha() string` 173 174 GetRefSha returns the RefSha field if non-nil, zero value otherwise. 175 176 ### GetRefShaOk 177 178 `func (o *ComponentGitItem) GetRefShaOk() (*string, bool)` 179 180 GetRefShaOk returns a tuple with the RefSha field if it's non-nil, zero value otherwise 181 and a boolean to check if the value has been set. 182 183 ### SetRefSha 184 185 `func (o *ComponentGitItem) SetRefSha(v string)` 186 187 SetRefSha sets RefSha field to given value. 188 189 ### HasRefSha 190 191 `func (o *ComponentGitItem) HasRefSha() bool` 192 193 HasRefSha returns a boolean if a field has been set. 194 195 ### SetRefShaNil 196 197 `func (o *ComponentGitItem) SetRefShaNil(b bool)` 198 199 SetRefShaNil sets the value for RefSha to be an explicit nil 200 201 ### UnsetRefSha 202 `func (o *ComponentGitItem) UnsetRefSha()` 203 204 UnsetRefSha ensures that no value is present for RefSha, not even an explicit nil 205 ### GetDeployedSha 206 207 `func (o *ComponentGitItem) GetDeployedSha() string` 208 209 GetDeployedSha returns the DeployedSha field if non-nil, zero value otherwise. 210 211 ### GetDeployedShaOk 212 213 `func (o *ComponentGitItem) GetDeployedShaOk() (*string, bool)` 214 215 GetDeployedShaOk returns a tuple with the DeployedSha field if it's non-nil, zero value otherwise 216 and a boolean to check if the value has been set. 217 218 ### SetDeployedSha 219 220 `func (o *ComponentGitItem) SetDeployedSha(v string)` 221 222 SetDeployedSha sets DeployedSha field to given value. 223 224 ### HasDeployedSha 225 226 `func (o *ComponentGitItem) HasDeployedSha() bool` 227 228 HasDeployedSha returns a boolean if a field has been set. 229 230 ### SetDeployedShaNil 231 232 `func (o *ComponentGitItem) SetDeployedShaNil(b bool)` 233 234 SetDeployedShaNil sets the value for DeployedSha to be an explicit nil 235 236 ### UnsetDeployedSha 237 `func (o *ComponentGitItem) UnsetDeployedSha()` 238 239 UnsetDeployedSha ensures that no value is present for DeployedSha, not even an explicit nil 240 ### GetEnvironment 241 242 `func (o *ComponentGitItem) GetEnvironment() string` 243 244 GetEnvironment returns the Environment field if non-nil, zero value otherwise. 245 246 ### GetEnvironmentOk 247 248 `func (o *ComponentGitItem) GetEnvironmentOk() (*string, bool)` 249 250 GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise 251 and a boolean to check if the value has been set. 252 253 ### SetEnvironment 254 255 `func (o *ComponentGitItem) SetEnvironment(v string)` 256 257 SetEnvironment sets Environment field to given value. 258 259 ### HasEnvironment 260 261 `func (o *ComponentGitItem) HasEnvironment() bool` 262 263 HasEnvironment returns a boolean if a field has been set. 264 265 266 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 267 268