PingSummary Model
PingSummary Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Endpoint | PingEndpointInfo | ||
| Requests | int32 | Total number of probes scheduled | |
| Responses | int32 | Number of responses received (including timeouts/errors) | |
| Ok | int32 | Count of probes that succeeded | |
| Timeouts | int32 | Count of probes that exceeded the timeout | |
| Errors | int32 | Count of probes that failed for other reasons | |
| RttMinMs | float64 | Minimum observed round-trip latency (ms) | |
| RttAvgMs | float64 | Average observed round-trip latency (ms) | |
| RttP50Ms | float64 | Median (p50) round-trip latency (ms) | |
| RttP90Ms | float64 | 90th percentile round-trip latency (ms) | |
| RttP99Ms | float64 | 99th percentile round-trip latency (ms) | |
| RttMaxMs | float64 | Maximum observed round-trip latency (ms) | |
| RequestsPerSecond | float64 | Effective request throughput across the session | |
| BytesPerSecond | float64 | Aggregate bytes per second (send + receive) | |
| AppliedLimits | Pointer to map[string]string | Resource limits applied by the server | [optional] |
Methods
NewPingSummary
func NewPingSummary(endpoint PingEndpointInfo, requests int32, responses int32, ok int32, timeouts int32, errors int32, rttMinMs float64, rttAvgMs float64, rttP50Ms float64, rttP90Ms float64, rttP99Ms float64, rttMaxMs float64, requestsPerSecond float64, bytesPerSecond float64, ) *PingSummary
NewPingSummary instantiates a new PingSummary 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
NewPingSummaryWithDefaults
func NewPingSummaryWithDefaults() *PingSummary
NewPingSummaryWithDefaults instantiates a new PingSummary 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
GetEndpoint
func (o *PingSummary) GetEndpoint() PingEndpointInfo
GetEndpoint returns the Endpoint field if non-nil, zero value otherwise.
GetEndpointOk
func (o *PingSummary) GetEndpointOk() (*PingEndpointInfo, bool)
GetEndpointOk returns a tuple with the Endpoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEndpoint
func (o *PingSummary) SetEndpoint(v PingEndpointInfo)
SetEndpoint sets Endpoint field to given value.
GetRequests
func (o *PingSummary) GetRequests() int32
GetRequests returns the Requests field if non-nil, zero value otherwise.
GetRequestsOk
func (o *PingSummary) GetRequestsOk() (*int32, bool)
GetRequestsOk returns a tuple with the Requests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRequests
func (o *PingSummary) SetRequests(v int32)
SetRequests sets Requests field to given value.
GetResponses
func (o *PingSummary) GetResponses() int32
GetResponses returns the Responses field if non-nil, zero value otherwise.
GetResponsesOk
func (o *PingSummary) GetResponsesOk() (*int32, bool)
GetResponsesOk returns a tuple with the Responses field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResponses
func (o *PingSummary) SetResponses(v int32)
SetResponses sets Responses field to given value.
GetOk
func (o *PingSummary) GetOk() int32
GetOk returns the Ok field if non-nil, zero value otherwise.
GetOkOk
func (o *PingSummary) GetOkOk() (*int32, bool)
GetOkOk returns a tuple with the Ok field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOk
func (o *PingSummary) SetOk(v int32)
SetOk sets Ok field to given value.
GetTimeouts
func (o *PingSummary) GetTimeouts() int32
GetTimeouts returns the Timeouts field if non-nil, zero value otherwise.
GetTimeoutsOk
func (o *PingSummary) GetTimeoutsOk() (*int32, bool)
GetTimeoutsOk returns a tuple with the Timeouts field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTimeouts
func (o *PingSummary) SetTimeouts(v int32)
SetTimeouts sets Timeouts field to given value.
GetErrors
func (o *PingSummary) GetErrors() int32
GetErrors returns the Errors field if non-nil, zero value otherwise.
GetErrorsOk
func (o *PingSummary) GetErrorsOk() (*int32, bool)
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetErrors
func (o *PingSummary) SetErrors(v int32)
SetErrors sets Errors field to given value.
GetRttMinMs
func (o *PingSummary) GetRttMinMs() float64
GetRttMinMs returns the RttMinMs field if non-nil, zero value otherwise.
GetRttMinMsOk
func (o *PingSummary) GetRttMinMsOk() (*float64, bool)
GetRttMinMsOk returns a tuple with the RttMinMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttMinMs
func (o *PingSummary) SetRttMinMs(v float64)
SetRttMinMs sets RttMinMs field to given value.
GetRttAvgMs
func (o *PingSummary) GetRttAvgMs() float64
GetRttAvgMs returns the RttAvgMs field if non-nil, zero value otherwise.
GetRttAvgMsOk
func (o *PingSummary) GetRttAvgMsOk() (*float64, bool)
GetRttAvgMsOk returns a tuple with the RttAvgMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttAvgMs
func (o *PingSummary) SetRttAvgMs(v float64)
SetRttAvgMs sets RttAvgMs field to given value.
GetRttP50Ms
func (o *PingSummary) GetRttP50Ms() float64
GetRttP50Ms returns the RttP50Ms field if non-nil, zero value otherwise.
GetRttP50MsOk
func (o *PingSummary) GetRttP50MsOk() (*float64, bool)
GetRttP50MsOk returns a tuple with the RttP50Ms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttP50Ms
func (o *PingSummary) SetRttP50Ms(v float64)
SetRttP50Ms sets RttP50Ms field to given value.
GetRttP90Ms
func (o *PingSummary) GetRttP90Ms() float64
GetRttP90Ms returns the RttP90Ms field if non-nil, zero value otherwise.
GetRttP90MsOk
func (o *PingSummary) GetRttP90MsOk() (*float64, bool)
GetRttP90MsOk returns a tuple with the RttP90Ms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttP90Ms
func (o *PingSummary) SetRttP90Ms(v float64)
SetRttP90Ms sets RttP90Ms field to given value.
GetRttP99Ms
func (o *PingSummary) GetRttP99Ms() float64
GetRttP99Ms returns the RttP99Ms field if non-nil, zero value otherwise.
GetRttP99MsOk
func (o *PingSummary) GetRttP99MsOk() (*float64, bool)
GetRttP99MsOk returns a tuple with the RttP99Ms field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttP99Ms
func (o *PingSummary) SetRttP99Ms(v float64)
SetRttP99Ms sets RttP99Ms field to given value.
GetRttMaxMs
func (o *PingSummary) GetRttMaxMs() float64
GetRttMaxMs returns the RttMaxMs field if non-nil, zero value otherwise.
GetRttMaxMsOk
func (o *PingSummary) GetRttMaxMsOk() (*float64, bool)
GetRttMaxMsOk returns a tuple with the RttMaxMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRttMaxMs
func (o *PingSummary) SetRttMaxMs(v float64)
SetRttMaxMs sets RttMaxMs field to given value.
GetRequestsPerSecond
func (o *PingSummary) GetRequestsPerSecond() float64
GetRequestsPerSecond returns the RequestsPerSecond field if non-nil, zero value otherwise.
GetRequestsPerSecondOk
func (o *PingSummary) GetRequestsPerSecondOk() (*float64, bool)
GetRequestsPerSecondOk returns a tuple with the RequestsPerSecond field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRequestsPerSecond
func (o *PingSummary) SetRequestsPerSecond(v float64)
SetRequestsPerSecond sets RequestsPerSecond field to given value.
GetBytesPerSecond
func (o *PingSummary) GetBytesPerSecond() float64
GetBytesPerSecond returns the BytesPerSecond field if non-nil, zero value otherwise.
GetBytesPerSecondOk
func (o *PingSummary) GetBytesPerSecondOk() (*float64, bool)
GetBytesPerSecondOk returns a tuple with the BytesPerSecond field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBytesPerSecond
func (o *PingSummary) SetBytesPerSecond(v float64)
SetBytesPerSecond sets BytesPerSecond field to given value.
GetAppliedLimits
func (o *PingSummary) GetAppliedLimits() map[string]string
GetAppliedLimits returns the AppliedLimits field if non-nil, zero value otherwise.
GetAppliedLimitsOk
func (o *PingSummary) GetAppliedLimitsOk() (*map[string]string, bool)
GetAppliedLimitsOk returns a tuple with the AppliedLimits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAppliedLimits
func (o *PingSummary) SetAppliedLimits(v map[string]string)
SetAppliedLimits sets AppliedLimits field to given value.
HasAppliedLimits
func (o *PingSummary) HasAppliedLimits() bool
HasAppliedLimits returns a boolean if a field has been set.
SetAppliedLimitsNil
func (o *PingSummary) SetAppliedLimitsNil(b bool)
SetAppliedLimitsNil sets the value for AppliedLimits to be an explicit nil
UnsetAppliedLimits
func (o *PingSummary) UnsetAppliedLimits()
UnsetAppliedLimits ensures that no value is present for AppliedLimits, not even an explicit nil