Name | Type | Description | Notes |
---|---|---|---|
Error | Pointer to int32 | [optional] | |
Hits | Pointer to int32 | [optional] | |
Id | Pointer to ResultId | [optional] | |
LastHit | Pointer to time.Time | [optional] | |
Latency | Pointer to float64 | [optional] | |
MaxLatency | Pointer to int64 | [optional] | |
MaxUpstreamLatency | Pointer to int64 | [optional] | |
MinLatency | Pointer to int64 | [optional] | |
MinUpstreamLatency | Pointer to int64 | [optional] | |
RequestTime | Pointer to float64 | [optional] | |
Success | Pointer to int32 | [optional] | |
UpstreamLatency | Pointer to float64 | [optional] |
func NewResultUnit() *ResultUnit
NewResultUnit instantiates a new ResultUnit 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
func NewResultUnitWithDefaults() *ResultUnit
NewResultUnitWithDefaults instantiates a new ResultUnit 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
func (o *ResultUnit) GetError() int32
GetError returns the Error field if non-nil, zero value otherwise.
func (o *ResultUnit) GetErrorOk() (*int32, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetError(v int32)
SetError sets Error field to given value.
func (o *ResultUnit) HasError() bool
HasError returns a boolean if a field has been set.
func (o *ResultUnit) GetHits() int32
GetHits returns the Hits field if non-nil, zero value otherwise.
func (o *ResultUnit) GetHitsOk() (*int32, bool)
GetHitsOk returns a tuple with the Hits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetHits(v int32)
SetHits sets Hits field to given value.
func (o *ResultUnit) HasHits() bool
HasHits returns a boolean if a field has been set.
func (o *ResultUnit) GetId() ResultId
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ResultUnit) GetIdOk() (*ResultId, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetId(v ResultId)
SetId sets Id field to given value.
func (o *ResultUnit) HasId() bool
HasId returns a boolean if a field has been set.
func (o *ResultUnit) GetLastHit() time.Time
GetLastHit returns the LastHit field if non-nil, zero value otherwise.
func (o *ResultUnit) GetLastHitOk() (*time.Time, bool)
GetLastHitOk returns a tuple with the LastHit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetLastHit(v time.Time)
SetLastHit sets LastHit field to given value.
func (o *ResultUnit) HasLastHit() bool
HasLastHit returns a boolean if a field has been set.
func (o *ResultUnit) GetLatency() float64
GetLatency returns the Latency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetLatencyOk() (*float64, bool)
GetLatencyOk returns a tuple with the Latency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetLatency(v float64)
SetLatency sets Latency field to given value.
func (o *ResultUnit) HasLatency() bool
HasLatency returns a boolean if a field has been set.
func (o *ResultUnit) GetMaxLatency() int64
GetMaxLatency returns the MaxLatency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetMaxLatencyOk() (*int64, bool)
GetMaxLatencyOk returns a tuple with the MaxLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetMaxLatency(v int64)
SetMaxLatency sets MaxLatency field to given value.
func (o *ResultUnit) HasMaxLatency() bool
HasMaxLatency returns a boolean if a field has been set.
func (o *ResultUnit) GetMaxUpstreamLatency() int64
GetMaxUpstreamLatency returns the MaxUpstreamLatency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetMaxUpstreamLatencyOk() (*int64, bool)
GetMaxUpstreamLatencyOk returns a tuple with the MaxUpstreamLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetMaxUpstreamLatency(v int64)
SetMaxUpstreamLatency sets MaxUpstreamLatency field to given value.
func (o *ResultUnit) HasMaxUpstreamLatency() bool
HasMaxUpstreamLatency returns a boolean if a field has been set.
func (o *ResultUnit) GetMinLatency() int64
GetMinLatency returns the MinLatency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetMinLatencyOk() (*int64, bool)
GetMinLatencyOk returns a tuple with the MinLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetMinLatency(v int64)
SetMinLatency sets MinLatency field to given value.
func (o *ResultUnit) HasMinLatency() bool
HasMinLatency returns a boolean if a field has been set.
func (o *ResultUnit) GetMinUpstreamLatency() int64
GetMinUpstreamLatency returns the MinUpstreamLatency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetMinUpstreamLatencyOk() (*int64, bool)
GetMinUpstreamLatencyOk returns a tuple with the MinUpstreamLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetMinUpstreamLatency(v int64)
SetMinUpstreamLatency sets MinUpstreamLatency field to given value.
func (o *ResultUnit) HasMinUpstreamLatency() bool
HasMinUpstreamLatency returns a boolean if a field has been set.
func (o *ResultUnit) GetRequestTime() float64
GetRequestTime returns the RequestTime field if non-nil, zero value otherwise.
func (o *ResultUnit) GetRequestTimeOk() (*float64, bool)
GetRequestTimeOk returns a tuple with the RequestTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetRequestTime(v float64)
SetRequestTime sets RequestTime field to given value.
func (o *ResultUnit) HasRequestTime() bool
HasRequestTime returns a boolean if a field has been set.
func (o *ResultUnit) GetSuccess() int32
GetSuccess returns the Success field if non-nil, zero value otherwise.
func (o *ResultUnit) GetSuccessOk() (*int32, bool)
GetSuccessOk returns a tuple with the Success field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetSuccess(v int32)
SetSuccess sets Success field to given value.
func (o *ResultUnit) HasSuccess() bool
HasSuccess returns a boolean if a field has been set.
func (o *ResultUnit) GetUpstreamLatency() float64
GetUpstreamLatency returns the UpstreamLatency field if non-nil, zero value otherwise.
func (o *ResultUnit) GetUpstreamLatencyOk() (*float64, bool)
GetUpstreamLatencyOk returns a tuple with the UpstreamLatency field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ResultUnit) SetUpstreamLatency(v float64)
SetUpstreamLatency sets UpstreamLatency field to given value.
func (o *ResultUnit) HasUpstreamLatency() bool
HasUpstreamLatency returns a boolean if a field has been set.