GoodMem
ReferenceClient SDKsGo SDKModels

PingEndpointInfo Model

PingEndpointInfo Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
TargetTypePingTargetType
TargetIdstringTarget resource ID (UUID)
ResolvedEndpointstringFully resolved endpoint URL used for the probe
ProviderstringProvider name backing the resource
ModelIdentifierstringProvider-specific model identifier

Methods

NewPingEndpointInfo

func NewPingEndpointInfo(targetType PingTargetType, targetId string, resolvedEndpoint string, provider string, modelIdentifier string, ) *PingEndpointInfo

NewPingEndpointInfo instantiates a new PingEndpointInfo 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

NewPingEndpointInfoWithDefaults

func NewPingEndpointInfoWithDefaults() *PingEndpointInfo

NewPingEndpointInfoWithDefaults instantiates a new PingEndpointInfo 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

GetTargetType

func (o *PingEndpointInfo) GetTargetType() PingTargetType

GetTargetType returns the TargetType field if non-nil, zero value otherwise.

GetTargetTypeOk

func (o *PingEndpointInfo) GetTargetTypeOk() (*PingTargetType, bool)

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

SetTargetType

func (o *PingEndpointInfo) SetTargetType(v PingTargetType)

SetTargetType sets TargetType field to given value.

GetTargetId

func (o *PingEndpointInfo) GetTargetId() string

GetTargetId returns the TargetId field if non-nil, zero value otherwise.

GetTargetIdOk

func (o *PingEndpointInfo) 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 *PingEndpointInfo) SetTargetId(v string)

SetTargetId sets TargetId field to given value.

GetResolvedEndpoint

func (o *PingEndpointInfo) GetResolvedEndpoint() string

GetResolvedEndpoint returns the ResolvedEndpoint field if non-nil, zero value otherwise.

GetResolvedEndpointOk

func (o *PingEndpointInfo) GetResolvedEndpointOk() (*string, bool)

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

SetResolvedEndpoint

func (o *PingEndpointInfo) SetResolvedEndpoint(v string)

SetResolvedEndpoint sets ResolvedEndpoint field to given value.

GetProvider

func (o *PingEndpointInfo) GetProvider() string

GetProvider returns the Provider field if non-nil, zero value otherwise.

GetProviderOk

func (o *PingEndpointInfo) GetProviderOk() (*string, bool)

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

SetProvider

func (o *PingEndpointInfo) SetProvider(v string)

SetProvider sets Provider field to given value.

GetModelIdentifier

func (o *PingEndpointInfo) GetModelIdentifier() string

GetModelIdentifier returns the ModelIdentifier field if non-nil, zero value otherwise.

GetModelIdentifierOk

func (o *PingEndpointInfo) GetModelIdentifierOk() (*string, bool)

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

SetModelIdentifier

func (o *PingEndpointInfo) SetModelIdentifier(v string)

SetModelIdentifier sets ModelIdentifier field to given value.

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