Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.68 KB

PowerStream.md

File metadata and controls

134 lines (73 loc) · 3.68 KB

PowerStream

Properties

Name Type Description Notes
OriginalSize Pointer to int32 The number of data points in this stream [optional]
Resolution Pointer to string The level of detail (sampling) in which this stream was returned [optional]
SeriesType Pointer to string The base series used in the case the stream was downsampled [optional]
Data Pointer to []int32 The sequence of power values for this stream, in watts [optional]

Methods

NewPowerStream

func NewPowerStream() *PowerStream

NewPowerStream instantiates a new PowerStream 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

NewPowerStreamWithDefaults

func NewPowerStreamWithDefaults() *PowerStream

NewPowerStreamWithDefaults instantiates a new PowerStream 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

GetOriginalSize

func (o *PowerStream) GetOriginalSize() int32

GetOriginalSize returns the OriginalSize field if non-nil, zero value otherwise.

GetOriginalSizeOk

func (o *PowerStream) GetOriginalSizeOk() (*int32, bool)

GetOriginalSizeOk returns a tuple with the OriginalSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOriginalSize

func (o *PowerStream) SetOriginalSize(v int32)

SetOriginalSize sets OriginalSize field to given value.

HasOriginalSize

func (o *PowerStream) HasOriginalSize() bool

HasOriginalSize returns a boolean if a field has been set.

GetResolution

func (o *PowerStream) GetResolution() string

GetResolution returns the Resolution field if non-nil, zero value otherwise.

GetResolutionOk

func (o *PowerStream) GetResolutionOk() (*string, bool)

GetResolutionOk returns a tuple with the Resolution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetResolution

func (o *PowerStream) SetResolution(v string)

SetResolution sets Resolution field to given value.

HasResolution

func (o *PowerStream) HasResolution() bool

HasResolution returns a boolean if a field has been set.

GetSeriesType

func (o *PowerStream) GetSeriesType() string

GetSeriesType returns the SeriesType field if non-nil, zero value otherwise.

GetSeriesTypeOk

func (o *PowerStream) GetSeriesTypeOk() (*string, bool)

GetSeriesTypeOk returns a tuple with the SeriesType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSeriesType

func (o *PowerStream) SetSeriesType(v string)

SetSeriesType sets SeriesType field to given value.

HasSeriesType

func (o *PowerStream) HasSeriesType() bool

HasSeriesType returns a boolean if a field has been set.

GetData

func (o *PowerStream) GetData() []int32

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *PowerStream) GetDataOk() (*[]int32, bool)

GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetData

func (o *PowerStream) SetData(v []int32)

SetData sets Data field to given value.

HasData

func (o *PowerStream) HasData() bool

HasData returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]