GoodMem
ReferenceClient SDKsGo SDKModels

PingTiming Model

PingTiming Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ClientSendTimeUnixNanosint64Client send time (Unix epoch nanoseconds)
ServerReceivedTimeUnixNanosint64Server received time (Unix epoch nanoseconds)
ServerSendTimeUnixNanosint64Server send time (Unix epoch nanoseconds)
ClientReceiveTimeUnixNanosint64Client receive time (Unix epoch nanoseconds)

Methods

NewPingTiming

func NewPingTiming(clientSendTimeUnixNanos int64, serverReceivedTimeUnixNanos int64, serverSendTimeUnixNanos int64, clientReceiveTimeUnixNanos int64, ) *PingTiming

NewPingTiming instantiates a new PingTiming 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

NewPingTimingWithDefaults

func NewPingTimingWithDefaults() *PingTiming

NewPingTimingWithDefaults instantiates a new PingTiming 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

GetClientSendTimeUnixNanos

func (o *PingTiming) GetClientSendTimeUnixNanos() int64

GetClientSendTimeUnixNanos returns the ClientSendTimeUnixNanos field if non-nil, zero value otherwise.

GetClientSendTimeUnixNanosOk

func (o *PingTiming) GetClientSendTimeUnixNanosOk() (*int64, bool)

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

SetClientSendTimeUnixNanos

func (o *PingTiming) SetClientSendTimeUnixNanos(v int64)

SetClientSendTimeUnixNanos sets ClientSendTimeUnixNanos field to given value.

GetServerReceivedTimeUnixNanos

func (o *PingTiming) GetServerReceivedTimeUnixNanos() int64

GetServerReceivedTimeUnixNanos returns the ServerReceivedTimeUnixNanos field if non-nil, zero value otherwise.

GetServerReceivedTimeUnixNanosOk

func (o *PingTiming) GetServerReceivedTimeUnixNanosOk() (*int64, bool)

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

SetServerReceivedTimeUnixNanos

func (o *PingTiming) SetServerReceivedTimeUnixNanos(v int64)

SetServerReceivedTimeUnixNanos sets ServerReceivedTimeUnixNanos field to given value.

GetServerSendTimeUnixNanos

func (o *PingTiming) GetServerSendTimeUnixNanos() int64

GetServerSendTimeUnixNanos returns the ServerSendTimeUnixNanos field if non-nil, zero value otherwise.

GetServerSendTimeUnixNanosOk

func (o *PingTiming) GetServerSendTimeUnixNanosOk() (*int64, bool)

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

SetServerSendTimeUnixNanos

func (o *PingTiming) SetServerSendTimeUnixNanos(v int64)

SetServerSendTimeUnixNanos sets ServerSendTimeUnixNanos field to given value.

GetClientReceiveTimeUnixNanos

func (o *PingTiming) GetClientReceiveTimeUnixNanos() int64

GetClientReceiveTimeUnixNanos returns the ClientReceiveTimeUnixNanos field if non-nil, zero value otherwise.

GetClientReceiveTimeUnixNanosOk

func (o *PingTiming) GetClientReceiveTimeUnixNanosOk() (*int64, bool)

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

SetClientReceiveTimeUnixNanos

func (o *PingTiming) SetClientReceiveTimeUnixNanos(v int64)

SetClientReceiveTimeUnixNanos sets ClientReceiveTimeUnixNanos field to given value.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK