github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DeviceModelsEntity.md (about) 1 # DeviceModelsEntity 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | **string** | | 8 **Key** | **string** | | 9 **DeviceId** | **string** | | 10 **Model** | [**DeviceModelsEntityModel**](DeviceModelsEntity_model.md) | | 11 **SerialNumber** | Pointer to **string** | | [optional] 12 **StartAt** | Pointer to **NullableString** | ナノ秒 | [optional] 13 **CustomInventory** | Pointer to **[]map[string]interface{}** | | [optional] 14 **ResourceOwnerId** | **string** | | 15 **Watch** | Pointer to [**NullableWatch**](Watch.md) | | [optional] 16 **Components** | Pointer to [**NullableDeviceEntitiesComponent**](DeviceEntitiesComponent.md) | | [optional] 17 **CreatedAt** | **string** | | 18 **UpdatedAt** | **string** | | 19 20 ## Methods 21 22 ### NewDeviceModelsEntity 23 24 `func NewDeviceModelsEntity(id string, key string, deviceId string, model DeviceModelsEntityModel, resourceOwnerId string, createdAt string, updatedAt string, ) *DeviceModelsEntity` 25 26 NewDeviceModelsEntity instantiates a new DeviceModelsEntity object 27 This constructor will assign default values to properties that have it defined, 28 and makes sure properties required by API are set, but the set of arguments 29 will change when the set of required properties is changed 30 31 ### NewDeviceModelsEntityWithDefaults 32 33 `func NewDeviceModelsEntityWithDefaults() *DeviceModelsEntity` 34 35 NewDeviceModelsEntityWithDefaults instantiates a new DeviceModelsEntity object 36 This constructor will only assign default values to properties that have it defined, 37 but it doesn't guarantee that properties required by API are set 38 39 ### GetId 40 41 `func (o *DeviceModelsEntity) GetId() string` 42 43 GetId returns the Id field if non-nil, zero value otherwise. 44 45 ### GetIdOk 46 47 `func (o *DeviceModelsEntity) GetIdOk() (*string, bool)` 48 49 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 50 and a boolean to check if the value has been set. 51 52 ### SetId 53 54 `func (o *DeviceModelsEntity) SetId(v string)` 55 56 SetId sets Id field to given value. 57 58 59 ### GetKey 60 61 `func (o *DeviceModelsEntity) GetKey() string` 62 63 GetKey returns the Key field if non-nil, zero value otherwise. 64 65 ### GetKeyOk 66 67 `func (o *DeviceModelsEntity) GetKeyOk() (*string, bool)` 68 69 GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise 70 and a boolean to check if the value has been set. 71 72 ### SetKey 73 74 `func (o *DeviceModelsEntity) SetKey(v string)` 75 76 SetKey sets Key field to given value. 77 78 79 ### GetDeviceId 80 81 `func (o *DeviceModelsEntity) GetDeviceId() string` 82 83 GetDeviceId returns the DeviceId field if non-nil, zero value otherwise. 84 85 ### GetDeviceIdOk 86 87 `func (o *DeviceModelsEntity) GetDeviceIdOk() (*string, bool)` 88 89 GetDeviceIdOk returns a tuple with the DeviceId field if it's non-nil, zero value otherwise 90 and a boolean to check if the value has been set. 91 92 ### SetDeviceId 93 94 `func (o *DeviceModelsEntity) SetDeviceId(v string)` 95 96 SetDeviceId sets DeviceId field to given value. 97 98 99 ### GetModel 100 101 `func (o *DeviceModelsEntity) GetModel() DeviceModelsEntityModel` 102 103 GetModel returns the Model field if non-nil, zero value otherwise. 104 105 ### GetModelOk 106 107 `func (o *DeviceModelsEntity) GetModelOk() (*DeviceModelsEntityModel, bool)` 108 109 GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise 110 and a boolean to check if the value has been set. 111 112 ### SetModel 113 114 `func (o *DeviceModelsEntity) SetModel(v DeviceModelsEntityModel)` 115 116 SetModel sets Model field to given value. 117 118 119 ### GetSerialNumber 120 121 `func (o *DeviceModelsEntity) GetSerialNumber() string` 122 123 GetSerialNumber returns the SerialNumber field if non-nil, zero value otherwise. 124 125 ### GetSerialNumberOk 126 127 `func (o *DeviceModelsEntity) GetSerialNumberOk() (*string, bool)` 128 129 GetSerialNumberOk returns a tuple with the SerialNumber field if it's non-nil, zero value otherwise 130 and a boolean to check if the value has been set. 131 132 ### SetSerialNumber 133 134 `func (o *DeviceModelsEntity) SetSerialNumber(v string)` 135 136 SetSerialNumber sets SerialNumber field to given value. 137 138 ### HasSerialNumber 139 140 `func (o *DeviceModelsEntity) HasSerialNumber() bool` 141 142 HasSerialNumber returns a boolean if a field has been set. 143 144 ### GetStartAt 145 146 `func (o *DeviceModelsEntity) GetStartAt() string` 147 148 GetStartAt returns the StartAt field if non-nil, zero value otherwise. 149 150 ### GetStartAtOk 151 152 `func (o *DeviceModelsEntity) GetStartAtOk() (*string, bool)` 153 154 GetStartAtOk returns a tuple with the StartAt field if it's non-nil, zero value otherwise 155 and a boolean to check if the value has been set. 156 157 ### SetStartAt 158 159 `func (o *DeviceModelsEntity) SetStartAt(v string)` 160 161 SetStartAt sets StartAt field to given value. 162 163 ### HasStartAt 164 165 `func (o *DeviceModelsEntity) HasStartAt() bool` 166 167 HasStartAt returns a boolean if a field has been set. 168 169 ### SetStartAtNil 170 171 `func (o *DeviceModelsEntity) SetStartAtNil(b bool)` 172 173 SetStartAtNil sets the value for StartAt to be an explicit nil 174 175 ### UnsetStartAt 176 `func (o *DeviceModelsEntity) UnsetStartAt()` 177 178 UnsetStartAt ensures that no value is present for StartAt, not even an explicit nil 179 ### GetCustomInventory 180 181 `func (o *DeviceModelsEntity) GetCustomInventory() []map[string]interface{}` 182 183 GetCustomInventory returns the CustomInventory field if non-nil, zero value otherwise. 184 185 ### GetCustomInventoryOk 186 187 `func (o *DeviceModelsEntity) GetCustomInventoryOk() (*[]map[string]interface{}, bool)` 188 189 GetCustomInventoryOk returns a tuple with the CustomInventory field if it's non-nil, zero value otherwise 190 and a boolean to check if the value has been set. 191 192 ### SetCustomInventory 193 194 `func (o *DeviceModelsEntity) SetCustomInventory(v []map[string]interface{})` 195 196 SetCustomInventory sets CustomInventory field to given value. 197 198 ### HasCustomInventory 199 200 `func (o *DeviceModelsEntity) HasCustomInventory() bool` 201 202 HasCustomInventory returns a boolean if a field has been set. 203 204 ### GetResourceOwnerId 205 206 `func (o *DeviceModelsEntity) GetResourceOwnerId() string` 207 208 GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise. 209 210 ### GetResourceOwnerIdOk 211 212 `func (o *DeviceModelsEntity) GetResourceOwnerIdOk() (*string, bool)` 213 214 GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise 215 and a boolean to check if the value has been set. 216 217 ### SetResourceOwnerId 218 219 `func (o *DeviceModelsEntity) SetResourceOwnerId(v string)` 220 221 SetResourceOwnerId sets ResourceOwnerId field to given value. 222 223 224 ### GetWatch 225 226 `func (o *DeviceModelsEntity) GetWatch() Watch` 227 228 GetWatch returns the Watch field if non-nil, zero value otherwise. 229 230 ### GetWatchOk 231 232 `func (o *DeviceModelsEntity) GetWatchOk() (*Watch, bool)` 233 234 GetWatchOk returns a tuple with the Watch field if it's non-nil, zero value otherwise 235 and a boolean to check if the value has been set. 236 237 ### SetWatch 238 239 `func (o *DeviceModelsEntity) SetWatch(v Watch)` 240 241 SetWatch sets Watch field to given value. 242 243 ### HasWatch 244 245 `func (o *DeviceModelsEntity) HasWatch() bool` 246 247 HasWatch returns a boolean if a field has been set. 248 249 ### SetWatchNil 250 251 `func (o *DeviceModelsEntity) SetWatchNil(b bool)` 252 253 SetWatchNil sets the value for Watch to be an explicit nil 254 255 ### UnsetWatch 256 `func (o *DeviceModelsEntity) UnsetWatch()` 257 258 UnsetWatch ensures that no value is present for Watch, not even an explicit nil 259 ### GetComponents 260 261 `func (o *DeviceModelsEntity) GetComponents() DeviceEntitiesComponent` 262 263 GetComponents returns the Components field if non-nil, zero value otherwise. 264 265 ### GetComponentsOk 266 267 `func (o *DeviceModelsEntity) GetComponentsOk() (*DeviceEntitiesComponent, bool)` 268 269 GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise 270 and a boolean to check if the value has been set. 271 272 ### SetComponents 273 274 `func (o *DeviceModelsEntity) SetComponents(v DeviceEntitiesComponent)` 275 276 SetComponents sets Components field to given value. 277 278 ### HasComponents 279 280 `func (o *DeviceModelsEntity) HasComponents() bool` 281 282 HasComponents returns a boolean if a field has been set. 283 284 ### SetComponentsNil 285 286 `func (o *DeviceModelsEntity) SetComponentsNil(b bool)` 287 288 SetComponentsNil sets the value for Components to be an explicit nil 289 290 ### UnsetComponents 291 `func (o *DeviceModelsEntity) UnsetComponents()` 292 293 UnsetComponents ensures that no value is present for Components, not even an explicit nil 294 ### GetCreatedAt 295 296 `func (o *DeviceModelsEntity) GetCreatedAt() string` 297 298 GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. 299 300 ### GetCreatedAtOk 301 302 `func (o *DeviceModelsEntity) GetCreatedAtOk() (*string, bool)` 303 304 GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise 305 and a boolean to check if the value has been set. 306 307 ### SetCreatedAt 308 309 `func (o *DeviceModelsEntity) SetCreatedAt(v string)` 310 311 SetCreatedAt sets CreatedAt field to given value. 312 313 314 ### GetUpdatedAt 315 316 `func (o *DeviceModelsEntity) GetUpdatedAt() string` 317 318 GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. 319 320 ### GetUpdatedAtOk 321 322 `func (o *DeviceModelsEntity) GetUpdatedAtOk() (*string, bool)` 323 324 GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise 325 and a boolean to check if the value has been set. 326 327 ### SetUpdatedAt 328 329 `func (o *DeviceModelsEntity) SetUpdatedAt(v string)` 330 331 SetUpdatedAt sets UpdatedAt field to given value. 332 333 334 335 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 336 337