anycast

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Go API client for BloxOne Anycast API

Anycast capability enables HA (High Availability) configuration of BloxOne applications that run on equipment located on customer's premises (on-prem hosts). Anycast supports DNS, as well as DNS-forwarding services.

Anycast-enabled application setups use multiple on-premises installations for one particular application type. Multiple application instances are configured to use the same endpoint address. Anycast capability is collocated with such application instance, monitoring the local application instance and advertising to the upstream router (a customer equipment) a per-instance, local route to the common application endpoint address, as long as the local application instance is available. Depending on the type of the upstream router, the customer may configure local route advertisement via either BGP (Boarder Gateway Protocol) or OSPF (Open Shortest Path First) routing protocols. Both protocols may be enabled as well. Multiple routes to the common application service address provide redundancy without the need to reconfigure application clients.

Should an application instance become unavailable, the local route advertisements stop, resulting in withdrawal of the route (in the upstream router) to the application instance that has gone out of service and ensuring that subsequent application requests thus get routed to the remaining available application instances.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Generator version: 7.5.0
  • Build package: com.infoblox.codegen.BloxoneGoClientCodegen

Installation

Install the package using go get:

go get github.com/infobloxopen/bloxone-go-client/anycast

Import the package into your code:

import "github.com/infobloxopen/bloxone-go-client/anycast"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

To create a new API client, you can use the NewAPIClient function as shown below

client := anycast.NewAPIClient()

Configuration

The NewAPIClient function accepts a variadic list of option.ClientOption functions that can be used to configure the client. It requires the option package to be imported. You can import the package using:

import "github.com/infobloxopen/bloxone-go-client/option"
Client Name

The client name is used to identify the client in the logs. By default, the client name is set to bloxone-go-client. You can change this using the option.WithClientName option. For example:

client := anycast.NewAPIClient(option.WithClientName("my-client"))
Server URL

The default URL for the Cloud Services Portal is https://csp.infoblox.com. If you need to change this, you can use option.WithCSPUrl to set the URL. For example:

client := anycast.NewAPIClient(option.WithCSPUrl("https://csp.eu.infoblox.com"))

You can also set the URL using the environment variable BLOXONE_CSP_URL

Authorization

An API key is required to access BloxOne Anycast API. You can obtain an API key by following the instructions in the guide for Configuring User API Keys.

To use an API key with BloxOne Anycast API, you can use the option.WithAPIKey option. For example:

client := anycast.NewAPIClient(option.WithAPIKey("YOUR_API_KEY"))

You can also set the API key using the environment variable BLOXONE_API_KEY

Note: The API key is a secret and should be handled securely. Hardcoding the API key in your code is not recommended.

Default Tags

You can set default tags for all API requests using the option.WithDefaultTags option. For example:

client := anycast.NewAPIClient(option.WithDefaultTags(map[string]string{"tag1": "value1", "tag2": "value2"}))

This will add the tags tag1=value1 and tag2=value2 to all API requests that support tags in the request body.

Documentation for API Endpoints

All URIs are relative to http://csp.infoblox.com/api/anycast/v1

Class Method HTTP request Description
OnPremAnycastManagerAPI CreateAnycastConfig Post /accm/ac_configs Create Anycast Configuration
OnPremAnycastManagerAPI CreateAnycastVersion Post /accm/ac_version/{id} Create Anycast Version
OnPremAnycastManagerAPI DeleteAnycastConfig Delete /accm/ac_configs/{id} Delete Anycast Configuration
OnPremAnycastManagerAPI DeleteAnycastVersion Delete /accm/ac_version/{id} Delete anycast version
OnPremAnycastManagerAPI DeleteOnpremHost Delete /accm/op_hosts/{id} Delete On-Prem Host
OnPremAnycastManagerAPI GetAnycastConfig Get /accm/ac_configs/{id} Retrieve Anycast Configuration
OnPremAnycastManagerAPI GetAnycastConfigList Get /accm/ac_configs Retrieve Multiple Anycast Configurations
OnPremAnycastManagerAPI GetAnycastVersion Get /accm/ac_version/{id} Retrieve Anycast Version
OnPremAnycastManagerAPI GetOnpremConfig Get /accm/oph_configs/{ophid}/{version} Retrieve Generated, Per-Host Anycast Configuration
OnPremAnycastManagerAPI GetOnpremConfig2 Get /onprem_config/{ophid}/{version} Retrieve Generated, Per-Host Anycast Configuration
OnPremAnycastManagerAPI GetOnpremHost Get /accm/op_hosts/{id} Retrieve On-Prem Host
OnPremAnycastManagerAPI GetStatus Get /accm/oph_config_statuses/{ophid}/latest Retrieve Configuration Status
OnPremAnycastManagerAPI GetStatus2 Get /onprem_config_statuses/{ophid}/latest Retrieve Configuration Status
OnPremAnycastManagerAPI ListAnycastConfigsWithRuntimeStatus Get /accm/ac_runtime_statuses Read list of Anycast Configurations
OnPremAnycastManagerAPI ReadAnycastConfigWithRuntimeStatus Get /accm/ac_runtime_statuses/{id} Read Anycast Configuration
OnPremAnycastManagerAPI UpdateAnycastConfig Put /accm/ac_configs/{id} Create or Update Anycast Configuration
OnPremAnycastManagerAPI UpdateOnpremHost Put /accm/op_hosts/{id} Create or Update On-Prem Host

Documentation For Models

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllowedServiceStatusCodeEnumValues = []ServiceStatusCode{
	"SUCCESS",
	"GENERAL_FAILURE",
	"HASH_FAILURE",
	"VALIDATION_FAILURE",
	"COPY_FAILURE",
	"RELOAD_FAILIURE",
}

All allowed values of ServiceStatusCode enum

Functions

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time 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) GetAsn

func (o *BgpConfig) GetAsn() int64

GetAsn returns the Asn field value if set, zero value otherwise.

func (*BgpConfig) GetAsnOk

func (o *BgpConfig) 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 (*BgpConfig) GetAsnText

func (o *BgpConfig) GetAsnText() string

GetAsnText returns the AsnText field value if set, zero value otherwise.

func (*BgpConfig) GetAsnTextOk

func (o *BgpConfig) 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 (*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

func (o *BgpConfig) GetHolddownSecs() int64

GetHolddownSecs returns the HolddownSecs field value if set, zero value otherwise.

func (*BgpConfig) GetHolddownSecsOk

func (o *BgpConfig) GetHolddownSecsOk() (*int64, bool)

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

func (o *BgpConfig) GetKeepAliveSecs() int64

GetKeepAliveSecs returns the KeepAliveSecs field value if set, zero value otherwise.

func (*BgpConfig) GetKeepAliveSecsOk

func (o *BgpConfig) GetKeepAliveSecsOk() (*int64, bool)

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

func (o *BgpConfig) GetLinkDetect() bool

GetLinkDetect returns the LinkDetect field value if set, zero value otherwise.

func (*BgpConfig) GetLinkDetectOk

func (o *BgpConfig) GetLinkDetectOk() (*bool, bool)

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

func (o *BgpConfig) GetPreamble() string

GetPreamble returns the Preamble field value if set, zero value otherwise.

func (*BgpConfig) GetPreambleOk

func (o *BgpConfig) 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 (*BgpConfig) HasAsn

func (o *BgpConfig) HasAsn() bool

HasAsn returns a boolean if a field has been set.

func (*BgpConfig) HasAsnText

func (o *BgpConfig) HasAsnText() bool

HasAsnText returns a boolean if a field has been set.

func (*BgpConfig) HasFields

func (o *BgpConfig) HasFields() bool

HasFields returns a boolean if a field has been set.

func (*BgpConfig) HasHolddownSecs

func (o *BgpConfig) HasHolddownSecs() bool

HasHolddownSecs returns a boolean if a field has been set.

func (*BgpConfig) HasKeepAliveSecs

func (o *BgpConfig) HasKeepAliveSecs() bool

HasKeepAliveSecs returns a boolean if a field has been set.

func (*BgpConfig) HasLinkDetect

func (o *BgpConfig) HasLinkDetect() bool

HasLinkDetect returns a boolean if a field has been set.

func (*BgpConfig) HasNeighbors

func (o *BgpConfig) HasNeighbors() bool

HasNeighbors returns a boolean if a field has been set.

func (*BgpConfig) HasPreamble

func (o *BgpConfig) HasPreamble() bool

HasPreamble returns a boolean if a field has been set.

func (BgpConfig) MarshalJSON

func (o BgpConfig) MarshalJSON() ([]byte, error)

func (*BgpConfig) SetAsn

func (o *BgpConfig) SetAsn(v int64)

SetAsn gets a reference to the given int64 and assigns it to the Asn field.

func (*BgpConfig) SetAsnText

func (o *BgpConfig) SetAsnText(v string)

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

func (o *BgpConfig) SetHolddownSecs(v int64)

SetHolddownSecs gets a reference to the given int64 and assigns it to the HolddownSecs field.

func (*BgpConfig) SetKeepAliveSecs

func (o *BgpConfig) SetKeepAliveSecs(v int64)

SetKeepAliveSecs gets a reference to the given int64 and assigns it to the KeepAliveSecs field.

func (*BgpConfig) SetLinkDetect

func (o *BgpConfig) SetLinkDetect(v bool)

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

func (o *BgpConfig) SetPreamble(v string)

SetPreamble gets a reference to the given string and assigns it to the Preamble field.

func (BgpConfig) ToMap

func (o BgpConfig) ToMap() (map[string]interface{}, error)

func (*BgpConfig) UnmarshalJSON

func (o *BgpConfig) UnmarshalJSON(data []byte) (err error)

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 MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAnycastConfig

type NullableAnycastConfig struct {
	// contains filtered or unexported fields
}

func NewNullableAnycastConfig

func NewNullableAnycastConfig(val *AnycastConfig) *NullableAnycastConfig

func (NullableAnycastConfig) Get

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 (NullableAnycastConfigRef) IsSet

func (v NullableAnycastConfigRef) IsSet() bool

func (NullableAnycastConfigRef) MarshalJSON

func (v NullableAnycastConfigRef) MarshalJSON() ([]byte, error)

func (*NullableAnycastConfigRef) Set

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 (NullableAnycastConfigResponse) Get

func (NullableAnycastConfigResponse) IsSet

func (NullableAnycastConfigResponse) MarshalJSON

func (v NullableAnycastConfigResponse) MarshalJSON() ([]byte, error)

func (*NullableAnycastConfigResponse) Set

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 (NullableAnycastVersion) IsSet

func (v NullableAnycastVersion) IsSet() bool

func (NullableAnycastVersion) MarshalJSON

func (v NullableAnycastVersion) MarshalJSON() ([]byte, error)

func (*NullableAnycastVersion) Set

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 (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 (NullableGetAnycastConfigListResponse) Get

func (NullableGetAnycastConfigListResponse) IsSet

func (NullableGetAnycastConfigListResponse) MarshalJSON

func (v NullableGetAnycastConfigListResponse) MarshalJSON() ([]byte, error)

func (*NullableGetAnycastConfigListResponse) Set

func (*NullableGetAnycastConfigListResponse) UnmarshalJSON

func (v *NullableGetAnycastConfigListResponse) UnmarshalJSON(src []byte) error

func (*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 (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 (NullableOnpremHostResponse) IsSet

func (v NullableOnpremHostResponse) IsSet() bool

func (NullableOnpremHostResponse) MarshalJSON

func (v NullableOnpremHostResponse) MarshalJSON() ([]byte, error)

func (*NullableOnpremHostResponse) Set

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 (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 (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 (*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 (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 (NullableServiceConfigObject) IsSet

func (NullableServiceConfigObject) MarshalJSON

func (v NullableServiceConfigObject) MarshalJSON() ([]byte, error)

func (*NullableServiceConfigObject) Set

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 (NullableServiceStatusCode) IsSet

func (v NullableServiceStatusCode) IsSet() bool

func (NullableServiceStatusCode) MarshalJSON

func (v NullableServiceStatusCode) MarshalJSON() ([]byte, error)

func (*NullableServiceStatusCode) Set

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 (NullableServiceStatusUpdateRequest) Get

func (NullableServiceStatusUpdateRequest) IsSet

func (NullableServiceStatusUpdateRequest) MarshalJSON

func (v NullableServiceStatusUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableServiceStatusUpdateRequest) Set

func (*NullableServiceStatusUpdateRequest) UnmarshalJSON

func (v *NullableServiceStatusUpdateRequest) UnmarshalJSON(src []byte) error

func (*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) Body

func (OnPremAnycastManagerAPICreateAnycastConfigRequest) Execute

type OnPremAnycastManagerAPICreateAnycastVersionRequest

type OnPremAnycastManagerAPICreateAnycastVersionRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPICreateAnycastVersionRequest) Execute

type OnPremAnycastManagerAPIDeleteAnycastConfigRequest

type OnPremAnycastManagerAPIDeleteAnycastConfigRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIDeleteAnycastConfigRequest) Execute

type OnPremAnycastManagerAPIDeleteAnycastVersionRequest

type OnPremAnycastManagerAPIDeleteAnycastVersionRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIDeleteAnycastVersionRequest) Execute

type OnPremAnycastManagerAPIDeleteOnpremHostRequest

type OnPremAnycastManagerAPIDeleteOnpremHostRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIDeleteOnpremHostRequest) Execute

func (r OnPremAnycastManagerAPIDeleteOnpremHostRequest) Execute() (map[string]interface{}, *http.Response, error)

type OnPremAnycastManagerAPIGetAnycastConfigListRequest

type OnPremAnycastManagerAPIGetAnycastConfigListRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) AccountId

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Execute

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) HostId

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) IsConfigured

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Ophid

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Service

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) Tfilter

func (OnPremAnycastManagerAPIGetAnycastConfigListRequest) TorderBy

type OnPremAnycastManagerAPIGetAnycastConfigRequest

type OnPremAnycastManagerAPIGetAnycastConfigRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetAnycastConfigRequest) Execute

type OnPremAnycastManagerAPIGetAnycastVersionRequest

type OnPremAnycastManagerAPIGetAnycastVersionRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetAnycastVersionRequest) Execute

type OnPremAnycastManagerAPIGetOnpremConfig2Request

type OnPremAnycastManagerAPIGetOnpremConfig2Request struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetOnpremConfig2Request) AppName

func (OnPremAnycastManagerAPIGetOnpremConfig2Request) AppVersion

func (OnPremAnycastManagerAPIGetOnpremConfig2Request) Execute

type OnPremAnycastManagerAPIGetOnpremConfigRequest

type OnPremAnycastManagerAPIGetOnpremConfigRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetOnpremConfigRequest) AppName

func (OnPremAnycastManagerAPIGetOnpremConfigRequest) AppVersion

func (OnPremAnycastManagerAPIGetOnpremConfigRequest) Execute

type OnPremAnycastManagerAPIGetOnpremHostRequest

type OnPremAnycastManagerAPIGetOnpremHostRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetOnpremHostRequest) Execute

type OnPremAnycastManagerAPIGetStatus2Request

type OnPremAnycastManagerAPIGetStatus2Request struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetStatus2Request) Execute

type OnPremAnycastManagerAPIGetStatusRequest

type OnPremAnycastManagerAPIGetStatusRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIGetStatusRequest) Execute

type OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest

type OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) AccountId

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Execute

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) HostId

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) IsConfigured

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Ophid

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Service

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) Tfilter

func (OnPremAnycastManagerAPIListAnycastConfigsWithRuntimeStatusRequest) TorderBy

type OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest

type OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIReadAnycastConfigWithRuntimeStatusRequest) Execute

type OnPremAnycastManagerAPIService

type OnPremAnycastManagerAPIService internal.Service

OnPremAnycastManagerAPIService OnPremAnycastManagerAPI service

func (*OnPremAnycastManagerAPIService) CreateAnycastConfig

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

Execute executes the request

@return AnycastConfigResponse

func (*OnPremAnycastManagerAPIService) CreateAnycastVersion

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

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

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

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

Execute executes the request

@return map[string]interface{}

func (*OnPremAnycastManagerAPIService) GetAnycastConfig

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

Execute executes the request

@return AnycastConfigResponse

func (*OnPremAnycastManagerAPIService) GetAnycastConfigList

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

Execute executes the request

@return GetAnycastConfigListResponse

func (*OnPremAnycastManagerAPIService) GetAnycastVersion

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

Execute executes the request

@return AnycastVersion

func (*OnPremAnycastManagerAPIService) GetOnpremConfig

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

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

Execute executes the request

@return ServiceConfig

func (*OnPremAnycastManagerAPIService) GetOnpremConfigExecute

Execute executes the request

@return ServiceConfig

func (*OnPremAnycastManagerAPIService) GetOnpremHost

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

Execute executes the request

@return OnpremHostResponse

func (*OnPremAnycastManagerAPIService) GetStatus

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

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

Execute executes the request

@return ServiceStatusUpdateRequest

func (*OnPremAnycastManagerAPIService) GetStatusExecute

Execute executes the request

@return ServiceStatusUpdateRequest

func (*OnPremAnycastManagerAPIService) ListAnycastConfigsWithRuntimeStatus

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

Execute executes the request

@return GetAnycastConfigListResponse

func (*OnPremAnycastManagerAPIService) ReadAnycastConfigWithRuntimeStatus

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

Execute executes the request

@return AnycastConfigResponse

func (*OnPremAnycastManagerAPIService) UpdateAnycastConfig

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

Execute executes the request

@return AnycastConfigResponse

func (*OnPremAnycastManagerAPIService) UpdateOnpremHost

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

Execute executes the request

@return OnpremHostResponse

type OnPremAnycastManagerAPIUpdateAnycastConfigRequest

type OnPremAnycastManagerAPIUpdateAnycastConfigRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIUpdateAnycastConfigRequest) Body

func (OnPremAnycastManagerAPIUpdateAnycastConfigRequest) Execute

type OnPremAnycastManagerAPIUpdateOnpremHostRequest

type OnPremAnycastManagerAPIUpdateOnpremHostRequest struct {
	ApiService OnPremAnycastManagerAPI
	// contains filtered or unexported fields
}

func (OnPremAnycastManagerAPIUpdateOnpremHostRequest) Body

func (OnPremAnycastManagerAPIUpdateOnpremHostRequest) Execute

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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL