Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.53 KB

File metadata and controls

186 lines (101 loc) · 4.53 KB

MachineEvent

Properties

Name Type Description Notes
Id Pointer to string [optional]
Request Pointer to map[string]interface{} [optional]
Source Pointer to string [optional]
Status Pointer to string [optional]
Timestamp Pointer to int64 [optional]
Type Pointer to string [optional]

Methods

NewMachineEvent

func NewMachineEvent() *MachineEvent

NewMachineEvent instantiates a new MachineEvent 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

NewMachineEventWithDefaults

func NewMachineEventWithDefaults() *MachineEvent

NewMachineEventWithDefaults instantiates a new MachineEvent 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

GetId

func (o *MachineEvent) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *MachineEvent) GetIdOk() (*string, bool)

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

SetId

func (o *MachineEvent) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *MachineEvent) HasId() bool

HasId returns a boolean if a field has been set.

GetRequest

func (o *MachineEvent) GetRequest() map[string]interface{}

GetRequest returns the Request field if non-nil, zero value otherwise.

GetRequestOk

func (o *MachineEvent) GetRequestOk() (*map[string]interface{}, bool)

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

SetRequest

func (o *MachineEvent) SetRequest(v map[string]interface{})

SetRequest sets Request field to given value.

HasRequest

func (o *MachineEvent) HasRequest() bool

HasRequest returns a boolean if a field has been set.

GetSource

func (o *MachineEvent) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *MachineEvent) GetSourceOk() (*string, bool)

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

SetSource

func (o *MachineEvent) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *MachineEvent) HasSource() bool

HasSource returns a boolean if a field has been set.

GetStatus

func (o *MachineEvent) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *MachineEvent) GetStatusOk() (*string, bool)

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

SetStatus

func (o *MachineEvent) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *MachineEvent) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTimestamp

func (o *MachineEvent) GetTimestamp() int64

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *MachineEvent) GetTimestampOk() (*int64, bool)

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

SetTimestamp

func (o *MachineEvent) SetTimestamp(v int64)

SetTimestamp sets Timestamp field to given value.

HasTimestamp

func (o *MachineEvent) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

GetType

func (o *MachineEvent) GetType() string

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

GetTypeOk

func (o *MachineEvent) 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 *MachineEvent) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *MachineEvent) HasType() bool

HasType returns a boolean if a field has been set.

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