Name | Type | Description | Notes |
---|---|---|---|
StartDate | string | When no `start_date` parameter is specified on the request, this is the `operational_date` of the system. May be null if system has never produced. When a `start_date` parameter is included in the request, it is included here in the response. | |
SystemId | int32 | The identifier of the system. | |
Production | []int32 | An array of production measurements, one for each day since the system started producing, or one for each day of the requested period. If the system has never produced energy, the array may be empty. | |
MicroProduction | Pointer to []int32 | [optional] | |
MeterProduction | Pointer to []int32 | [optional] | |
MeterStartDate | Pointer to string | The first day in the time series when measurements are taken from a meter instead of from microinverters. This field is not present unless the system has a meter. | [optional] |
Meta | Meta |
func NewEnergyLifetimeResponse(startDate string, systemId int32, production []int32, meta Meta, ) *EnergyLifetimeResponse
NewEnergyLifetimeResponse instantiates a new EnergyLifetimeResponse 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 NewEnergyLifetimeResponseWithDefaults() *EnergyLifetimeResponse
NewEnergyLifetimeResponseWithDefaults instantiates a new EnergyLifetimeResponse 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 *EnergyLifetimeResponse) GetStartDate() string
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) GetStartDateOk() (*string, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnergyLifetimeResponse) SetStartDate(v string)
SetStartDate sets StartDate field to given value.
func (o *EnergyLifetimeResponse) GetSystemId() int32
GetSystemId returns the SystemId field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) 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 *EnergyLifetimeResponse) SetSystemId(v int32)
SetSystemId sets SystemId field to given value.
func (o *EnergyLifetimeResponse) GetProduction() []int32
GetProduction returns the Production field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) GetProductionOk() (*[]int32, bool)
GetProductionOk returns a tuple with the Production field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnergyLifetimeResponse) SetProduction(v []int32)
SetProduction sets Production field to given value.
func (o *EnergyLifetimeResponse) GetMicroProduction() []int32
GetMicroProduction returns the MicroProduction field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) GetMicroProductionOk() (*[]int32, bool)
GetMicroProductionOk returns a tuple with the MicroProduction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnergyLifetimeResponse) SetMicroProduction(v []int32)
SetMicroProduction sets MicroProduction field to given value.
func (o *EnergyLifetimeResponse) HasMicroProduction() bool
HasMicroProduction returns a boolean if a field has been set.
func (o *EnergyLifetimeResponse) GetMeterProduction() []int32
GetMeterProduction returns the MeterProduction field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) GetMeterProductionOk() (*[]int32, bool)
GetMeterProductionOk returns a tuple with the MeterProduction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnergyLifetimeResponse) SetMeterProduction(v []int32)
SetMeterProduction sets MeterProduction field to given value.
func (o *EnergyLifetimeResponse) HasMeterProduction() bool
HasMeterProduction returns a boolean if a field has been set.
func (o *EnergyLifetimeResponse) GetMeterStartDate() string
GetMeterStartDate returns the MeterStartDate field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) GetMeterStartDateOk() (*string, bool)
GetMeterStartDateOk returns a tuple with the MeterStartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnergyLifetimeResponse) SetMeterStartDate(v string)
SetMeterStartDate sets MeterStartDate field to given value.
func (o *EnergyLifetimeResponse) HasMeterStartDate() bool
HasMeterStartDate returns a boolean if a field has been set.
func (o *EnergyLifetimeResponse) GetMeta() Meta
GetMeta returns the Meta field if non-nil, zero value otherwise.
func (o *EnergyLifetimeResponse) 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 *EnergyLifetimeResponse) SetMeta(v Meta)
SetMeta sets Meta field to given value.