PingStreamRequest
PingStreamRequest documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| TargetId | string | Target resource ID (UUID) | |
| TargetTypeHint | Pointer to PingTargetType | [optional] | |
| Count | Pointer to NullableInt32 | Number of probes to run (0 uses server default) | [optional] |
| IntervalMs | Pointer to NullableInt32 | Delay between probes in milliseconds (0 uses server default) | [optional] |
| TimeoutMs | Pointer to NullableInt32 | Per-probe timeout in milliseconds (0 uses server default) | [optional] |
| PayloadType | Pointer to PingPayloadType | [optional] | |
| Payload | Pointer to NullableString | Explicit UTF-8 payload to send with each probe (mutually exclusive with payloadSizeBytes) | [optional] |
| PayloadSizeBytes | Pointer to NullableInt32 | Synthetic payload size in bytes (mutually exclusive with payload) | [optional] |
| MaxInFlight | Pointer to NullableInt32 | Maximum concurrent probes (defaults to 1) | [optional] |
| Jitter | Pointer to NullableBool | Add jitter to probe scheduling | [optional] |
| Labels | Pointer to map[string]string | Optional labels to attach to the ping session | [optional] |
Methods
NewPingStreamRequest
func NewPingStreamRequest(targetId string, ) *PingStreamRequest
NewPingStreamRequest instantiates a new PingStreamRequest 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
NewPingStreamRequestWithDefaults
func NewPingStreamRequestWithDefaults() *PingStreamRequest
NewPingStreamRequestWithDefaults instantiates a new PingStreamRequest 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
GetTargetId
func (o *PingStreamRequest) GetTargetId() string
GetTargetId returns the TargetId field if non-nil, zero value otherwise.
GetTargetIdOk
func (o *PingStreamRequest) GetTargetIdOk() (*string, bool)
GetTargetIdOk returns a tuple with the TargetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetId
func (o *PingStreamRequest) SetTargetId(v string)
SetTargetId sets TargetId field to given value.
GetTargetTypeHint
func (o *PingStreamRequest) GetTargetTypeHint() PingTargetType
GetTargetTypeHint returns the TargetTypeHint field if non-nil, zero value otherwise.
GetTargetTypeHintOk
func (o *PingStreamRequest) GetTargetTypeHintOk() (*PingTargetType, bool)
GetTargetTypeHintOk returns a tuple with the TargetTypeHint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTargetTypeHint
func (o *PingStreamRequest) SetTargetTypeHint(v PingTargetType)
SetTargetTypeHint sets TargetTypeHint field to given value.
HasTargetTypeHint
func (o *PingStreamRequest) HasTargetTypeHint() bool
HasTargetTypeHint returns a boolean if a field has been set.
GetCount
func (o *PingStreamRequest) GetCount() int32
GetCount returns the Count field if non-nil, zero value otherwise.
GetCountOk
func (o *PingStreamRequest) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCount
func (o *PingStreamRequest) SetCount(v int32)
SetCount sets Count field to given value.
HasCount
func (o *PingStreamRequest) HasCount() bool
HasCount returns a boolean if a field has been set.
SetCountNil
func (o *PingStreamRequest) SetCountNil(b bool)
SetCountNil sets the value for Count to be an explicit nil
UnsetCount
func (o *PingStreamRequest) UnsetCount()
UnsetCount ensures that no value is present for Count, not even an explicit nil
GetIntervalMs
func (o *PingStreamRequest) GetIntervalMs() int32
GetIntervalMs returns the IntervalMs field if non-nil, zero value otherwise.
GetIntervalMsOk
func (o *PingStreamRequest) GetIntervalMsOk() (*int32, bool)
GetIntervalMsOk returns a tuple with the IntervalMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIntervalMs
func (o *PingStreamRequest) SetIntervalMs(v int32)
SetIntervalMs sets IntervalMs field to given value.
HasIntervalMs
func (o *PingStreamRequest) HasIntervalMs() bool
HasIntervalMs returns a boolean if a field has been set.
SetIntervalMsNil
func (o *PingStreamRequest) SetIntervalMsNil(b bool)
SetIntervalMsNil sets the value for IntervalMs to be an explicit nil
UnsetIntervalMs
func (o *PingStreamRequest) UnsetIntervalMs()
UnsetIntervalMs ensures that no value is present for IntervalMs, not even an explicit nil
GetTimeoutMs
func (o *PingStreamRequest) GetTimeoutMs() int32
GetTimeoutMs returns the TimeoutMs field if non-nil, zero value otherwise.
GetTimeoutMsOk
func (o *PingStreamRequest) GetTimeoutMsOk() (*int32, bool)
GetTimeoutMsOk returns a tuple with the TimeoutMs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTimeoutMs
func (o *PingStreamRequest) SetTimeoutMs(v int32)
SetTimeoutMs sets TimeoutMs field to given value.
HasTimeoutMs
func (o *PingStreamRequest) HasTimeoutMs() bool
HasTimeoutMs returns a boolean if a field has been set.
SetTimeoutMsNil
func (o *PingStreamRequest) SetTimeoutMsNil(b bool)
SetTimeoutMsNil sets the value for TimeoutMs to be an explicit nil
UnsetTimeoutMs
func (o *PingStreamRequest) UnsetTimeoutMs()
UnsetTimeoutMs ensures that no value is present for TimeoutMs, not even an explicit nil
GetPayloadType
func (o *PingStreamRequest) GetPayloadType() PingPayloadType
GetPayloadType returns the PayloadType field if non-nil, zero value otherwise.
GetPayloadTypeOk
func (o *PingStreamRequest) GetPayloadTypeOk() (*PingPayloadType, bool)
GetPayloadTypeOk returns a tuple with the PayloadType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPayloadType
func (o *PingStreamRequest) SetPayloadType(v PingPayloadType)
SetPayloadType sets PayloadType field to given value.
HasPayloadType
func (o *PingStreamRequest) HasPayloadType() bool
HasPayloadType returns a boolean if a field has been set.
GetPayload
func (o *PingStreamRequest) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
GetPayloadOk
func (o *PingStreamRequest) GetPayloadOk() (*string, bool)
GetPayloadOk returns a tuple with the Payload field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPayload
func (o *PingStreamRequest) SetPayload(v string)
SetPayload sets Payload field to given value.
HasPayload
func (o *PingStreamRequest) HasPayload() bool
HasPayload returns a boolean if a field has been set.
SetPayloadNil
func (o *PingStreamRequest) SetPayloadNil(b bool)
SetPayloadNil sets the value for Payload to be an explicit nil
UnsetPayload
func (o *PingStreamRequest) UnsetPayload()
UnsetPayload ensures that no value is present for Payload, not even an explicit nil
GetPayloadSizeBytes
func (o *PingStreamRequest) GetPayloadSizeBytes() int32
GetPayloadSizeBytes returns the PayloadSizeBytes field if non-nil, zero value otherwise.
GetPayloadSizeBytesOk
func (o *PingStreamRequest) GetPayloadSizeBytesOk() (*int32, bool)
GetPayloadSizeBytesOk returns a tuple with the PayloadSizeBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPayloadSizeBytes
func (o *PingStreamRequest) SetPayloadSizeBytes(v int32)
SetPayloadSizeBytes sets PayloadSizeBytes field to given value.
HasPayloadSizeBytes
func (o *PingStreamRequest) HasPayloadSizeBytes() bool
HasPayloadSizeBytes returns a boolean if a field has been set.
SetPayloadSizeBytesNil
func (o *PingStreamRequest) SetPayloadSizeBytesNil(b bool)
SetPayloadSizeBytesNil sets the value for PayloadSizeBytes to be an explicit nil
UnsetPayloadSizeBytes
func (o *PingStreamRequest) UnsetPayloadSizeBytes()
UnsetPayloadSizeBytes ensures that no value is present for PayloadSizeBytes, not even an explicit nil
GetMaxInFlight
func (o *PingStreamRequest) GetMaxInFlight() int32
GetMaxInFlight returns the MaxInFlight field if non-nil, zero value otherwise.
GetMaxInFlightOk
func (o *PingStreamRequest) GetMaxInFlightOk() (*int32, bool)
GetMaxInFlightOk returns a tuple with the MaxInFlight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMaxInFlight
func (o *PingStreamRequest) SetMaxInFlight(v int32)
SetMaxInFlight sets MaxInFlight field to given value.
HasMaxInFlight
func (o *PingStreamRequest) HasMaxInFlight() bool
HasMaxInFlight returns a boolean if a field has been set.
SetMaxInFlightNil
func (o *PingStreamRequest) SetMaxInFlightNil(b bool)
SetMaxInFlightNil sets the value for MaxInFlight to be an explicit nil
UnsetMaxInFlight
func (o *PingStreamRequest) UnsetMaxInFlight()
UnsetMaxInFlight ensures that no value is present for MaxInFlight, not even an explicit nil
GetJitter
func (o *PingStreamRequest) GetJitter() bool
GetJitter returns the Jitter field if non-nil, zero value otherwise.
GetJitterOk
func (o *PingStreamRequest) GetJitterOk() (*bool, bool)
GetJitterOk returns a tuple with the Jitter field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetJitter
func (o *PingStreamRequest) SetJitter(v bool)
SetJitter sets Jitter field to given value.
HasJitter
func (o *PingStreamRequest) HasJitter() bool
HasJitter returns a boolean if a field has been set.
SetJitterNil
func (o *PingStreamRequest) SetJitterNil(b bool)
SetJitterNil sets the value for Jitter to be an explicit nil
UnsetJitter
func (o *PingStreamRequest) UnsetJitter()
UnsetJitter ensures that no value is present for Jitter, not even an explicit nil
GetLabels
func (o *PingStreamRequest) GetLabels() map[string]string
GetLabels returns the Labels field if non-nil, zero value otherwise.
GetLabelsOk
func (o *PingStreamRequest) GetLabelsOk() (*map[string]string, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLabels
func (o *PingStreamRequest) SetLabels(v map[string]string)
SetLabels sets Labels field to given value.
HasLabels
func (o *PingStreamRequest) HasLabels() bool
HasLabels returns a boolean if a field has been set.
SetLabelsNil
func (o *PingStreamRequest) SetLabelsNil(b bool)
SetLabelsNil sets the value for Labels to be an explicit nil
UnsetLabels
func (o *PingStreamRequest) UnsetLabels()
UnsetLabels ensures that no value is present for Labels, not even an explicit nil