Name | Type | Description | Notes |
---|---|---|---|
Data | MeteredPower | ||
Type | string | message type | [default to "metered-power"] |
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
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
func (o *MeteredPowerMessageData) GetData() MeteredPower
GetData returns the Data field if non-nil, zero value otherwise.
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.
func (o *MeteredPowerMessageData) SetData(v MeteredPower)
SetData sets Data field to given value.
func (o *MeteredPowerMessageData) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *MeteredPowerMessageData) SetType(v string)
SetType sets Type field to given value.