github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/ConstitutionComponent.md (about) 1 # ConstitutionComponent 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Id** | Pointer to **string** | | [optional] 8 **ParentId** | Pointer to **NullableString** | | [optional] 9 **Address** | Pointer to **NullableString** | | [optional] 10 **Type** | Pointer to [**ComponentTypeEnum**](ComponentTypeEnum.md) | | [optional] 11 **Attribute** | Pointer to **map[string]interface{}** | | [optional] 12 **DisplayInfo** | Pointer to [**[]DisplayInfo**](DisplayInfo.md) | | [optional] 13 **Components** | Pointer to [**[]ConstitutionComponent**](ConstitutionComponent.md) | | [optional] 14 15 ## Methods 16 17 ### NewConstitutionComponent 18 19 `func NewConstitutionComponent() *ConstitutionComponent` 20 21 NewConstitutionComponent instantiates a new ConstitutionComponent object 22 This constructor will assign default values to properties that have it defined, 23 and makes sure properties required by API are set, but the set of arguments 24 will change when the set of required properties is changed 25 26 ### NewConstitutionComponentWithDefaults 27 28 `func NewConstitutionComponentWithDefaults() *ConstitutionComponent` 29 30 NewConstitutionComponentWithDefaults instantiates a new ConstitutionComponent object 31 This constructor will only assign default values to properties that have it defined, 32 but it doesn't guarantee that properties required by API are set 33 34 ### GetId 35 36 `func (o *ConstitutionComponent) GetId() string` 37 38 GetId returns the Id field if non-nil, zero value otherwise. 39 40 ### GetIdOk 41 42 `func (o *ConstitutionComponent) GetIdOk() (*string, bool)` 43 44 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 45 and a boolean to check if the value has been set. 46 47 ### SetId 48 49 `func (o *ConstitutionComponent) SetId(v string)` 50 51 SetId sets Id field to given value. 52 53 ### HasId 54 55 `func (o *ConstitutionComponent) HasId() bool` 56 57 HasId returns a boolean if a field has been set. 58 59 ### GetParentId 60 61 `func (o *ConstitutionComponent) GetParentId() string` 62 63 GetParentId returns the ParentId field if non-nil, zero value otherwise. 64 65 ### GetParentIdOk 66 67 `func (o *ConstitutionComponent) GetParentIdOk() (*string, bool)` 68 69 GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise 70 and a boolean to check if the value has been set. 71 72 ### SetParentId 73 74 `func (o *ConstitutionComponent) SetParentId(v string)` 75 76 SetParentId sets ParentId field to given value. 77 78 ### HasParentId 79 80 `func (o *ConstitutionComponent) HasParentId() bool` 81 82 HasParentId returns a boolean if a field has been set. 83 84 ### SetParentIdNil 85 86 `func (o *ConstitutionComponent) SetParentIdNil(b bool)` 87 88 SetParentIdNil sets the value for ParentId to be an explicit nil 89 90 ### UnsetParentId 91 `func (o *ConstitutionComponent) UnsetParentId()` 92 93 UnsetParentId ensures that no value is present for ParentId, not even an explicit nil 94 ### GetAddress 95 96 `func (o *ConstitutionComponent) GetAddress() string` 97 98 GetAddress returns the Address field if non-nil, zero value otherwise. 99 100 ### GetAddressOk 101 102 `func (o *ConstitutionComponent) GetAddressOk() (*string, bool)` 103 104 GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise 105 and a boolean to check if the value has been set. 106 107 ### SetAddress 108 109 `func (o *ConstitutionComponent) SetAddress(v string)` 110 111 SetAddress sets Address field to given value. 112 113 ### HasAddress 114 115 `func (o *ConstitutionComponent) HasAddress() bool` 116 117 HasAddress returns a boolean if a field has been set. 118 119 ### SetAddressNil 120 121 `func (o *ConstitutionComponent) SetAddressNil(b bool)` 122 123 SetAddressNil sets the value for Address to be an explicit nil 124 125 ### UnsetAddress 126 `func (o *ConstitutionComponent) UnsetAddress()` 127 128 UnsetAddress ensures that no value is present for Address, not even an explicit nil 129 ### GetType 130 131 `func (o *ConstitutionComponent) GetType() ComponentTypeEnum` 132 133 GetType returns the Type field if non-nil, zero value otherwise. 134 135 ### GetTypeOk 136 137 `func (o *ConstitutionComponent) GetTypeOk() (*ComponentTypeEnum, bool)` 138 139 GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise 140 and a boolean to check if the value has been set. 141 142 ### SetType 143 144 `func (o *ConstitutionComponent) SetType(v ComponentTypeEnum)` 145 146 SetType sets Type field to given value. 147 148 ### HasType 149 150 `func (o *ConstitutionComponent) HasType() bool` 151 152 HasType returns a boolean if a field has been set. 153 154 ### GetAttribute 155 156 `func (o *ConstitutionComponent) GetAttribute() map[string]interface{}` 157 158 GetAttribute returns the Attribute field if non-nil, zero value otherwise. 159 160 ### GetAttributeOk 161 162 `func (o *ConstitutionComponent) GetAttributeOk() (*map[string]interface{}, bool)` 163 164 GetAttributeOk returns a tuple with the Attribute field if it's non-nil, zero value otherwise 165 and a boolean to check if the value has been set. 166 167 ### SetAttribute 168 169 `func (o *ConstitutionComponent) SetAttribute(v map[string]interface{})` 170 171 SetAttribute sets Attribute field to given value. 172 173 ### HasAttribute 174 175 `func (o *ConstitutionComponent) HasAttribute() bool` 176 177 HasAttribute returns a boolean if a field has been set. 178 179 ### SetAttributeNil 180 181 `func (o *ConstitutionComponent) SetAttributeNil(b bool)` 182 183 SetAttributeNil sets the value for Attribute to be an explicit nil 184 185 ### UnsetAttribute 186 `func (o *ConstitutionComponent) UnsetAttribute()` 187 188 UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil 189 ### GetDisplayInfo 190 191 `func (o *ConstitutionComponent) GetDisplayInfo() []DisplayInfo` 192 193 GetDisplayInfo returns the DisplayInfo field if non-nil, zero value otherwise. 194 195 ### GetDisplayInfoOk 196 197 `func (o *ConstitutionComponent) GetDisplayInfoOk() (*[]DisplayInfo, bool)` 198 199 GetDisplayInfoOk returns a tuple with the DisplayInfo field if it's non-nil, zero value otherwise 200 and a boolean to check if the value has been set. 201 202 ### SetDisplayInfo 203 204 `func (o *ConstitutionComponent) SetDisplayInfo(v []DisplayInfo)` 205 206 SetDisplayInfo sets DisplayInfo field to given value. 207 208 ### HasDisplayInfo 209 210 `func (o *ConstitutionComponent) HasDisplayInfo() bool` 211 212 HasDisplayInfo returns a boolean if a field has been set. 213 214 ### GetComponents 215 216 `func (o *ConstitutionComponent) GetComponents() []ConstitutionComponent` 217 218 GetComponents returns the Components field if non-nil, zero value otherwise. 219 220 ### GetComponentsOk 221 222 `func (o *ConstitutionComponent) GetComponentsOk() (*[]ConstitutionComponent, bool)` 223 224 GetComponentsOk returns a tuple with the Components field if it's non-nil, zero value otherwise 225 and a boolean to check if the value has been set. 226 227 ### SetComponents 228 229 `func (o *ConstitutionComponent) SetComponents(v []ConstitutionComponent)` 230 231 SetComponents sets Components field to given value. 232 233 ### HasComponents 234 235 `func (o *ConstitutionComponent) HasComponents() bool` 236 237 HasComponents returns a boolean if a field has been set. 238 239 ### SetComponentsNil 240 241 `func (o *ConstitutionComponent) SetComponentsNil(b bool)` 242 243 SetComponentsNil sets the value for Components to be an explicit nil 244 245 ### UnsetComponents 246 `func (o *ConstitutionComponent) UnsetComponents()` 247 248 UnsetComponents ensures that no value is present for Components, not even an explicit nil 249 250 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 251 252