Name | Type | Description | Notes |
---|---|---|---|
AssetTypeName | Pointer to NullableString | The unique name for the asset type | [optional] |
Name | string | Unique key of asset data | |
Subtype | DataSubtype | [default to SUBTYPE_INPUT] | |
Type | Pointer to NullableString | Name of the type for this attribute | [optional] |
Enable | Pointer to bool | Is data active or not | [optional] [default to true] |
Translation | Pointer to NullableTranslation | [optional] | |
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] |
AggregationMode | Pointer to NullableString | Aggregation calculation mode | [optional] |
AggregationRasters | Pointer to []string | [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] |
Virtual | Pointer to NullableBool | Is the attribute virtual or not | [optional] |
func NewAssetTypeAttribute(name string, subtype DataSubtype, ) *AssetTypeAttribute
NewAssetTypeAttribute instantiates a new AssetTypeAttribute 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 NewAssetTypeAttributeWithDefaults() *AssetTypeAttribute
NewAssetTypeAttributeWithDefaults instantiates a new AssetTypeAttribute 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 *AssetTypeAttribute) GetAssetTypeName() string
GetAssetTypeName returns the AssetTypeName field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetAssetTypeNameOk() (*string, bool)
GetAssetTypeNameOk returns a tuple with the AssetTypeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetAssetTypeName(v string)
SetAssetTypeName sets AssetTypeName field to given value.
func (o *AssetTypeAttribute) HasAssetTypeName() bool
HasAssetTypeName returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetAssetTypeNameNil(b bool)
SetAssetTypeNameNil sets the value for AssetTypeName to be an explicit nil
func (o *AssetTypeAttribute) UnsetAssetTypeName()
UnsetAssetTypeName ensures that no value is present for AssetTypeName, not even an explicit nil
func (o *AssetTypeAttribute) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetName(v string)
SetName sets Name field to given value.
func (o *AssetTypeAttribute) GetSubtype() DataSubtype
GetSubtype returns the Subtype field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetSubtype(v DataSubtype)
SetSubtype sets Subtype field to given value.
func (o *AssetTypeAttribute) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetType(v string)
SetType sets Type field to given value.
func (o *AssetTypeAttribute) HasType() bool
HasType returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetTypeNil(b bool)
SetTypeNil sets the value for Type to be an explicit nil
func (o *AssetTypeAttribute) UnsetType()
UnsetType ensures that no value is present for Type, not even an explicit nil
func (o *AssetTypeAttribute) GetEnable() bool
GetEnable returns the Enable field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetEnableOk() (*bool, bool)
GetEnableOk returns a tuple with the Enable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetEnable(v bool)
SetEnable sets Enable field to given value.
func (o *AssetTypeAttribute) HasEnable() bool
HasEnable returns a boolean if a field has been set.
func (o *AssetTypeAttribute) GetTranslation() Translation
GetTranslation returns the Translation field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetTranslationOk() (*Translation, bool)
GetTranslationOk returns a tuple with the Translation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetTranslation(v Translation)
SetTranslation sets Translation field to given value.
func (o *AssetTypeAttribute) HasTranslation() bool
HasTranslation returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetTranslationNil(b bool)
SetTranslationNil sets the value for Translation to be an explicit nil
func (o *AssetTypeAttribute) UnsetTranslation()
UnsetTranslation ensures that no value is present for Translation, not even an explicit nil
func (o *AssetTypeAttribute) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *AssetTypeAttribute) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetUnitNil(b bool)
SetUnitNil sets the value for Unit to be an explicit nil
func (o *AssetTypeAttribute) UnsetUnit()
UnsetUnit ensures that no value is present for Unit, not even an explicit nil
func (o *AssetTypeAttribute) GetPrecision() int64
GetPrecision returns the Precision field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetPrecision(v int64)
SetPrecision sets Precision field to given value.
func (o *AssetTypeAttribute) HasPrecision() bool
HasPrecision returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetPrecisionNil(b bool)
SetPrecisionNil sets the value for Precision to be an explicit nil
func (o *AssetTypeAttribute) UnsetPrecision()
UnsetPrecision ensures that no value is present for Precision, not even an explicit nil
func (o *AssetTypeAttribute) GetMin() float64
GetMin returns the Min field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetMin(v float64)
SetMin sets Min field to given value.
func (o *AssetTypeAttribute) HasMin() bool
HasMin returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetMinNil(b bool)
SetMinNil sets the value for Min to be an explicit nil
func (o *AssetTypeAttribute) UnsetMin()
UnsetMin ensures that no value is present for Min, not even an explicit nil
func (o *AssetTypeAttribute) GetMax() float64
GetMax returns the Max field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetMax(v float64)
SetMax sets Max field to given value.
func (o *AssetTypeAttribute) HasMax() bool
HasMax returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetMaxNil(b bool)
SetMaxNil sets the value for Max to be an explicit nil
func (o *AssetTypeAttribute) UnsetMax()
UnsetMax ensures that no value is present for Max, not even an explicit nil
func (o *AssetTypeAttribute) GetAggregationMode() string
GetAggregationMode returns the AggregationMode field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetAggregationModeOk() (*string, bool)
GetAggregationModeOk returns a tuple with the AggregationMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetAggregationMode(v string)
SetAggregationMode sets AggregationMode field to given value.
func (o *AssetTypeAttribute) HasAggregationMode() bool
HasAggregationMode returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetAggregationModeNil(b bool)
SetAggregationModeNil sets the value for AggregationMode to be an explicit nil
func (o *AssetTypeAttribute) UnsetAggregationMode()
UnsetAggregationMode ensures that no value is present for AggregationMode, not even an explicit nil
func (o *AssetTypeAttribute) GetAggregationRasters() []string
GetAggregationRasters returns the AggregationRasters field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetAggregationRastersOk() (*[]string, bool)
GetAggregationRastersOk returns a tuple with the AggregationRasters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetAggregationRasters(v []string)
SetAggregationRasters sets AggregationRasters field to given value.
func (o *AssetTypeAttribute) HasAggregationRasters() bool
HasAggregationRasters returns a boolean if a field has been set.
func (o *AssetTypeAttribute) GetViewer() bool
GetViewer returns the Viewer field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetViewer(v bool)
SetViewer sets Viewer field to given value.
func (o *AssetTypeAttribute) HasViewer() bool
HasViewer returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetViewerNil(b bool)
SetViewerNil sets the value for Viewer to be an explicit nil
func (o *AssetTypeAttribute) UnsetViewer()
UnsetViewer ensures that no value is present for Viewer, not even an explicit nil
func (o *AssetTypeAttribute) GetAr() bool
GetAr returns the Ar field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetAr(v bool)
SetAr sets Ar field to given value.
func (o *AssetTypeAttribute) HasAr() bool
HasAr returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetArNil(b bool)
SetArNil sets the value for Ar to be an explicit nil
func (o *AssetTypeAttribute) UnsetAr()
UnsetAr ensures that no value is present for Ar, not even an explicit nil
func (o *AssetTypeAttribute) GetSequence() int64
GetSequence returns the Sequence field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) 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 *AssetTypeAttribute) SetSequence(v int64)
SetSequence sets Sequence field to given value.
func (o *AssetTypeAttribute) HasSequence() bool
HasSequence returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetSequenceNil(b bool)
SetSequenceNil sets the value for Sequence to be an explicit nil
func (o *AssetTypeAttribute) UnsetSequence()
UnsetSequence ensures that no value is present for Sequence, not even an explicit nil
func (o *AssetTypeAttribute) GetVirtual() bool
GetVirtual returns the Virtual field if non-nil, zero value otherwise.
func (o *AssetTypeAttribute) GetVirtualOk() (*bool, bool)
GetVirtualOk returns a tuple with the Virtual field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AssetTypeAttribute) SetVirtual(v bool)
SetVirtual sets Virtual field to given value.
func (o *AssetTypeAttribute) HasVirtual() bool
HasVirtual returns a boolean if a field has been set.
func (o *AssetTypeAttribute) SetVirtualNil(b bool)
SetVirtualNil sets the value for Virtual to be an explicit nil
func (o *AssetTypeAttribute) UnsetVirtual()
UnsetVirtual ensures that no value is present for Virtual, not even an explicit nil