Name | Type | Description | Notes |
---|---|---|---|
EndAt | int64 | End date for interval. The format is Unix epoch time unless you pass a `datetime_format` parameter as described here. | |
Powr | int32 | Average power produced by microinverters during this interval, in Watts. | |
Enwh | int32 | Energy produced by microinverters during this interval, in Watt-hours. | |
DevicesReporting | int32 | Number of microinverters that reported data for this interval at the time of the request. |
func NewStatsResponseIntervalsInner(endAt int64, powr int32, enwh int32, devicesReporting int32, ) *StatsResponseIntervalsInner
NewStatsResponseIntervalsInner instantiates a new StatsResponseIntervalsInner 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 NewStatsResponseIntervalsInnerWithDefaults() *StatsResponseIntervalsInner
NewStatsResponseIntervalsInnerWithDefaults instantiates a new StatsResponseIntervalsInner 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 *StatsResponseIntervalsInner) GetEndAt() int64
GetEndAt returns the EndAt field if non-nil, zero value otherwise.
func (o *StatsResponseIntervalsInner) 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 *StatsResponseIntervalsInner) SetEndAt(v int64)
SetEndAt sets EndAt field to given value.
func (o *StatsResponseIntervalsInner) GetPowr() int32
GetPowr returns the Powr field if non-nil, zero value otherwise.
func (o *StatsResponseIntervalsInner) GetPowrOk() (*int32, bool)
GetPowrOk returns a tuple with the Powr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *StatsResponseIntervalsInner) SetPowr(v int32)
SetPowr sets Powr field to given value.
func (o *StatsResponseIntervalsInner) GetEnwh() int32
GetEnwh returns the Enwh field if non-nil, zero value otherwise.
func (o *StatsResponseIntervalsInner) 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 *StatsResponseIntervalsInner) SetEnwh(v int32)
SetEnwh sets Enwh field to given value.
func (o *StatsResponseIntervalsInner) GetDevicesReporting() int32
GetDevicesReporting returns the DevicesReporting field if non-nil, zero value otherwise.
func (o *StatsResponseIntervalsInner) 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 *StatsResponseIntervalsInner) SetDevicesReporting(v int32)
SetDevicesReporting sets DevicesReporting field to given value.