Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.1 KB

MeteredPowerMessageData.md

File metadata and controls

72 lines (39 loc) · 2.1 KB

MeteredPowerMessageData

Properties

Name Type Description Notes
Data MeteredPower
Type string message type [default to "metered-power"]

Methods

NewMeteredPowerMessageData

func NewMeteredPowerMessageData(data MeteredPower, type_ string, ) *MeteredPowerMessageData

NewMeteredPowerMessageData instantiates a new MeteredPowerMessageData 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

NewMeteredPowerMessageDataWithDefaults

func NewMeteredPowerMessageDataWithDefaults() *MeteredPowerMessageData

NewMeteredPowerMessageDataWithDefaults instantiates a new MeteredPowerMessageData 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

GetData

func (o *MeteredPowerMessageData) GetData() MeteredPower

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

GetDataOk

func (o *MeteredPowerMessageData) GetDataOk() (*MeteredPower, 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 *MeteredPowerMessageData) SetData(v MeteredPower)

SetData sets Data field to given value.

GetType

func (o *MeteredPowerMessageData) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *MeteredPowerMessageData) GetTypeOk() (*string, bool)

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

SetType

func (o *MeteredPowerMessageData) SetType(v string)

SetType sets Type field to given value.

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