github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/Device.md (about) 1 # Device 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | **string** | | 8 **ResourceOwnerId** | **string** | | 9 **Name** | Pointer to **string** | | [optional] 10 **IdNumber** | Pointer to **string** | | [optional] 11 **Description** | Pointer to **string** | | [optional] 12 **DisplayInfo** | Pointer to [**DisplayInfo**](DisplayInfo.md) | | [optional] 13 **ClientList** | Pointer to [**[]Client**](Client.md) | | [optional] 14 **IsManaged** | Pointer to **string** | | [optional] 15 **RsaPublickey** | Pointer to **string** | | [optional] 16 **CustomInventory** | Pointer to **[]interface{}** | | [optional] 17 **CreatedAt** | **string** | 最終更新時間 | 18 **UpdatedAt** | **string** | 作成時間 | 19 **ActivatedAt** | Pointer to **string** | アクティベート時間。is_managedがfull_managedの場合のみ表示 | [optional] 20 **MonitoringStatus** | Pointer to **string** | ok:正常, error:エラー, offline:オフライン、 Null:監視状態なし | [optional] 21 22 ## Methods 23 24 ### NewDevice 25 26 `func NewDevice(id string, resourceOwnerId string, createdAt string, updatedAt string, ) *Device` 27 28 NewDevice instantiates a new Device object 29 This constructor will assign default values to properties that have it defined, 30 and makes sure properties required by API are set, but the set of arguments 31 will change when the set of required properties is changed 32 33 ### NewDeviceWithDefaults 34 35 `func NewDeviceWithDefaults() *Device` 36 37 NewDeviceWithDefaults instantiates a new Device object 38 This constructor will only assign default values to properties that have it defined, 39 but it doesn't guarantee that properties required by API are set 40 41 ### GetId 42 43 `func (o *Device) GetId() string` 44 45 GetId returns the Id field if non-nil, zero value otherwise. 46 47 ### GetIdOk 48 49 `func (o *Device) GetIdOk() (*string, bool)` 50 51 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 52 and a boolean to check if the value has been set. 53 54 ### SetId 55 56 `func (o *Device) SetId(v string)` 57 58 SetId sets Id field to given value. 59 60 61 ### GetResourceOwnerId 62 63 `func (o *Device) GetResourceOwnerId() string` 64 65 GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise. 66 67 ### GetResourceOwnerIdOk 68 69 `func (o *Device) GetResourceOwnerIdOk() (*string, bool)` 70 71 GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise 72 and a boolean to check if the value has been set. 73 74 ### SetResourceOwnerId 75 76 `func (o *Device) SetResourceOwnerId(v string)` 77 78 SetResourceOwnerId sets ResourceOwnerId field to given value. 79 80 81 ### GetName 82 83 `func (o *Device) GetName() string` 84 85 GetName returns the Name field if non-nil, zero value otherwise. 86 87 ### GetNameOk 88 89 `func (o *Device) GetNameOk() (*string, bool)` 90 91 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 92 and a boolean to check if the value has been set. 93 94 ### SetName 95 96 `func (o *Device) SetName(v string)` 97 98 SetName sets Name field to given value. 99 100 ### HasName 101 102 `func (o *Device) HasName() bool` 103 104 HasName returns a boolean if a field has been set. 105 106 ### GetIdNumber 107 108 `func (o *Device) GetIdNumber() string` 109 110 GetIdNumber returns the IdNumber field if non-nil, zero value otherwise. 111 112 ### GetIdNumberOk 113 114 `func (o *Device) GetIdNumberOk() (*string, bool)` 115 116 GetIdNumberOk returns a tuple with the IdNumber field if it's non-nil, zero value otherwise 117 and a boolean to check if the value has been set. 118 119 ### SetIdNumber 120 121 `func (o *Device) SetIdNumber(v string)` 122 123 SetIdNumber sets IdNumber field to given value. 124 125 ### HasIdNumber 126 127 `func (o *Device) HasIdNumber() bool` 128 129 HasIdNumber returns a boolean if a field has been set. 130 131 ### GetDescription 132 133 `func (o *Device) GetDescription() string` 134 135 GetDescription returns the Description field if non-nil, zero value otherwise. 136 137 ### GetDescriptionOk 138 139 `func (o *Device) GetDescriptionOk() (*string, bool)` 140 141 GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise 142 and a boolean to check if the value has been set. 143 144 ### SetDescription 145 146 `func (o *Device) SetDescription(v string)` 147 148 SetDescription sets Description field to given value. 149 150 ### HasDescription 151 152 `func (o *Device) HasDescription() bool` 153 154 HasDescription returns a boolean if a field has been set. 155 156 ### GetDisplayInfo 157 158 `func (o *Device) GetDisplayInfo() DisplayInfo` 159 160 GetDisplayInfo returns the DisplayInfo field if non-nil, zero value otherwise. 161 162 ### GetDisplayInfoOk 163 164 `func (o *Device) GetDisplayInfoOk() (*DisplayInfo, bool)` 165 166 GetDisplayInfoOk returns a tuple with the DisplayInfo field if it's non-nil, zero value otherwise 167 and a boolean to check if the value has been set. 168 169 ### SetDisplayInfo 170 171 `func (o *Device) SetDisplayInfo(v DisplayInfo)` 172 173 SetDisplayInfo sets DisplayInfo field to given value. 174 175 ### HasDisplayInfo 176 177 `func (o *Device) HasDisplayInfo() bool` 178 179 HasDisplayInfo returns a boolean if a field has been set. 180 181 ### GetClientList 182 183 `func (o *Device) GetClientList() []Client` 184 185 GetClientList returns the ClientList field if non-nil, zero value otherwise. 186 187 ### GetClientListOk 188 189 `func (o *Device) GetClientListOk() (*[]Client, bool)` 190 191 GetClientListOk returns a tuple with the ClientList field if it's non-nil, zero value otherwise 192 and a boolean to check if the value has been set. 193 194 ### SetClientList 195 196 `func (o *Device) SetClientList(v []Client)` 197 198 SetClientList sets ClientList field to given value. 199 200 ### HasClientList 201 202 `func (o *Device) HasClientList() bool` 203 204 HasClientList returns a boolean if a field has been set. 205 206 ### GetIsManaged 207 208 `func (o *Device) GetIsManaged() string` 209 210 GetIsManaged returns the IsManaged field if non-nil, zero value otherwise. 211 212 ### GetIsManagedOk 213 214 `func (o *Device) GetIsManagedOk() (*string, bool)` 215 216 GetIsManagedOk returns a tuple with the IsManaged field if it's non-nil, zero value otherwise 217 and a boolean to check if the value has been set. 218 219 ### SetIsManaged 220 221 `func (o *Device) SetIsManaged(v string)` 222 223 SetIsManaged sets IsManaged field to given value. 224 225 ### HasIsManaged 226 227 `func (o *Device) HasIsManaged() bool` 228 229 HasIsManaged returns a boolean if a field has been set. 230 231 ### GetRsaPublickey 232 233 `func (o *Device) GetRsaPublickey() string` 234 235 GetRsaPublickey returns the RsaPublickey field if non-nil, zero value otherwise. 236 237 ### GetRsaPublickeyOk 238 239 `func (o *Device) GetRsaPublickeyOk() (*string, bool)` 240 241 GetRsaPublickeyOk returns a tuple with the RsaPublickey field if it's non-nil, zero value otherwise 242 and a boolean to check if the value has been set. 243 244 ### SetRsaPublickey 245 246 `func (o *Device) SetRsaPublickey(v string)` 247 248 SetRsaPublickey sets RsaPublickey field to given value. 249 250 ### HasRsaPublickey 251 252 `func (o *Device) HasRsaPublickey() bool` 253 254 HasRsaPublickey returns a boolean if a field has been set. 255 256 ### GetCustomInventory 257 258 `func (o *Device) GetCustomInventory() []interface{}` 259 260 GetCustomInventory returns the CustomInventory field if non-nil, zero value otherwise. 261 262 ### GetCustomInventoryOk 263 264 `func (o *Device) GetCustomInventoryOk() (*[]interface{}, bool)` 265 266 GetCustomInventoryOk returns a tuple with the CustomInventory field if it's non-nil, zero value otherwise 267 and a boolean to check if the value has been set. 268 269 ### SetCustomInventory 270 271 `func (o *Device) SetCustomInventory(v []interface{})` 272 273 SetCustomInventory sets CustomInventory field to given value. 274 275 ### HasCustomInventory 276 277 `func (o *Device) HasCustomInventory() bool` 278 279 HasCustomInventory returns a boolean if a field has been set. 280 281 ### GetCreatedAt 282 283 `func (o *Device) GetCreatedAt() string` 284 285 GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. 286 287 ### GetCreatedAtOk 288 289 `func (o *Device) GetCreatedAtOk() (*string, bool)` 290 291 GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise 292 and a boolean to check if the value has been set. 293 294 ### SetCreatedAt 295 296 `func (o *Device) SetCreatedAt(v string)` 297 298 SetCreatedAt sets CreatedAt field to given value. 299 300 301 ### GetUpdatedAt 302 303 `func (o *Device) GetUpdatedAt() string` 304 305 GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. 306 307 ### GetUpdatedAtOk 308 309 `func (o *Device) GetUpdatedAtOk() (*string, bool)` 310 311 GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise 312 and a boolean to check if the value has been set. 313 314 ### SetUpdatedAt 315 316 `func (o *Device) SetUpdatedAt(v string)` 317 318 SetUpdatedAt sets UpdatedAt field to given value. 319 320 321 ### GetActivatedAt 322 323 `func (o *Device) GetActivatedAt() string` 324 325 GetActivatedAt returns the ActivatedAt field if non-nil, zero value otherwise. 326 327 ### GetActivatedAtOk 328 329 `func (o *Device) GetActivatedAtOk() (*string, bool)` 330 331 GetActivatedAtOk returns a tuple with the ActivatedAt field if it's non-nil, zero value otherwise 332 and a boolean to check if the value has been set. 333 334 ### SetActivatedAt 335 336 `func (o *Device) SetActivatedAt(v string)` 337 338 SetActivatedAt sets ActivatedAt field to given value. 339 340 ### HasActivatedAt 341 342 `func (o *Device) HasActivatedAt() bool` 343 344 HasActivatedAt returns a boolean if a field has been set. 345 346 ### GetMonitoringStatus 347 348 `func (o *Device) GetMonitoringStatus() string` 349 350 GetMonitoringStatus returns the MonitoringStatus field if non-nil, zero value otherwise. 351 352 ### GetMonitoringStatusOk 353 354 `func (o *Device) GetMonitoringStatusOk() (*string, bool)` 355 356 GetMonitoringStatusOk returns a tuple with the MonitoringStatus field if it's non-nil, zero value otherwise 357 and a boolean to check if the value has been set. 358 359 ### SetMonitoringStatus 360 361 `func (o *Device) SetMonitoringStatus(v string)` 362 363 SetMonitoringStatus sets MonitoringStatus field to given value. 364 365 ### HasMonitoringStatus 366 367 `func (o *Device) HasMonitoringStatus() bool` 368 369 HasMonitoringStatus returns a boolean if a field has been set. 370 371 372 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 373 374