Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.3 KB

File metadata and controls

124 lines (67 loc) · 3.3 KB

ServerSentEventsInner1

Properties

Name Type Description Notes
Data WarningEvent
Event string The event name.
Id Pointer to int32 The event ID. [optional]
Retry Pointer to int32 The retry time in milliseconds. [optional]

Methods

NewServerSentEventsInner1

func NewServerSentEventsInner1(data WarningEvent, event string, ) *ServerSentEventsInner1

NewServerSentEventsInner1 instantiates a new ServerSentEventsInner1 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

NewServerSentEventsInner1WithDefaults

func NewServerSentEventsInner1WithDefaults() *ServerSentEventsInner1

NewServerSentEventsInner1WithDefaults instantiates a new ServerSentEventsInner1 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 *ServerSentEventsInner1) GetData() WarningEvent

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

GetDataOk

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

SetData sets Data field to given value.

GetEvent

func (o *ServerSentEventsInner1) GetEvent() string

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *ServerSentEventsInner1) GetEventOk() (*string, bool)

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

SetEvent

func (o *ServerSentEventsInner1) SetEvent(v string)

SetEvent sets Event field to given value.

GetId

func (o *ServerSentEventsInner1) GetId() int32

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

GetIdOk

func (o *ServerSentEventsInner1) GetIdOk() (*int32, 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 *ServerSentEventsInner1) SetId(v int32)

SetId sets Id field to given value.

HasId

func (o *ServerSentEventsInner1) HasId() bool

HasId returns a boolean if a field has been set.

GetRetry

func (o *ServerSentEventsInner1) GetRetry() int32

GetRetry returns the Retry field if non-nil, zero value otherwise.

GetRetryOk

func (o *ServerSentEventsInner1) GetRetryOk() (*int32, bool)

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

SetRetry

func (o *ServerSentEventsInner1) SetRetry(v int32)

SetRetry sets Retry field to given value.

HasRetry

func (o *ServerSentEventsInner1) HasRetry() bool

HasRetry returns a boolean if a field has been set.

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