github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DeviceModelRequest.md (about) 1 # DeviceModelRequest 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Name** | **string** | | 8 **ResourceOwnerId** | **string** | | 9 **MakerId** | Pointer to **string** | | [optional] 10 **Version** | Pointer to **string** | | [optional] 11 **Watch** | Pointer to [**NullableWatch**](Watch.md) | | [optional] 12 **Components** | Pointer to [**ConstitutionComponent**](ConstitutionComponent.md) | | [optional] 13 14 ## Methods 15 16 ### NewDeviceModelRequest 17 18 `func NewDeviceModelRequest(name string, resourceOwnerId string, ) *DeviceModelRequest` 19 20 NewDeviceModelRequest instantiates a new DeviceModelRequest object 21 This constructor will assign default values to properties that have it defined, 22 and makes sure properties required by API are set, but the set of arguments 23 will change when the set of required properties is changed 24 25 ### NewDeviceModelRequestWithDefaults 26 27 `func NewDeviceModelRequestWithDefaults() *DeviceModelRequest` 28 29 NewDeviceModelRequestWithDefaults instantiates a new DeviceModelRequest object 30 This constructor will only assign default values to properties that have it defined, 31 but it doesn't guarantee that properties required by API are set 32 33 ### GetName 34 35 `func (o *DeviceModelRequest) GetName() string` 36 37 GetName returns the Name field if non-nil, zero value otherwise. 38 39 ### GetNameOk 40 41 `func (o *DeviceModelRequest) GetNameOk() (*string, bool)` 42 43 GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetName 47 48 `func (o *DeviceModelRequest) SetName(v string)` 49 50 SetName sets Name field to given value. 51 52 53 ### GetResourceOwnerId 54 55 `func (o *DeviceModelRequest) GetResourceOwnerId() string` 56 57 GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise. 58 59 ### GetResourceOwnerIdOk 60 61 `func (o *DeviceModelRequest) GetResourceOwnerIdOk() (*string, bool)` 62 63 GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise 64 and a boolean to check if the value has been set. 65 66 ### SetResourceOwnerId 67 68 `func (o *DeviceModelRequest) SetResourceOwnerId(v string)` 69 70 SetResourceOwnerId sets ResourceOwnerId field to given value. 71 72 73 ### GetMakerId 74 75 `func (o *DeviceModelRequest) GetMakerId() string` 76 77 GetMakerId returns the MakerId field if non-nil, zero value otherwise. 78 79 ### GetMakerIdOk 80 81 `func (o *DeviceModelRequest) GetMakerIdOk() (*string, bool)` 82 83 GetMakerIdOk returns a tuple with the MakerId field if it's non-nil, zero value otherwise 84 and a boolean to check if the value has been set. 85 86 ### SetMakerId 87 88 `func (o *DeviceModelRequest) SetMakerId(v string)` 89 90 SetMakerId sets MakerId field to given value. 91 92 ### HasMakerId 93 94 `func (o *DeviceModelRequest) HasMakerId() bool` 95 96 HasMakerId returns a boolean if a field has been set. 97 98 ### GetVersion 99 100 `func (o *DeviceModelRequest) GetVersion() string` 101 102 GetVersion returns the Version field if non-nil, zero value otherwise. 103 104 ### GetVersionOk 105 106 `func (o *DeviceModelRequest) GetVersionOk() (*string, bool)` 107 108 GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise 109 and a boolean to check if the value has been set. 110 111 ### SetVersion 112 113 `func (o *DeviceModelRequest) SetVersion(v string)` 114 115 SetVersion sets Version field to given value. 116 117 ### HasVersion 118 119 `func (o *DeviceModelRequest) HasVersion() bool` 120 121 HasVersion returns a boolean if a field has been set. 122 123 ### GetWatch 124 125 `func (o *DeviceModelRequest) GetWatch() Watch` 126 127 GetWatch returns the Watch field if non-nil, zero value otherwise. 128 129 ### GetWatchOk 130 131 `func (o *DeviceModelRequest) GetWatchOk() (*Watch, bool)` 132 133 GetWatchOk returns a tuple with the Watch field if it's non-nil, zero value otherwise 134 and a boolean to check if the value has been set. 135 136 ### SetWatch 137 138 `func (o *DeviceModelRequest) SetWatch(v Watch)` 139 140 SetWatch sets Watch field to given value. 141 142 ### HasWatch 143 144 `func (o *DeviceModelRequest) HasWatch() bool` 145 146 HasWatch returns a boolean if a field has been set. 147 148 ### SetWatchNil 149 150 `func (o *DeviceModelRequest) SetWatchNil(b bool)` 151 152 SetWatchNil sets the value for Watch to be an explicit nil 153 154 ### UnsetWatch 155 `func (o *DeviceModelRequest) UnsetWatch()` 156 157 UnsetWatch ensures that no value is present for Watch, not even an explicit nil 158 ### GetComponents 159 160 `func (o *DeviceModelRequest) GetComponents() ConstitutionComponent` 161 162 GetComponents returns the Components field if non-nil, zero value otherwise. 163 164 ### GetComponentsOk 165 166 `func (o *DeviceModelRequest) GetComponentsOk() (*ConstitutionComponent, bool)` 167 168 GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise 169 and a boolean to check if the value has been set. 170 171 ### SetComponents 172 173 `func (o *DeviceModelRequest) SetComponents(v ConstitutionComponent)` 174 175 SetComponents sets Components field to given value. 176 177 ### HasComponents 178 179 `func (o *DeviceModelRequest) HasComponents() bool` 180 181 HasComponents returns a boolean if a field has been set. 182 183 184 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 185 186