Name | Type | Description | Notes |
---|---|---|---|
EndAt | int64 | End of interval. The format is Unix epoch time unless you pass a `datetime_format` parameter as described here. | |
Enwh | int32 | Energy consumed during this interval, in Watt-hours. | |
DevicesReporting | int32 | Number of consumption meters that reported data for this interval at the time of the request. |
func NewConsumptionStatsResponseIntervalsInner(endAt int64, enwh int32, devicesReporting int32, ) *ConsumptionStatsResponseIntervalsInner
NewConsumptionStatsResponseIntervalsInner instantiates a new ConsumptionStatsResponseIntervalsInner 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 NewConsumptionStatsResponseIntervalsInnerWithDefaults() *ConsumptionStatsResponseIntervalsInner
NewConsumptionStatsResponseIntervalsInnerWithDefaults instantiates a new ConsumptionStatsResponseIntervalsInner 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 *ConsumptionStatsResponseIntervalsInner) GetEndAt() int64
GetEndAt returns the EndAt field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponseIntervalsInner) GetEndAtOk() (*int64, bool)
GetEndAtOk returns a tuple with the EndAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponseIntervalsInner) SetEndAt(v int64)
SetEndAt sets EndAt field to given value.
func (o *ConsumptionStatsResponseIntervalsInner) GetEnwh() int32
GetEnwh returns the Enwh field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponseIntervalsInner) GetEnwhOk() (*int32, bool)
GetEnwhOk returns a tuple with the Enwh field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponseIntervalsInner) SetEnwh(v int32)
SetEnwh sets Enwh field to given value.
func (o *ConsumptionStatsResponseIntervalsInner) GetDevicesReporting() int32
GetDevicesReporting returns the DevicesReporting field if non-nil, zero value otherwise.
func (o *ConsumptionStatsResponseIntervalsInner) GetDevicesReportingOk() (*int32, bool)
GetDevicesReportingOk returns a tuple with the DevicesReporting field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConsumptionStatsResponseIntervalsInner) SetDevicesReporting(v int32)
SetDevicesReporting sets DevicesReporting field to given value.