bunnyshell.com/sdk@v0.16.0/docs/EventItem.md (about) 1 # EventItem 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | Event identifier. | [optional] [readonly] 8 **Type** | Pointer to **string** | Event type. | [optional] [readonly] 9 **Status** | Pointer to **string** | Event operation status. | [optional] [readonly] 10 **Environment** | Pointer to **NullableString** | Environment identifier. | [optional] [readonly] 11 **Organization** | Pointer to **string** | Organization identifier. | [optional] [readonly] 12 **CreatedAt** | Pointer to **time.Time** | Event creation time. | [optional] [readonly] 13 **UpdatedAt** | Pointer to **time.Time** | Event last update time. | [optional] [readonly] 14 **Delegated** | Pointer to **NullableString** | Event identifier. | [optional] [readonly] 15 16 ## Methods 17 18 ### NewEventItem 19 20 `func NewEventItem() *EventItem` 21 22 NewEventItem instantiates a new EventItem 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 ### NewEventItemWithDefaults 28 29 `func NewEventItemWithDefaults() *EventItem` 30 31 NewEventItemWithDefaults instantiates a new EventItem 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 *EventItem) GetId() string` 38 39 GetId returns the Id field if non-nil, zero value otherwise. 40 41 ### GetIdOk 42 43 `func (o *EventItem) 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 *EventItem) SetId(v string)` 51 52 SetId sets Id field to given value. 53 54 ### HasId 55 56 `func (o *EventItem) HasId() bool` 57 58 HasId returns a boolean if a field has been set. 59 60 ### GetType 61 62 `func (o *EventItem) GetType() string` 63 64 GetType returns the Type field if non-nil, zero value otherwise. 65 66 ### GetTypeOk 67 68 `func (o *EventItem) GetTypeOk() (*string, bool)` 69 70 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 71 and a boolean to check if the value has been set. 72 73 ### SetType 74 75 `func (o *EventItem) SetType(v string)` 76 77 SetType sets Type field to given value. 78 79 ### HasType 80 81 `func (o *EventItem) HasType() bool` 82 83 HasType returns a boolean if a field has been set. 84 85 ### GetStatus 86 87 `func (o *EventItem) GetStatus() string` 88 89 GetStatus returns the Status field if non-nil, zero value otherwise. 90 91 ### GetStatusOk 92 93 `func (o *EventItem) GetStatusOk() (*string, bool)` 94 95 GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise 96 and a boolean to check if the value has been set. 97 98 ### SetStatus 99 100 `func (o *EventItem) SetStatus(v string)` 101 102 SetStatus sets Status field to given value. 103 104 ### HasStatus 105 106 `func (o *EventItem) HasStatus() bool` 107 108 HasStatus returns a boolean if a field has been set. 109 110 ### GetEnvironment 111 112 `func (o *EventItem) GetEnvironment() string` 113 114 GetEnvironment returns the Environment field if non-nil, zero value otherwise. 115 116 ### GetEnvironmentOk 117 118 `func (o *EventItem) GetEnvironmentOk() (*string, bool)` 119 120 GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise 121 and a boolean to check if the value has been set. 122 123 ### SetEnvironment 124 125 `func (o *EventItem) SetEnvironment(v string)` 126 127 SetEnvironment sets Environment field to given value. 128 129 ### HasEnvironment 130 131 `func (o *EventItem) HasEnvironment() bool` 132 133 HasEnvironment returns a boolean if a field has been set. 134 135 ### SetEnvironmentNil 136 137 `func (o *EventItem) SetEnvironmentNil(b bool)` 138 139 SetEnvironmentNil sets the value for Environment to be an explicit nil 140 141 ### UnsetEnvironment 142 `func (o *EventItem) UnsetEnvironment()` 143 144 UnsetEnvironment ensures that no value is present for Environment, not even an explicit nil 145 ### GetOrganization 146 147 `func (o *EventItem) GetOrganization() string` 148 149 GetOrganization returns the Organization field if non-nil, zero value otherwise. 150 151 ### GetOrganizationOk 152 153 `func (o *EventItem) GetOrganizationOk() (*string, bool)` 154 155 GetOrganizationOk returns a tuple with the Organization field if it's non-nil, zero value otherwise 156 and a boolean to check if the value has been set. 157 158 ### SetOrganization 159 160 `func (o *EventItem) SetOrganization(v string)` 161 162 SetOrganization sets Organization field to given value. 163 164 ### HasOrganization 165 166 `func (o *EventItem) HasOrganization() bool` 167 168 HasOrganization returns a boolean if a field has been set. 169 170 ### GetCreatedAt 171 172 `func (o *EventItem) GetCreatedAt() time.Time` 173 174 GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. 175 176 ### GetCreatedAtOk 177 178 `func (o *EventItem) GetCreatedAtOk() (*time.Time, bool)` 179 180 GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise 181 and a boolean to check if the value has been set. 182 183 ### SetCreatedAt 184 185 `func (o *EventItem) SetCreatedAt(v time.Time)` 186 187 SetCreatedAt sets CreatedAt field to given value. 188 189 ### HasCreatedAt 190 191 `func (o *EventItem) HasCreatedAt() bool` 192 193 HasCreatedAt returns a boolean if a field has been set. 194 195 ### GetUpdatedAt 196 197 `func (o *EventItem) GetUpdatedAt() time.Time` 198 199 GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. 200 201 ### GetUpdatedAtOk 202 203 `func (o *EventItem) GetUpdatedAtOk() (*time.Time, bool)` 204 205 GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise 206 and a boolean to check if the value has been set. 207 208 ### SetUpdatedAt 209 210 `func (o *EventItem) SetUpdatedAt(v time.Time)` 211 212 SetUpdatedAt sets UpdatedAt field to given value. 213 214 ### HasUpdatedAt 215 216 `func (o *EventItem) HasUpdatedAt() bool` 217 218 HasUpdatedAt returns a boolean if a field has been set. 219 220 ### GetDelegated 221 222 `func (o *EventItem) GetDelegated() string` 223 224 GetDelegated returns the Delegated field if non-nil, zero value otherwise. 225 226 ### GetDelegatedOk 227 228 `func (o *EventItem) GetDelegatedOk() (*string, bool)` 229 230 GetDelegatedOk returns a tuple with the Delegated field if it's non-nil, zero value otherwise 231 and a boolean to check if the value has been set. 232 233 ### SetDelegated 234 235 `func (o *EventItem) SetDelegated(v string)` 236 237 SetDelegated sets Delegated field to given value. 238 239 ### HasDelegated 240 241 `func (o *EventItem) HasDelegated() bool` 242 243 HasDelegated returns a boolean if a field has been set. 244 245 ### SetDelegatedNil 246 247 `func (o *EventItem) SetDelegatedNil(b bool)` 248 249 SetDelegatedNil sets the value for Delegated to be an explicit nil 250 251 ### UnsetDelegated 252 `func (o *EventItem) UnsetDelegated()` 253 254 UnsetDelegated ensures that no value is present for Delegated, not even an explicit nil 255 256 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 257 258