github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DeviceModelUpdateRequest.md (about) 1 # DeviceModelUpdateRequest 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Name** | Pointer to **string** | | [optional] 8 **ResourceOwnerId** | Pointer to **string** | | [optional] 9 **MakerId** | Pointer to **string** | | [optional] 10 **Version** | Pointer to **string** | | [optional] 11 **Watch** | Pointer to [**DeviceModelUpdateRequestWatch**](DeviceModelUpdateRequest_watch.md) | | [optional] 12 **Components** | Pointer to [**[]ConstitutionComponent**](ConstitutionComponent.md) | | [optional] 13 14 ## Methods 15 16 ### NewDeviceModelUpdateRequest 17 18 `func NewDeviceModelUpdateRequest() *DeviceModelUpdateRequest` 19 20 NewDeviceModelUpdateRequest instantiates a new DeviceModelUpdateRequest 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 ### NewDeviceModelUpdateRequestWithDefaults 26 27 `func NewDeviceModelUpdateRequestWithDefaults() *DeviceModelUpdateRequest` 28 29 NewDeviceModelUpdateRequestWithDefaults instantiates a new DeviceModelUpdateRequest 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 *DeviceModelUpdateRequest) GetName() string` 36 37 GetName returns the Name field if non-nil, zero value otherwise. 38 39 ### GetNameOk 40 41 `func (o *DeviceModelUpdateRequest) 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 *DeviceModelUpdateRequest) SetName(v string)` 49 50 SetName sets Name field to given value. 51 52 ### HasName 53 54 `func (o *DeviceModelUpdateRequest) HasName() bool` 55 56 HasName returns a boolean if a field has been set. 57 58 ### GetResourceOwnerId 59 60 `func (o *DeviceModelUpdateRequest) GetResourceOwnerId() string` 61 62 GetResourceOwnerId returns the ResourceOwnerId field if non-nil, zero value otherwise. 63 64 ### GetResourceOwnerIdOk 65 66 `func (o *DeviceModelUpdateRequest) GetResourceOwnerIdOk() (*string, bool)` 67 68 GetResourceOwnerIdOk returns a tuple with the ResourceOwnerId field if it's non-nil, zero value otherwise 69 and a boolean to check if the value has been set. 70 71 ### SetResourceOwnerId 72 73 `func (o *DeviceModelUpdateRequest) SetResourceOwnerId(v string)` 74 75 SetResourceOwnerId sets ResourceOwnerId field to given value. 76 77 ### HasResourceOwnerId 78 79 `func (o *DeviceModelUpdateRequest) HasResourceOwnerId() bool` 80 81 HasResourceOwnerId returns a boolean if a field has been set. 82 83 ### GetMakerId 84 85 `func (o *DeviceModelUpdateRequest) GetMakerId() string` 86 87 GetMakerId returns the MakerId field if non-nil, zero value otherwise. 88 89 ### GetMakerIdOk 90 91 `func (o *DeviceModelUpdateRequest) GetMakerIdOk() (*string, bool)` 92 93 GetMakerIdOk returns a tuple with the MakerId field if it's non-nil, zero value otherwise 94 and a boolean to check if the value has been set. 95 96 ### SetMakerId 97 98 `func (o *DeviceModelUpdateRequest) SetMakerId(v string)` 99 100 SetMakerId sets MakerId field to given value. 101 102 ### HasMakerId 103 104 `func (o *DeviceModelUpdateRequest) HasMakerId() bool` 105 106 HasMakerId returns a boolean if a field has been set. 107 108 ### GetVersion 109 110 `func (o *DeviceModelUpdateRequest) GetVersion() string` 111 112 GetVersion returns the Version field if non-nil, zero value otherwise. 113 114 ### GetVersionOk 115 116 `func (o *DeviceModelUpdateRequest) GetVersionOk() (*string, bool)` 117 118 GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise 119 and a boolean to check if the value has been set. 120 121 ### SetVersion 122 123 `func (o *DeviceModelUpdateRequest) SetVersion(v string)` 124 125 SetVersion sets Version field to given value. 126 127 ### HasVersion 128 129 `func (o *DeviceModelUpdateRequest) HasVersion() bool` 130 131 HasVersion returns a boolean if a field has been set. 132 133 ### GetWatch 134 135 `func (o *DeviceModelUpdateRequest) GetWatch() DeviceModelUpdateRequestWatch` 136 137 GetWatch returns the Watch field if non-nil, zero value otherwise. 138 139 ### GetWatchOk 140 141 `func (o *DeviceModelUpdateRequest) GetWatchOk() (*DeviceModelUpdateRequestWatch, bool)` 142 143 GetWatchOk returns a tuple with the Watch field if it's non-nil, zero value otherwise 144 and a boolean to check if the value has been set. 145 146 ### SetWatch 147 148 `func (o *DeviceModelUpdateRequest) SetWatch(v DeviceModelUpdateRequestWatch)` 149 150 SetWatch sets Watch field to given value. 151 152 ### HasWatch 153 154 `func (o *DeviceModelUpdateRequest) HasWatch() bool` 155 156 HasWatch returns a boolean if a field has been set. 157 158 ### GetComponents 159 160 `func (o *DeviceModelUpdateRequest) GetComponents() []ConstitutionComponent` 161 162 GetComponents returns the Components field if non-nil, zero value otherwise. 163 164 ### GetComponentsOk 165 166 `func (o *DeviceModelUpdateRequest) 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 *DeviceModelUpdateRequest) SetComponents(v []ConstitutionComponent)` 174 175 SetComponents sets Components field to given value. 176 177 ### HasComponents 178 179 `func (o *DeviceModelUpdateRequest) 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