bunnyshell.com/sdk@v0.16.0/docs/WorkflowItem.md (about) 1 # WorkflowItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Workflow identifier. | [optional] [readonly] 8 **Description** | Pointer to **string** | Workflow description. | [optional] [readonly] 9 **Status** | Pointer to **string** | Workflow status. | [optional] [readonly] 10 **Environment** | Pointer to **NullableString** | Environment identifier. | [optional] [readonly] 11 **Event** | Pointer to **string** | Event identifier. | [optional] [readonly] 12 **Organization** | Pointer to **string** | Organization identifier. | [optional] [readonly] 13 **Duration** | Pointer to **NullableInt32** | Workflow duration in seconds. | [optional] [readonly] 14 **JobsCount** | Pointer to **int32** | Number of jobs. | [optional] [readonly] 15 **CompletedJobsCount** | Pointer to **int32** | Number of completed jobs. | [optional] [readonly] 16 **WebUrl** | Pointer to **string** | Workflow web URL. | [optional] [readonly] 17 18 ## Methods 19 20 ### NewWorkflowItem 21 22 `func NewWorkflowItem() *WorkflowItem` 23 24 NewWorkflowItem instantiates a new WorkflowItem object 25 This constructor will assign default values to properties that have it defined, 26 and makes sure properties required by API are set, but the set of arguments 27 will change when the set of required properties is changed 28 29 ### NewWorkflowItemWithDefaults 30 31 `func NewWorkflowItemWithDefaults() *WorkflowItem` 32 33 NewWorkflowItemWithDefaults instantiates a new WorkflowItem object 34 This constructor will only assign default values to properties that have it defined, 35 but it doesn't guarantee that properties required by API are set 36 37 ### GetId 38 39 `func (o *WorkflowItem) GetId() string` 40 41 GetId returns the Id field if non-nil, zero value otherwise. 42 43 ### GetIdOk 44 45 `func (o *WorkflowItem) GetIdOk() (*string, bool)` 46 47 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 48 and a boolean to check if the value has been set. 49 50 ### SetId 51 52 `func (o *WorkflowItem) SetId(v string)` 53 54 SetId sets Id field to given value. 55 56 ### HasId 57 58 `func (o *WorkflowItem) HasId() bool` 59 60 HasId returns a boolean if a field has been set. 61 62 ### GetDescription 63 64 `func (o *WorkflowItem) GetDescription() string` 65 66 GetDescription returns the Description field if non-nil, zero value otherwise. 67 68 ### GetDescriptionOk 69 70 `func (o *WorkflowItem) GetDescriptionOk() (*string, bool)` 71 72 GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise 73 and a boolean to check if the value has been set. 74 75 ### SetDescription 76 77 `func (o *WorkflowItem) SetDescription(v string)` 78 79 SetDescription sets Description field to given value. 80 81 ### HasDescription 82 83 `func (o *WorkflowItem) HasDescription() bool` 84 85 HasDescription returns a boolean if a field has been set. 86 87 ### GetStatus 88 89 `func (o *WorkflowItem) GetStatus() string` 90 91 GetStatus returns the Status field if non-nil, zero value otherwise. 92 93 ### GetStatusOk 94 95 `func (o *WorkflowItem) GetStatusOk() (*string, bool)` 96 97 GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise 98 and a boolean to check if the value has been set. 99 100 ### SetStatus 101 102 `func (o *WorkflowItem) SetStatus(v string)` 103 104 SetStatus sets Status field to given value. 105 106 ### HasStatus 107 108 `func (o *WorkflowItem) HasStatus() bool` 109 110 HasStatus returns a boolean if a field has been set. 111 112 ### GetEnvironment 113 114 `func (o *WorkflowItem) GetEnvironment() string` 115 116 GetEnvironment returns the Environment field if non-nil, zero value otherwise. 117 118 ### GetEnvironmentOk 119 120 `func (o *WorkflowItem) GetEnvironmentOk() (*string, bool)` 121 122 GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise 123 and a boolean to check if the value has been set. 124 125 ### SetEnvironment 126 127 `func (o *WorkflowItem) SetEnvironment(v string)` 128 129 SetEnvironment sets Environment field to given value. 130 131 ### HasEnvironment 132 133 `func (o *WorkflowItem) HasEnvironment() bool` 134 135 HasEnvironment returns a boolean if a field has been set. 136 137 ### SetEnvironmentNil 138 139 `func (o *WorkflowItem) SetEnvironmentNil(b bool)` 140 141 SetEnvironmentNil sets the value for Environment to be an explicit nil 142 143 ### UnsetEnvironment 144 `func (o *WorkflowItem) UnsetEnvironment()` 145 146 UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil 147 ### GetEvent 148 149 `func (o *WorkflowItem) GetEvent() string` 150 151 GetEvent returns the Event field if non-nil, zero value otherwise. 152 153 ### GetEventOk 154 155 `func (o *WorkflowItem) GetEventOk() (*string, bool)` 156 157 GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise 158 and a boolean to check if the value has been set. 159 160 ### SetEvent 161 162 `func (o *WorkflowItem) SetEvent(v string)` 163 164 SetEvent sets Event field to given value. 165 166 ### HasEvent 167 168 `func (o *WorkflowItem) HasEvent() bool` 169 170 HasEvent returns a boolean if a field has been set. 171 172 ### GetOrganization 173 174 `func (o *WorkflowItem) GetOrganization() string` 175 176 GetOrganization returns the Organization field if non-nil, zero value otherwise. 177 178 ### GetOrganizationOk 179 180 `func (o *WorkflowItem) GetOrganizationOk() (*string, bool)` 181 182 GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise 183 and a boolean to check if the value has been set. 184 185 ### SetOrganization 186 187 `func (o *WorkflowItem) SetOrganization(v string)` 188 189 SetOrganization sets Organization field to given value. 190 191 ### HasOrganization 192 193 `func (o *WorkflowItem) HasOrganization() bool` 194 195 HasOrganization returns a boolean if a field has been set. 196 197 ### GetDuration 198 199 `func (o *WorkflowItem) GetDuration() int32` 200 201 GetDuration returns the Duration field if non-nil, zero value otherwise. 202 203 ### GetDurationOk 204 205 `func (o *WorkflowItem) GetDurationOk() (*int32, bool)` 206 207 GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise 208 and a boolean to check if the value has been set. 209 210 ### SetDuration 211 212 `func (o *WorkflowItem) SetDuration(v int32)` 213 214 SetDuration sets Duration field to given value. 215 216 ### HasDuration 217 218 `func (o *WorkflowItem) HasDuration() bool` 219 220 HasDuration returns a boolean if a field has been set. 221 222 ### SetDurationNil 223 224 `func (o *WorkflowItem) SetDurationNil(b bool)` 225 226 SetDurationNil sets the value for Duration to be an explicit nil 227 228 ### UnsetDuration 229 `func (o *WorkflowItem) UnsetDuration()` 230 231 UnsetDuration ensures that no value is present for Duration, not even an explicit nil 232 ### GetJobsCount 233 234 `func (o *WorkflowItem) GetJobsCount() int32` 235 236 GetJobsCount returns the JobsCount field if non-nil, zero value otherwise. 237 238 ### GetJobsCountOk 239 240 `func (o *WorkflowItem) GetJobsCountOk() (*int32, bool)` 241 242 GetJobsCountOk returns a tuple with the JobsCount field if it's non-nil, zero value otherwise 243 and a boolean to check if the value has been set. 244 245 ### SetJobsCount 246 247 `func (o *WorkflowItem) SetJobsCount(v int32)` 248 249 SetJobsCount sets JobsCount field to given value. 250 251 ### HasJobsCount 252 253 `func (o *WorkflowItem) HasJobsCount() bool` 254 255 HasJobsCount returns a boolean if a field has been set. 256 257 ### GetCompletedJobsCount 258 259 `func (o *WorkflowItem) GetCompletedJobsCount() int32` 260 261 GetCompletedJobsCount returns the CompletedJobsCount field if non-nil, zero value otherwise. 262 263 ### GetCompletedJobsCountOk 264 265 `func (o *WorkflowItem) GetCompletedJobsCountOk() (*int32, bool)` 266 267 GetCompletedJobsCountOk returns a tuple with the CompletedJobsCount field if it's non-nil, zero value otherwise 268 and a boolean to check if the value has been set. 269 270 ### SetCompletedJobsCount 271 272 `func (o *WorkflowItem) SetCompletedJobsCount(v int32)` 273 274 SetCompletedJobsCount sets CompletedJobsCount field to given value. 275 276 ### HasCompletedJobsCount 277 278 `func (o *WorkflowItem) HasCompletedJobsCount() bool` 279 280 HasCompletedJobsCount returns a boolean if a field has been set. 281 282 ### GetWebUrl 283 284 `func (o *WorkflowItem) GetWebUrl() string` 285 286 GetWebUrl returns the WebUrl field if non-nil, zero value otherwise. 287 288 ### GetWebUrlOk 289 290 `func (o *WorkflowItem) GetWebUrlOk() (*string, bool)` 291 292 GetWebUrlOk returns a tuple with the WebUrl field if it's non-nil, zero value otherwise 293 and a boolean to check if the value has been set. 294 295 ### SetWebUrl 296 297 `func (o *WorkflowItem) SetWebUrl(v string)` 298 299 SetWebUrl sets WebUrl field to given value. 300 301 ### HasWebUrl 302 303 `func (o *WorkflowItem) HasWebUrl() bool` 304 305 HasWebUrl returns a boolean if a field has been set. 306 307 308 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 309 310