github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DeviceModel.md (about)

     1  # DeviceModel
     2  
     3  ## Properties
     4  
     5  Name | Type | Description | Notes
     6  ------------ | ------------- | ------------- | -------------
     7  **Id** | **string** |  | 
     8  **Name** | **string** |  | 
     9  **ResourceOwnerId** | **string** |  | 
    10  **MakerId** | Pointer to **NullableString** |  | [optional] 
    11  **Version** | Pointer to **NullableString** |  | [optional] 
    12  **Watch** | Pointer to [**NullableWatch**](Watch.md) |  | [optional] 
    13  **Components** | Pointer to [**ConstitutionComponent**](ConstitutionComponent.md) |  | [optional] 
    14  **CreatedAt** | **string** | ナノ秒 | 
    15  **UpdatedAt** | **string** | ナノ秒 | 
    16  
    17  ## Methods
    18  
    19  ### NewDeviceModel
    20  
    21  `func NewDeviceModel(id string, name string, resourceOwnerId string, createdAt string, updatedAt string, ) *DeviceModel`
    22  
    23  NewDeviceModel instantiates a new DeviceModel object
    24  This constructor will assign default values to properties that have it defined,
    25  and makes sure properties required by API are set, but the set of arguments
    26  will change when the set of required properties is changed
    27  
    28  ### NewDeviceModelWithDefaults
    29  
    30  `func NewDeviceModelWithDefaults() *DeviceModel`
    31  
    32  NewDeviceModelWithDefaults instantiates a new DeviceModel object
    33  This constructor will only assign default values to properties that have it defined,
    34  but it doesn't guarantee that properties required by API are set
    35  
    36  ### GetId
    37  
    38  `func (o *DeviceModel) GetId() string`
    39  
    40  GetId returns the Id field if non-nil, zero value otherwise.
    41  
    42  ### GetIdOk
    43  
    44  `func (o *DeviceModel) GetIdOk() (*string, bool)`
    45  
    46  GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
    47  and a boolean to check if the value has been set.
    48  
    49  ### SetId
    50  
    51  `func (o *DeviceModel) SetId(v string)`
    52  
    53  SetId sets Id field to given value.
    54  
    55  
    56  ### GetName
    57  
    58  `func (o *DeviceModel) GetName() string`
    59  
    60  GetName returns the Name field if non-nil, zero value otherwise.
    61  
    62  ### GetNameOk
    63  
    64  `func (o *DeviceModel) GetNameOk() (*string, bool)`
    65  
    66  GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
    67  and a boolean to check if the value has been set.
    68  
    69  ### SetName
    70  
    71  `func (o *DeviceModel) SetName(v string)`
    72  
    73  SetName sets Name field to given value.
    74  
    75  
    76  ### GetResourceOwnerId
    77  
    78  `func (o *DeviceModel) GetResourceOwnerId() string`
    79  
    80  GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise.
    81  
    82  ### GetResourceOwnerIdOk
    83  
    84  `func (o *DeviceModel) GetResourceOwnerIdOk() (*string, bool)`
    85  
    86  GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise
    87  and a boolean to check if the value has been set.
    88  
    89  ### SetResourceOwnerId
    90  
    91  `func (o *DeviceModel) SetResourceOwnerId(v string)`
    92  
    93  SetResourceOwnerId sets ResourceOwnerId field to given value.
    94  
    95  
    96  ### GetMakerId
    97  
    98  `func (o *DeviceModel) GetMakerId() string`
    99  
   100  GetMakerId returns the MakerId field if non-nil, zero value otherwise.
   101  
   102  ### GetMakerIdOk
   103  
   104  `func (o *DeviceModel) GetMakerIdOk() (*string, bool)`
   105  
   106  GetMakerIdOk returns a tuple with the MakerId field if it's non-nil, zero value otherwise
   107  and a boolean to check if the value has been set.
   108  
   109  ### SetMakerId
   110  
   111  `func (o *DeviceModel) SetMakerId(v string)`
   112  
   113  SetMakerId sets MakerId field to given value.
   114  
   115  ### HasMakerId
   116  
   117  `func (o *DeviceModel) HasMakerId() bool`
   118  
   119  HasMakerId returns a boolean if a field has been set.
   120  
   121  ### SetMakerIdNil
   122  
   123  `func (o *DeviceModel) SetMakerIdNil(b bool)`
   124  
   125   SetMakerIdNil sets the value for MakerId to be an explicit nil
   126  
   127  ### UnsetMakerId
   128  `func (o *DeviceModel) UnsetMakerId()`
   129  
   130  UnsetMakerId ensures that no value is present for MakerId, not even an explicit nil
   131  ### GetVersion
   132  
   133  `func (o *DeviceModel) GetVersion() string`
   134  
   135  GetVersion returns the Version field if non-nil, zero value otherwise.
   136  
   137  ### GetVersionOk
   138  
   139  `func (o *DeviceModel) GetVersionOk() (*string, bool)`
   140  
   141  GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise
   142  and a boolean to check if the value has been set.
   143  
   144  ### SetVersion
   145  
   146  `func (o *DeviceModel) SetVersion(v string)`
   147  
   148  SetVersion sets Version field to given value.
   149  
   150  ### HasVersion
   151  
   152  `func (o *DeviceModel) HasVersion() bool`
   153  
   154  HasVersion returns a boolean if a field has been set.
   155  
   156  ### SetVersionNil
   157  
   158  `func (o *DeviceModel) SetVersionNil(b bool)`
   159  
   160   SetVersionNil sets the value for Version to be an explicit nil
   161  
   162  ### UnsetVersion
   163  `func (o *DeviceModel) UnsetVersion()`
   164  
   165  UnsetVersion ensures that no value is present for Version, not even an explicit nil
   166  ### GetWatch
   167  
   168  `func (o *DeviceModel) GetWatch() Watch`
   169  
   170  GetWatch returns the Watch field if non-nil, zero value otherwise.
   171  
   172  ### GetWatchOk
   173  
   174  `func (o *DeviceModel) GetWatchOk() (*Watch, bool)`
   175  
   176  GetWatchOk returns a tuple with the Watch field if it's non-nil, zero value otherwise
   177  and a boolean to check if the value has been set.
   178  
   179  ### SetWatch
   180  
   181  `func (o *DeviceModel) SetWatch(v Watch)`
   182  
   183  SetWatch sets Watch field to given value.
   184  
   185  ### HasWatch
   186  
   187  `func (o *DeviceModel) HasWatch() bool`
   188  
   189  HasWatch returns a boolean if a field has been set.
   190  
   191  ### SetWatchNil
   192  
   193  `func (o *DeviceModel) SetWatchNil(b bool)`
   194  
   195   SetWatchNil sets the value for Watch to be an explicit nil
   196  
   197  ### UnsetWatch
   198  `func (o *DeviceModel) UnsetWatch()`
   199  
   200  UnsetWatch ensures that no value is present for Watch, not even an explicit nil
   201  ### GetComponents
   202  
   203  `func (o *DeviceModel) GetComponents() ConstitutionComponent`
   204  
   205  GetComponents returns the Components field if non-nil, zero value otherwise.
   206  
   207  ### GetComponentsOk
   208  
   209  `func (o *DeviceModel) GetComponentsOk() (*ConstitutionComponent, bool)`
   210  
   211  GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise
   212  and a boolean to check if the value has been set.
   213  
   214  ### SetComponents
   215  
   216  `func (o *DeviceModel) SetComponents(v ConstitutionComponent)`
   217  
   218  SetComponents sets Components field to given value.
   219  
   220  ### HasComponents
   221  
   222  `func (o *DeviceModel) HasComponents() bool`
   223  
   224  HasComponents returns a boolean if a field has been set.
   225  
   226  ### GetCreatedAt
   227  
   228  `func (o *DeviceModel) GetCreatedAt() string`
   229  
   230  GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
   231  
   232  ### GetCreatedAtOk
   233  
   234  `func (o *DeviceModel) GetCreatedAtOk() (*string, bool)`
   235  
   236  GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise
   237  and a boolean to check if the value has been set.
   238  
   239  ### SetCreatedAt
   240  
   241  `func (o *DeviceModel) SetCreatedAt(v string)`
   242  
   243  SetCreatedAt sets CreatedAt field to given value.
   244  
   245  
   246  ### GetUpdatedAt
   247  
   248  `func (o *DeviceModel) GetUpdatedAt() string`
   249  
   250  GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
   251  
   252  ### GetUpdatedAtOk
   253  
   254  `func (o *DeviceModel) GetUpdatedAtOk() (*string, bool)`
   255  
   256  GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise
   257  and a boolean to check if the value has been set.
   258  
   259  ### SetUpdatedAt
   260  
   261  `func (o *DeviceModel) SetUpdatedAt(v string)`
   262  
   263  SetUpdatedAt sets UpdatedAt field to given value.
   264  
   265  
   266  
   267  [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
   268  
   269