GoodMem
ReferenceClient SDKsGoModels

PingEventOneOf Model

PingEventOneOf Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ResultPingResultPing result with timing and status

Methods

NewPingEventOneOf

func NewPingEventOneOf(result interface{}, ) *PingEventOneOf

NewPingEventOneOf instantiates a new PingEventOneOf 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

NewPingEventOneOfWithDefaults

func NewPingEventOneOfWithDefaults() *PingEventOneOf

NewPingEventOneOfWithDefaults instantiates a new PingEventOneOf 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 *PingEventOneOf) GetResult() interface{}

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

GetResultOk

func (o *PingEventOneOf) GetResultOk() (*interface{}, 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 *PingEventOneOf) SetResult(v interface{})

SetResult sets Result field to given value.

SetResultNil

func (o *PingEventOneOf) SetResultNil(b bool)

SetResultNil sets the value for Result to be an explicit nil

UnsetResult

func (o *PingEventOneOf) UnsetResult()

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