Documentation ¶
Index ¶
- Variables
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type AnycastConfig
- func (o *AnycastConfig) GetAccountId() int64
- func (o *AnycastConfig) GetAccountIdOk() (*int64, bool)
- func (o *AnycastConfig) GetAnycastIpAddress() string
- func (o *AnycastConfig) GetAnycastIpAddressOk() (*string, bool)
- func (o *AnycastConfig) GetAnycastIpv6Address() string
- func (o *AnycastConfig) GetAnycastIpv6AddressOk() (*string, bool)
- func (o *AnycastConfig) GetCreatedAt() time.Time
- func (o *AnycastConfig) GetCreatedAtOk() (*time.Time, bool)
- func (o *AnycastConfig) GetDescription() string
- func (o *AnycastConfig) GetDescriptionOk() (*string, bool)
- func (o *AnycastConfig) GetFields() ProtobufFieldMask
- func (o *AnycastConfig) GetFieldsOk() (*ProtobufFieldMask, bool)
- func (o *AnycastConfig) GetId() int64
- func (o *AnycastConfig) GetIdOk() (*int64, bool)
- func (o *AnycastConfig) GetIsConfigured() bool
- func (o *AnycastConfig) GetIsConfiguredOk() (*bool, bool)
- func (o *AnycastConfig) GetName() string
- func (o *AnycastConfig) GetNameOk() (*string, bool)
- func (o *AnycastConfig) GetOnpremHosts() []OnpremHostRef
- func (o *AnycastConfig) GetOnpremHostsOk() ([]OnpremHostRef, bool)
- func (o *AnycastConfig) GetRuntimeStatus() string
- func (o *AnycastConfig) GetRuntimeStatusOk() (*string, bool)
- func (o *AnycastConfig) GetService() string
- func (o *AnycastConfig) GetServiceOk() (*string, bool)
- func (o *AnycastConfig) GetTags() map[string]interface{}
- func (o *AnycastConfig) GetTagsOk() (map[string]interface{}, bool)
- func (o *AnycastConfig) GetUpdatedAt() time.Time
- func (o *AnycastConfig) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AnycastConfig) HasAccountId() bool
- func (o *AnycastConfig) HasAnycastIpAddress() bool
- func (o *AnycastConfig) HasAnycastIpv6Address() bool
- func (o *AnycastConfig) HasCreatedAt() bool
- func (o *AnycastConfig) HasDescription() bool
- func (o *AnycastConfig) HasFields() bool
- func (o *AnycastConfig) HasId() bool
- func (o *AnycastConfig) HasIsConfigured() bool
- func (o *AnycastConfig) HasName() bool
- func (o *AnycastConfig) HasOnpremHosts() bool
- func (o *AnycastConfig) HasRuntimeStatus() bool
- func (o *AnycastConfig) HasService() bool
- func (o *AnycastConfig) HasTags() bool
- func (o *AnycastConfig) HasUpdatedAt() bool
- func (o AnycastConfig) MarshalJSON() ([]byte, error)
- func (o *AnycastConfig) SetAccountId(v int64)
- func (o *AnycastConfig) SetAnycastIpAddress(v string)
- func (o *AnycastConfig) SetAnycastIpv6Address(v string)
- func (o *AnycastConfig) SetCreatedAt(v time.Time)
- func (o *AnycastConfig) SetDescription(v string)
- func (o *AnycastConfig) SetFields(v ProtobufFieldMask)
- func (o *AnycastConfig) SetId(v int64)
- func (o *AnycastConfig) SetIsConfigured(v bool)
- func (o *AnycastConfig) SetName(v string)
- func (o *AnycastConfig) SetOnpremHosts(v []OnpremHostRef)
- func (o *AnycastConfig) SetRuntimeStatus(v string)
- func (o *AnycastConfig) SetService(v string)
- func (o *AnycastConfig) SetTags(v map[string]interface{})
- func (o *AnycastConfig) SetUpdatedAt(v time.Time)
- func (o AnycastConfig) ToMap() (map[string]interface{}, error)
- func (o *AnycastConfig) UnmarshalJSON(data []byte) (err error)
- type AnycastConfigRef
- func (o *AnycastConfigRef) GetAnycastConfigName() string
- func (o *AnycastConfigRef) GetAnycastConfigNameOk() (*string, bool)
- func (o *AnycastConfigRef) GetRoutingProtocols() []string
- func (o *AnycastConfigRef) GetRoutingProtocolsOk() ([]string, bool)
- func (o *AnycastConfigRef) HasAnycastConfigName() bool
- func (o *AnycastConfigRef) HasRoutingProtocols() bool
- func (o AnycastConfigRef) MarshalJSON() ([]byte, error)
- func (o *AnycastConfigRef) SetAnycastConfigName(v string)
- func (o *AnycastConfigRef) SetRoutingProtocols(v []string)
- func (o AnycastConfigRef) ToMap() (map[string]interface{}, error)
- func (o *AnycastConfigRef) UnmarshalJSON(data []byte) (err error)
- type AnycastConfigResponse
- func (o *AnycastConfigResponse) GetResults() AnycastConfig
- func (o *AnycastConfigResponse) GetResultsOk() (*AnycastConfig, bool)
- func (o *AnycastConfigResponse) HasResults() bool
- func (o AnycastConfigResponse) MarshalJSON() ([]byte, error)
- func (o *AnycastConfigResponse) SetResults(v AnycastConfig)
- func (o AnycastConfigResponse) ToMap() (map[string]interface{}, error)
- func (o *AnycastConfigResponse) UnmarshalJSON(data []byte) (err error)
- type AnycastVersion
- func (o *AnycastVersion) GetAccountId() int64
- func (o *AnycastVersion) GetAccountIdOk() (*int64, bool)
- func (o *AnycastVersion) GetVersion() string
- func (o *AnycastVersion) GetVersionOk() (*string, bool)
- func (o *AnycastVersion) HasAccountId() bool
- func (o *AnycastVersion) HasVersion() bool
- func (o AnycastVersion) MarshalJSON() ([]byte, error)
- func (o *AnycastVersion) SetAccountId(v int64)
- func (o *AnycastVersion) SetVersion(v string)
- func (o AnycastVersion) ToMap() (map[string]interface{}, error)
- func (o *AnycastVersion) UnmarshalJSON(data []byte) (err error)
- type BgpConfig
- func (o *BgpConfig) GetAsn() int64
- func (o *BgpConfig) GetAsnOk() (*int64, bool)
- func (o *BgpConfig) GetAsnText() string
- func (o *BgpConfig) GetAsnTextOk() (*string, bool)
- func (o *BgpConfig) GetFields() ProtobufFieldMask
- func (o *BgpConfig) GetFieldsOk() (*ProtobufFieldMask, bool)
- func (o *BgpConfig) GetHolddownSecs() int64
- func (o *BgpConfig) GetHolddownSecsOk() (*int64, bool)
- func (o *BgpConfig) GetKeepAliveSecs() int64
- func (o *BgpConfig) GetKeepAliveSecsOk() (*int64, bool)
- func (o *BgpConfig) GetLinkDetect() bool
- func (o *BgpConfig) GetLinkDetectOk() (*bool, bool)
- func (o *BgpConfig) GetNeighbors() []BgpNeighbor
- func (o *BgpConfig) GetNeighborsOk() ([]BgpNeighbor, bool)
- func (o *BgpConfig) GetPreamble() string
- func (o *BgpConfig) GetPreambleOk() (*string, bool)
- func (o *BgpConfig) HasAsn() bool
- func (o *BgpConfig) HasAsnText() bool
- func (o *BgpConfig) HasFields() bool
- func (o *BgpConfig) HasHolddownSecs() bool
- func (o *BgpConfig) HasKeepAliveSecs() bool
- func (o *BgpConfig) HasLinkDetect() bool
- func (o *BgpConfig) HasNeighbors() bool
- func (o *BgpConfig) HasPreamble() bool
- func (o BgpConfig) MarshalJSON() ([]byte, error)
- func (o *BgpConfig) SetAsn(v int64)
- func (o *BgpConfig) SetAsnText(v string)
- func (o *BgpConfig) SetFields(v ProtobufFieldMask)
- func (o *BgpConfig) SetHolddownSecs(v int64)
- func (o *BgpConfig) SetKeepAliveSecs(v int64)
- func (o *BgpConfig) SetLinkDetect(v bool)
- func (o *BgpConfig) SetNeighbors(v []BgpNeighbor)
- func (o *BgpConfig) SetPreamble(v string)
- func (o BgpConfig) ToMap() (map[string]interface{}, error)
- func (o *BgpConfig) UnmarshalJSON(data []byte) (err error)
- type BgpNeighbor
- func (o *BgpNeighbor) GetAsn() int64
- func (o *BgpNeighbor) GetAsnOk() (*int64, bool)
- func (o *BgpNeighbor) GetAsnText() string
- func (o *BgpNeighbor) GetAsnTextOk() (*string, bool)
- func (o *BgpNeighbor) GetIpAddress() string
- func (o *BgpNeighbor) GetIpAddressOk() (*string, bool)
- func (o *BgpNeighbor) GetMaxHopCount() int64
- func (o *BgpNeighbor) GetMaxHopCountOk() (*int64, bool)
- func (o *BgpNeighbor) GetMultihop() bool
- func (o *BgpNeighbor) GetMultihopOk() (*bool, bool)
- func (o *BgpNeighbor) GetPassword() string
- func (o *BgpNeighbor) GetPasswordOk() (*string, bool)
- func (o *BgpNeighbor) HasAsn() bool
- func (o *BgpNeighbor) HasAsnText() bool
- func (o *BgpNeighbor) HasIpAddress() bool
- func (o *BgpNeighbor) HasMaxHopCount() bool
- func (o *BgpNeighbor) HasMultihop() bool
- func (o *BgpNeighbor) HasPassword() bool
- func (o BgpNeighbor) MarshalJSON() ([]byte, error)
- func (o *BgpNeighbor) SetAsn(v int64)
- func (o *BgpNeighbor) SetAsnText(v string)
- func (o *BgpNeighbor) SetIpAddress(v string)
- func (o *BgpNeighbor) SetMaxHopCount(v int64)
- func (o *BgpNeighbor) SetMultihop(v bool)
- func (o *BgpNeighbor) SetPassword(v string)
- func (o BgpNeighbor) ToMap() (map[string]interface{}, error)
- func (o *BgpNeighbor) UnmarshalJSON(data []byte) (err error)
- type GetAnycastConfigListResponse
- func (o *GetAnycastConfigListResponse) GetResults() []AnycastConfig
- func (o *GetAnycastConfigListResponse) GetResultsOk() ([]AnycastConfig, bool)
- func (o *GetAnycastConfigListResponse) HasResults() bool
- func (o GetAnycastConfigListResponse) MarshalJSON() ([]byte, error)
- func (o *GetAnycastConfigListResponse) SetResults(v []AnycastConfig)
- func (o GetAnycastConfigListResponse) ToMap() (map[string]interface{}, error)
- func (o *GetAnycastConfigListResponse) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NullableAnycastConfig
- func (v NullableAnycastConfig) Get() *AnycastConfig
- func (v NullableAnycastConfig) IsSet() bool
- func (v NullableAnycastConfig) MarshalJSON() ([]byte, error)
- func (v *NullableAnycastConfig) Set(val *AnycastConfig)
- func (v *NullableAnycastConfig) UnmarshalJSON(src []byte) error
- func (v *NullableAnycastConfig) Unset()
- type NullableAnycastConfigRef
- func (v NullableAnycastConfigRef) Get() *AnycastConfigRef
- func (v NullableAnycastConfigRef) IsSet() bool
- func (v NullableAnycastConfigRef) MarshalJSON() ([]byte, error)
- func (v *NullableAnycastConfigRef) Set(val *AnycastConfigRef)
- func (v *NullableAnycastConfigRef) UnmarshalJSON(src []byte) error
- func (v *NullableAnycastConfigRef) Unset()
- type NullableAnycastConfigResponse
- func (v NullableAnycastConfigResponse) Get() *AnycastConfigResponse
- func (v NullableAnycastConfigResponse) IsSet() bool
- func (v NullableAnycastConfigResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAnycastConfigResponse) Set(val *AnycastConfigResponse)
- func (v *NullableAnycastConfigResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAnycastConfigResponse) Unset()
- type NullableAnycastVersion
- func (v NullableAnycastVersion) Get() *AnycastVersion
- func (v NullableAnycastVersion) IsSet() bool
- func (v NullableAnycastVersion) MarshalJSON() ([]byte, error)
- func (v *NullableAnycastVersion) Set(val *AnycastVersion)
- func (v *NullableAnycastVersion) UnmarshalJSON(src []byte) error
- func (v *NullableAnycastVersion) Unset()
- type NullableBgpConfig
- type NullableBgpNeighbor
- func (v NullableBgpNeighbor) Get() *BgpNeighbor
- func (v NullableBgpNeighbor) IsSet() bool
- func (v NullableBgpNeighbor) MarshalJSON() ([]byte, error)
- func (v *NullableBgpNeighbor) Set(val *BgpNeighbor)
- func (v *NullableBgpNeighbor) UnmarshalJSON(src []byte) error
- func (v *NullableBgpNeighbor) Unset()
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableGetAnycastConfigListResponse
- func (v NullableGetAnycastConfigListResponse) Get() *GetAnycastConfigListResponse
- func (v NullableGetAnycastConfigListResponse) IsSet() bool
- func (v NullableGetAnycastConfigListResponse) MarshalJSON() ([]byte, error)
- func (v *NullableGetAnycastConfigListResponse) Set(val *GetAnycastConfigListResponse)
- func (v *NullableGetAnycastConfigListResponse) UnmarshalJSON(src []byte) error
- func (v *NullableGetAnycastConfigListResponse) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableOnpremHost
- type NullableOnpremHostRef
- func (v NullableOnpremHostRef) Get() *OnpremHostRef
- func (v NullableOnpremHostRef) IsSet() bool
- func (v NullableOnpremHostRef) MarshalJSON() ([]byte, error)
- func (v *NullableOnpremHostRef) Set(val *OnpremHostRef)
- func (v *NullableOnpremHostRef) UnmarshalJSON(src []byte) error
- func (v *NullableOnpremHostRef) Unset()
- type NullableOnpremHostResponse
- func (v NullableOnpremHostResponse) Get() *OnpremHostResponse
- func (v NullableOnpremHostResponse) IsSet() bool
- func (v NullableOnpremHostResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOnpremHostResponse) Set(val *OnpremHostResponse)
- func (v *NullableOnpremHostResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOnpremHostResponse) Unset()
- type NullableOspfConfig
- type NullableOspfv3Config
- func (v NullableOspfv3Config) Get() *Ospfv3Config
- func (v NullableOspfv3Config) IsSet() bool
- func (v NullableOspfv3Config) MarshalJSON() ([]byte, error)
- func (v *NullableOspfv3Config) Set(val *Ospfv3Config)
- func (v *NullableOspfv3Config) UnmarshalJSON(src []byte) error
- func (v *NullableOspfv3Config) Unset()
- type NullableProtobufFieldMask
- func (v NullableProtobufFieldMask) Get() *ProtobufFieldMask
- func (v NullableProtobufFieldMask) IsSet() bool
- func (v NullableProtobufFieldMask) MarshalJSON() ([]byte, error)
- func (v *NullableProtobufFieldMask) Set(val *ProtobufFieldMask)
- func (v *NullableProtobufFieldMask) UnmarshalJSON(src []byte) error
- func (v *NullableProtobufFieldMask) Unset()
- type NullableServiceConfig
- func (v NullableServiceConfig) Get() *ServiceConfig
- func (v NullableServiceConfig) IsSet() bool
- func (v NullableServiceConfig) MarshalJSON() ([]byte, error)
- func (v *NullableServiceConfig) Set(val *ServiceConfig)
- func (v *NullableServiceConfig) UnmarshalJSON(src []byte) error
- func (v *NullableServiceConfig) Unset()
- type NullableServiceConfigObject
- func (v NullableServiceConfigObject) Get() *ServiceConfigObject
- func (v NullableServiceConfigObject) IsSet() bool
- func (v NullableServiceConfigObject) MarshalJSON() ([]byte, error)
- func (v *NullableServiceConfigObject) Set(val *ServiceConfigObject)
- func (v *NullableServiceConfigObject) UnmarshalJSON(src []byte) error
- func (v *NullableServiceConfigObject) Unset()
- type NullableServiceStatusCode
- func (v NullableServiceStatusCode) Get() *ServiceStatusCode
- func (v NullableServiceStatusCode) IsSet() bool
- func (v NullableServiceStatusCode) MarshalJSON() ([]byte, error)
- func (v *NullableServiceStatusCode) Set(val *ServiceStatusCode)
- func (v *NullableServiceStatusCode) UnmarshalJSON(src []byte) error
- func (v *NullableServiceStatusCode) Unset()
- type NullableServiceStatusUpdateRequest
- func (v NullableServiceStatusUpdateRequest) Get() *ServiceStatusUpdateRequest
- func (v NullableServiceStatusUpdateRequest) IsSet() bool
- func (v NullableServiceStatusUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableServiceStatusUpdateRequest) Set(val *ServiceStatusUpdateRequest)
- func (v *NullableServiceStatusUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableServiceStatusUpdateRequest) Unset()
- type NullableString
- type NullableTime
- type OnPremAnycastManagerAPI
- type OnPremAnycastManagerAPICreateAnycastConfigRequest
- type OnPremAnycastManagerAPICreateAnycastVersionRequest
- type OnPremAnycastManagerAPIDeleteAnycastConfigRequest
- type OnPremAnycastManagerAPIDeleteAnycastVersionRequest
- type OnPremAnycastManagerAPIDeleteOnpremHostRequest
- type OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) AccountId(accountId int64) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Execute() (*GetAnycastConfigListResponse, *http.Response, error)
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) HostId(hostId int64) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) IsConfigured(isConfigured bool) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Ophid(ophid string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Service(service string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Tfilter(tfilter string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) TorderBy(torderBy string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- type OnPremAnycastManagerAPIGetAnycastConfigRequest
- type OnPremAnycastManagerAPIGetAnycastVersionRequest
- type OnPremAnycastManagerAPIGetOnpremConfig2Request
- func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) AppName(appName string) OnPremAnycastManagerAPIGetOnpremConfig2Request
- func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) AppVersion(appVersion string) OnPremAnycastManagerAPIGetOnpremConfig2Request
- func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) Execute() (*ServiceConfig, *http.Response, error)
- type OnPremAnycastManagerAPIGetOnpremConfigRequest
- func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) AppName(appName string) OnPremAnycastManagerAPIGetOnpremConfigRequest
- func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) AppVersion(appVersion string) OnPremAnycastManagerAPIGetOnpremConfigRequest
- func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) Execute() (*ServiceConfig, *http.Response, error)
- type OnPremAnycastManagerAPIGetOnpremHostRequest
- type OnPremAnycastManagerAPIGetStatus2Request
- type OnPremAnycastManagerAPIGetStatusRequest
- type OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) AccountId(accountId int64) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Execute() (*GetAnycastConfigListResponse, *http.Response, error)
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) HostId(hostId int64) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) IsConfigured(isConfigured bool) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Ophid(ophid string) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Service(service string) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Tfilter(tfilter string) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) TorderBy(torderBy string) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- type OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest
- type OnPremAnycastManagerAPIService
- func (a *OnPremAnycastManagerAPIService) CreateAnycastConfig(ctx context.Context) OnPremAnycastManagerAPICreateAnycastConfigRequest
- func (a *OnPremAnycastManagerAPIService) CreateAnycastConfigExecute(r OnPremAnycastManagerAPICreateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) CreateAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPICreateAnycastVersionRequest
- func (a *OnPremAnycastManagerAPIService) CreateAnycastVersionExecute(r OnPremAnycastManagerAPICreateAnycastVersionRequest) (map[string]interface{}, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) DeleteAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastConfigRequest
- func (a *OnPremAnycastManagerAPIService) DeleteAnycastConfigExecute(r OnPremAnycastManagerAPIDeleteAnycastConfigRequest) (map[string]interface{}, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) DeleteAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastVersionRequest
- func (a *OnPremAnycastManagerAPIService) DeleteAnycastVersionExecute(r OnPremAnycastManagerAPIDeleteAnycastVersionRequest) (map[string]interface{}, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) DeleteOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteOnpremHostRequest
- func (a *OnPremAnycastManagerAPIService) DeleteOnpremHostExecute(r OnPremAnycastManagerAPIDeleteOnpremHostRequest) (map[string]interface{}, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastConfigRequest
- func (a *OnPremAnycastManagerAPIService) GetAnycastConfigExecute(r OnPremAnycastManagerAPIGetAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetAnycastConfigList(ctx context.Context) OnPremAnycastManagerAPIGetAnycastConfigListRequest
- func (a *OnPremAnycastManagerAPIService) GetAnycastConfigListExecute(r OnPremAnycastManagerAPIGetAnycastConfigListRequest) (*GetAnycastConfigListResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastVersionRequest
- func (a *OnPremAnycastManagerAPIService) GetAnycastVersionExecute(r OnPremAnycastManagerAPIGetAnycastVersionRequest) (*AnycastVersion, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetOnpremConfig(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfigRequest
- func (a *OnPremAnycastManagerAPIService) GetOnpremConfig2(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfig2Request
- func (a *OnPremAnycastManagerAPIService) GetOnpremConfig2Execute(r OnPremAnycastManagerAPIGetOnpremConfig2Request) (*ServiceConfig, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetOnpremConfigExecute(r OnPremAnycastManagerAPIGetOnpremConfigRequest) (*ServiceConfig, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIGetOnpremHostRequest
- func (a *OnPremAnycastManagerAPIService) GetOnpremHostExecute(r OnPremAnycastManagerAPIGetOnpremHostRequest) (*OnpremHostResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetStatus(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatusRequest
- func (a *OnPremAnycastManagerAPIService) GetStatus2(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatus2Request
- func (a *OnPremAnycastManagerAPIService) GetStatus2Execute(r OnPremAnycastManagerAPIGetStatus2Request) (*ServiceStatusUpdateRequest, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) GetStatusExecute(r OnPremAnycastManagerAPIGetStatusRequest) (*ServiceStatusUpdateRequest, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatus(ctx context.Context) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
- func (a *OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatusExecute(r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) (*GetAnycastConfigListResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatus(ctx context.Context, id int64) OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest
- func (a *OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatusExecute(r OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) (*AnycastConfigResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) UpdateAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateAnycastConfigRequest
- func (a *OnPremAnycastManagerAPIService) UpdateAnycastConfigExecute(r OnPremAnycastManagerAPIUpdateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
- func (a *OnPremAnycastManagerAPIService) UpdateOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateOnpremHostRequest
- func (a *OnPremAnycastManagerAPIService) UpdateOnpremHostExecute(r OnPremAnycastManagerAPIUpdateOnpremHostRequest) (*OnpremHostResponse, *http.Response, error)
- type OnPremAnycastManagerAPIUpdateAnycastConfigRequest
- type OnPremAnycastManagerAPIUpdateOnpremHostRequest
- type OnpremHost
- func (o *OnpremHost) GetAnycastConfigRefs() []AnycastConfigRef
- func (o *OnpremHost) GetAnycastConfigRefsOk() ([]AnycastConfigRef, bool)
- func (o *OnpremHost) GetConfigBgp() BgpConfig
- func (o *OnpremHost) GetConfigBgpOk() (*BgpConfig, bool)
- func (o *OnpremHost) GetConfigOspf() OspfConfig
- func (o *OnpremHost) GetConfigOspfOk() (*OspfConfig, bool)
- func (o *OnpremHost) GetConfigOspfv3() Ospfv3Config
- func (o *OnpremHost) GetConfigOspfv3Ok() (*Ospfv3Config, bool)
- func (o *OnpremHost) GetCreatedAt() time.Time
- func (o *OnpremHost) GetCreatedAtOk() (*time.Time, bool)
- func (o *OnpremHost) GetId() int64
- func (o *OnpremHost) GetIdOk() (*int64, bool)
- func (o *OnpremHost) GetIpAddress() string
- func (o *OnpremHost) GetIpAddressOk() (*string, bool)
- func (o *OnpremHost) GetIpv6Address() string
- func (o *OnpremHost) GetIpv6AddressOk() (*string, bool)
- func (o *OnpremHost) GetName() string
- func (o *OnpremHost) GetNameOk() (*string, bool)
- func (o *OnpremHost) GetUpdatedAt() time.Time
- func (o *OnpremHost) GetUpdatedAtOk() (*time.Time, bool)
- func (o *OnpremHost) HasAnycastConfigRefs() bool
- func (o *OnpremHost) HasConfigBgp() bool
- func (o *OnpremHost) HasConfigOspf() bool
- func (o *OnpremHost) HasConfigOspfv3() bool
- func (o *OnpremHost) HasCreatedAt() bool
- func (o *OnpremHost) HasId() bool
- func (o *OnpremHost) HasIpAddress() bool
- func (o *OnpremHost) HasIpv6Address() bool
- func (o *OnpremHost) HasName() bool
- func (o *OnpremHost) HasUpdatedAt() bool
- func (o OnpremHost) MarshalJSON() ([]byte, error)
- func (o *OnpremHost) SetAnycastConfigRefs(v []AnycastConfigRef)
- func (o *OnpremHost) SetConfigBgp(v BgpConfig)
- func (o *OnpremHost) SetConfigOspf(v OspfConfig)
- func (o *OnpremHost) SetConfigOspfv3(v Ospfv3Config)
- func (o *OnpremHost) SetCreatedAt(v time.Time)
- func (o *OnpremHost) SetId(v int64)
- func (o *OnpremHost) SetIpAddress(v string)
- func (o *OnpremHost) SetIpv6Address(v string)
- func (o *OnpremHost) SetName(v string)
- func (o *OnpremHost) SetUpdatedAt(v time.Time)
- func (o OnpremHost) ToMap() (map[string]interface{}, error)
- func (o *OnpremHost) UnmarshalJSON(data []byte) (err error)
- type OnpremHostRef
- func (o *OnpremHostRef) GetId() int64
- func (o *OnpremHostRef) GetIdOk() (*int64, bool)
- func (o *OnpremHostRef) GetIpAddress() string
- func (o *OnpremHostRef) GetIpAddressOk() (*string, bool)
- func (o *OnpremHostRef) GetIpv6Address() string
- func (o *OnpremHostRef) GetIpv6AddressOk() (*string, bool)
- func (o *OnpremHostRef) GetName() string
- func (o *OnpremHostRef) GetNameOk() (*string, bool)
- func (o *OnpremHostRef) GetOphid() string
- func (o *OnpremHostRef) GetOphidOk() (*string, bool)
- func (o *OnpremHostRef) GetRuntimeStatus() string
- func (o *OnpremHostRef) GetRuntimeStatusOk() (*string, bool)
- func (o *OnpremHostRef) HasId() bool
- func (o *OnpremHostRef) HasIpAddress() bool
- func (o *OnpremHostRef) HasIpv6Address() bool
- func (o *OnpremHostRef) HasName() bool
- func (o *OnpremHostRef) HasOphid() bool
- func (o *OnpremHostRef) HasRuntimeStatus() bool
- func (o OnpremHostRef) MarshalJSON() ([]byte, error)
- func (o *OnpremHostRef) SetId(v int64)
- func (o *OnpremHostRef) SetIpAddress(v string)
- func (o *OnpremHostRef) SetIpv6Address(v string)
- func (o *OnpremHostRef) SetName(v string)
- func (o *OnpremHostRef) SetOphid(v string)
- func (o *OnpremHostRef) SetRuntimeStatus(v string)
- func (o OnpremHostRef) ToMap() (map[string]interface{}, error)
- func (o *OnpremHostRef) UnmarshalJSON(data []byte) (err error)
- type OnpremHostResponse
- func (o *OnpremHostResponse) GetResults() OnpremHost
- func (o *OnpremHostResponse) GetResultsOk() (*OnpremHost, bool)
- func (o *OnpremHostResponse) HasResults() bool
- func (o OnpremHostResponse) MarshalJSON() ([]byte, error)
- func (o *OnpremHostResponse) SetResults(v OnpremHost)
- func (o OnpremHostResponse) ToMap() (map[string]interface{}, error)
- func (o *OnpremHostResponse) UnmarshalJSON(data []byte) (err error)
- type OspfConfig
- func (o *OspfConfig) GetArea() string
- func (o *OspfConfig) GetAreaOk() (*string, bool)
- func (o *OspfConfig) GetAreaType() string
- func (o *OspfConfig) GetAreaTypeOk() (*string, bool)
- func (o *OspfConfig) GetAuthenticationKey() string
- func (o *OspfConfig) GetAuthenticationKeyId() int64
- func (o *OspfConfig) GetAuthenticationKeyIdOk() (*int64, bool)
- func (o *OspfConfig) GetAuthenticationKeyOk() (*string, bool)
- func (o *OspfConfig) GetAuthenticationType() string
- func (o *OspfConfig) GetAuthenticationTypeOk() (*string, bool)
- func (o *OspfConfig) GetCost() int64
- func (o *OspfConfig) GetCostOk() (*int64, bool)
- func (o *OspfConfig) GetDeadInterval() int64
- func (o *OspfConfig) GetDeadIntervalOk() (*int64, bool)
- func (o *OspfConfig) GetHelloInterval() int64
- func (o *OspfConfig) GetHelloIntervalOk() (*int64, bool)
- func (o *OspfConfig) GetInterface() string
- func (o *OspfConfig) GetInterfaceOk() (*string, bool)
- func (o *OspfConfig) GetPreamble() string
- func (o *OspfConfig) GetPreambleOk() (*string, bool)
- func (o *OspfConfig) GetRetransmitInterval() int64
- func (o *OspfConfig) GetRetransmitIntervalOk() (*int64, bool)
- func (o *OspfConfig) GetTransmitDelay() int64
- func (o *OspfConfig) GetTransmitDelayOk() (*int64, bool)
- func (o *OspfConfig) HasArea() bool
- func (o *OspfConfig) HasAreaType() bool
- func (o *OspfConfig) HasAuthenticationKey() bool
- func (o *OspfConfig) HasAuthenticationKeyId() bool
- func (o *OspfConfig) HasAuthenticationType() bool
- func (o *OspfConfig) HasCost() bool
- func (o *OspfConfig) HasDeadInterval() bool
- func (o *OspfConfig) HasHelloInterval() bool
- func (o *OspfConfig) HasInterface() bool
- func (o *OspfConfig) HasPreamble() bool
- func (o *OspfConfig) HasRetransmitInterval() bool
- func (o *OspfConfig) HasTransmitDelay() bool
- func (o OspfConfig) MarshalJSON() ([]byte, error)
- func (o *OspfConfig) SetArea(v string)
- func (o *OspfConfig) SetAreaType(v string)
- func (o *OspfConfig) SetAuthenticationKey(v string)
- func (o *OspfConfig) SetAuthenticationKeyId(v int64)
- func (o *OspfConfig) SetAuthenticationType(v string)
- func (o *OspfConfig) SetCost(v int64)
- func (o *OspfConfig) SetDeadInterval(v int64)
- func (o *OspfConfig) SetHelloInterval(v int64)
- func (o *OspfConfig) SetInterface(v string)
- func (o *OspfConfig) SetPreamble(v string)
- func (o *OspfConfig) SetRetransmitInterval(v int64)
- func (o *OspfConfig) SetTransmitDelay(v int64)
- func (o OspfConfig) ToMap() (map[string]interface{}, error)
- func (o *OspfConfig) UnmarshalJSON(data []byte) (err error)
- type Ospfv3Config
- func (o *Ospfv3Config) GetArea() string
- func (o *Ospfv3Config) GetAreaOk() (*string, bool)
- func (o *Ospfv3Config) GetCost() int64
- func (o *Ospfv3Config) GetCostOk() (*int64, bool)
- func (o *Ospfv3Config) GetDeadInterval() int64
- func (o *Ospfv3Config) GetDeadIntervalOk() (*int64, bool)
- func (o *Ospfv3Config) GetHelloInterval() int64
- func (o *Ospfv3Config) GetHelloIntervalOk() (*int64, bool)
- func (o *Ospfv3Config) GetInterface() string
- func (o *Ospfv3Config) GetInterfaceOk() (*string, bool)
- func (o *Ospfv3Config) GetRetransmitInterval() int64
- func (o *Ospfv3Config) GetRetransmitIntervalOk() (*int64, bool)
- func (o *Ospfv3Config) GetTransmitDelay() int64
- func (o *Ospfv3Config) GetTransmitDelayOk() (*int64, bool)
- func (o *Ospfv3Config) HasArea() bool
- func (o *Ospfv3Config) HasCost() bool
- func (o *Ospfv3Config) HasDeadInterval() bool
- func (o *Ospfv3Config) HasHelloInterval() bool
- func (o *Ospfv3Config) HasInterface() bool
- func (o *Ospfv3Config) HasRetransmitInterval() bool
- func (o *Ospfv3Config) HasTransmitDelay() bool
- func (o Ospfv3Config) MarshalJSON() ([]byte, error)
- func (o *Ospfv3Config) SetArea(v string)
- func (o *Ospfv3Config) SetCost(v int64)
- func (o *Ospfv3Config) SetDeadInterval(v int64)
- func (o *Ospfv3Config) SetHelloInterval(v int64)
- func (o *Ospfv3Config) SetInterface(v string)
- func (o *Ospfv3Config) SetRetransmitInterval(v int64)
- func (o *Ospfv3Config) SetTransmitDelay(v int64)
- func (o Ospfv3Config) ToMap() (map[string]interface{}, error)
- func (o *Ospfv3Config) UnmarshalJSON(data []byte) (err error)
- type ProtobufFieldMask
- func (o *ProtobufFieldMask) GetPaths() []string
- func (o *ProtobufFieldMask) GetPathsOk() ([]string, bool)
- func (o *ProtobufFieldMask) HasPaths() bool
- func (o ProtobufFieldMask) MarshalJSON() ([]byte, error)
- func (o *ProtobufFieldMask) SetPaths(v []string)
- func (o ProtobufFieldMask) ToMap() (map[string]interface{}, error)
- func (o *ProtobufFieldMask) UnmarshalJSON(data []byte) (err error)
- type ServiceConfig
- func (o *ServiceConfig) GetConfig() ServiceConfigObject
- func (o *ServiceConfig) GetConfigOk() (*ServiceConfigObject, bool)
- func (o *ServiceConfig) HasConfig() bool
- func (o ServiceConfig) MarshalJSON() ([]byte, error)
- func (o *ServiceConfig) SetConfig(v ServiceConfigObject)
- func (o ServiceConfig) ToMap() (map[string]interface{}, error)
- func (o *ServiceConfig) UnmarshalJSON(data []byte) (err error)
- type ServiceConfigObject
- func (o *ServiceConfigObject) GetConfigBody() string
- func (o *ServiceConfigObject) GetConfigBodyOk() (*string, bool)
- func (o *ServiceConfigObject) GetOphid() string
- func (o *ServiceConfigObject) GetOphidOk() (*string, bool)
- func (o *ServiceConfigObject) GetVersion() string
- func (o *ServiceConfigObject) GetVersionOk() (*string, bool)
- func (o *ServiceConfigObject) HasConfigBody() bool
- func (o *ServiceConfigObject) HasOphid() bool
- func (o *ServiceConfigObject) HasVersion() bool
- func (o ServiceConfigObject) MarshalJSON() ([]byte, error)
- func (o *ServiceConfigObject) SetConfigBody(v string)
- func (o *ServiceConfigObject) SetOphid(v string)
- func (o *ServiceConfigObject) SetVersion(v string)
- func (o ServiceConfigObject) ToMap() (map[string]interface{}, error)
- func (o *ServiceConfigObject) UnmarshalJSON(data []byte) (err error)
- type ServiceStatusCode
- type ServiceStatusUpdateRequest
- func (o *ServiceStatusUpdateRequest) GetAppName() string
- func (o *ServiceStatusUpdateRequest) GetAppNameOk() (*string, bool)
- func (o *ServiceStatusUpdateRequest) GetMessage() string
- func (o *ServiceStatusUpdateRequest) GetMessageOk() (*string, bool)
- func (o *ServiceStatusUpdateRequest) GetOphid() string
- func (o *ServiceStatusUpdateRequest) GetOphidOk() (*string, bool)
- func (o *ServiceStatusUpdateRequest) GetStatusCode() ServiceStatusCode
- func (o *ServiceStatusUpdateRequest) GetStatusCodeOk() (*ServiceStatusCode, bool)
- func (o *ServiceStatusUpdateRequest) GetVersion() string
- func (o *ServiceStatusUpdateRequest) GetVersionOk() (*string, bool)
- func (o *ServiceStatusUpdateRequest) HasAppName() bool
- func (o *ServiceStatusUpdateRequest) HasMessage() bool
- func (o *ServiceStatusUpdateRequest) HasOphid() bool
- func (o *ServiceStatusUpdateRequest) HasStatusCode() bool
- func (o *ServiceStatusUpdateRequest) HasVersion() bool
- func (o ServiceStatusUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *ServiceStatusUpdateRequest) SetAppName(v string)
- func (o *ServiceStatusUpdateRequest) SetMessage(v string)
- func (o *ServiceStatusUpdateRequest) SetOphid(v string)
- func (o *ServiceStatusUpdateRequest) SetStatusCode(v ServiceStatusCode)
- func (o *ServiceStatusUpdateRequest) SetVersion(v string)
- func (o ServiceStatusUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *ServiceStatusUpdateRequest) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var AllowedServiceStatusCodeEnumValues = []ServiceStatusCode{
"SUCCESS",
"GENERAL_FAILURE",
"HASH_FAILURE",
"VALIDATION_FAILURE",
"COPY_FAILURE",
"RELOAD_FAILIURE",
}
All allowed values of ServiceStatusCode enum
Functions ¶
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { *internal.APIClient // API Services OnPremAnycastManagerAPI OnPremAnycastManagerAPI }
APIClient manages communication with the BloxOne Anycast API v1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(options ...option.ClientOption) *APIClient
NewAPIClient creates a new API client. The client can be configured with a variadic option. The following options are available: - WithClientName(string) sets the name of the client using the SDK. - WithCSPUrl(string) sets the URL for BloxOne Cloud Services Portal. - WithAPIKey(string) sets the APIKey for accessing the BloxOne API. - WithHTTPClient(*http.Client) sets the HTTPClient to use for the SDK. - WithDefaultTags(map[string]string) sets the tags the client can set by default for objects that has tags support. - WithDebug() sets the debug mode.
type AnycastConfig ¶
type AnycastConfig struct { AccountId *int64 `json:"account_id,omitempty"` AnycastIpAddress *string `json:"anycast_ip_address,omitempty"` AnycastIpv6Address *string `json:"anycast_ipv6_address,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Description *string `json:"description,omitempty"` Fields *ProtobufFieldMask `json:"fields,omitempty"` Id *int64 `json:"id,omitempty"` IsConfigured *bool `json:"is_configured,omitempty"` Name *string `json:"name,omitempty"` OnpremHosts []OnpremHostRef `json:"onprem_hosts,omitempty"` RuntimeStatus *string `json:"runtime_status,omitempty"` Service *string `json:"service,omitempty"` Tags map[string]interface{} `json:"tags,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
AnycastConfig struct for AnycastConfig
func NewAnycastConfig ¶
func NewAnycastConfig() *AnycastConfig
NewAnycastConfig instantiates a new AnycastConfig 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 NewAnycastConfigWithDefaults ¶
func NewAnycastConfigWithDefaults() *AnycastConfig
NewAnycastConfigWithDefaults instantiates a new AnycastConfig 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 (*AnycastConfig) GetAccountId ¶
func (o *AnycastConfig) GetAccountId() int64
GetAccountId returns the AccountId field value if set, zero value otherwise.
func (*AnycastConfig) GetAccountIdOk ¶
func (o *AnycastConfig) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetAnycastIpAddress ¶
func (o *AnycastConfig) GetAnycastIpAddress() string
GetAnycastIpAddress returns the AnycastIpAddress field value if set, zero value otherwise.
func (*AnycastConfig) GetAnycastIpAddressOk ¶
func (o *AnycastConfig) GetAnycastIpAddressOk() (*string, bool)
GetAnycastIpAddressOk returns a tuple with the AnycastIpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetAnycastIpv6Address ¶
func (o *AnycastConfig) GetAnycastIpv6Address() string
GetAnycastIpv6Address returns the AnycastIpv6Address field value if set, zero value otherwise.
func (*AnycastConfig) GetAnycastIpv6AddressOk ¶
func (o *AnycastConfig) GetAnycastIpv6AddressOk() (*string, bool)
GetAnycastIpv6AddressOk returns a tuple with the AnycastIpv6Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetCreatedAt ¶
func (o *AnycastConfig) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AnycastConfig) GetCreatedAtOk ¶
func (o *AnycastConfig) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetDescription ¶
func (o *AnycastConfig) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*AnycastConfig) GetDescriptionOk ¶
func (o *AnycastConfig) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetFields ¶
func (o *AnycastConfig) GetFields() ProtobufFieldMask
GetFields returns the Fields field value if set, zero value otherwise.
func (*AnycastConfig) GetFieldsOk ¶
func (o *AnycastConfig) GetFieldsOk() (*ProtobufFieldMask, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetId ¶
func (o *AnycastConfig) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*AnycastConfig) GetIdOk ¶
func (o *AnycastConfig) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetIsConfigured ¶
func (o *AnycastConfig) GetIsConfigured() bool
GetIsConfigured returns the IsConfigured field value if set, zero value otherwise.
func (*AnycastConfig) GetIsConfiguredOk ¶
func (o *AnycastConfig) GetIsConfiguredOk() (*bool, bool)
GetIsConfiguredOk returns a tuple with the IsConfigured field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetName ¶
func (o *AnycastConfig) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*AnycastConfig) GetNameOk ¶
func (o *AnycastConfig) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetOnpremHosts ¶
func (o *AnycastConfig) GetOnpremHosts() []OnpremHostRef
GetOnpremHosts returns the OnpremHosts field value if set, zero value otherwise.
func (*AnycastConfig) GetOnpremHostsOk ¶
func (o *AnycastConfig) GetOnpremHostsOk() ([]OnpremHostRef, bool)
GetOnpremHostsOk returns a tuple with the OnpremHosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetRuntimeStatus ¶
func (o *AnycastConfig) GetRuntimeStatus() string
GetRuntimeStatus returns the RuntimeStatus field value if set, zero value otherwise.
func (*AnycastConfig) GetRuntimeStatusOk ¶
func (o *AnycastConfig) GetRuntimeStatusOk() (*string, bool)
GetRuntimeStatusOk returns a tuple with the RuntimeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetService ¶
func (o *AnycastConfig) GetService() string
GetService returns the Service field value if set, zero value otherwise.
func (*AnycastConfig) GetServiceOk ¶
func (o *AnycastConfig) GetServiceOk() (*string, bool)
GetServiceOk returns a tuple with the Service field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetTags ¶
func (o *AnycastConfig) GetTags() map[string]interface{}
GetTags returns the Tags field value if set, zero value otherwise.
func (*AnycastConfig) GetTagsOk ¶
func (o *AnycastConfig) GetTagsOk() (map[string]interface{}, bool)
GetTagsOk returns a tuple with the Tags field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) GetUpdatedAt ¶
func (o *AnycastConfig) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*AnycastConfig) GetUpdatedAtOk ¶
func (o *AnycastConfig) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfig) HasAccountId ¶
func (o *AnycastConfig) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (*AnycastConfig) HasAnycastIpAddress ¶
func (o *AnycastConfig) HasAnycastIpAddress() bool
HasAnycastIpAddress returns a boolean if a field has been set.
func (*AnycastConfig) HasAnycastIpv6Address ¶
func (o *AnycastConfig) HasAnycastIpv6Address() bool
HasAnycastIpv6Address returns a boolean if a field has been set.
func (*AnycastConfig) HasCreatedAt ¶
func (o *AnycastConfig) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AnycastConfig) HasDescription ¶
func (o *AnycastConfig) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AnycastConfig) HasFields ¶
func (o *AnycastConfig) HasFields() bool
HasFields returns a boolean if a field has been set.
func (*AnycastConfig) HasId ¶
func (o *AnycastConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*AnycastConfig) HasIsConfigured ¶
func (o *AnycastConfig) HasIsConfigured() bool
HasIsConfigured returns a boolean if a field has been set.
func (*AnycastConfig) HasName ¶
func (o *AnycastConfig) HasName() bool
HasName returns a boolean if a field has been set.
func (*AnycastConfig) HasOnpremHosts ¶
func (o *AnycastConfig) HasOnpremHosts() bool
HasOnpremHosts returns a boolean if a field has been set.
func (*AnycastConfig) HasRuntimeStatus ¶
func (o *AnycastConfig) HasRuntimeStatus() bool
HasRuntimeStatus returns a boolean if a field has been set.
func (*AnycastConfig) HasService ¶
func (o *AnycastConfig) HasService() bool
HasService returns a boolean if a field has been set.
func (*AnycastConfig) HasTags ¶
func (o *AnycastConfig) HasTags() bool
HasTags returns a boolean if a field has been set.
func (*AnycastConfig) HasUpdatedAt ¶
func (o *AnycastConfig) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (AnycastConfig) MarshalJSON ¶
func (o AnycastConfig) MarshalJSON() ([]byte, error)
func (*AnycastConfig) SetAccountId ¶
func (o *AnycastConfig) SetAccountId(v int64)
SetAccountId gets a reference to the given int64 and assigns it to the AccountId field.
func (*AnycastConfig) SetAnycastIpAddress ¶
func (o *AnycastConfig) SetAnycastIpAddress(v string)
SetAnycastIpAddress gets a reference to the given string and assigns it to the AnycastIpAddress field.
func (*AnycastConfig) SetAnycastIpv6Address ¶
func (o *AnycastConfig) SetAnycastIpv6Address(v string)
SetAnycastIpv6Address gets a reference to the given string and assigns it to the AnycastIpv6Address field.
func (*AnycastConfig) SetCreatedAt ¶
func (o *AnycastConfig) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AnycastConfig) SetDescription ¶
func (o *AnycastConfig) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*AnycastConfig) SetFields ¶
func (o *AnycastConfig) SetFields(v ProtobufFieldMask)
SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field.
func (*AnycastConfig) SetId ¶
func (o *AnycastConfig) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*AnycastConfig) SetIsConfigured ¶
func (o *AnycastConfig) SetIsConfigured(v bool)
SetIsConfigured gets a reference to the given bool and assigns it to the IsConfigured field.
func (*AnycastConfig) SetName ¶
func (o *AnycastConfig) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*AnycastConfig) SetOnpremHosts ¶
func (o *AnycastConfig) SetOnpremHosts(v []OnpremHostRef)
SetOnpremHosts gets a reference to the given []OnpremHostRef and assigns it to the OnpremHosts field.
func (*AnycastConfig) SetRuntimeStatus ¶
func (o *AnycastConfig) SetRuntimeStatus(v string)
SetRuntimeStatus gets a reference to the given string and assigns it to the RuntimeStatus field.
func (*AnycastConfig) SetService ¶
func (o *AnycastConfig) SetService(v string)
SetService gets a reference to the given string and assigns it to the Service field.
func (*AnycastConfig) SetTags ¶
func (o *AnycastConfig) SetTags(v map[string]interface{})
SetTags gets a reference to the given map[string]interface{} and assigns it to the Tags field.
func (*AnycastConfig) SetUpdatedAt ¶
func (o *AnycastConfig) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (AnycastConfig) ToMap ¶
func (o AnycastConfig) ToMap() (map[string]interface{}, error)
func (*AnycastConfig) UnmarshalJSON ¶
func (o *AnycastConfig) UnmarshalJSON(data []byte) (err error)
type AnycastConfigRef ¶
type AnycastConfigRef struct { AnycastConfigName *string `json:"anycast_config_name,omitempty"` // Routing protocols enabled for this anycast configuration, on a particular host. Valid protocol names are \"BGP\", \"OSPF\"/\"OSPFv2\", \"OSPFv3\". RoutingProtocols []string `json:"routing_protocols,omitempty"` AdditionalProperties map[string]interface{} }
AnycastConfigRef struct for AnycastConfigRef
func NewAnycastConfigRef ¶
func NewAnycastConfigRef() *AnycastConfigRef
NewAnycastConfigRef instantiates a new AnycastConfigRef 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 NewAnycastConfigRefWithDefaults ¶
func NewAnycastConfigRefWithDefaults() *AnycastConfigRef
NewAnycastConfigRefWithDefaults instantiates a new AnycastConfigRef 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 (*AnycastConfigRef) GetAnycastConfigName ¶
func (o *AnycastConfigRef) GetAnycastConfigName() string
GetAnycastConfigName returns the AnycastConfigName field value if set, zero value otherwise.
func (*AnycastConfigRef) GetAnycastConfigNameOk ¶
func (o *AnycastConfigRef) GetAnycastConfigNameOk() (*string, bool)
GetAnycastConfigNameOk returns a tuple with the AnycastConfigName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfigRef) GetRoutingProtocols ¶
func (o *AnycastConfigRef) GetRoutingProtocols() []string
GetRoutingProtocols returns the RoutingProtocols field value if set, zero value otherwise.
func (*AnycastConfigRef) GetRoutingProtocolsOk ¶
func (o *AnycastConfigRef) GetRoutingProtocolsOk() ([]string, bool)
GetRoutingProtocolsOk returns a tuple with the RoutingProtocols field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfigRef) HasAnycastConfigName ¶
func (o *AnycastConfigRef) HasAnycastConfigName() bool
HasAnycastConfigName returns a boolean if a field has been set.
func (*AnycastConfigRef) HasRoutingProtocols ¶
func (o *AnycastConfigRef) HasRoutingProtocols() bool
HasRoutingProtocols returns a boolean if a field has been set.
func (AnycastConfigRef) MarshalJSON ¶
func (o AnycastConfigRef) MarshalJSON() ([]byte, error)
func (*AnycastConfigRef) SetAnycastConfigName ¶
func (o *AnycastConfigRef) SetAnycastConfigName(v string)
SetAnycastConfigName gets a reference to the given string and assigns it to the AnycastConfigName field.
func (*AnycastConfigRef) SetRoutingProtocols ¶
func (o *AnycastConfigRef) SetRoutingProtocols(v []string)
SetRoutingProtocols gets a reference to the given []string and assigns it to the RoutingProtocols field.
func (AnycastConfigRef) ToMap ¶
func (o AnycastConfigRef) ToMap() (map[string]interface{}, error)
func (*AnycastConfigRef) UnmarshalJSON ¶
func (o *AnycastConfigRef) UnmarshalJSON(data []byte) (err error)
type AnycastConfigResponse ¶
type AnycastConfigResponse struct { Results *AnycastConfig `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
AnycastConfigResponse struct for AnycastConfigResponse
func NewAnycastConfigResponse ¶
func NewAnycastConfigResponse() *AnycastConfigResponse
NewAnycastConfigResponse instantiates a new AnycastConfigResponse 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 NewAnycastConfigResponseWithDefaults ¶
func NewAnycastConfigResponseWithDefaults() *AnycastConfigResponse
NewAnycastConfigResponseWithDefaults instantiates a new AnycastConfigResponse 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 (*AnycastConfigResponse) GetResults ¶
func (o *AnycastConfigResponse) GetResults() AnycastConfig
GetResults returns the Results field value if set, zero value otherwise.
func (*AnycastConfigResponse) GetResultsOk ¶
func (o *AnycastConfigResponse) GetResultsOk() (*AnycastConfig, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastConfigResponse) HasResults ¶
func (o *AnycastConfigResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (AnycastConfigResponse) MarshalJSON ¶
func (o AnycastConfigResponse) MarshalJSON() ([]byte, error)
func (*AnycastConfigResponse) SetResults ¶
func (o *AnycastConfigResponse) SetResults(v AnycastConfig)
SetResults gets a reference to the given AnycastConfig and assigns it to the Results field.
func (AnycastConfigResponse) ToMap ¶
func (o AnycastConfigResponse) ToMap() (map[string]interface{}, error)
func (*AnycastConfigResponse) UnmarshalJSON ¶
func (o *AnycastConfigResponse) UnmarshalJSON(data []byte) (err error)
type AnycastVersion ¶
type AnycastVersion struct { AccountId *int64 `json:"account_id,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} }
AnycastVersion struct for AnycastVersion
func NewAnycastVersion ¶
func NewAnycastVersion() *AnycastVersion
NewAnycastVersion instantiates a new AnycastVersion 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 NewAnycastVersionWithDefaults ¶
func NewAnycastVersionWithDefaults() *AnycastVersion
NewAnycastVersionWithDefaults instantiates a new AnycastVersion 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 (*AnycastVersion) GetAccountId ¶
func (o *AnycastVersion) GetAccountId() int64
GetAccountId returns the AccountId field value if set, zero value otherwise.
func (*AnycastVersion) GetAccountIdOk ¶
func (o *AnycastVersion) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastVersion) GetVersion ¶
func (o *AnycastVersion) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*AnycastVersion) GetVersionOk ¶
func (o *AnycastVersion) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AnycastVersion) HasAccountId ¶
func (o *AnycastVersion) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (*AnycastVersion) HasVersion ¶
func (o *AnycastVersion) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (AnycastVersion) MarshalJSON ¶
func (o AnycastVersion) MarshalJSON() ([]byte, error)
func (*AnycastVersion) SetAccountId ¶
func (o *AnycastVersion) SetAccountId(v int64)
SetAccountId gets a reference to the given int64 and assigns it to the AccountId field.
func (*AnycastVersion) SetVersion ¶
func (o *AnycastVersion) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (AnycastVersion) ToMap ¶
func (o AnycastVersion) ToMap() (map[string]interface{}, error)
func (*AnycastVersion) UnmarshalJSON ¶
func (o *AnycastVersion) UnmarshalJSON(data []byte) (err error)
type BgpConfig ¶
type BgpConfig struct { Asn *int64 `json:"asn,omitempty"` // Examples: ASDOT ASPLAIN INTEGER VALID/INVALID 0.1 1 1 Valid 1 1 1 Valid 65535 65535 65535 Valid 0.65535 65535 65535 Valid 1.0 65536 65536 Valid 1.1 65537 65537 Valid 1.65535 131071 131071 Valid 65535.0 4294901760 4294901760 Valid 65535.1 4294901761 4294901761 Valid 65535.65535 4294967295 4294967295 Valid 0.65536 Invalid 65535.655536 Invalid 65536.0 Invalid 65536.65535 Invalid 4294967296 Invalid AsnText *string `json:"asn_text,omitempty"` Fields *ProtobufFieldMask `json:"fields,omitempty"` HolddownSecs *int64 `json:"holddown_secs,omitempty"` KeepAliveSecs *int64 `json:"keep_alive_secs,omitempty"` LinkDetect *bool `json:"link_detect,omitempty"` Neighbors []BgpNeighbor `json:"neighbors,omitempty"` // Any predefined BGP configuration, with embedded new lines; the preamble will be prepended to the generated BGP configuration. Preamble *string `json:"preamble,omitempty"` AdditionalProperties map[string]interface{} }
BgpConfig struct for BgpConfig
func NewBgpConfig ¶
func NewBgpConfig() *BgpConfig
NewBgpConfig instantiates a new BgpConfig 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 NewBgpConfigWithDefaults ¶
func NewBgpConfigWithDefaults() *BgpConfig
NewBgpConfigWithDefaults instantiates a new BgpConfig 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 (*BgpConfig) GetAsnOk ¶
GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetAsnText ¶
GetAsnText returns the AsnText field value if set, zero value otherwise.
func (*BgpConfig) GetAsnTextOk ¶
GetAsnTextOk returns a tuple with the AsnText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetFields ¶
func (o *BgpConfig) GetFields() ProtobufFieldMask
GetFields returns the Fields field value if set, zero value otherwise.
func (*BgpConfig) GetFieldsOk ¶
func (o *BgpConfig) GetFieldsOk() (*ProtobufFieldMask, bool)
GetFieldsOk returns a tuple with the Fields field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetHolddownSecs ¶
GetHolddownSecs returns the HolddownSecs field value if set, zero value otherwise.
func (*BgpConfig) GetHolddownSecsOk ¶
GetHolddownSecsOk returns a tuple with the HolddownSecs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetKeepAliveSecs ¶
GetKeepAliveSecs returns the KeepAliveSecs field value if set, zero value otherwise.
func (*BgpConfig) GetKeepAliveSecsOk ¶
GetKeepAliveSecsOk returns a tuple with the KeepAliveSecs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetLinkDetect ¶
GetLinkDetect returns the LinkDetect field value if set, zero value otherwise.
func (*BgpConfig) GetLinkDetectOk ¶
GetLinkDetectOk returns a tuple with the LinkDetect field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetNeighbors ¶
func (o *BgpConfig) GetNeighbors() []BgpNeighbor
GetNeighbors returns the Neighbors field value if set, zero value otherwise.
func (*BgpConfig) GetNeighborsOk ¶
func (o *BgpConfig) GetNeighborsOk() ([]BgpNeighbor, bool)
GetNeighborsOk returns a tuple with the Neighbors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) GetPreamble ¶
GetPreamble returns the Preamble field value if set, zero value otherwise.
func (*BgpConfig) GetPreambleOk ¶
GetPreambleOk returns a tuple with the Preamble field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpConfig) HasAsnText ¶
HasAsnText returns a boolean if a field has been set.
func (*BgpConfig) HasHolddownSecs ¶
HasHolddownSecs returns a boolean if a field has been set.
func (*BgpConfig) HasKeepAliveSecs ¶
HasKeepAliveSecs returns a boolean if a field has been set.
func (*BgpConfig) HasLinkDetect ¶
HasLinkDetect returns a boolean if a field has been set.
func (*BgpConfig) HasNeighbors ¶
HasNeighbors returns a boolean if a field has been set.
func (*BgpConfig) HasPreamble ¶
HasPreamble returns a boolean if a field has been set.
func (BgpConfig) MarshalJSON ¶
func (*BgpConfig) SetAsn ¶
SetAsn gets a reference to the given int64 and assigns it to the Asn field.
func (*BgpConfig) SetAsnText ¶
SetAsnText gets a reference to the given string and assigns it to the AsnText field.
func (*BgpConfig) SetFields ¶
func (o *BgpConfig) SetFields(v ProtobufFieldMask)
SetFields gets a reference to the given ProtobufFieldMask and assigns it to the Fields field.
func (*BgpConfig) SetHolddownSecs ¶
SetHolddownSecs gets a reference to the given int64 and assigns it to the HolddownSecs field.
func (*BgpConfig) SetKeepAliveSecs ¶
SetKeepAliveSecs gets a reference to the given int64 and assigns it to the KeepAliveSecs field.
func (*BgpConfig) SetLinkDetect ¶
SetLinkDetect gets a reference to the given bool and assigns it to the LinkDetect field.
func (*BgpConfig) SetNeighbors ¶
func (o *BgpConfig) SetNeighbors(v []BgpNeighbor)
SetNeighbors gets a reference to the given []BgpNeighbor and assigns it to the Neighbors field.
func (*BgpConfig) SetPreamble ¶
SetPreamble gets a reference to the given string and assigns it to the Preamble field.
func (*BgpConfig) UnmarshalJSON ¶
type BgpNeighbor ¶
type BgpNeighbor struct { Asn *int64 `json:"asn,omitempty"` // Examples: ASDOT ASPLAIN INTEGER VALID/INVALID 0.1 1 1 Valid 1 1 1 Valid 65535 65535 65535 Valid 0.65535 65535 65535 Valid 1.0 65536 65536 Valid 1.1 65537 65537 Valid 1.65535 131071 131071 Valid 65535.0 4294901760 4294901760 Valid 65535.1 4294901761 4294901761 Valid 65535.65535 4294967295 4294967295 Valid 0.65536 Invalid 65535.655536 Invalid 65536.0 Invalid 65536.65535 Invalid 4294967296 Invalid AsnText *string `json:"asn_text,omitempty"` // IPv4 address of the BGP neighbor IpAddress *string `json:"ip_address,omitempty"` MaxHopCount *int64 `json:"max_hop_count,omitempty"` Multihop *bool `json:"multihop,omitempty"` Password *string `json:"password,omitempty"` AdditionalProperties map[string]interface{} }
BgpNeighbor struct for BgpNeighbor
func NewBgpNeighbor ¶
func NewBgpNeighbor() *BgpNeighbor
NewBgpNeighbor instantiates a new BgpNeighbor 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 NewBgpNeighborWithDefaults ¶
func NewBgpNeighborWithDefaults() *BgpNeighbor
NewBgpNeighborWithDefaults instantiates a new BgpNeighbor 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 (*BgpNeighbor) GetAsn ¶
func (o *BgpNeighbor) GetAsn() int64
GetAsn returns the Asn field value if set, zero value otherwise.
func (*BgpNeighbor) GetAsnOk ¶
func (o *BgpNeighbor) GetAsnOk() (*int64, bool)
GetAsnOk returns a tuple with the Asn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) GetAsnText ¶
func (o *BgpNeighbor) GetAsnText() string
GetAsnText returns the AsnText field value if set, zero value otherwise.
func (*BgpNeighbor) GetAsnTextOk ¶
func (o *BgpNeighbor) GetAsnTextOk() (*string, bool)
GetAsnTextOk returns a tuple with the AsnText field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) GetIpAddress ¶
func (o *BgpNeighbor) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*BgpNeighbor) GetIpAddressOk ¶
func (o *BgpNeighbor) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) GetMaxHopCount ¶
func (o *BgpNeighbor) GetMaxHopCount() int64
GetMaxHopCount returns the MaxHopCount field value if set, zero value otherwise.
func (*BgpNeighbor) GetMaxHopCountOk ¶
func (o *BgpNeighbor) GetMaxHopCountOk() (*int64, bool)
GetMaxHopCountOk returns a tuple with the MaxHopCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) GetMultihop ¶
func (o *BgpNeighbor) GetMultihop() bool
GetMultihop returns the Multihop field value if set, zero value otherwise.
func (*BgpNeighbor) GetMultihopOk ¶
func (o *BgpNeighbor) GetMultihopOk() (*bool, bool)
GetMultihopOk returns a tuple with the Multihop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) GetPassword ¶
func (o *BgpNeighbor) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*BgpNeighbor) GetPasswordOk ¶
func (o *BgpNeighbor) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BgpNeighbor) HasAsn ¶
func (o *BgpNeighbor) HasAsn() bool
HasAsn returns a boolean if a field has been set.
func (*BgpNeighbor) HasAsnText ¶
func (o *BgpNeighbor) HasAsnText() bool
HasAsnText returns a boolean if a field has been set.
func (*BgpNeighbor) HasIpAddress ¶
func (o *BgpNeighbor) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*BgpNeighbor) HasMaxHopCount ¶
func (o *BgpNeighbor) HasMaxHopCount() bool
HasMaxHopCount returns a boolean if a field has been set.
func (*BgpNeighbor) HasMultihop ¶
func (o *BgpNeighbor) HasMultihop() bool
HasMultihop returns a boolean if a field has been set.
func (*BgpNeighbor) HasPassword ¶
func (o *BgpNeighbor) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (BgpNeighbor) MarshalJSON ¶
func (o BgpNeighbor) MarshalJSON() ([]byte, error)
func (*BgpNeighbor) SetAsn ¶
func (o *BgpNeighbor) SetAsn(v int64)
SetAsn gets a reference to the given int64 and assigns it to the Asn field.
func (*BgpNeighbor) SetAsnText ¶
func (o *BgpNeighbor) SetAsnText(v string)
SetAsnText gets a reference to the given string and assigns it to the AsnText field.
func (*BgpNeighbor) SetIpAddress ¶
func (o *BgpNeighbor) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*BgpNeighbor) SetMaxHopCount ¶
func (o *BgpNeighbor) SetMaxHopCount(v int64)
SetMaxHopCount gets a reference to the given int64 and assigns it to the MaxHopCount field.
func (*BgpNeighbor) SetMultihop ¶
func (o *BgpNeighbor) SetMultihop(v bool)
SetMultihop gets a reference to the given bool and assigns it to the Multihop field.
func (*BgpNeighbor) SetPassword ¶
func (o *BgpNeighbor) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (BgpNeighbor) ToMap ¶
func (o BgpNeighbor) ToMap() (map[string]interface{}, error)
func (*BgpNeighbor) UnmarshalJSON ¶
func (o *BgpNeighbor) UnmarshalJSON(data []byte) (err error)
type GetAnycastConfigListResponse ¶
type GetAnycastConfigListResponse struct { Results []AnycastConfig `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
GetAnycastConfigListResponse struct for GetAnycastConfigListResponse
func NewGetAnycastConfigListResponse ¶
func NewGetAnycastConfigListResponse() *GetAnycastConfigListResponse
NewGetAnycastConfigListResponse instantiates a new GetAnycastConfigListResponse 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 NewGetAnycastConfigListResponseWithDefaults ¶
func NewGetAnycastConfigListResponseWithDefaults() *GetAnycastConfigListResponse
NewGetAnycastConfigListResponseWithDefaults instantiates a new GetAnycastConfigListResponse 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 (*GetAnycastConfigListResponse) GetResults ¶
func (o *GetAnycastConfigListResponse) GetResults() []AnycastConfig
GetResults returns the Results field value if set, zero value otherwise.
func (*GetAnycastConfigListResponse) GetResultsOk ¶
func (o *GetAnycastConfigListResponse) GetResultsOk() ([]AnycastConfig, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GetAnycastConfigListResponse) HasResults ¶
func (o *GetAnycastConfigListResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (GetAnycastConfigListResponse) MarshalJSON ¶
func (o GetAnycastConfigListResponse) MarshalJSON() ([]byte, error)
func (*GetAnycastConfigListResponse) SetResults ¶
func (o *GetAnycastConfigListResponse) SetResults(v []AnycastConfig)
SetResults gets a reference to the given []AnycastConfig and assigns it to the Results field.
func (GetAnycastConfigListResponse) ToMap ¶
func (o GetAnycastConfigListResponse) ToMap() (map[string]interface{}, error)
func (*GetAnycastConfigListResponse) UnmarshalJSON ¶
func (o *GetAnycastConfigListResponse) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
type NullableAnycastConfig ¶
type NullableAnycastConfig struct {
// contains filtered or unexported fields
}
func NewNullableAnycastConfig ¶
func NewNullableAnycastConfig(val *AnycastConfig) *NullableAnycastConfig
func (NullableAnycastConfig) Get ¶
func (v NullableAnycastConfig) Get() *AnycastConfig
func (NullableAnycastConfig) IsSet ¶
func (v NullableAnycastConfig) IsSet() bool
func (NullableAnycastConfig) MarshalJSON ¶
func (v NullableAnycastConfig) MarshalJSON() ([]byte, error)
func (*NullableAnycastConfig) Set ¶
func (v *NullableAnycastConfig) Set(val *AnycastConfig)
func (*NullableAnycastConfig) UnmarshalJSON ¶
func (v *NullableAnycastConfig) UnmarshalJSON(src []byte) error
func (*NullableAnycastConfig) Unset ¶
func (v *NullableAnycastConfig) Unset()
type NullableAnycastConfigRef ¶
type NullableAnycastConfigRef struct {
// contains filtered or unexported fields
}
func NewNullableAnycastConfigRef ¶
func NewNullableAnycastConfigRef(val *AnycastConfigRef) *NullableAnycastConfigRef
func (NullableAnycastConfigRef) Get ¶
func (v NullableAnycastConfigRef) Get() *AnycastConfigRef
func (NullableAnycastConfigRef) IsSet ¶
func (v NullableAnycastConfigRef) IsSet() bool
func (NullableAnycastConfigRef) MarshalJSON ¶
func (v NullableAnycastConfigRef) MarshalJSON() ([]byte, error)
func (*NullableAnycastConfigRef) Set ¶
func (v *NullableAnycastConfigRef) Set(val *AnycastConfigRef)
func (*NullableAnycastConfigRef) UnmarshalJSON ¶
func (v *NullableAnycastConfigRef) UnmarshalJSON(src []byte) error
func (*NullableAnycastConfigRef) Unset ¶
func (v *NullableAnycastConfigRef) Unset()
type NullableAnycastConfigResponse ¶
type NullableAnycastConfigResponse struct {
// contains filtered or unexported fields
}
func NewNullableAnycastConfigResponse ¶
func NewNullableAnycastConfigResponse(val *AnycastConfigResponse) *NullableAnycastConfigResponse
func (NullableAnycastConfigResponse) Get ¶
func (v NullableAnycastConfigResponse) Get() *AnycastConfigResponse
func (NullableAnycastConfigResponse) IsSet ¶
func (v NullableAnycastConfigResponse) IsSet() bool
func (NullableAnycastConfigResponse) MarshalJSON ¶
func (v NullableAnycastConfigResponse) MarshalJSON() ([]byte, error)
func (*NullableAnycastConfigResponse) Set ¶
func (v *NullableAnycastConfigResponse) Set(val *AnycastConfigResponse)
func (*NullableAnycastConfigResponse) UnmarshalJSON ¶
func (v *NullableAnycastConfigResponse) UnmarshalJSON(src []byte) error
func (*NullableAnycastConfigResponse) Unset ¶
func (v *NullableAnycastConfigResponse) Unset()
type NullableAnycastVersion ¶
type NullableAnycastVersion struct {
// contains filtered or unexported fields
}
func NewNullableAnycastVersion ¶
func NewNullableAnycastVersion(val *AnycastVersion) *NullableAnycastVersion
func (NullableAnycastVersion) Get ¶
func (v NullableAnycastVersion) Get() *AnycastVersion
func (NullableAnycastVersion) IsSet ¶
func (v NullableAnycastVersion) IsSet() bool
func (NullableAnycastVersion) MarshalJSON ¶
func (v NullableAnycastVersion) MarshalJSON() ([]byte, error)
func (*NullableAnycastVersion) Set ¶
func (v *NullableAnycastVersion) Set(val *AnycastVersion)
func (*NullableAnycastVersion) UnmarshalJSON ¶
func (v *NullableAnycastVersion) UnmarshalJSON(src []byte) error
func (*NullableAnycastVersion) Unset ¶
func (v *NullableAnycastVersion) Unset()
type NullableBgpConfig ¶
type NullableBgpConfig struct {
// contains filtered or unexported fields
}
func NewNullableBgpConfig ¶
func NewNullableBgpConfig(val *BgpConfig) *NullableBgpConfig
func (NullableBgpConfig) Get ¶
func (v NullableBgpConfig) Get() *BgpConfig
func (NullableBgpConfig) IsSet ¶
func (v NullableBgpConfig) IsSet() bool
func (NullableBgpConfig) MarshalJSON ¶
func (v NullableBgpConfig) MarshalJSON() ([]byte, error)
func (*NullableBgpConfig) Set ¶
func (v *NullableBgpConfig) Set(val *BgpConfig)
func (*NullableBgpConfig) UnmarshalJSON ¶
func (v *NullableBgpConfig) UnmarshalJSON(src []byte) error
func (*NullableBgpConfig) Unset ¶
func (v *NullableBgpConfig) Unset()
type NullableBgpNeighbor ¶
type NullableBgpNeighbor struct {
// contains filtered or unexported fields
}
func NewNullableBgpNeighbor ¶
func NewNullableBgpNeighbor(val *BgpNeighbor) *NullableBgpNeighbor
func (NullableBgpNeighbor) Get ¶
func (v NullableBgpNeighbor) Get() *BgpNeighbor
func (NullableBgpNeighbor) IsSet ¶
func (v NullableBgpNeighbor) IsSet() bool
func (NullableBgpNeighbor) MarshalJSON ¶
func (v NullableBgpNeighbor) MarshalJSON() ([]byte, error)
func (*NullableBgpNeighbor) Set ¶
func (v *NullableBgpNeighbor) Set(val *BgpNeighbor)
func (*NullableBgpNeighbor) UnmarshalJSON ¶
func (v *NullableBgpNeighbor) UnmarshalJSON(src []byte) error
func (*NullableBgpNeighbor) Unset ¶
func (v *NullableBgpNeighbor) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGetAnycastConfigListResponse ¶
type NullableGetAnycastConfigListResponse struct {
// contains filtered or unexported fields
}
func NewNullableGetAnycastConfigListResponse ¶
func NewNullableGetAnycastConfigListResponse(val *GetAnycastConfigListResponse) *NullableGetAnycastConfigListResponse
func (NullableGetAnycastConfigListResponse) Get ¶
func (v NullableGetAnycastConfigListResponse) Get() *GetAnycastConfigListResponse
func (NullableGetAnycastConfigListResponse) IsSet ¶
func (v NullableGetAnycastConfigListResponse) IsSet() bool
func (NullableGetAnycastConfigListResponse) MarshalJSON ¶
func (v NullableGetAnycastConfigListResponse) MarshalJSON() ([]byte, error)
func (*NullableGetAnycastConfigListResponse) Set ¶
func (v *NullableGetAnycastConfigListResponse) Set(val *GetAnycastConfigListResponse)
func (*NullableGetAnycastConfigListResponse) UnmarshalJSON ¶
func (v *NullableGetAnycastConfigListResponse) UnmarshalJSON(src []byte) error
func (*NullableGetAnycastConfigListResponse) Unset ¶
func (v *NullableGetAnycastConfigListResponse) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableOnpremHost ¶
type NullableOnpremHost struct {
// contains filtered or unexported fields
}
func NewNullableOnpremHost ¶
func NewNullableOnpremHost(val *OnpremHost) *NullableOnpremHost
func (NullableOnpremHost) Get ¶
func (v NullableOnpremHost) Get() *OnpremHost
func (NullableOnpremHost) IsSet ¶
func (v NullableOnpremHost) IsSet() bool
func (NullableOnpremHost) MarshalJSON ¶
func (v NullableOnpremHost) MarshalJSON() ([]byte, error)
func (*NullableOnpremHost) Set ¶
func (v *NullableOnpremHost) Set(val *OnpremHost)
func (*NullableOnpremHost) UnmarshalJSON ¶
func (v *NullableOnpremHost) UnmarshalJSON(src []byte) error
func (*NullableOnpremHost) Unset ¶
func (v *NullableOnpremHost) Unset()
type NullableOnpremHostRef ¶
type NullableOnpremHostRef struct {
// contains filtered or unexported fields
}
func NewNullableOnpremHostRef ¶
func NewNullableOnpremHostRef(val *OnpremHostRef) *NullableOnpremHostRef
func (NullableOnpremHostRef) Get ¶
func (v NullableOnpremHostRef) Get() *OnpremHostRef
func (NullableOnpremHostRef) IsSet ¶
func (v NullableOnpremHostRef) IsSet() bool
func (NullableOnpremHostRef) MarshalJSON ¶
func (v NullableOnpremHostRef) MarshalJSON() ([]byte, error)
func (*NullableOnpremHostRef) Set ¶
func (v *NullableOnpremHostRef) Set(val *OnpremHostRef)
func (*NullableOnpremHostRef) UnmarshalJSON ¶
func (v *NullableOnpremHostRef) UnmarshalJSON(src []byte) error
func (*NullableOnpremHostRef) Unset ¶
func (v *NullableOnpremHostRef) Unset()
type NullableOnpremHostResponse ¶
type NullableOnpremHostResponse struct {
// contains filtered or unexported fields
}
func NewNullableOnpremHostResponse ¶
func NewNullableOnpremHostResponse(val *OnpremHostResponse) *NullableOnpremHostResponse
func (NullableOnpremHostResponse) Get ¶
func (v NullableOnpremHostResponse) Get() *OnpremHostResponse
func (NullableOnpremHostResponse) IsSet ¶
func (v NullableOnpremHostResponse) IsSet() bool
func (NullableOnpremHostResponse) MarshalJSON ¶
func (v NullableOnpremHostResponse) MarshalJSON() ([]byte, error)
func (*NullableOnpremHostResponse) Set ¶
func (v *NullableOnpremHostResponse) Set(val *OnpremHostResponse)
func (*NullableOnpremHostResponse) UnmarshalJSON ¶
func (v *NullableOnpremHostResponse) UnmarshalJSON(src []byte) error
func (*NullableOnpremHostResponse) Unset ¶
func (v *NullableOnpremHostResponse) Unset()
type NullableOspfConfig ¶
type NullableOspfConfig struct {
// contains filtered or unexported fields
}
func NewNullableOspfConfig ¶
func NewNullableOspfConfig(val *OspfConfig) *NullableOspfConfig
func (NullableOspfConfig) Get ¶
func (v NullableOspfConfig) Get() *OspfConfig
func (NullableOspfConfig) IsSet ¶
func (v NullableOspfConfig) IsSet() bool
func (NullableOspfConfig) MarshalJSON ¶
func (v NullableOspfConfig) MarshalJSON() ([]byte, error)
func (*NullableOspfConfig) Set ¶
func (v *NullableOspfConfig) Set(val *OspfConfig)
func (*NullableOspfConfig) UnmarshalJSON ¶
func (v *NullableOspfConfig) UnmarshalJSON(src []byte) error
func (*NullableOspfConfig) Unset ¶
func (v *NullableOspfConfig) Unset()
type NullableOspfv3Config ¶
type NullableOspfv3Config struct {
// contains filtered or unexported fields
}
func NewNullableOspfv3Config ¶
func NewNullableOspfv3Config(val *Ospfv3Config) *NullableOspfv3Config
func (NullableOspfv3Config) Get ¶
func (v NullableOspfv3Config) Get() *Ospfv3Config
func (NullableOspfv3Config) IsSet ¶
func (v NullableOspfv3Config) IsSet() bool
func (NullableOspfv3Config) MarshalJSON ¶
func (v NullableOspfv3Config) MarshalJSON() ([]byte, error)
func (*NullableOspfv3Config) Set ¶
func (v *NullableOspfv3Config) Set(val *Ospfv3Config)
func (*NullableOspfv3Config) UnmarshalJSON ¶
func (v *NullableOspfv3Config) UnmarshalJSON(src []byte) error
func (*NullableOspfv3Config) Unset ¶
func (v *NullableOspfv3Config) Unset()
type NullableProtobufFieldMask ¶ added in v0.3.0
type NullableProtobufFieldMask struct {
// contains filtered or unexported fields
}
func NewNullableProtobufFieldMask ¶ added in v0.3.0
func NewNullableProtobufFieldMask(val *ProtobufFieldMask) *NullableProtobufFieldMask
func (NullableProtobufFieldMask) Get ¶ added in v0.3.0
func (v NullableProtobufFieldMask) Get() *ProtobufFieldMask
func (NullableProtobufFieldMask) IsSet ¶ added in v0.3.0
func (v NullableProtobufFieldMask) IsSet() bool
func (NullableProtobufFieldMask) MarshalJSON ¶ added in v0.3.0
func (v NullableProtobufFieldMask) MarshalJSON() ([]byte, error)
func (*NullableProtobufFieldMask) Set ¶ added in v0.3.0
func (v *NullableProtobufFieldMask) Set(val *ProtobufFieldMask)
func (*NullableProtobufFieldMask) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableProtobufFieldMask) UnmarshalJSON(src []byte) error
func (*NullableProtobufFieldMask) Unset ¶ added in v0.3.0
func (v *NullableProtobufFieldMask) Unset()
type NullableServiceConfig ¶
type NullableServiceConfig struct {
// contains filtered or unexported fields
}
func NewNullableServiceConfig ¶
func NewNullableServiceConfig(val *ServiceConfig) *NullableServiceConfig
func (NullableServiceConfig) Get ¶
func (v NullableServiceConfig) Get() *ServiceConfig
func (NullableServiceConfig) IsSet ¶
func (v NullableServiceConfig) IsSet() bool
func (NullableServiceConfig) MarshalJSON ¶
func (v NullableServiceConfig) MarshalJSON() ([]byte, error)
func (*NullableServiceConfig) Set ¶
func (v *NullableServiceConfig) Set(val *ServiceConfig)
func (*NullableServiceConfig) UnmarshalJSON ¶
func (v *NullableServiceConfig) UnmarshalJSON(src []byte) error
func (*NullableServiceConfig) Unset ¶
func (v *NullableServiceConfig) Unset()
type NullableServiceConfigObject ¶
type NullableServiceConfigObject struct {
// contains filtered or unexported fields
}
func NewNullableServiceConfigObject ¶
func NewNullableServiceConfigObject(val *ServiceConfigObject) *NullableServiceConfigObject
func (NullableServiceConfigObject) Get ¶
func (v NullableServiceConfigObject) Get() *ServiceConfigObject
func (NullableServiceConfigObject) IsSet ¶
func (v NullableServiceConfigObject) IsSet() bool
func (NullableServiceConfigObject) MarshalJSON ¶
func (v NullableServiceConfigObject) MarshalJSON() ([]byte, error)
func (*NullableServiceConfigObject) Set ¶
func (v *NullableServiceConfigObject) Set(val *ServiceConfigObject)
func (*NullableServiceConfigObject) UnmarshalJSON ¶
func (v *NullableServiceConfigObject) UnmarshalJSON(src []byte) error
func (*NullableServiceConfigObject) Unset ¶
func (v *NullableServiceConfigObject) Unset()
type NullableServiceStatusCode ¶
type NullableServiceStatusCode struct {
// contains filtered or unexported fields
}
func NewNullableServiceStatusCode ¶
func NewNullableServiceStatusCode(val *ServiceStatusCode) *NullableServiceStatusCode
func (NullableServiceStatusCode) Get ¶
func (v NullableServiceStatusCode) Get() *ServiceStatusCode
func (NullableServiceStatusCode) IsSet ¶
func (v NullableServiceStatusCode) IsSet() bool
func (NullableServiceStatusCode) MarshalJSON ¶
func (v NullableServiceStatusCode) MarshalJSON() ([]byte, error)
func (*NullableServiceStatusCode) Set ¶
func (v *NullableServiceStatusCode) Set(val *ServiceStatusCode)
func (*NullableServiceStatusCode) UnmarshalJSON ¶
func (v *NullableServiceStatusCode) UnmarshalJSON(src []byte) error
func (*NullableServiceStatusCode) Unset ¶
func (v *NullableServiceStatusCode) Unset()
type NullableServiceStatusUpdateRequest ¶
type NullableServiceStatusUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableServiceStatusUpdateRequest ¶
func NewNullableServiceStatusUpdateRequest(val *ServiceStatusUpdateRequest) *NullableServiceStatusUpdateRequest
func (NullableServiceStatusUpdateRequest) Get ¶
func (v NullableServiceStatusUpdateRequest) Get() *ServiceStatusUpdateRequest
func (NullableServiceStatusUpdateRequest) IsSet ¶
func (v NullableServiceStatusUpdateRequest) IsSet() bool
func (NullableServiceStatusUpdateRequest) MarshalJSON ¶
func (v NullableServiceStatusUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableServiceStatusUpdateRequest) Set ¶
func (v *NullableServiceStatusUpdateRequest) Set(val *ServiceStatusUpdateRequest)
func (*NullableServiceStatusUpdateRequest) UnmarshalJSON ¶
func (v *NullableServiceStatusUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableServiceStatusUpdateRequest) Unset ¶
func (v *NullableServiceStatusUpdateRequest) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type OnPremAnycastManagerAPI ¶
type OnPremAnycastManagerAPI interface { /* CreateAnycastConfig Create Anycast Configuration Use this method to create anycast configuration, as per the specified payload. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPICreateAnycastConfigRequest */ CreateAnycastConfig(ctx context.Context) OnPremAnycastManagerAPICreateAnycastConfigRequest // CreateAnycastConfigExecute executes the request // @return AnycastConfigResponse CreateAnycastConfigExecute(r OnPremAnycastManagerAPICreateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error) /* CreateAnycastVersion Create Anycast Version Use this method to create anycast 2.0 version for the account ID @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPICreateAnycastVersionRequest */ CreateAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPICreateAnycastVersionRequest // CreateAnycastVersionExecute executes the request // @return map[string]interface{} CreateAnycastVersionExecute(r OnPremAnycastManagerAPICreateAnycastVersionRequest) (map[string]interface{}, *http.Response, error) /* DeleteAnycastConfig Delete Anycast Configuration Use this method to delete the addressed anycast configuration. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteAnycastConfigRequest */ DeleteAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastConfigRequest // DeleteAnycastConfigExecute executes the request // @return map[string]interface{} DeleteAnycastConfigExecute(r OnPremAnycastManagerAPIDeleteAnycastConfigRequest) (map[string]interface{}, *http.Response, error) /* DeleteAnycastVersion Delete anycast version Use this method to delete anycast 2.0 version associated with the given account id @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteAnycastVersionRequest */ DeleteAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastVersionRequest // DeleteAnycastVersionExecute executes the request // @return map[string]interface{} DeleteAnycastVersionExecute(r OnPremAnycastManagerAPIDeleteAnycastVersionRequest) (map[string]interface{}, *http.Response, error) /* DeleteOnpremHost Delete On-Prem Host Use this method to delete the addressed on-prem host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteOnpremHostRequest */ DeleteOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteOnpremHostRequest // DeleteOnpremHostExecute executes the request // @return map[string]interface{} DeleteOnpremHostExecute(r OnPremAnycastManagerAPIDeleteOnpremHostRequest) (map[string]interface{}, *http.Response, error) /* GetAnycastConfig Retrieve Anycast Configuration Use this method to retrieve the specified anycast configuration, together with the list of member hosts. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetAnycastConfigRequest */ GetAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastConfigRequest // GetAnycastConfigExecute executes the request // @return AnycastConfigResponse GetAnycastConfigExecute(r OnPremAnycastManagerAPIGetAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error) /* GetAnycastConfigList Retrieve Multiple Anycast Configurations Without any filtering, use this method to retrieve all named anycast configurations for the account of authorization. Anycast configuration comprises common anycast configuration data that is defined in support of one service on a set of on-prem hosts. The anycast configurations resulting from this call will not include the list(s) of member hosts. Retrieving the list of member hosts requires the GET operation on single anycast configuration resource. If the account has no anycast configurations defined, the result of this call will be an empty list. @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPIGetAnycastConfigListRequest */ GetAnycastConfigList(ctx context.Context) OnPremAnycastManagerAPIGetAnycastConfigListRequest // GetAnycastConfigListExecute executes the request // @return GetAnycastConfigListResponse GetAnycastConfigListExecute(r OnPremAnycastManagerAPIGetAnycastConfigListRequest) (*GetAnycastConfigListResponse, *http.Response, error) /* GetAnycastVersion Retrieve Anycast Version Use this method to retrieve the anycast version for the given account id @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetAnycastVersionRequest */ GetAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastVersionRequest // GetAnycastVersionExecute executes the request // @return AnycastVersion GetAnycastVersionExecute(r OnPremAnycastManagerAPIGetAnycastVersionRequest) (*AnycastVersion, *http.Response, error) /* GetOnpremConfig Retrieve Generated, Per-Host Anycast Configuration Use this method to retrieve generated anycast configuration for anycast-enabled on-prem host. Retrieved configuration includes both interface and routing configuration. See common config manager documentation for the description of the returned payload. "ophid" is the system-assigned unique character-string identifier of the host. "version" can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest" signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @param version @return OnPremAnycastManagerAPIGetOnpremConfigRequest */ GetOnpremConfig(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfigRequest // GetOnpremConfigExecute executes the request // @return ServiceConfig GetOnpremConfigExecute(r OnPremAnycastManagerAPIGetOnpremConfigRequest) (*ServiceConfig, *http.Response, error) /* GetOnpremConfig2 Retrieve Generated, Per-Host Anycast Configuration Use this method to retrieve generated anycast configuration for anycast-enabled on-prem host. Retrieved configuration includes both interface and routing configuration. See common config manager documentation for the description of the returned payload. "ophid" is the system-assigned unique character-string identifier of the host. "version" can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest" signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @param version @return OnPremAnycastManagerAPIGetOnpremConfig2Request */ GetOnpremConfig2(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfig2Request // GetOnpremConfig2Execute executes the request // @return ServiceConfig GetOnpremConfig2Execute(r OnPremAnycastManagerAPIGetOnpremConfig2Request) (*ServiceConfig, *http.Response, error) /* GetOnpremHost Retrieve On-Prem Host Use this method to retrieve the specified on-prem host from the anycast database. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetOnpremHostRequest */ GetOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIGetOnpremHostRequest // GetOnpremHostExecute executes the request // @return OnpremHostResponse GetOnpremHostExecute(r OnPremAnycastManagerAPIGetOnpremHostRequest) (*OnpremHostResponse, *http.Response, error) /* GetStatus Retrieve Configuration Status Use this method to retrieve configuration status for the specified host. The configuration status is retrieved from the anycast service database. "ophid" is the system-assigned unique character-string identifier of the host. "version" parameter can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest' signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @return OnPremAnycastManagerAPIGetStatusRequest */ GetStatus(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatusRequest // GetStatusExecute executes the request // @return ServiceStatusUpdateRequest GetStatusExecute(r OnPremAnycastManagerAPIGetStatusRequest) (*ServiceStatusUpdateRequest, *http.Response, error) /* GetStatus2 Retrieve Configuration Status Use this method to retrieve configuration status for the specified host. The configuration status is retrieved from the anycast service database. "ophid" is the system-assigned unique character-string identifier of the host. "version" parameter can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest' signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @return OnPremAnycastManagerAPIGetStatus2Request */ GetStatus2(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatus2Request // GetStatus2Execute executes the request // @return ServiceStatusUpdateRequest GetStatus2Execute(r OnPremAnycastManagerAPIGetStatus2Request) (*ServiceStatusUpdateRequest, *http.Response, error) /* ListAnycastConfigsWithRuntimeStatus Read list of Anycast Configurations Without any filtering, use this method to retrieve all named anycast configurations for the account of authorization. Anycast configuration comprises common anycast configuration data that is defined in support of one service on a set of on-prem hosts. The anycast configurations resulting from this call will not include the list(s) of member hosts. Retrieving the list of member hosts requires the GET operation on single anycast configuration resource. If the account has no anycast configurations defined, the result of this call will be an empty list. @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest */ ListAnycastConfigsWithRuntimeStatus(ctx context.Context) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest // ListAnycastConfigsWithRuntimeStatusExecute executes the request // @return GetAnycastConfigListResponse ListAnycastConfigsWithRuntimeStatusExecute(r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) (*GetAnycastConfigListResponse, *http.Response, error) /* ReadAnycastConfigWithRuntimeStatus Read Anycast Configuration Use this method to retrieve the specified anycast configuration, together with the list of member hosts. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest */ ReadAnycastConfigWithRuntimeStatus(ctx context.Context, id int64) OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest // ReadAnycastConfigWithRuntimeStatusExecute executes the request // @return AnycastConfigResponse ReadAnycastConfigWithRuntimeStatusExecute(r OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) (*AnycastConfigResponse, *http.Response, error) /* UpdateAnycastConfig Create or Update Anycast Configuration Use this method to replace the addressed anycast configuration with configuration from the payload. If the addressed configuration does not exist, it will be created. Anycast configuration specified in the payload may contain the list of on-prem hosts that are supposed to be established as members of the specified configuration. If the anycast service has no information about one or more hosts from this list, such hosts will be created in the anycast service database. Note that the anycast service includes a background capability that verifies the validity of host data entered this way. This capability will delete any hosts created in this way that are determined to be invalid. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIUpdateAnycastConfigRequest */ UpdateAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateAnycastConfigRequest // UpdateAnycastConfigExecute executes the request // @return AnycastConfigResponse UpdateAnycastConfigExecute(r OnPremAnycastManagerAPIUpdateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error) /* UpdateOnpremHost Create or Update On-Prem Host Use this method to create or update the addressed host as per the specified payload. The payload is supposed to provide complete replacement for the host data. If the addressed host does not exist, it will be created. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500} @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Numeric host identifier @return OnPremAnycastManagerAPIUpdateOnpremHostRequest */ UpdateOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateOnpremHostRequest // UpdateOnpremHostExecute executes the request // @return OnpremHostResponse UpdateOnpremHostExecute(r OnPremAnycastManagerAPIUpdateOnpremHostRequest) (*OnpremHostResponse, *http.Response, error) }
type OnPremAnycastManagerAPICreateAnycastConfigRequest ¶
type OnPremAnycastManagerAPICreateAnycastConfigRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPICreateAnycastConfigRequest) Execute ¶
func (r OnPremAnycastManagerAPICreateAnycastConfigRequest) Execute() (*AnycastConfigResponse, *http.Response, error)
type OnPremAnycastManagerAPICreateAnycastVersionRequest ¶
type OnPremAnycastManagerAPICreateAnycastVersionRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
type OnPremAnycastManagerAPIDeleteAnycastConfigRequest ¶
type OnPremAnycastManagerAPIDeleteAnycastConfigRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
type OnPremAnycastManagerAPIDeleteAnycastVersionRequest ¶
type OnPremAnycastManagerAPIDeleteAnycastVersionRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
type OnPremAnycastManagerAPIDeleteOnpremHostRequest ¶
type OnPremAnycastManagerAPIDeleteOnpremHostRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
type OnPremAnycastManagerAPIGetAnycastConfigListRequest ¶
type OnPremAnycastManagerAPIGetAnycastConfigListRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) AccountId ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) AccountId(accountId int64) OnPremAnycastManagerAPIGetAnycastConfigListRequest
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Execute() (*GetAnycastConfigListResponse, *http.Response, error)
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) IsConfigured ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) IsConfigured(isConfigured bool) OnPremAnycastManagerAPIGetAnycastConfigListRequest
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Service ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Service(service string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Tfilter ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) Tfilter(tfilter string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) TorderBy ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigListRequest) TorderBy(torderBy string) OnPremAnycastManagerAPIGetAnycastConfigListRequest
type OnPremAnycastManagerAPIGetAnycastConfigRequest ¶
type OnPremAnycastManagerAPIGetAnycastConfigRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetAnycastConfigRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetAnycastConfigRequest) Execute() (*AnycastConfigResponse, *http.Response, error)
type OnPremAnycastManagerAPIGetAnycastVersionRequest ¶
type OnPremAnycastManagerAPIGetAnycastVersionRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetAnycastVersionRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetAnycastVersionRequest) Execute() (*AnycastVersion, *http.Response, error)
type OnPremAnycastManagerAPIGetOnpremConfig2Request ¶
type OnPremAnycastManagerAPIGetOnpremConfig2Request struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetOnpremConfig2Request) AppName ¶
func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) AppName(appName string) OnPremAnycastManagerAPIGetOnpremConfig2Request
func (OnPremAnycastManagerAPIGetOnpremConfig2Request) AppVersion ¶
func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) AppVersion(appVersion string) OnPremAnycastManagerAPIGetOnpremConfig2Request
func (OnPremAnycastManagerAPIGetOnpremConfig2Request) Execute ¶
func (r OnPremAnycastManagerAPIGetOnpremConfig2Request) Execute() (*ServiceConfig, *http.Response, error)
type OnPremAnycastManagerAPIGetOnpremConfigRequest ¶
type OnPremAnycastManagerAPIGetOnpremConfigRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetOnpremConfigRequest) AppName ¶
func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) AppName(appName string) OnPremAnycastManagerAPIGetOnpremConfigRequest
func (OnPremAnycastManagerAPIGetOnpremConfigRequest) AppVersion ¶
func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) AppVersion(appVersion string) OnPremAnycastManagerAPIGetOnpremConfigRequest
func (OnPremAnycastManagerAPIGetOnpremConfigRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetOnpremConfigRequest) Execute() (*ServiceConfig, *http.Response, error)
type OnPremAnycastManagerAPIGetOnpremHostRequest ¶
type OnPremAnycastManagerAPIGetOnpremHostRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetOnpremHostRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetOnpremHostRequest) Execute() (*OnpremHostResponse, *http.Response, error)
type OnPremAnycastManagerAPIGetStatus2Request ¶
type OnPremAnycastManagerAPIGetStatus2Request struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetStatus2Request) Execute ¶
func (r OnPremAnycastManagerAPIGetStatus2Request) Execute() (*ServiceStatusUpdateRequest, *http.Response, error)
type OnPremAnycastManagerAPIGetStatusRequest ¶
type OnPremAnycastManagerAPIGetStatusRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIGetStatusRequest) Execute ¶
func (r OnPremAnycastManagerAPIGetStatusRequest) Execute() (*ServiceStatusUpdateRequest, *http.Response, error)
type OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest ¶
type OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Execute ¶
func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Execute() (*GetAnycastConfigListResponse, *http.Response, error)
func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) IsConfigured ¶
func (r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) IsConfigured(isConfigured bool) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
type OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest ¶
type OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) Execute ¶
func (r OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) Execute() (*AnycastConfigResponse, *http.Response, error)
type OnPremAnycastManagerAPIService ¶
OnPremAnycastManagerAPIService OnPremAnycastManagerAPI service
func (*OnPremAnycastManagerAPIService) CreateAnycastConfig ¶
func (a *OnPremAnycastManagerAPIService) CreateAnycastConfig(ctx context.Context) OnPremAnycastManagerAPICreateAnycastConfigRequest
CreateAnycastConfig Create Anycast Configuration
Use this method to create anycast configuration, as per the specified payload. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPICreateAnycastConfigRequest
func (*OnPremAnycastManagerAPIService) CreateAnycastConfigExecute ¶
func (a *OnPremAnycastManagerAPIService) CreateAnycastConfigExecute(r OnPremAnycastManagerAPICreateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
Execute executes the request
@return AnycastConfigResponse
func (*OnPremAnycastManagerAPIService) CreateAnycastVersion ¶
func (a *OnPremAnycastManagerAPIService) CreateAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPICreateAnycastVersionRequest
CreateAnycastVersion Create Anycast Version
Use this method to create anycast 2.0 version for the account ID @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPICreateAnycastVersionRequest
func (*OnPremAnycastManagerAPIService) CreateAnycastVersionExecute ¶
func (a *OnPremAnycastManagerAPIService) CreateAnycastVersionExecute(r OnPremAnycastManagerAPICreateAnycastVersionRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*OnPremAnycastManagerAPIService) DeleteAnycastConfig ¶
func (a *OnPremAnycastManagerAPIService) DeleteAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastConfigRequest
DeleteAnycastConfig Delete Anycast Configuration
Use this method to delete the addressed anycast configuration. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteAnycastConfigRequest
func (*OnPremAnycastManagerAPIService) DeleteAnycastConfigExecute ¶
func (a *OnPremAnycastManagerAPIService) DeleteAnycastConfigExecute(r OnPremAnycastManagerAPIDeleteAnycastConfigRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*OnPremAnycastManagerAPIService) DeleteAnycastVersion ¶
func (a *OnPremAnycastManagerAPIService) DeleteAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteAnycastVersionRequest
DeleteAnycastVersion Delete anycast version
Use this method to delete anycast 2.0 version associated with the given account id @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteAnycastVersionRequest
func (*OnPremAnycastManagerAPIService) DeleteAnycastVersionExecute ¶
func (a *OnPremAnycastManagerAPIService) DeleteAnycastVersionExecute(r OnPremAnycastManagerAPIDeleteAnycastVersionRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*OnPremAnycastManagerAPIService) DeleteOnpremHost ¶
func (a *OnPremAnycastManagerAPIService) DeleteOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIDeleteOnpremHostRequest
DeleteOnpremHost Delete On-Prem Host
Use this method to delete the addressed on-prem host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIDeleteOnpremHostRequest
func (*OnPremAnycastManagerAPIService) DeleteOnpremHostExecute ¶
func (a *OnPremAnycastManagerAPIService) DeleteOnpremHostExecute(r OnPremAnycastManagerAPIDeleteOnpremHostRequest) (map[string]interface{}, *http.Response, error)
Execute executes the request
@return map[string]interface{}
func (*OnPremAnycastManagerAPIService) GetAnycastConfig ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastConfigRequest
GetAnycastConfig Retrieve Anycast Configuration
Use this method to retrieve the specified anycast configuration, together with the list of member hosts. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetAnycastConfigRequest
func (*OnPremAnycastManagerAPIService) GetAnycastConfigExecute ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastConfigExecute(r OnPremAnycastManagerAPIGetAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
Execute executes the request
@return AnycastConfigResponse
func (*OnPremAnycastManagerAPIService) GetAnycastConfigList ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastConfigList(ctx context.Context) OnPremAnycastManagerAPIGetAnycastConfigListRequest
GetAnycastConfigList Retrieve Multiple Anycast Configurations
Without any filtering, use this method to retrieve all named anycast configurations for the account of authorization. Anycast configuration comprises common anycast configuration data that is defined in support of one service on a set of on-prem hosts. The anycast configurations resulting from this call will not include the list(s) of member hosts. Retrieving the list of member hosts requires the GET operation on single anycast configuration resource. If the account has no anycast configurations defined, the result of this call will be an empty list. @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPIGetAnycastConfigListRequest
func (*OnPremAnycastManagerAPIService) GetAnycastConfigListExecute ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastConfigListExecute(r OnPremAnycastManagerAPIGetAnycastConfigListRequest) (*GetAnycastConfigListResponse, *http.Response, error)
Execute executes the request
@return GetAnycastConfigListResponse
func (*OnPremAnycastManagerAPIService) GetAnycastVersion ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastVersion(ctx context.Context, id int64) OnPremAnycastManagerAPIGetAnycastVersionRequest
GetAnycastVersion Retrieve Anycast Version
Use this method to retrieve the anycast version for the given account id @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetAnycastVersionRequest
func (*OnPremAnycastManagerAPIService) GetAnycastVersionExecute ¶
func (a *OnPremAnycastManagerAPIService) GetAnycastVersionExecute(r OnPremAnycastManagerAPIGetAnycastVersionRequest) (*AnycastVersion, *http.Response, error)
Execute executes the request
@return AnycastVersion
func (*OnPremAnycastManagerAPIService) GetOnpremConfig ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremConfig(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfigRequest
GetOnpremConfig Retrieve Generated, Per-Host Anycast Configuration
Use this method to retrieve generated anycast configuration for anycast-enabled on-prem host. Retrieved configuration includes both interface and routing configuration. See common config manager documentation for the description of the returned payload. "ophid" is the system-assigned unique character-string identifier of the host. "version" can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest" signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @param version @return OnPremAnycastManagerAPIGetOnpremConfigRequest
func (*OnPremAnycastManagerAPIService) GetOnpremConfig2 ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremConfig2(ctx context.Context, ophid string, version string) OnPremAnycastManagerAPIGetOnpremConfig2Request
GetOnpremConfig2 Retrieve Generated, Per-Host Anycast Configuration
Use this method to retrieve generated anycast configuration for anycast-enabled on-prem host. Retrieved configuration includes both interface and routing configuration. See common config manager documentation for the description of the returned payload. "ophid" is the system-assigned unique character-string identifier of the host. "version" can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest" signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @param version @return OnPremAnycastManagerAPIGetOnpremConfig2Request
func (*OnPremAnycastManagerAPIService) GetOnpremConfig2Execute ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremConfig2Execute(r OnPremAnycastManagerAPIGetOnpremConfig2Request) (*ServiceConfig, *http.Response, error)
Execute executes the request
@return ServiceConfig
func (*OnPremAnycastManagerAPIService) GetOnpremConfigExecute ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremConfigExecute(r OnPremAnycastManagerAPIGetOnpremConfigRequest) (*ServiceConfig, *http.Response, error)
Execute executes the request
@return ServiceConfig
func (*OnPremAnycastManagerAPIService) GetOnpremHost ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIGetOnpremHostRequest
GetOnpremHost Retrieve On-Prem Host
Use this method to retrieve the specified on-prem host from the anycast database. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIGetOnpremHostRequest
func (*OnPremAnycastManagerAPIService) GetOnpremHostExecute ¶
func (a *OnPremAnycastManagerAPIService) GetOnpremHostExecute(r OnPremAnycastManagerAPIGetOnpremHostRequest) (*OnpremHostResponse, *http.Response, error)
Execute executes the request
@return OnpremHostResponse
func (*OnPremAnycastManagerAPIService) GetStatus ¶
func (a *OnPremAnycastManagerAPIService) GetStatus(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatusRequest
GetStatus Retrieve Configuration Status
Use this method to retrieve configuration status for the specified host. The configuration status is retrieved from the anycast service database. "ophid" is the system-assigned unique character-string identifier of the host. "version" parameter can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest' signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @return OnPremAnycastManagerAPIGetStatusRequest
func (*OnPremAnycastManagerAPIService) GetStatus2 ¶
func (a *OnPremAnycastManagerAPIService) GetStatus2(ctx context.Context, ophid string) OnPremAnycastManagerAPIGetStatus2Request
GetStatus2 Retrieve Configuration Status
Use this method to retrieve configuration status for the specified host. The configuration status is retrieved from the anycast service database. "ophid" is the system-assigned unique character-string identifier of the host. "version" parameter can be either the timestamp of the configuration version that is sought after, or the word "latest". "latest' signifies the most recent generated configuration for this host. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param ophid @return OnPremAnycastManagerAPIGetStatus2Request
func (*OnPremAnycastManagerAPIService) GetStatus2Execute ¶
func (a *OnPremAnycastManagerAPIService) GetStatus2Execute(r OnPremAnycastManagerAPIGetStatus2Request) (*ServiceStatusUpdateRequest, *http.Response, error)
Execute executes the request
@return ServiceStatusUpdateRequest
func (*OnPremAnycastManagerAPIService) GetStatusExecute ¶
func (a *OnPremAnycastManagerAPIService) GetStatusExecute(r OnPremAnycastManagerAPIGetStatusRequest) (*ServiceStatusUpdateRequest, *http.Response, error)
Execute executes the request
@return ServiceStatusUpdateRequest
func (*OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatus ¶
func (a *OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatus(ctx context.Context) OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
ListAnycastConfigsWithRuntimeStatus Read list of Anycast Configurations
Without any filtering, use this method to retrieve all named anycast configurations for the account of authorization. Anycast configuration comprises common anycast configuration data that is defined in support of one service on a set of on-prem hosts. The anycast configurations resulting from this call will not include the list(s) of member hosts. Retrieving the list of member hosts requires the GET operation on single anycast configuration resource. If the account has no anycast configurations defined, the result of this call will be an empty list. @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest
func (*OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatusExecute ¶
func (a *OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatusExecute(r OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) (*GetAnycastConfigListResponse, *http.Response, error)
Execute executes the request
@return GetAnycastConfigListResponse
func (*OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatus ¶
func (a *OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatus(ctx context.Context, id int64) OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest
ReadAnycastConfigWithRuntimeStatus Read Anycast Configuration
Use this method to retrieve the specified anycast configuration, together with the list of member hosts. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.404._error {"code": "NOT_FOUND", "message": "", "status": 404} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest
func (*OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatusExecute ¶
func (a *OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatusExecute(r OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) (*AnycastConfigResponse, *http.Response, error)
Execute executes the request
@return AnycastConfigResponse
func (*OnPremAnycastManagerAPIService) UpdateAnycastConfig ¶
func (a *OnPremAnycastManagerAPIService) UpdateAnycastConfig(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateAnycastConfigRequest
UpdateAnycastConfig Create or Update Anycast Configuration
Use this method to replace the addressed anycast configuration with configuration from the payload. If the addressed configuration does not exist, it will be created. Anycast configuration specified in the payload may contain the list of on-prem hosts that are supposed to be established as members of the specified configuration. If the anycast service has no information about one or more hosts from this list, such hosts will be created in the anycast service database. Note that the anycast service includes a background capability that verifies the validity of host data entered this way. This capability will delete any hosts created in this way that are determined to be invalid. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return OnPremAnycastManagerAPIUpdateAnycastConfigRequest
func (*OnPremAnycastManagerAPIService) UpdateAnycastConfigExecute ¶
func (a *OnPremAnycastManagerAPIService) UpdateAnycastConfigExecute(r OnPremAnycastManagerAPIUpdateAnycastConfigRequest) (*AnycastConfigResponse, *http.Response, error)
Execute executes the request
@return AnycastConfigResponse
func (*OnPremAnycastManagerAPIService) UpdateOnpremHost ¶
func (a *OnPremAnycastManagerAPIService) UpdateOnpremHost(ctx context.Context, id int64) OnPremAnycastManagerAPIUpdateOnpremHostRequest
UpdateOnpremHost Create or Update On-Prem Host
Use this method to create or update the addressed host as per the specified payload. The payload is supposed to provide complete replacement for the host data. If the addressed host does not exist, it will be created. @responses.400._error {"code": "INVALID_ARGUMENT", "message": "", "status": 400} @responses.500._error {"code": "INTERNAL", "message": "Internal Server Error", "status": 500}
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Numeric host identifier @return OnPremAnycastManagerAPIUpdateOnpremHostRequest
func (*OnPremAnycastManagerAPIService) UpdateOnpremHostExecute ¶
func (a *OnPremAnycastManagerAPIService) UpdateOnpremHostExecute(r OnPremAnycastManagerAPIUpdateOnpremHostRequest) (*OnpremHostResponse, *http.Response, error)
Execute executes the request
@return OnpremHostResponse
type OnPremAnycastManagerAPIUpdateAnycastConfigRequest ¶
type OnPremAnycastManagerAPIUpdateAnycastConfigRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIUpdateAnycastConfigRequest) Execute ¶
func (r OnPremAnycastManagerAPIUpdateAnycastConfigRequest) Execute() (*AnycastConfigResponse, *http.Response, error)
type OnPremAnycastManagerAPIUpdateOnpremHostRequest ¶
type OnPremAnycastManagerAPIUpdateOnpremHostRequest struct { ApiService OnPremAnycastManagerAPI // contains filtered or unexported fields }
func (OnPremAnycastManagerAPIUpdateOnpremHostRequest) Execute ¶
func (r OnPremAnycastManagerAPIUpdateOnpremHostRequest) Execute() (*OnpremHostResponse, *http.Response, error)
type OnpremHost ¶
type OnpremHost struct { AnycastConfigRefs []AnycastConfigRef `json:"anycast_config_refs,omitempty"` ConfigBgp *BgpConfig `json:"config_bgp,omitempty"` ConfigOspf *OspfConfig `json:"config_ospf,omitempty"` ConfigOspfv3 *Ospfv3Config `json:"config_ospfv3,omitempty"` CreatedAt *time.Time `json:"created_at,omitempty"` Id *int64 `json:"id,omitempty"` // IPv4 address of the on-prem host IpAddress *string `json:"ip_address,omitempty"` // IPv6 address of the on-prem host Ipv6Address *string `json:"ipv6_address,omitempty"` Name *string `json:"name,omitempty"` UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} }
OnpremHost struct for OnpremHost
func NewOnpremHost ¶
func NewOnpremHost() *OnpremHost
NewOnpremHost instantiates a new OnpremHost 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 NewOnpremHostWithDefaults ¶
func NewOnpremHostWithDefaults() *OnpremHost
NewOnpremHostWithDefaults instantiates a new OnpremHost 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 (*OnpremHost) GetAnycastConfigRefs ¶
func (o *OnpremHost) GetAnycastConfigRefs() []AnycastConfigRef
GetAnycastConfigRefs returns the AnycastConfigRefs field value if set, zero value otherwise.
func (*OnpremHost) GetAnycastConfigRefsOk ¶
func (o *OnpremHost) GetAnycastConfigRefsOk() ([]AnycastConfigRef, bool)
GetAnycastConfigRefsOk returns a tuple with the AnycastConfigRefs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetConfigBgp ¶
func (o *OnpremHost) GetConfigBgp() BgpConfig
GetConfigBgp returns the ConfigBgp field value if set, zero value otherwise.
func (*OnpremHost) GetConfigBgpOk ¶
func (o *OnpremHost) GetConfigBgpOk() (*BgpConfig, bool)
GetConfigBgpOk returns a tuple with the ConfigBgp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetConfigOspf ¶
func (o *OnpremHost) GetConfigOspf() OspfConfig
GetConfigOspf returns the ConfigOspf field value if set, zero value otherwise.
func (*OnpremHost) GetConfigOspfOk ¶
func (o *OnpremHost) GetConfigOspfOk() (*OspfConfig, bool)
GetConfigOspfOk returns a tuple with the ConfigOspf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetConfigOspfv3 ¶
func (o *OnpremHost) GetConfigOspfv3() Ospfv3Config
GetConfigOspfv3 returns the ConfigOspfv3 field value if set, zero value otherwise.
func (*OnpremHost) GetConfigOspfv3Ok ¶
func (o *OnpremHost) GetConfigOspfv3Ok() (*Ospfv3Config, bool)
GetConfigOspfv3Ok returns a tuple with the ConfigOspfv3 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetCreatedAt ¶
func (o *OnpremHost) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*OnpremHost) GetCreatedAtOk ¶
func (o *OnpremHost) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetId ¶
func (o *OnpremHost) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*OnpremHost) GetIdOk ¶
func (o *OnpremHost) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetIpAddress ¶
func (o *OnpremHost) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*OnpremHost) GetIpAddressOk ¶
func (o *OnpremHost) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetIpv6Address ¶
func (o *OnpremHost) GetIpv6Address() string
GetIpv6Address returns the Ipv6Address field value if set, zero value otherwise.
func (*OnpremHost) GetIpv6AddressOk ¶
func (o *OnpremHost) GetIpv6AddressOk() (*string, bool)
GetIpv6AddressOk returns a tuple with the Ipv6Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetName ¶
func (o *OnpremHost) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OnpremHost) GetNameOk ¶
func (o *OnpremHost) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) GetUpdatedAt ¶
func (o *OnpremHost) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*OnpremHost) GetUpdatedAtOk ¶
func (o *OnpremHost) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHost) HasAnycastConfigRefs ¶
func (o *OnpremHost) HasAnycastConfigRefs() bool
HasAnycastConfigRefs returns a boolean if a field has been set.
func (*OnpremHost) HasConfigBgp ¶
func (o *OnpremHost) HasConfigBgp() bool
HasConfigBgp returns a boolean if a field has been set.
func (*OnpremHost) HasConfigOspf ¶
func (o *OnpremHost) HasConfigOspf() bool
HasConfigOspf returns a boolean if a field has been set.
func (*OnpremHost) HasConfigOspfv3 ¶
func (o *OnpremHost) HasConfigOspfv3() bool
HasConfigOspfv3 returns a boolean if a field has been set.
func (*OnpremHost) HasCreatedAt ¶
func (o *OnpremHost) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*OnpremHost) HasId ¶
func (o *OnpremHost) HasId() bool
HasId returns a boolean if a field has been set.
func (*OnpremHost) HasIpAddress ¶
func (o *OnpremHost) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*OnpremHost) HasIpv6Address ¶
func (o *OnpremHost) HasIpv6Address() bool
HasIpv6Address returns a boolean if a field has been set.
func (*OnpremHost) HasName ¶
func (o *OnpremHost) HasName() bool
HasName returns a boolean if a field has been set.
func (*OnpremHost) HasUpdatedAt ¶
func (o *OnpremHost) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (OnpremHost) MarshalJSON ¶
func (o OnpremHost) MarshalJSON() ([]byte, error)
func (*OnpremHost) SetAnycastConfigRefs ¶
func (o *OnpremHost) SetAnycastConfigRefs(v []AnycastConfigRef)
SetAnycastConfigRefs gets a reference to the given []AnycastConfigRef and assigns it to the AnycastConfigRefs field.
func (*OnpremHost) SetConfigBgp ¶
func (o *OnpremHost) SetConfigBgp(v BgpConfig)
SetConfigBgp gets a reference to the given BgpConfig and assigns it to the ConfigBgp field.
func (*OnpremHost) SetConfigOspf ¶
func (o *OnpremHost) SetConfigOspf(v OspfConfig)
SetConfigOspf gets a reference to the given OspfConfig and assigns it to the ConfigOspf field.
func (*OnpremHost) SetConfigOspfv3 ¶
func (o *OnpremHost) SetConfigOspfv3(v Ospfv3Config)
SetConfigOspfv3 gets a reference to the given Ospfv3Config and assigns it to the ConfigOspfv3 field.
func (*OnpremHost) SetCreatedAt ¶
func (o *OnpremHost) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*OnpremHost) SetId ¶
func (o *OnpremHost) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*OnpremHost) SetIpAddress ¶
func (o *OnpremHost) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*OnpremHost) SetIpv6Address ¶
func (o *OnpremHost) SetIpv6Address(v string)
SetIpv6Address gets a reference to the given string and assigns it to the Ipv6Address field.
func (*OnpremHost) SetName ¶
func (o *OnpremHost) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OnpremHost) SetUpdatedAt ¶
func (o *OnpremHost) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (OnpremHost) ToMap ¶
func (o OnpremHost) ToMap() (map[string]interface{}, error)
func (*OnpremHost) UnmarshalJSON ¶
func (o *OnpremHost) UnmarshalJSON(data []byte) (err error)
type OnpremHostRef ¶
type OnpremHostRef struct { Id *int64 `json:"id,omitempty"` // IPv4 address of the host in string format IpAddress *string `json:"ip_address,omitempty"` // IPv6 address of the host in string format Ipv6Address *string `json:"ipv6_address,omitempty"` Name *string `json:"name,omitempty"` // Unique 32-character string identifier assigned to the host Ophid *string `json:"ophid,omitempty"` RuntimeStatus *string `json:"runtime_status,omitempty"` AdditionalProperties map[string]interface{} }
OnpremHostRef Struct on-prem host reference.
func NewOnpremHostRef ¶
func NewOnpremHostRef() *OnpremHostRef
NewOnpremHostRef instantiates a new OnpremHostRef 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 NewOnpremHostRefWithDefaults ¶
func NewOnpremHostRefWithDefaults() *OnpremHostRef
NewOnpremHostRefWithDefaults instantiates a new OnpremHostRef 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 (*OnpremHostRef) GetId ¶
func (o *OnpremHostRef) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*OnpremHostRef) GetIdOk ¶
func (o *OnpremHostRef) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) GetIpAddress ¶
func (o *OnpremHostRef) GetIpAddress() string
GetIpAddress returns the IpAddress field value if set, zero value otherwise.
func (*OnpremHostRef) GetIpAddressOk ¶
func (o *OnpremHostRef) GetIpAddressOk() (*string, bool)
GetIpAddressOk returns a tuple with the IpAddress field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) GetIpv6Address ¶
func (o *OnpremHostRef) GetIpv6Address() string
GetIpv6Address returns the Ipv6Address field value if set, zero value otherwise.
func (*OnpremHostRef) GetIpv6AddressOk ¶
func (o *OnpremHostRef) GetIpv6AddressOk() (*string, bool)
GetIpv6AddressOk returns a tuple with the Ipv6Address field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) GetName ¶
func (o *OnpremHostRef) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*OnpremHostRef) GetNameOk ¶
func (o *OnpremHostRef) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) GetOphid ¶
func (o *OnpremHostRef) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*OnpremHostRef) GetOphidOk ¶
func (o *OnpremHostRef) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) GetRuntimeStatus ¶
func (o *OnpremHostRef) GetRuntimeStatus() string
GetRuntimeStatus returns the RuntimeStatus field value if set, zero value otherwise.
func (*OnpremHostRef) GetRuntimeStatusOk ¶
func (o *OnpremHostRef) GetRuntimeStatusOk() (*string, bool)
GetRuntimeStatusOk returns a tuple with the RuntimeStatus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostRef) HasId ¶
func (o *OnpremHostRef) HasId() bool
HasId returns a boolean if a field has been set.
func (*OnpremHostRef) HasIpAddress ¶
func (o *OnpremHostRef) HasIpAddress() bool
HasIpAddress returns a boolean if a field has been set.
func (*OnpremHostRef) HasIpv6Address ¶
func (o *OnpremHostRef) HasIpv6Address() bool
HasIpv6Address returns a boolean if a field has been set.
func (*OnpremHostRef) HasName ¶
func (o *OnpremHostRef) HasName() bool
HasName returns a boolean if a field has been set.
func (*OnpremHostRef) HasOphid ¶
func (o *OnpremHostRef) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (*OnpremHostRef) HasRuntimeStatus ¶
func (o *OnpremHostRef) HasRuntimeStatus() bool
HasRuntimeStatus returns a boolean if a field has been set.
func (OnpremHostRef) MarshalJSON ¶
func (o OnpremHostRef) MarshalJSON() ([]byte, error)
func (*OnpremHostRef) SetId ¶
func (o *OnpremHostRef) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*OnpremHostRef) SetIpAddress ¶
func (o *OnpremHostRef) SetIpAddress(v string)
SetIpAddress gets a reference to the given string and assigns it to the IpAddress field.
func (*OnpremHostRef) SetIpv6Address ¶
func (o *OnpremHostRef) SetIpv6Address(v string)
SetIpv6Address gets a reference to the given string and assigns it to the Ipv6Address field.
func (*OnpremHostRef) SetName ¶
func (o *OnpremHostRef) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*OnpremHostRef) SetOphid ¶
func (o *OnpremHostRef) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*OnpremHostRef) SetRuntimeStatus ¶
func (o *OnpremHostRef) SetRuntimeStatus(v string)
SetRuntimeStatus gets a reference to the given string and assigns it to the RuntimeStatus field.
func (OnpremHostRef) ToMap ¶
func (o OnpremHostRef) ToMap() (map[string]interface{}, error)
func (*OnpremHostRef) UnmarshalJSON ¶
func (o *OnpremHostRef) UnmarshalJSON(data []byte) (err error)
type OnpremHostResponse ¶
type OnpremHostResponse struct { Results *OnpremHost `json:"results,omitempty"` AdditionalProperties map[string]interface{} }
OnpremHostResponse struct for OnpremHostResponse
func NewOnpremHostResponse ¶
func NewOnpremHostResponse() *OnpremHostResponse
NewOnpremHostResponse instantiates a new OnpremHostResponse 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 NewOnpremHostResponseWithDefaults ¶
func NewOnpremHostResponseWithDefaults() *OnpremHostResponse
NewOnpremHostResponseWithDefaults instantiates a new OnpremHostResponse 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 (*OnpremHostResponse) GetResults ¶
func (o *OnpremHostResponse) GetResults() OnpremHost
GetResults returns the Results field value if set, zero value otherwise.
func (*OnpremHostResponse) GetResultsOk ¶
func (o *OnpremHostResponse) GetResultsOk() (*OnpremHost, bool)
GetResultsOk returns a tuple with the Results field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OnpremHostResponse) HasResults ¶
func (o *OnpremHostResponse) HasResults() bool
HasResults returns a boolean if a field has been set.
func (OnpremHostResponse) MarshalJSON ¶
func (o OnpremHostResponse) MarshalJSON() ([]byte, error)
func (*OnpremHostResponse) SetResults ¶
func (o *OnpremHostResponse) SetResults(v OnpremHost)
SetResults gets a reference to the given OnpremHost and assigns it to the Results field.
func (OnpremHostResponse) ToMap ¶
func (o OnpremHostResponse) ToMap() (map[string]interface{}, error)
func (*OnpremHostResponse) UnmarshalJSON ¶
func (o *OnpremHostResponse) UnmarshalJSON(data []byte) (err error)
type OspfConfig ¶
type OspfConfig struct { // OSPF area identifier; usually in the format of an IPv4 address (although not an address itself) Area *string `json:"area,omitempty"` AreaType *string `json:"area_type,omitempty"` AuthenticationKey *string `json:"authentication_key,omitempty"` AuthenticationKeyId *int64 `json:"authentication_key_id,omitempty"` AuthenticationType *string `json:"authentication_type,omitempty"` Cost *int64 `json:"cost,omitempty"` DeadInterval *int64 `json:"dead_interval,omitempty"` HelloInterval *int64 `json:"hello_interval,omitempty"` // Name of the interface that is configured with external IP address of the host Interface *string `json:"interface,omitempty"` // Any predefined OSPF configuration, with embedded new lines; the preamble will be prepended to the generated BGP configuration. Preamble *string `json:"preamble,omitempty"` RetransmitInterval *int64 `json:"retransmit_interval,omitempty"` TransmitDelay *int64 `json:"transmit_delay,omitempty"` AdditionalProperties map[string]interface{} }
OspfConfig struct for OspfConfig
func NewOspfConfig ¶
func NewOspfConfig() *OspfConfig
NewOspfConfig instantiates a new OspfConfig 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 NewOspfConfigWithDefaults ¶
func NewOspfConfigWithDefaults() *OspfConfig
NewOspfConfigWithDefaults instantiates a new OspfConfig 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 (*OspfConfig) GetArea ¶
func (o *OspfConfig) GetArea() string
GetArea returns the Area field value if set, zero value otherwise.
func (*OspfConfig) GetAreaOk ¶
func (o *OspfConfig) GetAreaOk() (*string, bool)
GetAreaOk returns a tuple with the Area field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetAreaType ¶
func (o *OspfConfig) GetAreaType() string
GetAreaType returns the AreaType field value if set, zero value otherwise.
func (*OspfConfig) GetAreaTypeOk ¶
func (o *OspfConfig) GetAreaTypeOk() (*string, bool)
GetAreaTypeOk returns a tuple with the AreaType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetAuthenticationKey ¶
func (o *OspfConfig) GetAuthenticationKey() string
GetAuthenticationKey returns the AuthenticationKey field value if set, zero value otherwise.
func (*OspfConfig) GetAuthenticationKeyId ¶
func (o *OspfConfig) GetAuthenticationKeyId() int64
GetAuthenticationKeyId returns the AuthenticationKeyId field value if set, zero value otherwise.
func (*OspfConfig) GetAuthenticationKeyIdOk ¶
func (o *OspfConfig) GetAuthenticationKeyIdOk() (*int64, bool)
GetAuthenticationKeyIdOk returns a tuple with the AuthenticationKeyId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetAuthenticationKeyOk ¶
func (o *OspfConfig) GetAuthenticationKeyOk() (*string, bool)
GetAuthenticationKeyOk returns a tuple with the AuthenticationKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetAuthenticationType ¶
func (o *OspfConfig) GetAuthenticationType() string
GetAuthenticationType returns the AuthenticationType field value if set, zero value otherwise.
func (*OspfConfig) GetAuthenticationTypeOk ¶
func (o *OspfConfig) GetAuthenticationTypeOk() (*string, bool)
GetAuthenticationTypeOk returns a tuple with the AuthenticationType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetCost ¶
func (o *OspfConfig) GetCost() int64
GetCost returns the Cost field value if set, zero value otherwise.
func (*OspfConfig) GetCostOk ¶
func (o *OspfConfig) GetCostOk() (*int64, bool)
GetCostOk returns a tuple with the Cost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetDeadInterval ¶
func (o *OspfConfig) GetDeadInterval() int64
GetDeadInterval returns the DeadInterval field value if set, zero value otherwise.
func (*OspfConfig) GetDeadIntervalOk ¶
func (o *OspfConfig) GetDeadIntervalOk() (*int64, bool)
GetDeadIntervalOk returns a tuple with the DeadInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetHelloInterval ¶
func (o *OspfConfig) GetHelloInterval() int64
GetHelloInterval returns the HelloInterval field value if set, zero value otherwise.
func (*OspfConfig) GetHelloIntervalOk ¶
func (o *OspfConfig) GetHelloIntervalOk() (*int64, bool)
GetHelloIntervalOk returns a tuple with the HelloInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetInterface ¶
func (o *OspfConfig) GetInterface() string
GetInterface returns the Interface field value if set, zero value otherwise.
func (*OspfConfig) GetInterfaceOk ¶
func (o *OspfConfig) GetInterfaceOk() (*string, bool)
GetInterfaceOk returns a tuple with the Interface field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetPreamble ¶
func (o *OspfConfig) GetPreamble() string
GetPreamble returns the Preamble field value if set, zero value otherwise.
func (*OspfConfig) GetPreambleOk ¶
func (o *OspfConfig) GetPreambleOk() (*string, bool)
GetPreambleOk returns a tuple with the Preamble field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetRetransmitInterval ¶
func (o *OspfConfig) GetRetransmitInterval() int64
GetRetransmitInterval returns the RetransmitInterval field value if set, zero value otherwise.
func (*OspfConfig) GetRetransmitIntervalOk ¶
func (o *OspfConfig) GetRetransmitIntervalOk() (*int64, bool)
GetRetransmitIntervalOk returns a tuple with the RetransmitInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) GetTransmitDelay ¶
func (o *OspfConfig) GetTransmitDelay() int64
GetTransmitDelay returns the TransmitDelay field value if set, zero value otherwise.
func (*OspfConfig) GetTransmitDelayOk ¶
func (o *OspfConfig) GetTransmitDelayOk() (*int64, bool)
GetTransmitDelayOk returns a tuple with the TransmitDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OspfConfig) HasArea ¶
func (o *OspfConfig) HasArea() bool
HasArea returns a boolean if a field has been set.
func (*OspfConfig) HasAreaType ¶
func (o *OspfConfig) HasAreaType() bool
HasAreaType returns a boolean if a field has been set.
func (*OspfConfig) HasAuthenticationKey ¶
func (o *OspfConfig) HasAuthenticationKey() bool
HasAuthenticationKey returns a boolean if a field has been set.
func (*OspfConfig) HasAuthenticationKeyId ¶
func (o *OspfConfig) HasAuthenticationKeyId() bool
HasAuthenticationKeyId returns a boolean if a field has been set.
func (*OspfConfig) HasAuthenticationType ¶
func (o *OspfConfig) HasAuthenticationType() bool
HasAuthenticationType returns a boolean if a field has been set.
func (*OspfConfig) HasCost ¶
func (o *OspfConfig) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*OspfConfig) HasDeadInterval ¶
func (o *OspfConfig) HasDeadInterval() bool
HasDeadInterval returns a boolean if a field has been set.
func (*OspfConfig) HasHelloInterval ¶
func (o *OspfConfig) HasHelloInterval() bool
HasHelloInterval returns a boolean if a field has been set.
func (*OspfConfig) HasInterface ¶
func (o *OspfConfig) HasInterface() bool
HasInterface returns a boolean if a field has been set.
func (*OspfConfig) HasPreamble ¶
func (o *OspfConfig) HasPreamble() bool
HasPreamble returns a boolean if a field has been set.
func (*OspfConfig) HasRetransmitInterval ¶
func (o *OspfConfig) HasRetransmitInterval() bool
HasRetransmitInterval returns a boolean if a field has been set.
func (*OspfConfig) HasTransmitDelay ¶
func (o *OspfConfig) HasTransmitDelay() bool
HasTransmitDelay returns a boolean if a field has been set.
func (OspfConfig) MarshalJSON ¶
func (o OspfConfig) MarshalJSON() ([]byte, error)
func (*OspfConfig) SetArea ¶
func (o *OspfConfig) SetArea(v string)
SetArea gets a reference to the given string and assigns it to the Area field.
func (*OspfConfig) SetAreaType ¶
func (o *OspfConfig) SetAreaType(v string)
SetAreaType gets a reference to the given string and assigns it to the AreaType field.
func (*OspfConfig) SetAuthenticationKey ¶
func (o *OspfConfig) SetAuthenticationKey(v string)
SetAuthenticationKey gets a reference to the given string and assigns it to the AuthenticationKey field.
func (*OspfConfig) SetAuthenticationKeyId ¶
func (o *OspfConfig) SetAuthenticationKeyId(v int64)
SetAuthenticationKeyId gets a reference to the given int64 and assigns it to the AuthenticationKeyId field.
func (*OspfConfig) SetAuthenticationType ¶
func (o *OspfConfig) SetAuthenticationType(v string)
SetAuthenticationType gets a reference to the given string and assigns it to the AuthenticationType field.
func (*OspfConfig) SetCost ¶
func (o *OspfConfig) SetCost(v int64)
SetCost gets a reference to the given int64 and assigns it to the Cost field.
func (*OspfConfig) SetDeadInterval ¶
func (o *OspfConfig) SetDeadInterval(v int64)
SetDeadInterval gets a reference to the given int64 and assigns it to the DeadInterval field.
func (*OspfConfig) SetHelloInterval ¶
func (o *OspfConfig) SetHelloInterval(v int64)
SetHelloInterval gets a reference to the given int64 and assigns it to the HelloInterval field.
func (*OspfConfig) SetInterface ¶
func (o *OspfConfig) SetInterface(v string)
SetInterface gets a reference to the given string and assigns it to the Interface field.
func (*OspfConfig) SetPreamble ¶
func (o *OspfConfig) SetPreamble(v string)
SetPreamble gets a reference to the given string and assigns it to the Preamble field.
func (*OspfConfig) SetRetransmitInterval ¶
func (o *OspfConfig) SetRetransmitInterval(v int64)
SetRetransmitInterval gets a reference to the given int64 and assigns it to the RetransmitInterval field.
func (*OspfConfig) SetTransmitDelay ¶
func (o *OspfConfig) SetTransmitDelay(v int64)
SetTransmitDelay gets a reference to the given int64 and assigns it to the TransmitDelay field.
func (OspfConfig) ToMap ¶
func (o OspfConfig) ToMap() (map[string]interface{}, error)
func (*OspfConfig) UnmarshalJSON ¶
func (o *OspfConfig) UnmarshalJSON(data []byte) (err error)
type Ospfv3Config ¶
type Ospfv3Config struct { // OSPF area identifier; usually in the format of an IPv4 address (although not an address itself) Area *string `json:"area,omitempty"` Cost *int64 `json:"cost,omitempty"` DeadInterval *int64 `json:"dead_interval,omitempty"` HelloInterval *int64 `json:"hello_interval,omitempty"` // Name of the interface that is configured with external IP address of the host Interface *string `json:"interface,omitempty"` RetransmitInterval *int64 `json:"retransmit_interval,omitempty"` TransmitDelay *int64 `json:"transmit_delay,omitempty"` AdditionalProperties map[string]interface{} }
Ospfv3Config struct for Ospfv3Config
func NewOspfv3Config ¶
func NewOspfv3Config() *Ospfv3Config
NewOspfv3Config instantiates a new Ospfv3Config 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 NewOspfv3ConfigWithDefaults ¶
func NewOspfv3ConfigWithDefaults() *Ospfv3Config
NewOspfv3ConfigWithDefaults instantiates a new Ospfv3Config 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 (*Ospfv3Config) GetArea ¶
func (o *Ospfv3Config) GetArea() string
GetArea returns the Area field value if set, zero value otherwise.
func (*Ospfv3Config) GetAreaOk ¶
func (o *Ospfv3Config) GetAreaOk() (*string, bool)
GetAreaOk returns a tuple with the Area field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetCost ¶
func (o *Ospfv3Config) GetCost() int64
GetCost returns the Cost field value if set, zero value otherwise.
func (*Ospfv3Config) GetCostOk ¶
func (o *Ospfv3Config) GetCostOk() (*int64, bool)
GetCostOk returns a tuple with the Cost field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetDeadInterval ¶
func (o *Ospfv3Config) GetDeadInterval() int64
GetDeadInterval returns the DeadInterval field value if set, zero value otherwise.
func (*Ospfv3Config) GetDeadIntervalOk ¶
func (o *Ospfv3Config) GetDeadIntervalOk() (*int64, bool)
GetDeadIntervalOk returns a tuple with the DeadInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetHelloInterval ¶
func (o *Ospfv3Config) GetHelloInterval() int64
GetHelloInterval returns the HelloInterval field value if set, zero value otherwise.
func (*Ospfv3Config) GetHelloIntervalOk ¶
func (o *Ospfv3Config) GetHelloIntervalOk() (*int64, bool)
GetHelloIntervalOk returns a tuple with the HelloInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetInterface ¶
func (o *Ospfv3Config) GetInterface() string
GetInterface returns the Interface field value if set, zero value otherwise.
func (*Ospfv3Config) GetInterfaceOk ¶
func (o *Ospfv3Config) GetInterfaceOk() (*string, bool)
GetInterfaceOk returns a tuple with the Interface field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetRetransmitInterval ¶
func (o *Ospfv3Config) GetRetransmitInterval() int64
GetRetransmitInterval returns the RetransmitInterval field value if set, zero value otherwise.
func (*Ospfv3Config) GetRetransmitIntervalOk ¶
func (o *Ospfv3Config) GetRetransmitIntervalOk() (*int64, bool)
GetRetransmitIntervalOk returns a tuple with the RetransmitInterval field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) GetTransmitDelay ¶
func (o *Ospfv3Config) GetTransmitDelay() int64
GetTransmitDelay returns the TransmitDelay field value if set, zero value otherwise.
func (*Ospfv3Config) GetTransmitDelayOk ¶
func (o *Ospfv3Config) GetTransmitDelayOk() (*int64, bool)
GetTransmitDelayOk returns a tuple with the TransmitDelay field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Ospfv3Config) HasArea ¶
func (o *Ospfv3Config) HasArea() bool
HasArea returns a boolean if a field has been set.
func (*Ospfv3Config) HasCost ¶
func (o *Ospfv3Config) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*Ospfv3Config) HasDeadInterval ¶
func (o *Ospfv3Config) HasDeadInterval() bool
HasDeadInterval returns a boolean if a field has been set.
func (*Ospfv3Config) HasHelloInterval ¶
func (o *Ospfv3Config) HasHelloInterval() bool
HasHelloInterval returns a boolean if a field has been set.
func (*Ospfv3Config) HasInterface ¶
func (o *Ospfv3Config) HasInterface() bool
HasInterface returns a boolean if a field has been set.
func (*Ospfv3Config) HasRetransmitInterval ¶
func (o *Ospfv3Config) HasRetransmitInterval() bool
HasRetransmitInterval returns a boolean if a field has been set.
func (*Ospfv3Config) HasTransmitDelay ¶
func (o *Ospfv3Config) HasTransmitDelay() bool
HasTransmitDelay returns a boolean if a field has been set.
func (Ospfv3Config) MarshalJSON ¶
func (o Ospfv3Config) MarshalJSON() ([]byte, error)
func (*Ospfv3Config) SetArea ¶
func (o *Ospfv3Config) SetArea(v string)
SetArea gets a reference to the given string and assigns it to the Area field.
func (*Ospfv3Config) SetCost ¶
func (o *Ospfv3Config) SetCost(v int64)
SetCost gets a reference to the given int64 and assigns it to the Cost field.
func (*Ospfv3Config) SetDeadInterval ¶
func (o *Ospfv3Config) SetDeadInterval(v int64)
SetDeadInterval gets a reference to the given int64 and assigns it to the DeadInterval field.
func (*Ospfv3Config) SetHelloInterval ¶
func (o *Ospfv3Config) SetHelloInterval(v int64)
SetHelloInterval gets a reference to the given int64 and assigns it to the HelloInterval field.
func (*Ospfv3Config) SetInterface ¶
func (o *Ospfv3Config) SetInterface(v string)
SetInterface gets a reference to the given string and assigns it to the Interface field.
func (*Ospfv3Config) SetRetransmitInterval ¶
func (o *Ospfv3Config) SetRetransmitInterval(v int64)
SetRetransmitInterval gets a reference to the given int64 and assigns it to the RetransmitInterval field.
func (*Ospfv3Config) SetTransmitDelay ¶
func (o *Ospfv3Config) SetTransmitDelay(v int64)
SetTransmitDelay gets a reference to the given int64 and assigns it to the TransmitDelay field.
func (Ospfv3Config) ToMap ¶
func (o Ospfv3Config) ToMap() (map[string]interface{}, error)
func (*Ospfv3Config) UnmarshalJSON ¶
func (o *Ospfv3Config) UnmarshalJSON(data []byte) (err error)
type ProtobufFieldMask ¶ added in v0.3.0
type ProtobufFieldMask struct { // The set of field mask paths. Paths []string `json:"paths,omitempty"` AdditionalProperties map[string]interface{} }
ProtobufFieldMask paths: \"f.a\" paths: \"f.b.d\" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to specify a subset of fields that should be returned by a get operation or modified by an update operation. Field masks also have a custom JSON encoding (see below). # Field Masks in Projections When used in the context of a projection, a response message or sub-message is filtered by the API to only contain those fields as specified in the mask. For example, if the mask in the previous example is applied to a response message as follows: f { a : 22 b { d : 1 x : 2 } y : 13 } z: 8 The result will not contain specific values for fields x,y and z (their value will be set to the default, and omitted in proto text output): f { a : 22 b { d : 1 } } A repeated field is not allowed except at the last position of a paths string. If a FieldMask object is not present in a get operation, the operation applies to all fields (as if a FieldMask of all fields had been specified). Note that a field mask does not necessarily apply to the top-level response message. In case of a REST get operation, the field mask applies directly to the response, but in case of a REST list operation, the mask instead applies to each individual message in the returned resource list. In case of a REST custom method, other definitions may be used. Where the mask applies will be clearly documented together with its declaration in the API. In any case, the effect on the returned resource/resources is required behavior for APIs. # Field Masks in Update Operations A field mask in update operations specifies which fields of the targeted resource are going to be updated. The API is required to only change the values of the fields as specified in the mask and leave the others untouched. If a resource is passed in to describe the updated values, the API ignores the values of all fields not covered by the mask. If a repeated field is specified for an update operation, the existing repeated values in the target resource will be overwritten by the new values. Note that a repeated field is only allowed in the last position of a `paths` string. If a sub-message is specified in the last position of the field mask for an update operation, then the existing sub-message in the target resource is overwritten. Given the target message: f { b { d : 1 x : 2 } c : 1 } And an update message: f { b { d : 10 } } then if the field mask is: paths: \"f.b\" then the result will be: f { b { d : 10 } c : 1 } However, if the update mask was: paths: \"f.b.d\" then the result would be: f { b { d : 10 x : 2 } c : 1 } In order to reset a field's value to the default, the field must be in the mask and set to the default value in the provided resource. Hence, in order to reset all fields of a resource, provide a default instance of the resource and set all fields in the mask, or do not provide a mask as described below. If a field mask is not present on update, the operation applies to all fields (as if a field mask of all fields has been specified). Note that in the presence of schema evolution, this may mean that fields the client does not know and has therefore not filled into the request will be reset to their default. If this is unwanted behavior, a specific service may require a client to always specify a field mask, producing an error if not. As with get operations, the location of the resource which describes the updated values in the request message depends on the operation kind. In any case, the effect of the field mask is required to be honored by the API. ## Considerations for HTTP REST The HTTP kind of an update operation which uses a field mask must be set to PATCH instead of PUT in order to satisfy HTTP semantics (PUT must only be used for full updates). # JSON Encoding of Field Masks In JSON, a field mask is encoded as a single string where paths are separated by a comma. Fields name in each path are converted to/from lower-camel naming conventions. As an example, consider the following message declarations: message Profile { User user = 1; Photo photo = 2; } message User { string display_name = 1; string address = 2; } In proto a field mask for `Profile` may look as such: mask { paths: \"user.display_name\" paths: \"photo\" } In JSON, the same mask is represented as below: { mask: \"user.displayName,photo\" } # Field Masks and Oneof Fields Field masks treat fields in oneofs just as regular fields. Consider the following message: message SampleMessage { oneof test_oneof { string name = 4; SubMessage sub_message = 9; } } The field mask can be: mask { paths: \"name\" } Or: mask { paths: \"sub_message\" } Note that oneof type names (\"test_oneof\" in this case) cannot be used in paths. ## Field Mask Verification The implementation of the all the API methods, which have any FieldMask type field in the request, should verify the included field paths, and return `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
func NewProtobufFieldMask ¶ added in v0.3.0
func NewProtobufFieldMask() *ProtobufFieldMask
NewProtobufFieldMask instantiates a new ProtobufFieldMask 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 NewProtobufFieldMaskWithDefaults ¶ added in v0.3.0
func NewProtobufFieldMaskWithDefaults() *ProtobufFieldMask
NewProtobufFieldMaskWithDefaults instantiates a new ProtobufFieldMask 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 (*ProtobufFieldMask) GetPaths ¶ added in v0.3.0
func (o *ProtobufFieldMask) GetPaths() []string
GetPaths returns the Paths field value if set, zero value otherwise.
func (*ProtobufFieldMask) GetPathsOk ¶ added in v0.3.0
func (o *ProtobufFieldMask) GetPathsOk() ([]string, bool)
GetPathsOk returns a tuple with the Paths field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ProtobufFieldMask) HasPaths ¶ added in v0.3.0
func (o *ProtobufFieldMask) HasPaths() bool
HasPaths returns a boolean if a field has been set.
func (ProtobufFieldMask) MarshalJSON ¶ added in v0.3.0
func (o ProtobufFieldMask) MarshalJSON() ([]byte, error)
func (*ProtobufFieldMask) SetPaths ¶ added in v0.3.0
func (o *ProtobufFieldMask) SetPaths(v []string)
SetPaths gets a reference to the given []string and assigns it to the Paths field.
func (ProtobufFieldMask) ToMap ¶ added in v0.3.0
func (o ProtobufFieldMask) ToMap() (map[string]interface{}, error)
func (*ProtobufFieldMask) UnmarshalJSON ¶ added in v0.3.0
func (o *ProtobufFieldMask) UnmarshalJSON(data []byte) (err error)
type ServiceConfig ¶
type ServiceConfig struct { Config *ServiceConfigObject `json:"config,omitempty"` AdditionalProperties map[string]interface{} }
ServiceConfig struct for ServiceConfig
func NewServiceConfig ¶
func NewServiceConfig() *ServiceConfig
NewServiceConfig instantiates a new ServiceConfig 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 NewServiceConfigWithDefaults ¶
func NewServiceConfigWithDefaults() *ServiceConfig
NewServiceConfigWithDefaults instantiates a new ServiceConfig 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 (*ServiceConfig) GetConfig ¶
func (o *ServiceConfig) GetConfig() ServiceConfigObject
GetConfig returns the Config field value if set, zero value otherwise.
func (*ServiceConfig) GetConfigOk ¶
func (o *ServiceConfig) GetConfigOk() (*ServiceConfigObject, bool)
GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceConfig) HasConfig ¶
func (o *ServiceConfig) HasConfig() bool
HasConfig returns a boolean if a field has been set.
func (ServiceConfig) MarshalJSON ¶
func (o ServiceConfig) MarshalJSON() ([]byte, error)
func (*ServiceConfig) SetConfig ¶
func (o *ServiceConfig) SetConfig(v ServiceConfigObject)
SetConfig gets a reference to the given ServiceConfigObject and assigns it to the Config field.
func (ServiceConfig) ToMap ¶
func (o ServiceConfig) ToMap() (map[string]interface{}, error)
func (*ServiceConfig) UnmarshalJSON ¶
func (o *ServiceConfig) UnmarshalJSON(data []byte) (err error)
type ServiceConfigObject ¶
type ServiceConfigObject struct { ConfigBody *string `json:"configBody,omitempty"` Ophid *string `json:"ophid,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} }
ServiceConfigObject struct for ServiceConfigObject
func NewServiceConfigObject ¶
func NewServiceConfigObject() *ServiceConfigObject
NewServiceConfigObject instantiates a new ServiceConfigObject 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 NewServiceConfigObjectWithDefaults ¶
func NewServiceConfigObjectWithDefaults() *ServiceConfigObject
NewServiceConfigObjectWithDefaults instantiates a new ServiceConfigObject 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 (*ServiceConfigObject) GetConfigBody ¶
func (o *ServiceConfigObject) GetConfigBody() string
GetConfigBody returns the ConfigBody field value if set, zero value otherwise.
func (*ServiceConfigObject) GetConfigBodyOk ¶
func (o *ServiceConfigObject) GetConfigBodyOk() (*string, bool)
GetConfigBodyOk returns a tuple with the ConfigBody field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceConfigObject) GetOphid ¶
func (o *ServiceConfigObject) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*ServiceConfigObject) GetOphidOk ¶
func (o *ServiceConfigObject) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceConfigObject) GetVersion ¶
func (o *ServiceConfigObject) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServiceConfigObject) GetVersionOk ¶
func (o *ServiceConfigObject) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceConfigObject) HasConfigBody ¶
func (o *ServiceConfigObject) HasConfigBody() bool
HasConfigBody returns a boolean if a field has been set.
func (*ServiceConfigObject) HasOphid ¶
func (o *ServiceConfigObject) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (*ServiceConfigObject) HasVersion ¶
func (o *ServiceConfigObject) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServiceConfigObject) MarshalJSON ¶
func (o ServiceConfigObject) MarshalJSON() ([]byte, error)
func (*ServiceConfigObject) SetConfigBody ¶
func (o *ServiceConfigObject) SetConfigBody(v string)
SetConfigBody gets a reference to the given string and assigns it to the ConfigBody field.
func (*ServiceConfigObject) SetOphid ¶
func (o *ServiceConfigObject) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*ServiceConfigObject) SetVersion ¶
func (o *ServiceConfigObject) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (ServiceConfigObject) ToMap ¶
func (o ServiceConfigObject) ToMap() (map[string]interface{}, error)
func (*ServiceConfigObject) UnmarshalJSON ¶
func (o *ServiceConfigObject) UnmarshalJSON(data []byte) (err error)
type ServiceStatusCode ¶
type ServiceStatusCode string
ServiceStatusCode the model 'ServiceStatusCode'
const ( SERVICESTATUSCODE_SUCCESS ServiceStatusCode = "SUCCESS" SERVICESTATUSCODE_GENERAL_FAILURE ServiceStatusCode = "GENERAL_FAILURE" SERVICESTATUSCODE_HASH_FAILURE ServiceStatusCode = "HASH_FAILURE" SERVICESTATUSCODE_VALIDATION_FAILURE ServiceStatusCode = "VALIDATION_FAILURE" SERVICESTATUSCODE_COPY_FAILURE ServiceStatusCode = "COPY_FAILURE" SERVICESTATUSCODE_RELOAD_FAILIURE ServiceStatusCode = "RELOAD_FAILIURE" )
List of serviceStatusCode
func NewServiceStatusCodeFromValue ¶
func NewServiceStatusCodeFromValue(v string) (*ServiceStatusCode, error)
NewServiceStatusCodeFromValue returns a pointer to a valid ServiceStatusCode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ServiceStatusCode) IsValid ¶
func (v ServiceStatusCode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ServiceStatusCode) Ptr ¶
func (v ServiceStatusCode) Ptr() *ServiceStatusCode
Ptr returns reference to serviceStatusCode value
func (*ServiceStatusCode) UnmarshalJSON ¶
func (v *ServiceStatusCode) UnmarshalJSON(src []byte) error
type ServiceStatusUpdateRequest ¶
type ServiceStatusUpdateRequest struct { AppName *string `json:"appName,omitempty"` Message *string `json:"message,omitempty"` Ophid *string `json:"ophid,omitempty"` StatusCode *ServiceStatusCode `json:"statusCode,omitempty"` Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} }
ServiceStatusUpdateRequest struct for ServiceStatusUpdateRequest
func NewServiceStatusUpdateRequest ¶
func NewServiceStatusUpdateRequest() *ServiceStatusUpdateRequest
NewServiceStatusUpdateRequest instantiates a new ServiceStatusUpdateRequest 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 NewServiceStatusUpdateRequestWithDefaults ¶
func NewServiceStatusUpdateRequestWithDefaults() *ServiceStatusUpdateRequest
NewServiceStatusUpdateRequestWithDefaults instantiates a new ServiceStatusUpdateRequest 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 (*ServiceStatusUpdateRequest) GetAppName ¶
func (o *ServiceStatusUpdateRequest) GetAppName() string
GetAppName returns the AppName field value if set, zero value otherwise.
func (*ServiceStatusUpdateRequest) GetAppNameOk ¶
func (o *ServiceStatusUpdateRequest) GetAppNameOk() (*string, bool)
GetAppNameOk returns a tuple with the AppName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatusUpdateRequest) GetMessage ¶
func (o *ServiceStatusUpdateRequest) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise.
func (*ServiceStatusUpdateRequest) GetMessageOk ¶
func (o *ServiceStatusUpdateRequest) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatusUpdateRequest) GetOphid ¶
func (o *ServiceStatusUpdateRequest) GetOphid() string
GetOphid returns the Ophid field value if set, zero value otherwise.
func (*ServiceStatusUpdateRequest) GetOphidOk ¶
func (o *ServiceStatusUpdateRequest) GetOphidOk() (*string, bool)
GetOphidOk returns a tuple with the Ophid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatusUpdateRequest) GetStatusCode ¶
func (o *ServiceStatusUpdateRequest) GetStatusCode() ServiceStatusCode
GetStatusCode returns the StatusCode field value if set, zero value otherwise.
func (*ServiceStatusUpdateRequest) GetStatusCodeOk ¶
func (o *ServiceStatusUpdateRequest) GetStatusCodeOk() (*ServiceStatusCode, bool)
GetStatusCodeOk returns a tuple with the StatusCode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatusUpdateRequest) GetVersion ¶
func (o *ServiceStatusUpdateRequest) GetVersion() string
GetVersion returns the Version field value if set, zero value otherwise.
func (*ServiceStatusUpdateRequest) GetVersionOk ¶
func (o *ServiceStatusUpdateRequest) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ServiceStatusUpdateRequest) HasAppName ¶
func (o *ServiceStatusUpdateRequest) HasAppName() bool
HasAppName returns a boolean if a field has been set.
func (*ServiceStatusUpdateRequest) HasMessage ¶
func (o *ServiceStatusUpdateRequest) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ServiceStatusUpdateRequest) HasOphid ¶
func (o *ServiceStatusUpdateRequest) HasOphid() bool
HasOphid returns a boolean if a field has been set.
func (*ServiceStatusUpdateRequest) HasStatusCode ¶
func (o *ServiceStatusUpdateRequest) HasStatusCode() bool
HasStatusCode returns a boolean if a field has been set.
func (*ServiceStatusUpdateRequest) HasVersion ¶
func (o *ServiceStatusUpdateRequest) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (ServiceStatusUpdateRequest) MarshalJSON ¶
func (o ServiceStatusUpdateRequest) MarshalJSON() ([]byte, error)
func (*ServiceStatusUpdateRequest) SetAppName ¶
func (o *ServiceStatusUpdateRequest) SetAppName(v string)
SetAppName gets a reference to the given string and assigns it to the AppName field.
func (*ServiceStatusUpdateRequest) SetMessage ¶
func (o *ServiceStatusUpdateRequest) SetMessage(v string)
SetMessage gets a reference to the given string and assigns it to the Message field.
func (*ServiceStatusUpdateRequest) SetOphid ¶
func (o *ServiceStatusUpdateRequest) SetOphid(v string)
SetOphid gets a reference to the given string and assigns it to the Ophid field.
func (*ServiceStatusUpdateRequest) SetStatusCode ¶
func (o *ServiceStatusUpdateRequest) SetStatusCode(v ServiceStatusCode)
SetStatusCode gets a reference to the given ServiceStatusCode and assigns it to the StatusCode field.
func (*ServiceStatusUpdateRequest) SetVersion ¶
func (o *ServiceStatusUpdateRequest) SetVersion(v string)
SetVersion gets a reference to the given string and assigns it to the Version field.
func (ServiceStatusUpdateRequest) ToMap ¶
func (o ServiceStatusUpdateRequest) ToMap() (map[string]interface{}, error)
func (*ServiceStatusUpdateRequest) UnmarshalJSON ¶
func (o *ServiceStatusUpdateRequest) UnmarshalJSON(data []byte) (err error)
Source Files ¶
- api_on_prem_anycast_manager.go
- client.go
- model_anycast_config.go
- model_anycast_config_ref.go
- model_anycast_config_response.go
- model_anycast_version.go
- model_bgp_config.go
- model_bgp_neighbor.go
- model_get_anycast_config_list_response.go
- model_onprem_host.go
- model_onprem_host_ref.go
- model_onprem_host_response.go
- model_ospf_config.go
- model_ospfv3_config.go
- model_protobuf_field_mask.go
- model_service_config.go
- model_service_config_object.go
- model_service_status_code.go
- model_service_status_update_request.go
- utils.go