bunnyshell.com/sdk@v0.16.0/docs/StageItem.md (about) 1 # StageItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Stage identifier. | [optional] [readonly] 8 **Name** | Pointer to **string** | Stage name. | [optional] [readonly] 9 **Status** | Pointer to **string** | Stage status. | [optional] [readonly] 10 **Duration** | Pointer to **NullableInt32** | Stage duration. | [optional] [readonly] 11 **JobsCount** | Pointer to **int32** | Stage total jobs. | [optional] [readonly] 12 **CompletedJobsCount** | Pointer to **int32** | Stage completed jobs. | [optional] [readonly] 13 **Pipeline** | Pointer to **string** | Event identifier. | [optional] [readonly] 14 15 ## Methods 16 17 ### NewStageItem 18 19 `func NewStageItem() *StageItem` 20 21 NewStageItem instantiates a new StageItem object 22 This constructor will assign default values to properties that have it defined, 23 and makes sure properties required by API are set, but the set of arguments 24 will change when the set of required properties is changed 25 26 ### NewStageItemWithDefaults 27 28 `func NewStageItemWithDefaults() *StageItem` 29 30 NewStageItemWithDefaults instantiates a new StageItem object 31 This constructor will only assign default values to properties that have it defined, 32 but it doesn't guarantee that properties required by API are set 33 34 ### GetId 35 36 `func (o *StageItem) GetId() string` 37 38 GetId returns the Id field if non-nil, zero value otherwise. 39 40 ### GetIdOk 41 42 `func (o *StageItem) GetIdOk() (*string, bool)` 43 44 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 45 and a boolean to check if the value has been set. 46 47 ### SetId 48 49 `func (o *StageItem) SetId(v string)` 50 51 SetId sets Id field to given value. 52 53 ### HasId 54 55 `func (o *StageItem) HasId() bool` 56 57 HasId returns a boolean if a field has been set. 58 59 ### GetName 60 61 `func (o *StageItem) GetName() string` 62 63 GetName returns the Name field if non-nil, zero value otherwise. 64 65 ### GetNameOk 66 67 `func (o *StageItem) GetNameOk() (*string, bool)` 68 69 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 70 and a boolean to check if the value has been set. 71 72 ### SetName 73 74 `func (o *StageItem) SetName(v string)` 75 76 SetName sets Name field to given value. 77 78 ### HasName 79 80 `func (o *StageItem) HasName() bool` 81 82 HasName returns a boolean if a field has been set. 83 84 ### GetStatus 85 86 `func (o *StageItem) GetStatus() string` 87 88 GetStatus returns the Status field if non-nil, zero value otherwise. 89 90 ### GetStatusOk 91 92 `func (o *StageItem) GetStatusOk() (*string, bool)` 93 94 GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise 95 and a boolean to check if the value has been set. 96 97 ### SetStatus 98 99 `func (o *StageItem) SetStatus(v string)` 100 101 SetStatus sets Status field to given value. 102 103 ### HasStatus 104 105 `func (o *StageItem) HasStatus() bool` 106 107 HasStatus returns a boolean if a field has been set. 108 109 ### GetDuration 110 111 `func (o *StageItem) GetDuration() int32` 112 113 GetDuration returns the Duration field if non-nil, zero value otherwise. 114 115 ### GetDurationOk 116 117 `func (o *StageItem) GetDurationOk() (*int32, bool)` 118 119 GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise 120 and a boolean to check if the value has been set. 121 122 ### SetDuration 123 124 `func (o *StageItem) SetDuration(v int32)` 125 126 SetDuration sets Duration field to given value. 127 128 ### HasDuration 129 130 `func (o *StageItem) HasDuration() bool` 131 132 HasDuration returns a boolean if a field has been set. 133 134 ### SetDurationNil 135 136 `func (o *StageItem) SetDurationNil(b bool)` 137 138 SetDurationNil sets the value for Duration to be an explicit nil 139 140 ### UnsetDuration 141 `func (o *StageItem) UnsetDuration()` 142 143 UnsetDuration ensures that no value is present for Duration, not even an explicit nil 144 ### GetJobsCount 145 146 `func (o *StageItem) GetJobsCount() int32` 147 148 GetJobsCount returns the JobsCount field if non-nil, zero value otherwise. 149 150 ### GetJobsCountOk 151 152 `func (o *StageItem) GetJobsCountOk() (*int32, bool)` 153 154 GetJobsCountOk returns a tuple with the JobsCount field if it's non-nil, zero value otherwise 155 and a boolean to check if the value has been set. 156 157 ### SetJobsCount 158 159 `func (o *StageItem) SetJobsCount(v int32)` 160 161 SetJobsCount sets JobsCount field to given value. 162 163 ### HasJobsCount 164 165 `func (o *StageItem) HasJobsCount() bool` 166 167 HasJobsCount returns a boolean if a field has been set. 168 169 ### GetCompletedJobsCount 170 171 `func (o *StageItem) GetCompletedJobsCount() int32` 172 173 GetCompletedJobsCount returns the CompletedJobsCount field if non-nil, zero value otherwise. 174 175 ### GetCompletedJobsCountOk 176 177 `func (o *StageItem) GetCompletedJobsCountOk() (*int32, bool)` 178 179 GetCompletedJobsCountOk returns a tuple with the CompletedJobsCount field if it's non-nil, zero value otherwise 180 and a boolean to check if the value has been set. 181 182 ### SetCompletedJobsCount 183 184 `func (o *StageItem) SetCompletedJobsCount(v int32)` 185 186 SetCompletedJobsCount sets CompletedJobsCount field to given value. 187 188 ### HasCompletedJobsCount 189 190 `func (o *StageItem) HasCompletedJobsCount() bool` 191 192 HasCompletedJobsCount returns a boolean if a field has been set. 193 194 ### GetPipeline 195 196 `func (o *StageItem) GetPipeline() string` 197 198 GetPipeline returns the Pipeline field if non-nil, zero value otherwise. 199 200 ### GetPipelineOk 201 202 `func (o *StageItem) GetPipelineOk() (*string, bool)` 203 204 GetPipelineOk returns a tuple with the Pipeline field if it's non-nil, zero value otherwise 205 and a boolean to check if the value has been set. 206 207 ### SetPipeline 208 209 `func (o *StageItem) SetPipeline(v string)` 210 211 SetPipeline sets Pipeline field to given value. 212 213 ### HasPipeline 214 215 `func (o *StageItem) HasPipeline() bool` 216 217 HasPipeline returns a boolean if a field has been set. 218 219 220 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 221 222