GoodMem
ReferenceClient SDKsGoModels

PingEvent Model

PingEvent Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ResultPointer to NullablePingResult[optional]
SummaryPointer to NullablePingSummary[optional]
NoticePointer to NullablePingNotice[optional]

Methods

NewPingEvent

func NewPingEvent() *PingEvent

NewPingEvent instantiates a new PingEvent 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

NewPingEventWithDefaults

func NewPingEventWithDefaults() *PingEvent

NewPingEventWithDefaults instantiates a new PingEvent 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

GetResult

func (o *PingEvent) GetResult() PingResult

GetResult returns the Result field if non-nil, zero value otherwise.

GetResultOk

func (o *PingEvent) GetResultOk() (*PingResult, bool)

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

SetResult

func (o *PingEvent) SetResult(v PingResult)

SetResult sets Result field to given value.

HasResult

func (o *PingEvent) HasResult() bool

HasResult returns a boolean if a field has been set.

SetResultNil

func (o *PingEvent) SetResultNil(b bool)

SetResultNil sets the value for Result to be an explicit nil

UnsetResult

func (o *PingEvent) UnsetResult()

UnsetResult ensures that no value is present for Result, not even an explicit nil

GetSummary

func (o *PingEvent) GetSummary() PingSummary

GetSummary returns the Summary field if non-nil, zero value otherwise.

GetSummaryOk

func (o *PingEvent) GetSummaryOk() (*PingSummary, bool)

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

SetSummary

func (o *PingEvent) SetSummary(v PingSummary)

SetSummary sets Summary field to given value.

HasSummary

func (o *PingEvent) HasSummary() bool

HasSummary returns a boolean if a field has been set.

SetSummaryNil

func (o *PingEvent) SetSummaryNil(b bool)

SetSummaryNil sets the value for Summary to be an explicit nil

UnsetSummary

func (o *PingEvent) UnsetSummary()

UnsetSummary ensures that no value is present for Summary, not even an explicit nil

GetNotice

func (o *PingEvent) GetNotice() PingNotice

GetNotice returns the Notice field if non-nil, zero value otherwise.

GetNoticeOk

func (o *PingEvent) GetNoticeOk() (*PingNotice, bool)

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

SetNotice

func (o *PingEvent) SetNotice(v PingNotice)

SetNotice sets Notice field to given value.

HasNotice

func (o *PingEvent) HasNotice() bool

HasNotice returns a boolean if a field has been set.

SetNoticeNil

func (o *PingEvent) SetNoticeNil(b bool)

SetNoticeNil sets the value for Notice to be an explicit nil

UnsetNotice

func (o *PingEvent) UnsetNotice()

UnsetNotice ensures that no value is present for Notice, not even an explicit nil