github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DeviceEntitiesComponent.md (about) 1 # DeviceEntitiesComponent 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | **string** | | 8 **Type** | [**ComponentTypeEnum**](ComponentTypeEnum.md) | | 9 **ParentId** | Pointer to **string** | | [optional] 10 **Attribute** | Pointer to **map[string]interface{}** | | [optional] 11 **DisplayInfo** | Pointer to [**[]DisplayInfo**](DisplayInfo.md) | | [optional] 12 **Components** | Pointer to [**[]DeviceEntitiesComponent**](DeviceEntitiesComponent.md) | | [optional] 13 14 ## Methods 15 16 ### NewDeviceEntitiesComponent 17 18 `func NewDeviceEntitiesComponent(id string, type_ ComponentTypeEnum, ) *DeviceEntitiesComponent` 19 20 NewDeviceEntitiesComponent instantiates a new DeviceEntitiesComponent 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 ### NewDeviceEntitiesComponentWithDefaults 26 27 `func NewDeviceEntitiesComponentWithDefaults() *DeviceEntitiesComponent` 28 29 NewDeviceEntitiesComponentWithDefaults instantiates a new DeviceEntitiesComponent 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 ### GetId 34 35 `func (o *DeviceEntitiesComponent) GetId() string` 36 37 GetId returns the Id field if non-nil, zero value otherwise. 38 39 ### GetIdOk 40 41 `func (o *DeviceEntitiesComponent) GetIdOk() (*string, bool)` 42 43 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 44 and a boolean to check if the value has been set. 45 46 ### SetId 47 48 `func (o *DeviceEntitiesComponent) SetId(v string)` 49 50 SetId sets Id field to given value. 51 52 53 ### GetType 54 55 `func (o *DeviceEntitiesComponent) GetType() ComponentTypeEnum` 56 57 GetType returns the Type field if non-nil, zero value otherwise. 58 59 ### GetTypeOk 60 61 `func (o *DeviceEntitiesComponent) GetTypeOk() (*ComponentTypeEnum, bool)` 62 63 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 64 and a boolean to check if the value has been set. 65 66 ### SetType 67 68 `func (o *DeviceEntitiesComponent) SetType(v ComponentTypeEnum)` 69 70 SetType sets Type field to given value. 71 72 73 ### GetParentId 74 75 `func (o *DeviceEntitiesComponent) GetParentId() string` 76 77 GetParentId returns the ParentId field if non-nil, zero value otherwise. 78 79 ### GetParentIdOk 80 81 `func (o *DeviceEntitiesComponent) GetParentIdOk() (*string, bool)` 82 83 GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise 84 and a boolean to check if the value has been set. 85 86 ### SetParentId 87 88 `func (o *DeviceEntitiesComponent) SetParentId(v string)` 89 90 SetParentId sets ParentId field to given value. 91 92 ### HasParentId 93 94 `func (o *DeviceEntitiesComponent) HasParentId() bool` 95 96 HasParentId returns a boolean if a field has been set. 97 98 ### GetAttribute 99 100 `func (o *DeviceEntitiesComponent) GetAttribute() map[string]interface{}` 101 102 GetAttribute returns the Attribute field if non-nil, zero value otherwise. 103 104 ### GetAttributeOk 105 106 `func (o *DeviceEntitiesComponent) GetAttributeOk() (*map[string]interface{}, bool)` 107 108 GetAttributeOk returns a tuple with the Attribute field if it's non-nil, zero value otherwise 109 and a boolean to check if the value has been set. 110 111 ### SetAttribute 112 113 `func (o *DeviceEntitiesComponent) SetAttribute(v map[string]interface{})` 114 115 SetAttribute sets Attribute field to given value. 116 117 ### HasAttribute 118 119 `func (o *DeviceEntitiesComponent) HasAttribute() bool` 120 121 HasAttribute returns a boolean if a field has been set. 122 123 ### GetDisplayInfo 124 125 `func (o *DeviceEntitiesComponent) GetDisplayInfo() []DisplayInfo` 126 127 GetDisplayInfo returns the DisplayInfo field if non-nil, zero value otherwise. 128 129 ### GetDisplayInfoOk 130 131 `func (o *DeviceEntitiesComponent) GetDisplayInfoOk() (*[]DisplayInfo, bool)` 132 133 GetDisplayInfoOk returns a tuple with the DisplayInfo field if it's non-nil, zero value otherwise 134 and a boolean to check if the value has been set. 135 136 ### SetDisplayInfo 137 138 `func (o *DeviceEntitiesComponent) SetDisplayInfo(v []DisplayInfo)` 139 140 SetDisplayInfo sets DisplayInfo field to given value. 141 142 ### HasDisplayInfo 143 144 `func (o *DeviceEntitiesComponent) HasDisplayInfo() bool` 145 146 HasDisplayInfo returns a boolean if a field has been set. 147 148 ### GetComponents 149 150 `func (o *DeviceEntitiesComponent) GetComponents() []DeviceEntitiesComponent` 151 152 GetComponents returns the Components field if non-nil, zero value otherwise. 153 154 ### GetComponentsOk 155 156 `func (o *DeviceEntitiesComponent) GetComponentsOk() (*[]DeviceEntitiesComponent, bool)` 157 158 GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise 159 and a boolean to check if the value has been set. 160 161 ### SetComponents 162 163 `func (o *DeviceEntitiesComponent) SetComponents(v []DeviceEntitiesComponent)` 164 165 SetComponents sets Components field to given value. 166 167 ### HasComponents 168 169 `func (o *DeviceEntitiesComponent) HasComponents() bool` 170 171 HasComponents returns a boolean if a field has been set. 172 173 174 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 175 176