Name | Type | Description | Notes |
---|---|---|---|
SystemId | int32 | Enlighten ID for this system. | |
TotalDevices | int32 | Number of active consumption meters for this system. | |
Meta | Meta | ||
Intervals | []ConsumptionStatsResponseIntervalsInner | A list of intervals between the requested start and end times. |
func NewConsumptionStatsResponse(systemId int32, totalDevices int32, meta Meta, intervals []ConsumptionStatsResponseIntervalsInner, ) *ConsumptionStatsResponse
NewConsumptionStatsResponse instantiates a new ConsumptionStatsResponse 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 NewConsumptionStatsResponseWithDefaults() *ConsumptionStatsResponse
NewConsumptionStatsResponseWithDefaults instantiates a new ConsumptionStatsResponse 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 *ConsumptionStatsResponse) GetSystemId() int32
GetSystemId returns the SystemId field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponse) GetSystemIdOk() (*int32, bool)
GetSystemIdOk returns a tuple with the SystemId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponse) SetSystemId(v int32)
SetSystemId sets SystemId field to given value.
func (o *ConsumptionStatsResponse) GetTotalDevices() int32
GetTotalDevices returns the TotalDevices field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponse) GetTotalDevicesOk() (*int32, bool)
GetTotalDevicesOk returns a tuple with the TotalDevices field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponse) SetTotalDevices(v int32)
SetTotalDevices sets TotalDevices field to given value.
func (o *ConsumptionStatsResponse) GetMeta() Meta
GetMeta returns the Meta field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponse) GetMetaOk() (*Meta, bool)
GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponse) SetMeta(v Meta)
SetMeta sets Meta field to given value.
func (o *ConsumptionStatsResponse) GetIntervals() []ConsumptionStatsResponseIntervalsInner
GetIntervals returns the Intervals field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponse) GetIntervalsOk() (*[]ConsumptionStatsResponseIntervalsInner, bool)
GetIntervalsOk returns a tuple with the Intervals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponse) SetIntervals(v []ConsumptionStatsResponseIntervalsInner)
SetIntervals sets Intervals field to given value.