Name | Type | Description | Notes |
---|---|---|---|
AssetId | int32 | ID of the corresponding asset | |
Subtype | DataSubtype | [default to SUBTYPE_INPUT] | |
Attribute | string | Name of the attribute of the asset type | |
Unit | Pointer to NullableString | Physical unit of numeric data | [optional] |
Precision | Pointer to NullableInt64 | Number of decimal places | [optional] |
Min | Pointer to NullableFloat64 | Lower limit | [optional] |
Max | Pointer to NullableFloat64 | Upper limit | [optional] |
Viewer | Pointer to NullableBool | Should the attribute be displayed in viewer | [optional] [default to false] |
Ar | Pointer to NullableBool | Should the attribute be displayed in AR | [optional] [default to false] |
Sequence | Pointer to NullableInt64 | Sequence in AR display | [optional] |
Map | Pointer to []map[string]interface{} | list of mapping between value and custom text | [optional] |
func NewAttributeDisplay(assetId int32, subtype DataSubtype, attribute string, ) *AttributeDisplay
NewAttributeDisplay instantiates a new AttributeDisplay object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAttributeDisplayWithDefaults() *AttributeDisplay
NewAttributeDisplayWithDefaults instantiates a new AttributeDisplay object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *AttributeDisplay) GetAssetId() int32
GetAssetId returns the AssetId field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetAssetIdOk() (*int32, bool)
GetAssetIdOk returns a tuple with the AssetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetAssetId(v int32)
SetAssetId sets AssetId field to given value.
func (o *AttributeDisplay) GetSubtype() DataSubtype
GetSubtype returns the Subtype field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetSubtypeOk() (*DataSubtype, bool)
GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetSubtype(v DataSubtype)
SetSubtype sets Subtype field to given value.
func (o *AttributeDisplay) GetAttribute() string
GetAttribute returns the Attribute field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetAttributeOk() (*string, bool)
GetAttributeOk returns a tuple with the Attribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetAttribute(v string)
SetAttribute sets Attribute field to given value.
func (o *AttributeDisplay) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *AttributeDisplay) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (o *AttributeDisplay) SetUnitNil(b bool)
SetUnitNil sets the value for Unit to be an explicit nil
func (o *AttributeDisplay) UnsetUnit()
UnsetUnit ensures that no value is present for Unit, not even an explicit nil
func (o *AttributeDisplay) GetPrecision() int64
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetPrecisionOk() (*int64, bool)
GetPrecisionOk returns a tuple with the Precision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetPrecision(v int64)
SetPrecision sets Precision field to given value.
func (o *AttributeDisplay) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (o *AttributeDisplay) SetPrecisionNil(b bool)
SetPrecisionNil sets the value for Precision to be an explicit nil
func (o *AttributeDisplay) UnsetPrecision()
UnsetPrecision ensures that no value is present for Precision, not even an explicit nil
func (o *AttributeDisplay) GetMin() float64
GetMin returns the Min field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetMinOk() (*float64, bool)
GetMinOk returns a tuple with the Min field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetMin(v float64)
SetMin sets Min field to given value.
func (o *AttributeDisplay) HasMin() bool
HasMin returns a boolean if a field has been set.
func (o *AttributeDisplay) SetMinNil(b bool)
SetMinNil sets the value for Min to be an explicit nil
func (o *AttributeDisplay) UnsetMin()
UnsetMin ensures that no value is present for Min, not even an explicit nil
func (o *AttributeDisplay) GetMax() float64
GetMax returns the Max field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetMaxOk() (*float64, bool)
GetMaxOk returns a tuple with the Max field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetMax(v float64)
SetMax sets Max field to given value.
func (o *AttributeDisplay) HasMax() bool
HasMax returns a boolean if a field has been set.
func (o *AttributeDisplay) SetMaxNil(b bool)
SetMaxNil sets the value for Max to be an explicit nil
func (o *AttributeDisplay) UnsetMax()
UnsetMax ensures that no value is present for Max, not even an explicit nil
func (o *AttributeDisplay) GetViewer() bool
GetViewer returns the Viewer field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetViewerOk() (*bool, bool)
GetViewerOk returns a tuple with the Viewer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetViewer(v bool)
SetViewer sets Viewer field to given value.
func (o *AttributeDisplay) HasViewer() bool
HasViewer returns a boolean if a field has been set.
func (o *AttributeDisplay) SetViewerNil(b bool)
SetViewerNil sets the value for Viewer to be an explicit nil
func (o *AttributeDisplay) UnsetViewer()
UnsetViewer ensures that no value is present for Viewer, not even an explicit nil
func (o *AttributeDisplay) GetAr() bool
GetAr returns the Ar field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetArOk() (*bool, bool)
GetArOk returns a tuple with the Ar field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetAr(v bool)
SetAr sets Ar field to given value.
func (o *AttributeDisplay) HasAr() bool
HasAr returns a boolean if a field has been set.
func (o *AttributeDisplay) SetArNil(b bool)
SetArNil sets the value for Ar to be an explicit nil
func (o *AttributeDisplay) UnsetAr()
UnsetAr ensures that no value is present for Ar, not even an explicit nil
func (o *AttributeDisplay) GetSequence() int64
GetSequence returns the Sequence field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetSequenceOk() (*int64, bool)
GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetSequence(v int64)
SetSequence sets Sequence field to given value.
func (o *AttributeDisplay) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (o *AttributeDisplay) SetSequenceNil(b bool)
SetSequenceNil sets the value for Sequence to be an explicit nil
func (o *AttributeDisplay) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
func (o *AttributeDisplay) GetMap() []map[string]interface{}
GetMap returns the Map field if non-nil, zero value otherwise.
func (o *AttributeDisplay) GetMapOk() (*[]map[string]interface{}, bool)
GetMapOk returns a tuple with the Map field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AttributeDisplay) SetMap(v []map[string]interface{})
SetMap sets Map field to given value.
func (o *AttributeDisplay) HasMap() bool
HasMap returns a boolean if a field has been set.
func (o *AttributeDisplay) SetMapNil(b bool)
SetMapNil sets the value for Map to be an explicit nil
func (o *AttributeDisplay) UnsetMap()
UnsetMap ensures that no value is present for Map, not even an explicit nil