Name | Type | Description | Notes |
---|---|---|---|
Type | Pointer to OutputMessageType | [optional] [default to OUTPUTMESSAGETYPE_UNKNOWN] | |
Device | Pointer to Device | [optional] | |
Payload | Pointer to string | [optional] | |
Received | Pointer to string | Received time for message. Value is ms since epoch. | [optional] |
Transport | Pointer to string | [optional] | |
UdpMetaData | Pointer to UDPMetadata | [optional] | |
CoapMetaData | Pointer to CoAPMetadata | [optional] | |
MessageId | Pointer to string | [optional] | |
MqttMetaData | Pointer to MQTTMetadata | [optional] | |
GatewayMetaData | Pointer to GatewayMetadata | [optional] | |
GatewayId | Pointer to string | [optional] |
func NewOutputDataMessage() *OutputDataMessage
NewOutputDataMessage instantiates a new OutputDataMessage 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 NewOutputDataMessageWithDefaults() *OutputDataMessage
NewOutputDataMessageWithDefaults instantiates a new OutputDataMessage 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 *OutputDataMessage) GetType() OutputMessageType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetTypeOk() (*OutputMessageType, 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 *OutputDataMessage) SetType(v OutputMessageType)
SetType sets Type field to given value.
func (o *OutputDataMessage) HasType() bool
HasType returns a boolean if a field has been set.
func (o *OutputDataMessage) GetDevice() Device
GetDevice returns the Device field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetDeviceOk() (*Device, bool)
GetDeviceOk returns a tuple with the Device field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetDevice(v Device)
SetDevice sets Device field to given value.
func (o *OutputDataMessage) HasDevice() bool
HasDevice returns a boolean if a field has been set.
func (o *OutputDataMessage) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetPayload(v string)
SetPayload sets Payload field to given value.
func (o *OutputDataMessage) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (o *OutputDataMessage) GetReceived() string
GetReceived returns the Received field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetReceivedOk() (*string, bool)
GetReceivedOk returns a tuple with the Received field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetReceived(v string)
SetReceived sets Received field to given value.
func (o *OutputDataMessage) HasReceived() bool
HasReceived returns a boolean if a field has been set.
func (o *OutputDataMessage) GetTransport() string
GetTransport returns the Transport field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetTransportOk() (*string, bool)
GetTransportOk returns a tuple with the Transport field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetTransport(v string)
SetTransport sets Transport field to given value.
func (o *OutputDataMessage) HasTransport() bool
HasTransport returns a boolean if a field has been set.
func (o *OutputDataMessage) GetUdpMetaData() UDPMetadata
GetUdpMetaData returns the UdpMetaData field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetUdpMetaDataOk() (*UDPMetadata, bool)
GetUdpMetaDataOk returns a tuple with the UdpMetaData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetUdpMetaData(v UDPMetadata)
SetUdpMetaData sets UdpMetaData field to given value.
func (o *OutputDataMessage) HasUdpMetaData() bool
HasUdpMetaData returns a boolean if a field has been set.
func (o *OutputDataMessage) GetCoapMetaData() CoAPMetadata
GetCoapMetaData returns the CoapMetaData field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetCoapMetaDataOk() (*CoAPMetadata, bool)
GetCoapMetaDataOk returns a tuple with the CoapMetaData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetCoapMetaData(v CoAPMetadata)
SetCoapMetaData sets CoapMetaData field to given value.
func (o *OutputDataMessage) HasCoapMetaData() bool
HasCoapMetaData returns a boolean if a field has been set.
func (o *OutputDataMessage) GetMessageId() string
GetMessageId returns the MessageId field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetMessageIdOk() (*string, bool)
GetMessageIdOk returns a tuple with the MessageId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetMessageId(v string)
SetMessageId sets MessageId field to given value.
func (o *OutputDataMessage) HasMessageId() bool
HasMessageId returns a boolean if a field has been set.
func (o *OutputDataMessage) GetMqttMetaData() MQTTMetadata
GetMqttMetaData returns the MqttMetaData field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetMqttMetaDataOk() (*MQTTMetadata, bool)
GetMqttMetaDataOk returns a tuple with the MqttMetaData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetMqttMetaData(v MQTTMetadata)
SetMqttMetaData sets MqttMetaData field to given value.
func (o *OutputDataMessage) HasMqttMetaData() bool
HasMqttMetaData returns a boolean if a field has been set.
func (o *OutputDataMessage) GetGatewayMetaData() GatewayMetadata
GetGatewayMetaData returns the GatewayMetaData field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetGatewayMetaDataOk() (*GatewayMetadata, bool)
GetGatewayMetaDataOk returns a tuple with the GatewayMetaData field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetGatewayMetaData(v GatewayMetadata)
SetGatewayMetaData sets GatewayMetaData field to given value.
func (o *OutputDataMessage) HasGatewayMetaData() bool
HasGatewayMetaData returns a boolean if a field has been set.
func (o *OutputDataMessage) GetGatewayId() string
GetGatewayId returns the GatewayId field if non-nil, zero value otherwise.
func (o *OutputDataMessage) GetGatewayIdOk() (*string, bool)
GetGatewayIdOk returns a tuple with the GatewayId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OutputDataMessage) SetGatewayId(v string)
SetGatewayId sets GatewayId field to given value.
func (o *OutputDataMessage) HasGatewayId() bool
HasGatewayId returns a boolean if a field has been set.