Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to NullableInt32 | ID of the aggregation | [optional] [readonly] |
AssetId | int32 | ID of the corresponding asset | |
Subtype | DataSubtype | [default to SUBTYPE_INPUT] | |
Attribute | Pointer to string | Name of the attribute which holds the data points | [optional] |
Mode | string | Calculation mode | |
Raster | Pointer to NullableString | calculation interval | [optional] |
func NewAggregation(assetId int32, subtype DataSubtype, mode string, ) *Aggregation
NewAggregation instantiates a new Aggregation 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 NewAggregationWithDefaults() *Aggregation
NewAggregationWithDefaults instantiates a new Aggregation 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 *Aggregation) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Aggregation) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregation) SetId(v int32)
SetId sets Id field to given value.
func (o *Aggregation) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Aggregation) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
func (o *Aggregation) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
func (o *Aggregation) GetAssetId() int32
GetAssetId returns the AssetId field if non-nil, zero value otherwise.
func (o *Aggregation) 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 *Aggregation) SetAssetId(v int32)
SetAssetId sets AssetId field to given value.
func (o *Aggregation) GetSubtype() DataSubtype
GetSubtype returns the Subtype field if non-nil, zero value otherwise.
func (o *Aggregation) 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 *Aggregation) SetSubtype(v DataSubtype)
SetSubtype sets Subtype field to given value.
func (o *Aggregation) GetAttribute() string
GetAttribute returns the Attribute field if non-nil, zero value otherwise.
func (o *Aggregation) 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 *Aggregation) SetAttribute(v string)
SetAttribute sets Attribute field to given value.
func (o *Aggregation) HasAttribute() bool
HasAttribute returns a boolean if a field has been set.
func (o *Aggregation) GetMode() string
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *Aggregation) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregation) SetMode(v string)
SetMode sets Mode field to given value.
func (o *Aggregation) GetRaster() string
GetRaster returns the Raster field if non-nil, zero value otherwise.
func (o *Aggregation) GetRasterOk() (*string, bool)
GetRasterOk returns a tuple with the Raster field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Aggregation) SetRaster(v string)
SetRaster sets Raster field to given value.
func (o *Aggregation) HasRaster() bool
HasRaster returns a boolean if a field has been set.
func (o *Aggregation) SetRasterNil(b bool)
SetRasterNil sets the value for Raster to be an explicit nil
func (o *Aggregation) UnsetRaster()
UnsetRaster ensures that no value is present for Raster, not even an explicit nil