PingEvent Model
PingEvent Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Result | Pointer to PingResult | [optional] | |
| Summary | Pointer to PingSummary | [optional] | |
| Notice | Pointer to PingNotice | [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.
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.
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.