v1api

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedAPIErrorDetailReasonEnumValues = []APIErrorDetailReason{
	"INVALID_FIELD",
	"INVALID_PATH_PARAMETER",
	"RESOURCE_IN_USE",
	"unknown_default_open_api",
}

All allowed values of APIErrorDetailReason enum

View Source
var AllowedASNNotEnumValues = []ASNNot{
	23456,
	65535,
	11184809,
}

All allowed values of ASNNot enum

View Source
var AllowedBGPFilterRuleActionEnumValues = []BGPFilterRuleAction{
	"PERMIT",
	"DENY",
	"unknown_default_open_api",
}

All allowed values of BGPFilterRuleAction enum

View Source
var AllowedCreateGatewayBGPFilterRulePayloadActionEnumValues = []CreateGatewayBGPFilterRulePayloadAction{
	"PERMIT",
	"DENY",
	"unknown_default_open_api",
}

All allowed values of CreateGatewayBGPFilterRulePayloadAction enum

View Source
var AllowedGatewayStatusEnumValues = []GatewayStatus{
	"PENDING",
	"READY",
	"ERROR",
	"DELETING",
	"unknown_default_open_api",
}

All allowed values of GatewayStatus enum

View Source
var AllowedPhaseDhGroupsInnerEnumValues = []PhaseDhGroupsInner{
	"modp1024",
	"modp2048",
	"ecp256",
	"ecp384",
	"modp2048s256",
	"unknown_default_open_api",
}

All allowed values of PhaseDhGroupsInner enum

View Source
var AllowedPhaseEncryptionAlgorithmsInnerEnumValues = []PhaseEncryptionAlgorithmsInner{
	"aes256",
	"aes128gcm16",
	"aes256gcm16",
	"unknown_default_open_api",
}

All allowed values of PhaseEncryptionAlgorithmsInner enum

View Source
var AllowedPhaseIntegrityAlgorithmsInnerEnumValues = []PhaseIntegrityAlgorithmsInner{
	"sha1",
	"sha2_256",
	"sha2_384",
	"sha2_512",
	"unknown_default_open_api",
}

All allowed values of PhaseIntegrityAlgorithmsInner enum

View Source
var AllowedRegionEnumValues = []Region{
	"eu01",
	"eu02",
	"unknown_default_open_api",
}

All allowed values of Region enum

View Source
var AllowedRoutingTypeEnumValues = []RoutingType{
	"POLICY_BASED",
	"ROUTE_BASED",
	"BGP_ROUTE_BASED",
	"unknown_default_open_api",
}

All allowed values of RoutingType enum

View Source
var AllowedTunnelConfigurationPhase2AllOfDpdActionEnumValues = []TunnelConfigurationPhase2AllOfDpdAction{
	"clear",
	"restart",
	"unknown_default_open_api",
}

All allowed values of TunnelConfigurationPhase2AllOfDpdAction enum

View Source
var AllowedTunnelConfigurationPhase2AllOfStartActionEnumValues = []TunnelConfigurationPhase2AllOfStartAction{
	"none",
	"start",
	"unknown_default_open_api",
}

All allowed values of TunnelConfigurationPhase2AllOfStartAction enum

View Source
var AllowedTunnelStatusNameEnumValues = []TunnelStatusName{
	"tunnel1",
	"tunnel2",
	"unknown_default_open_api",
}

All allowed values of TunnelStatusName enum

View Source
var AllowedUpdateGatewayBGPFilterRulePayloadActionEnumValues = []UpdateGatewayBGPFilterRulePayloadAction{
	"PERMIT",
	"DENY",
	"unknown_default_open_api",
}

All allowed values of UpdateGatewayBGPFilterRulePayloadAction enum

View Source
var AllowedVPNTunnelsNameEnumValues = []VPNTunnelsName{
	"tunnel1",
	"tunnel2",
	"unknown_default_open_api",
}

All allowed values of VPNTunnelsName enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

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 {
	DefaultAPI DefaultAPI
	// contains filtered or unexported fields
}

APIClient manages communication with the STACKIT VPN API API v1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *config.Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIError

type APIError struct {
	// The HTTP status code.
	Code int32 `json:"code"`
	// Can contain more details on the error.
	Details []APIErrorDetail `json:"details,omitempty"`
	// A message describing the error.
	Message string `json:"message"`
	// The HTTP status code text.
	Status               string `json:"status"`
	AdditionalProperties map[string]interface{}
}

APIError struct for APIError

func NewAPIError

func NewAPIError(code int32, message string, status string) *APIError

NewAPIError instantiates a new APIError 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 NewAPIErrorWithDefaults

func NewAPIErrorWithDefaults() *APIError

NewAPIErrorWithDefaults instantiates a new APIError 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 (*APIError) GetCode

func (o *APIError) GetCode() int32

GetCode returns the Code field value

func (*APIError) GetCodeOk

func (o *APIError) GetCodeOk() (*int32, bool)

GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.

func (*APIError) GetDetails

func (o *APIError) GetDetails() []APIErrorDetail

GetDetails returns the Details field value if set, zero value otherwise.

func (*APIError) GetDetailsOk

func (o *APIError) GetDetailsOk() ([]APIErrorDetail, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIError) GetMessage

func (o *APIError) GetMessage() string

GetMessage returns the Message field value

func (*APIError) GetMessageOk

func (o *APIError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*APIError) GetStatus

func (o *APIError) GetStatus() string

GetStatus returns the Status field value

func (*APIError) GetStatusOk

func (o *APIError) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.

func (*APIError) HasDetails

func (o *APIError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (APIError) MarshalJSON

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

func (*APIError) SetCode

func (o *APIError) SetCode(v int32)

SetCode sets field value

func (*APIError) SetDetails

func (o *APIError) SetDetails(v []APIErrorDetail)

SetDetails gets a reference to the given []APIErrorDetail and assigns it to the Details field.

func (*APIError) SetMessage

func (o *APIError) SetMessage(v string)

SetMessage sets field value

func (*APIError) SetStatus

func (o *APIError) SetStatus(v string)

SetStatus sets field value

func (APIError) ToMap

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

func (*APIError) UnmarshalJSON

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

type APIErrorDetail

type APIErrorDetail struct {
	// The domain of the error source.
	Domain string `json:"domain"`
	// Metadata contains more information. For bad requests this would be field information.
	Metadata             map[string]interface{} `json:"metadata,omitempty"`
	Reason               APIErrorDetailReason   `json:"reason"`
	AdditionalProperties map[string]interface{}
}

APIErrorDetail struct for APIErrorDetail

func NewAPIErrorDetail

func NewAPIErrorDetail(domain string, reason APIErrorDetailReason) *APIErrorDetail

NewAPIErrorDetail instantiates a new APIErrorDetail 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 NewAPIErrorDetailWithDefaults

func NewAPIErrorDetailWithDefaults() *APIErrorDetail

NewAPIErrorDetailWithDefaults instantiates a new APIErrorDetail 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 (*APIErrorDetail) GetDomain

func (o *APIErrorDetail) GetDomain() string

GetDomain returns the Domain field value

func (*APIErrorDetail) GetDomainOk

func (o *APIErrorDetail) GetDomainOk() (*string, bool)

GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.

func (*APIErrorDetail) GetMetadata

func (o *APIErrorDetail) GetMetadata() map[string]interface{}

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*APIErrorDetail) GetMetadataOk

func (o *APIErrorDetail) GetMetadataOk() (map[string]interface{}, bool)

GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIErrorDetail) GetReason

func (o *APIErrorDetail) GetReason() APIErrorDetailReason

GetReason returns the Reason field value

func (*APIErrorDetail) GetReasonOk

func (o *APIErrorDetail) GetReasonOk() (*APIErrorDetailReason, bool)

GetReasonOk returns a tuple with the Reason field value and a boolean to check if the value has been set.

func (*APIErrorDetail) HasMetadata

func (o *APIErrorDetail) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (APIErrorDetail) MarshalJSON

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

func (*APIErrorDetail) SetDomain

func (o *APIErrorDetail) SetDomain(v string)

SetDomain sets field value

func (*APIErrorDetail) SetMetadata

func (o *APIErrorDetail) SetMetadata(v map[string]interface{})

SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*APIErrorDetail) SetReason

func (o *APIErrorDetail) SetReason(v APIErrorDetailReason)

SetReason sets field value

func (APIErrorDetail) ToMap

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

func (*APIErrorDetail) UnmarshalJSON

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

type APIErrorDetailReason added in v0.12.0

type APIErrorDetailReason string

APIErrorDetailReason The reason why the error occurs. RESOURCE_IN_USE is returned when a referenced resource cannot be deleted; the 'metadata.references' field then lists the referencing resources (e.g. connection IDs and displayNames pointing at a BGPFilter on DELETE).

const (
	APIERRORDETAILREASON_INVALID_FIELD            APIErrorDetailReason = "INVALID_FIELD"
	APIERRORDETAILREASON_INVALID_PATH_PARAMETER   APIErrorDetailReason = "INVALID_PATH_PARAMETER"
	APIERRORDETAILREASON_RESOURCE_IN_USE          APIErrorDetailReason = "RESOURCE_IN_USE"
	APIERRORDETAILREASON_UNKNOWN_DEFAULT_OPEN_API APIErrorDetailReason = "unknown_default_open_api"
)

List of APIErrorDetail_reason

func NewAPIErrorDetailReasonFromValue added in v0.12.0

func NewAPIErrorDetailReasonFromValue(v string) (*APIErrorDetailReason, error)

NewAPIErrorDetailReasonFromValue returns a pointer to a valid APIErrorDetailReason for the value passed as argument, or an error if the value passed is not allowed by the enum

func (APIErrorDetailReason) IsValid added in v0.12.0

func (v APIErrorDetailReason) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (APIErrorDetailReason) Ptr added in v0.12.0

Ptr returns reference to APIErrorDetail_reason value

func (*APIErrorDetailReason) UnmarshalJSON added in v0.12.0

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

type APIErrorResponse

type APIErrorResponse struct {
	Error                APIError `json:"error"`
	AdditionalProperties map[string]interface{}
}

APIErrorResponse struct for APIErrorResponse

func NewAPIErrorResponse

func NewAPIErrorResponse(error_ APIError) *APIErrorResponse

NewAPIErrorResponse instantiates a new APIErrorResponse 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 NewAPIErrorResponseWithDefaults

func NewAPIErrorResponseWithDefaults() *APIErrorResponse

NewAPIErrorResponseWithDefaults instantiates a new APIErrorResponse 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 (*APIErrorResponse) GetError

func (o *APIErrorResponse) GetError() APIError

GetError returns the Error field value

func (*APIErrorResponse) GetErrorOk

func (o *APIErrorResponse) GetErrorOk() (*APIError, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (APIErrorResponse) MarshalJSON

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

func (*APIErrorResponse) SetError

func (o *APIErrorResponse) SetError(v APIError)

SetError sets field value

func (APIErrorResponse) ToMap

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

func (*APIErrorResponse) UnmarshalJSON

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ASNNot added in v0.15.2

type ASNNot float32

ASNNot the model 'ASNNot'

const (
	ASNNOT__23456                    ASNNot = 23456
	ASNNOT__65535                    ASNNot = 65535
	ASNNOT__unknown_default_open_api ASNNot = 11184809
)

List of ASN_not

func NewASNNotFromValue added in v0.15.2

func NewASNNotFromValue(v float32) (*ASNNot, error)

NewASNNotFromValue returns a pointer to a valid ASNNot for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ASNNot) IsValid added in v0.15.2

func (v ASNNot) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ASNNot) Ptr added in v0.15.2

func (v ASNNot) Ptr() *ASNNot

Ptr returns reference to ASN_not value

func (*ASNNot) UnmarshalJSON added in v0.15.2

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

type ApiCreateGatewayBGPFilterRequest added in v0.15.0

type ApiCreateGatewayBGPFilterRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateGatewayBGPFilterRequest) CreateGatewayBGPFilterPayload added in v0.15.0

func (r ApiCreateGatewayBGPFilterRequest) CreateGatewayBGPFilterPayload(createGatewayBGPFilterPayload CreateGatewayBGPFilterPayload) ApiCreateGatewayBGPFilterRequest

func (ApiCreateGatewayBGPFilterRequest) Execute added in v0.15.0

type ApiCreateGatewayBGPFilterRuleRequest added in v0.15.0

type ApiCreateGatewayBGPFilterRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateGatewayBGPFilterRuleRequest) CreateGatewayBGPFilterRulePayload added in v0.15.0

func (r ApiCreateGatewayBGPFilterRuleRequest) CreateGatewayBGPFilterRulePayload(createGatewayBGPFilterRulePayload CreateGatewayBGPFilterRulePayload) ApiCreateGatewayBGPFilterRuleRequest

func (ApiCreateGatewayBGPFilterRuleRequest) Execute added in v0.15.0

type ApiCreateGatewayConnectionRequest

type ApiCreateGatewayConnectionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateGatewayConnectionRequest) CreateGatewayConnectionPayload

func (r ApiCreateGatewayConnectionRequest) CreateGatewayConnectionPayload(createGatewayConnectionPayload CreateGatewayConnectionPayload) ApiCreateGatewayConnectionRequest

func (ApiCreateGatewayConnectionRequest) Execute

type ApiCreateGatewayRequest

type ApiCreateGatewayRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateGatewayRequest) CreateGatewayPayload

func (r ApiCreateGatewayRequest) CreateGatewayPayload(createGatewayPayload CreateGatewayPayload) ApiCreateGatewayRequest

func (ApiCreateGatewayRequest) Execute

type ApiDeleteGatewayBGPFilterRequest added in v0.15.0

type ApiDeleteGatewayBGPFilterRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteGatewayBGPFilterRequest) Execute added in v0.15.0

type ApiDeleteGatewayBGPFilterRuleRequest added in v0.15.0

type ApiDeleteGatewayBGPFilterRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteGatewayBGPFilterRuleRequest) Execute added in v0.15.0

type ApiDeleteGatewayConnectionRequest

type ApiDeleteGatewayConnectionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteGatewayConnectionRequest) Execute

type ApiDeleteGatewayRequest

type ApiDeleteGatewayRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteGatewayRequest) Execute

func (r ApiDeleteGatewayRequest) Execute() error

type ApiGetGatewayBGPFilterRequest added in v0.15.0

type ApiGetGatewayBGPFilterRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayBGPFilterRequest) Execute added in v0.15.0

type ApiGetGatewayBGPFilterRuleRequest added in v0.15.0

type ApiGetGatewayBGPFilterRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayBGPFilterRuleRequest) Execute added in v0.15.0

type ApiGetGatewayConnectionRequest

type ApiGetGatewayConnectionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayConnectionRequest) Execute

type ApiGetGatewayConnectionStatusRequest

type ApiGetGatewayConnectionStatusRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayConnectionStatusRequest) Execute

type ApiGetGatewayRequest

type ApiGetGatewayRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayRequest) Execute

func (r ApiGetGatewayRequest) Execute() (*GatewayResponse, error)

type ApiGetGatewayStatusRequest

type ApiGetGatewayStatusRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetGatewayStatusRequest) Execute

type ApiListGatewayBGPFilterRulesRequest added in v0.15.0

type ApiListGatewayBGPFilterRulesRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListGatewayBGPFilterRulesRequest) Execute added in v0.15.0

type ApiListGatewayBGPFiltersRequest added in v0.15.0

type ApiListGatewayBGPFiltersRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListGatewayBGPFiltersRequest) Execute added in v0.15.0

type ApiListGatewayConnectionsRequest

type ApiListGatewayConnectionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListGatewayConnectionsRequest) Execute

func (ApiListGatewayConnectionsRequest) LabelSelector

Filter resources by labels.

type ApiListGatewaysRequest

type ApiListGatewaysRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListGatewaysRequest) Execute

func (r ApiListGatewaysRequest) Execute() (*GatewayList, error)

func (ApiListGatewaysRequest) LabelSelector

func (r ApiListGatewaysRequest) LabelSelector(labelSelector map[string]string) ApiListGatewaysRequest

Filter resources by labels.

type ApiListPlansRequest

type ApiListPlansRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListPlansRequest) Execute

func (r ApiListPlansRequest) Execute() (*PlanList, error)

type ApiListQuotasRequest

type ApiListQuotasRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListQuotasRequest) Execute

type ApiUpdateGatewayBGPFilterRequest added in v0.15.0

type ApiUpdateGatewayBGPFilterRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateGatewayBGPFilterRequest) Execute added in v0.15.0

func (ApiUpdateGatewayBGPFilterRequest) UpdateGatewayBGPFilterPayload added in v0.15.0

func (r ApiUpdateGatewayBGPFilterRequest) UpdateGatewayBGPFilterPayload(updateGatewayBGPFilterPayload UpdateGatewayBGPFilterPayload) ApiUpdateGatewayBGPFilterRequest

type ApiUpdateGatewayBGPFilterRuleRequest added in v0.15.0

type ApiUpdateGatewayBGPFilterRuleRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateGatewayBGPFilterRuleRequest) Execute added in v0.15.0

func (ApiUpdateGatewayBGPFilterRuleRequest) UpdateGatewayBGPFilterRulePayload added in v0.15.0

func (r ApiUpdateGatewayBGPFilterRuleRequest) UpdateGatewayBGPFilterRulePayload(updateGatewayBGPFilterRulePayload UpdateGatewayBGPFilterRulePayload) ApiUpdateGatewayBGPFilterRuleRequest

type ApiUpdateGatewayConnectionRequest

type ApiUpdateGatewayConnectionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateGatewayConnectionRequest) Execute

func (ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload

func (r ApiUpdateGatewayConnectionRequest) UpdateGatewayConnectionPayload(updateGatewayConnectionPayload UpdateGatewayConnectionPayload) ApiUpdateGatewayConnectionRequest

type ApiUpdateGatewayRequest

type ApiUpdateGatewayRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiUpdateGatewayRequest) Execute

func (ApiUpdateGatewayRequest) UpdateGatewayPayload

func (r ApiUpdateGatewayRequest) UpdateGatewayPayload(updateGatewayPayload UpdateGatewayPayload) ApiUpdateGatewayRequest

type BGPFilter added in v0.15.0

type BGPFilter struct {
	// A user-friendly name for the filter. Display only — not enforced unique across a gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// The server-generated UUID of the filter.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPFilter A named BGP route filter. Internally a BGPFilter holds an ordered set of rules (managed via the nested /rules sub-resource); a route is evaluated against each rule in 'sequence' order and the first match decides the outcome. An implicit DENY is applied after the last rule, so a route that matches no PERMIT rule is dropped. Attaching an empty filter to a tunnel therefore denies every route. Resource limits: the maximum number of filters per gateway equals the gateway plan's maxConnections value; the maximum number of rules per filter is 10.

func NewBGPFilter added in v0.15.0

func NewBGPFilter(displayName string) *BGPFilter

NewBGPFilter instantiates a new BGPFilter 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 NewBGPFilterWithDefaults added in v0.15.0

func NewBGPFilterWithDefaults() *BGPFilter

NewBGPFilterWithDefaults instantiates a new BGPFilter 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 (*BGPFilter) GetDisplayName added in v0.15.0

func (o *BGPFilter) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*BGPFilter) GetDisplayNameOk added in v0.15.0

func (o *BGPFilter) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*BGPFilter) GetId added in v0.15.0

func (o *BGPFilter) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BGPFilter) GetIdOk added in v0.15.0

func (o *BGPFilter) GetIdOk() (*string, 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 (*BGPFilter) HasId added in v0.15.0

func (o *BGPFilter) HasId() bool

HasId returns a boolean if a field has been set.

func (BGPFilter) MarshalJSON added in v0.15.0

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

func (*BGPFilter) SetDisplayName added in v0.15.0

func (o *BGPFilter) SetDisplayName(v string)

SetDisplayName sets field value

func (*BGPFilter) SetId added in v0.15.0

func (o *BGPFilter) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (BGPFilter) ToMap added in v0.15.0

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

func (*BGPFilter) UnmarshalJSON added in v0.15.0

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

type BGPFilterList added in v0.15.0

type BGPFilterList struct {
	BgpFilters           []BGPFilter `json:"bgpFilters"`
	AdditionalProperties map[string]interface{}
}

BGPFilterList Response wrapper for listing BGP filters.

func NewBGPFilterList added in v0.15.0

func NewBGPFilterList(bgpFilters []BGPFilter) *BGPFilterList

NewBGPFilterList instantiates a new BGPFilterList 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 NewBGPFilterListWithDefaults added in v0.15.0

func NewBGPFilterListWithDefaults() *BGPFilterList

NewBGPFilterListWithDefaults instantiates a new BGPFilterList 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 (*BGPFilterList) GetBgpFilters added in v0.15.0

func (o *BGPFilterList) GetBgpFilters() []BGPFilter

GetBgpFilters returns the BgpFilters field value

func (*BGPFilterList) GetBgpFiltersOk added in v0.15.0

func (o *BGPFilterList) GetBgpFiltersOk() ([]BGPFilter, bool)

GetBgpFiltersOk returns a tuple with the BgpFilters field value and a boolean to check if the value has been set.

func (BGPFilterList) MarshalJSON added in v0.15.0

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

func (*BGPFilterList) SetBgpFilters added in v0.15.0

func (o *BGPFilterList) SetBgpFilters(v []BGPFilter)

SetBgpFilters sets field value

func (BGPFilterList) ToMap added in v0.15.0

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

func (*BGPFilterList) UnmarshalJSON added in v0.15.0

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

type BGPFilterRule added in v0.15.0

type BGPFilterRule struct {
	Action BGPFilterRuleAction `json:"action"`
	// The server-generated UUID of the specific rule.
	Id    *string             `json:"id,omitempty"`
	Match *BGPFilterRuleMatch `json:"match,omitempty"`
	// The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required — sending a partial update without 'sequence' returns 400.
	Sequence             *int32            `json:"sequence,omitempty"`
	Set                  *BGPFilterRuleSet `json:"set,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPFilterRule A single rule within a BGPFilter. All non-empty fields within the 'match' block are AND-combined. Rules within a filter are evaluated in 'sequence' order; the first matching rule decides the outcome (logical OR across rules). An implicit DENY follows the last rule.

func NewBGPFilterRule added in v0.15.0

func NewBGPFilterRule(action BGPFilterRuleAction) *BGPFilterRule

NewBGPFilterRule instantiates a new BGPFilterRule 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 NewBGPFilterRuleWithDefaults added in v0.15.0

func NewBGPFilterRuleWithDefaults() *BGPFilterRule

NewBGPFilterRuleWithDefaults instantiates a new BGPFilterRule 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 (*BGPFilterRule) GetAction added in v0.15.0

func (o *BGPFilterRule) GetAction() BGPFilterRuleAction

GetAction returns the Action field value

func (*BGPFilterRule) GetActionOk added in v0.15.0

func (o *BGPFilterRule) GetActionOk() (*BGPFilterRuleAction, bool)

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*BGPFilterRule) GetId added in v0.15.0

func (o *BGPFilterRule) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*BGPFilterRule) GetIdOk added in v0.15.0

func (o *BGPFilterRule) GetIdOk() (*string, 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 (*BGPFilterRule) GetMatch added in v0.15.0

func (o *BGPFilterRule) GetMatch() BGPFilterRuleMatch

GetMatch returns the Match field value if set, zero value otherwise.

func (*BGPFilterRule) GetMatchOk added in v0.15.0

func (o *BGPFilterRule) GetMatchOk() (*BGPFilterRuleMatch, bool)

GetMatchOk returns a tuple with the Match field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRule) GetSequence added in v0.15.0

func (o *BGPFilterRule) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise.

func (*BGPFilterRule) GetSequenceOk added in v0.15.0

func (o *BGPFilterRule) GetSequenceOk() (*int32, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRule) GetSet added in v0.15.0

func (o *BGPFilterRule) GetSet() BGPFilterRuleSet

GetSet returns the Set field value if set, zero value otherwise.

func (*BGPFilterRule) GetSetOk added in v0.15.0

func (o *BGPFilterRule) GetSetOk() (*BGPFilterRuleSet, bool)

GetSetOk returns a tuple with the Set field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRule) HasId added in v0.15.0

func (o *BGPFilterRule) HasId() bool

HasId returns a boolean if a field has been set.

func (*BGPFilterRule) HasMatch added in v0.15.0

func (o *BGPFilterRule) HasMatch() bool

HasMatch returns a boolean if a field has been set.

func (*BGPFilterRule) HasSequence added in v0.15.0

func (o *BGPFilterRule) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*BGPFilterRule) HasSet added in v0.15.0

func (o *BGPFilterRule) HasSet() bool

HasSet returns a boolean if a field has been set.

func (BGPFilterRule) MarshalJSON added in v0.15.0

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

func (*BGPFilterRule) SetAction added in v0.15.0

func (o *BGPFilterRule) SetAction(v BGPFilterRuleAction)

SetAction sets field value

func (*BGPFilterRule) SetId added in v0.15.0

func (o *BGPFilterRule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*BGPFilterRule) SetMatch added in v0.15.0

func (o *BGPFilterRule) SetMatch(v BGPFilterRuleMatch)

SetMatch gets a reference to the given BGPFilterRuleMatch and assigns it to the Match field.

func (*BGPFilterRule) SetSequence added in v0.15.0

func (o *BGPFilterRule) SetSequence(v int32)

SetSequence gets a reference to the given int32 and assigns it to the Sequence field.

func (*BGPFilterRule) SetSet added in v0.15.0

func (o *BGPFilterRule) SetSet(v BGPFilterRuleSet)

SetSet gets a reference to the given BGPFilterRuleSet and assigns it to the Set field.

func (BGPFilterRule) ToMap added in v0.15.0

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

func (*BGPFilterRule) UnmarshalJSON added in v0.15.0

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

type BGPFilterRuleAction added in v0.15.0

type BGPFilterRuleAction string

BGPFilterRuleAction The action to take if the route matches all criteria. Case-sensitive.

const (
	BGPFILTERRULEACTION_PERMIT                   BGPFilterRuleAction = "PERMIT"
	BGPFILTERRULEACTION_DENY                     BGPFilterRuleAction = "DENY"
	BGPFILTERRULEACTION_UNKNOWN_DEFAULT_OPEN_API BGPFilterRuleAction = "unknown_default_open_api"
)

List of BGPFilterRule_action

func NewBGPFilterRuleActionFromValue added in v0.15.0

func NewBGPFilterRuleActionFromValue(v string) (*BGPFilterRuleAction, error)

NewBGPFilterRuleActionFromValue returns a pointer to a valid BGPFilterRuleAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (BGPFilterRuleAction) IsValid added in v0.15.0

func (v BGPFilterRuleAction) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (BGPFilterRuleAction) Ptr added in v0.15.0

Ptr returns reference to BGPFilterRule_action value

func (*BGPFilterRuleAction) UnmarshalJSON added in v0.15.0

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

type BGPFilterRuleList added in v0.15.0

type BGPFilterRuleList struct {
	Rules                []BGPFilterRule `json:"rules"`
	AdditionalProperties map[string]interface{}
}

BGPFilterRuleList Response wrapper for listing rules within a BGP filter.

func NewBGPFilterRuleList added in v0.15.0

func NewBGPFilterRuleList(rules []BGPFilterRule) *BGPFilterRuleList

NewBGPFilterRuleList instantiates a new BGPFilterRuleList 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 NewBGPFilterRuleListWithDefaults added in v0.15.0

func NewBGPFilterRuleListWithDefaults() *BGPFilterRuleList

NewBGPFilterRuleListWithDefaults instantiates a new BGPFilterRuleList 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 (*BGPFilterRuleList) GetRules added in v0.15.0

func (o *BGPFilterRuleList) GetRules() []BGPFilterRule

GetRules returns the Rules field value

func (*BGPFilterRuleList) GetRulesOk added in v0.15.0

func (o *BGPFilterRuleList) GetRulesOk() ([]BGPFilterRule, bool)

GetRulesOk returns a tuple with the Rules field value and a boolean to check if the value has been set.

func (BGPFilterRuleList) MarshalJSON added in v0.15.0

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

func (*BGPFilterRuleList) SetRules added in v0.15.0

func (o *BGPFilterRuleList) SetRules(v []BGPFilterRule)

SetRules sets field value

func (BGPFilterRuleList) ToMap added in v0.15.0

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

func (*BGPFilterRuleList) UnmarshalJSON added in v0.15.0

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

type BGPFilterRuleMatch added in v0.15.0

type BGPFilterRuleMatch struct {
	// Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required.
	AsPathContainsAny []int64 `json:"asPathContainsAny,omitempty"`
	// Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported.
	Communities []string `json:"communities,omitempty"`
	// Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny.
	FirstASN *int64 `json:"firstASN,omitempty"`
	// Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]').
	MaxPrefixLength *int32 `json:"maxPrefixLength,omitempty"`
	// Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength.
	MinPrefixLength *int32 `json:"minPrefixLength,omitempty"`
	// Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped.
	Peer *string `json:"peer,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	// List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24).
	Prefixes             []string `json:"prefixes,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPFilterRuleMatch Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND).

func NewBGPFilterRuleMatch added in v0.15.0

func NewBGPFilterRuleMatch() *BGPFilterRuleMatch

NewBGPFilterRuleMatch instantiates a new BGPFilterRuleMatch 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 NewBGPFilterRuleMatchWithDefaults added in v0.15.0

func NewBGPFilterRuleMatchWithDefaults() *BGPFilterRuleMatch

NewBGPFilterRuleMatchWithDefaults instantiates a new BGPFilterRuleMatch 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 (*BGPFilterRuleMatch) GetAsPathContainsAny added in v0.15.0

func (o *BGPFilterRuleMatch) GetAsPathContainsAny() []int64

GetAsPathContainsAny returns the AsPathContainsAny field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetAsPathContainsAnyOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetAsPathContainsAnyOk() ([]int64, bool)

GetAsPathContainsAnyOk returns a tuple with the AsPathContainsAny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetCommunities added in v0.15.0

func (o *BGPFilterRuleMatch) GetCommunities() []string

GetCommunities returns the Communities field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetCommunitiesOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetCommunitiesOk() ([]string, bool)

GetCommunitiesOk returns a tuple with the Communities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetFirstASN added in v0.15.0

func (o *BGPFilterRuleMatch) GetFirstASN() int64

GetFirstASN returns the FirstASN field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetFirstASNOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetFirstASNOk() (*int64, bool)

GetFirstASNOk returns a tuple with the FirstASN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetMaxPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) GetMaxPrefixLength() int32

GetMaxPrefixLength returns the MaxPrefixLength field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetMaxPrefixLengthOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetMaxPrefixLengthOk() (*int32, bool)

GetMaxPrefixLengthOk returns a tuple with the MaxPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetMinPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) GetMinPrefixLength() int32

GetMinPrefixLength returns the MinPrefixLength field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetMinPrefixLengthOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetMinPrefixLengthOk() (*int32, bool)

GetMinPrefixLengthOk returns a tuple with the MinPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetPeer added in v0.15.0

func (o *BGPFilterRuleMatch) GetPeer() string

GetPeer returns the Peer field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetPeerOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetPeerOk() (*string, bool)

GetPeerOk returns a tuple with the Peer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) GetPrefixes added in v0.15.0

func (o *BGPFilterRuleMatch) GetPrefixes() []string

GetPrefixes returns the Prefixes field value if set, zero value otherwise.

func (*BGPFilterRuleMatch) GetPrefixesOk added in v0.15.0

func (o *BGPFilterRuleMatch) GetPrefixesOk() ([]string, bool)

GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleMatch) HasAsPathContainsAny added in v0.15.0

func (o *BGPFilterRuleMatch) HasAsPathContainsAny() bool

HasAsPathContainsAny returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasCommunities added in v0.15.0

func (o *BGPFilterRuleMatch) HasCommunities() bool

HasCommunities returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasFirstASN added in v0.15.0

func (o *BGPFilterRuleMatch) HasFirstASN() bool

HasFirstASN returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasMaxPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) HasMaxPrefixLength() bool

HasMaxPrefixLength returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasMinPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) HasMinPrefixLength() bool

HasMinPrefixLength returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasPeer added in v0.15.0

func (o *BGPFilterRuleMatch) HasPeer() bool

HasPeer returns a boolean if a field has been set.

func (*BGPFilterRuleMatch) HasPrefixes added in v0.15.0

func (o *BGPFilterRuleMatch) HasPrefixes() bool

HasPrefixes returns a boolean if a field has been set.

func (BGPFilterRuleMatch) MarshalJSON added in v0.15.0

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

func (*BGPFilterRuleMatch) SetAsPathContainsAny added in v0.15.0

func (o *BGPFilterRuleMatch) SetAsPathContainsAny(v []int64)

SetAsPathContainsAny gets a reference to the given []int64 and assigns it to the AsPathContainsAny field.

func (*BGPFilterRuleMatch) SetCommunities added in v0.15.0

func (o *BGPFilterRuleMatch) SetCommunities(v []string)

SetCommunities gets a reference to the given []string and assigns it to the Communities field.

func (*BGPFilterRuleMatch) SetFirstASN added in v0.15.0

func (o *BGPFilterRuleMatch) SetFirstASN(v int64)

SetFirstASN gets a reference to the given int64 and assigns it to the FirstASN field.

func (*BGPFilterRuleMatch) SetMaxPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) SetMaxPrefixLength(v int32)

SetMaxPrefixLength gets a reference to the given int32 and assigns it to the MaxPrefixLength field.

func (*BGPFilterRuleMatch) SetMinPrefixLength added in v0.15.0

func (o *BGPFilterRuleMatch) SetMinPrefixLength(v int32)

SetMinPrefixLength gets a reference to the given int32 and assigns it to the MinPrefixLength field.

func (*BGPFilterRuleMatch) SetPeer added in v0.15.0

func (o *BGPFilterRuleMatch) SetPeer(v string)

SetPeer gets a reference to the given string and assigns it to the Peer field.

func (*BGPFilterRuleMatch) SetPrefixes added in v0.15.0

func (o *BGPFilterRuleMatch) SetPrefixes(v []string)

SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.

func (BGPFilterRuleMatch) ToMap added in v0.15.0

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

func (*BGPFilterRuleMatch) UnmarshalJSON added in v0.15.0

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

type BGPFilterRuleSet added in v0.15.0

type BGPFilterRuleSet struct {
	// BGP LOCAL_PREF to set on the route. Higher values are preferred during best-path selection. Default BGP LOCAL_PREF is 100; any value here overrides.
	LocalPreference      *int32 `json:"localPreference,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPFilterRuleSet Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules.

func NewBGPFilterRuleSet added in v0.15.0

func NewBGPFilterRuleSet() *BGPFilterRuleSet

NewBGPFilterRuleSet instantiates a new BGPFilterRuleSet 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 NewBGPFilterRuleSetWithDefaults added in v0.15.0

func NewBGPFilterRuleSetWithDefaults() *BGPFilterRuleSet

NewBGPFilterRuleSetWithDefaults instantiates a new BGPFilterRuleSet 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 (*BGPFilterRuleSet) GetLocalPreference added in v0.15.0

func (o *BGPFilterRuleSet) GetLocalPreference() int32

GetLocalPreference returns the LocalPreference field value if set, zero value otherwise.

func (*BGPFilterRuleSet) GetLocalPreferenceOk added in v0.15.0

func (o *BGPFilterRuleSet) GetLocalPreferenceOk() (*int32, bool)

GetLocalPreferenceOk returns a tuple with the LocalPreference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPFilterRuleSet) HasLocalPreference added in v0.15.0

func (o *BGPFilterRuleSet) HasLocalPreference() bool

HasLocalPreference returns a boolean if a field has been set.

func (BGPFilterRuleSet) MarshalJSON added in v0.15.0

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

func (*BGPFilterRuleSet) SetLocalPreference added in v0.15.0

func (o *BGPFilterRuleSet) SetLocalPreference(v int32)

SetLocalPreference gets a reference to the given int32 and assigns it to the LocalPreference field.

func (BGPFilterRuleSet) ToMap added in v0.15.0

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

func (*BGPFilterRuleSet) UnmarshalJSON added in v0.15.0

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

type BGPGatewayConfig

type BGPGatewayConfig struct {
	// ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996).
	LocalAsn int64 `json:"localAsn"`
	// A list of IPv4 Prefixes to advertise via BGP. If omitted, the SNA network ranges will be advertised.
	OverrideAdvertisedRoutes []string `json:"overrideAdvertisedRoutes,omitempty"`
	AdditionalProperties     map[string]interface{}
}

BGPGatewayConfig BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED)

func NewBGPGatewayConfig

func NewBGPGatewayConfig(localAsn int64) *BGPGatewayConfig

NewBGPGatewayConfig instantiates a new BGPGatewayConfig 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 NewBGPGatewayConfigWithDefaults

func NewBGPGatewayConfigWithDefaults() *BGPGatewayConfig

NewBGPGatewayConfigWithDefaults instantiates a new BGPGatewayConfig 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 (*BGPGatewayConfig) GetLocalAsn

func (o *BGPGatewayConfig) GetLocalAsn() int64

GetLocalAsn returns the LocalAsn field value

func (*BGPGatewayConfig) GetLocalAsnOk

func (o *BGPGatewayConfig) GetLocalAsnOk() (*int64, bool)

GetLocalAsnOk returns a tuple with the LocalAsn field value and a boolean to check if the value has been set.

func (*BGPGatewayConfig) GetOverrideAdvertisedRoutes

func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutes() []string

GetOverrideAdvertisedRoutes returns the OverrideAdvertisedRoutes field value if set, zero value otherwise.

func (*BGPGatewayConfig) GetOverrideAdvertisedRoutesOk

func (o *BGPGatewayConfig) GetOverrideAdvertisedRoutesOk() ([]string, bool)

GetOverrideAdvertisedRoutesOk returns a tuple with the OverrideAdvertisedRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPGatewayConfig) HasOverrideAdvertisedRoutes

func (o *BGPGatewayConfig) HasOverrideAdvertisedRoutes() bool

HasOverrideAdvertisedRoutes returns a boolean if a field has been set.

func (BGPGatewayConfig) MarshalJSON

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

func (*BGPGatewayConfig) SetLocalAsn

func (o *BGPGatewayConfig) SetLocalAsn(v int64)

SetLocalAsn sets field value

func (*BGPGatewayConfig) SetOverrideAdvertisedRoutes

func (o *BGPGatewayConfig) SetOverrideAdvertisedRoutes(v []string)

SetOverrideAdvertisedRoutes gets a reference to the given []string and assigns it to the OverrideAdvertisedRoutes field.

func (BGPGatewayConfig) ToMap

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

func (*BGPGatewayConfig) UnmarshalJSON

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

type BGPStatus

type BGPStatus struct {
	Peers                []BGPStatusPeers  `json:"peers,omitempty"`
	Routes               []BGPStatusRoutes `json:"routes,omitempty"`
	AdditionalProperties map[string]interface{}
}

BGPStatus struct for BGPStatus

func NewBGPStatus

func NewBGPStatus() *BGPStatus

NewBGPStatus instantiates a new BGPStatus 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 NewBGPStatusWithDefaults

func NewBGPStatusWithDefaults() *BGPStatus

NewBGPStatusWithDefaults instantiates a new BGPStatus 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 (*BGPStatus) GetPeers

func (o *BGPStatus) GetPeers() []BGPStatusPeers

GetPeers returns the Peers field value if set, zero value otherwise.

func (*BGPStatus) GetPeersOk

func (o *BGPStatus) GetPeersOk() ([]BGPStatusPeers, bool)

GetPeersOk returns a tuple with the Peers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPStatus) GetRoutes

func (o *BGPStatus) GetRoutes() []BGPStatusRoutes

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*BGPStatus) GetRoutesOk

func (o *BGPStatus) GetRoutesOk() ([]BGPStatusRoutes, bool)

GetRoutesOk returns a tuple with the Routes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*BGPStatus) HasPeers

func (o *BGPStatus) HasPeers() bool

HasPeers returns a boolean if a field has been set.

func (*BGPStatus) HasRoutes

func (o *BGPStatus) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (BGPStatus) MarshalJSON

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

func (*BGPStatus) SetPeers

func (o *BGPStatus) SetPeers(v []BGPStatusPeers)

SetPeers gets a reference to the given []BGPStatusPeers and assigns it to the Peers field.

func (*BGPStatus) SetRoutes

func (o *BGPStatus) SetRoutes(v []BGPStatusRoutes)

SetRoutes gets a reference to the given []BGPStatusRoutes and assigns it to the Routes field.

func (BGPStatus) ToMap

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

func (*BGPStatus) UnmarshalJSON

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

type BGPStatusPeers

type BGPStatusPeers struct {
	// The ASN of the local STACKIT gateway.
	LocalAs int64 `json:"localAs"`
	// Duration the session has been established
	PeerUptime string `json:"peerUptime"`
	// Count of prefixes received from the neighbor.
	PfxRcd int32 `json:"pfxRcd"`
	// Count of prefixes advertised to the neighbor.
	PfxSnt int32 `json:"pfxSnt"`
	// The ASN of the remote neighbor.
	RemoteAs int64 `json:"remoteAs"`
	// The IP address of the remote BGP neighbor.
	RemoteIP string `json:"remoteIP"`
	// The current BGP session state.
	State                string `json:"state"`
	AdditionalProperties map[string]interface{}
}

BGPStatusPeers struct for BGPStatusPeers

func NewBGPStatusPeers

func NewBGPStatusPeers(localAs int64, peerUptime string, pfxRcd int32, pfxSnt int32, remoteAs int64, remoteIP string, state string) *BGPStatusPeers

NewBGPStatusPeers instantiates a new BGPStatusPeers 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 NewBGPStatusPeersWithDefaults

func NewBGPStatusPeersWithDefaults() *BGPStatusPeers

NewBGPStatusPeersWithDefaults instantiates a new BGPStatusPeers 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 (*BGPStatusPeers) GetLocalAs

func (o *BGPStatusPeers) GetLocalAs() int64

GetLocalAs returns the LocalAs field value

func (*BGPStatusPeers) GetLocalAsOk

func (o *BGPStatusPeers) GetLocalAsOk() (*int64, bool)

GetLocalAsOk returns a tuple with the LocalAs field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetPeerUptime

func (o *BGPStatusPeers) GetPeerUptime() string

GetPeerUptime returns the PeerUptime field value

func (*BGPStatusPeers) GetPeerUptimeOk

func (o *BGPStatusPeers) GetPeerUptimeOk() (*string, bool)

GetPeerUptimeOk returns a tuple with the PeerUptime field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetPfxRcd

func (o *BGPStatusPeers) GetPfxRcd() int32

GetPfxRcd returns the PfxRcd field value

func (*BGPStatusPeers) GetPfxRcdOk

func (o *BGPStatusPeers) GetPfxRcdOk() (*int32, bool)

GetPfxRcdOk returns a tuple with the PfxRcd field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetPfxSnt

func (o *BGPStatusPeers) GetPfxSnt() int32

GetPfxSnt returns the PfxSnt field value

func (*BGPStatusPeers) GetPfxSntOk

func (o *BGPStatusPeers) GetPfxSntOk() (*int32, bool)

GetPfxSntOk returns a tuple with the PfxSnt field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetRemoteAs

func (o *BGPStatusPeers) GetRemoteAs() int64

GetRemoteAs returns the RemoteAs field value

func (*BGPStatusPeers) GetRemoteAsOk

func (o *BGPStatusPeers) GetRemoteAsOk() (*int64, bool)

GetRemoteAsOk returns a tuple with the RemoteAs field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetRemoteIP

func (o *BGPStatusPeers) GetRemoteIP() string

GetRemoteIP returns the RemoteIP field value

func (*BGPStatusPeers) GetRemoteIPOk

func (o *BGPStatusPeers) GetRemoteIPOk() (*string, bool)

GetRemoteIPOk returns a tuple with the RemoteIP field value and a boolean to check if the value has been set.

func (*BGPStatusPeers) GetState

func (o *BGPStatusPeers) GetState() string

GetState returns the State field value

func (*BGPStatusPeers) GetStateOk

func (o *BGPStatusPeers) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.

func (BGPStatusPeers) MarshalJSON

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

func (*BGPStatusPeers) SetLocalAs

func (o *BGPStatusPeers) SetLocalAs(v int64)

SetLocalAs sets field value

func (*BGPStatusPeers) SetPeerUptime

func (o *BGPStatusPeers) SetPeerUptime(v string)

SetPeerUptime sets field value

func (*BGPStatusPeers) SetPfxRcd

func (o *BGPStatusPeers) SetPfxRcd(v int32)

SetPfxRcd sets field value

func (*BGPStatusPeers) SetPfxSnt

func (o *BGPStatusPeers) SetPfxSnt(v int32)

SetPfxSnt sets field value

func (*BGPStatusPeers) SetRemoteAs

func (o *BGPStatusPeers) SetRemoteAs(v int64)

SetRemoteAs sets field value

func (*BGPStatusPeers) SetRemoteIP

func (o *BGPStatusPeers) SetRemoteIP(v string)

SetRemoteIP sets field value

func (*BGPStatusPeers) SetState

func (o *BGPStatusPeers) SetState(v string)

SetState sets field value

func (BGPStatusPeers) ToMap

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

func (*BGPStatusPeers) UnmarshalJSON

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

type BGPStatusRoutes

type BGPStatusRoutes struct {
	// The destination network
	Network string `json:"network"`
	Origin  string `json:"origin"`
	// The AS-PATH
	Path string `json:"path"`
	// BGP Router ID of the neighbor that advertised this route
	PeerId               string `json:"peerId"`
	Weight               int32  `json:"weight"`
	AdditionalProperties map[string]interface{}
}

BGPStatusRoutes struct for BGPStatusRoutes

func NewBGPStatusRoutes

func NewBGPStatusRoutes(network string, origin string, path string, peerId string, weight int32) *BGPStatusRoutes

NewBGPStatusRoutes instantiates a new BGPStatusRoutes 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 NewBGPStatusRoutesWithDefaults

func NewBGPStatusRoutesWithDefaults() *BGPStatusRoutes

NewBGPStatusRoutesWithDefaults instantiates a new BGPStatusRoutes 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 (*BGPStatusRoutes) GetNetwork

func (o *BGPStatusRoutes) GetNetwork() string

GetNetwork returns the Network field value

func (*BGPStatusRoutes) GetNetworkOk

func (o *BGPStatusRoutes) GetNetworkOk() (*string, bool)

GetNetworkOk returns a tuple with the Network field value and a boolean to check if the value has been set.

func (*BGPStatusRoutes) GetOrigin

func (o *BGPStatusRoutes) GetOrigin() string

GetOrigin returns the Origin field value

func (*BGPStatusRoutes) GetOriginOk

func (o *BGPStatusRoutes) GetOriginOk() (*string, bool)

GetOriginOk returns a tuple with the Origin field value and a boolean to check if the value has been set.

func (*BGPStatusRoutes) GetPath

func (o *BGPStatusRoutes) GetPath() string

GetPath returns the Path field value

func (*BGPStatusRoutes) GetPathOk

func (o *BGPStatusRoutes) GetPathOk() (*string, bool)

GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.

func (*BGPStatusRoutes) GetPeerId

func (o *BGPStatusRoutes) GetPeerId() string

GetPeerId returns the PeerId field value

func (*BGPStatusRoutes) GetPeerIdOk

func (o *BGPStatusRoutes) GetPeerIdOk() (*string, bool)

GetPeerIdOk returns a tuple with the PeerId field value and a boolean to check if the value has been set.

func (*BGPStatusRoutes) GetWeight

func (o *BGPStatusRoutes) GetWeight() int32

GetWeight returns the Weight field value

func (*BGPStatusRoutes) GetWeightOk

func (o *BGPStatusRoutes) GetWeightOk() (*int32, bool)

GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.

func (BGPStatusRoutes) MarshalJSON

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

func (*BGPStatusRoutes) SetNetwork

func (o *BGPStatusRoutes) SetNetwork(v string)

SetNetwork sets field value

func (*BGPStatusRoutes) SetOrigin

func (o *BGPStatusRoutes) SetOrigin(v string)

SetOrigin sets field value

func (*BGPStatusRoutes) SetPath

func (o *BGPStatusRoutes) SetPath(v string)

SetPath sets field value

func (*BGPStatusRoutes) SetPeerId

func (o *BGPStatusRoutes) SetPeerId(v string)

SetPeerId sets field value

func (*BGPStatusRoutes) SetWeight

func (o *BGPStatusRoutes) SetWeight(v int32)

SetWeight sets field value

func (BGPStatusRoutes) ToMap

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

func (*BGPStatusRoutes) UnmarshalJSON

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

type BGPTunnelConfig

type BGPTunnelConfig struct {
	// UUID of the BGPFilter to apply to incoming routes from this tunnel's BGP neighbor. The filter must exist in the same gateway. Multiple tunnels may reference the same BGPFilter; in that case the rules' 'match.peer' field can be used to scope behavior per neighbor. Outbound filtering is not yet supported; use gateway.bgp.overrideAdvertisedRoutes to control what is advertised.
	InboundFilterId NullableString `json:"inboundFilterId,omitempty"`
	// Number of an Autonomous System. Both 16Bit and 32Bit ranges are supported, excluding values reserved by:   * RFC 7607 (0)   * RFC 6793 (23456, AS_TRANS)   * RFC 7300 (65535 and 4294967295, the \"Last ASNs\")
	RemoteAsn            int64 `json:"remoteAsn"`
	AdditionalProperties map[string]interface{}
}

BGPTunnelConfig struct for BGPTunnelConfig

func NewBGPTunnelConfig

func NewBGPTunnelConfig(remoteAsn int64) *BGPTunnelConfig

NewBGPTunnelConfig instantiates a new BGPTunnelConfig 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 NewBGPTunnelConfigWithDefaults

func NewBGPTunnelConfigWithDefaults() *BGPTunnelConfig

NewBGPTunnelConfigWithDefaults instantiates a new BGPTunnelConfig 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 (*BGPTunnelConfig) GetInboundFilterId added in v0.15.0

func (o *BGPTunnelConfig) GetInboundFilterId() string

GetInboundFilterId returns the InboundFilterId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*BGPTunnelConfig) GetInboundFilterIdOk added in v0.15.0

func (o *BGPTunnelConfig) GetInboundFilterIdOk() (*string, bool)

GetInboundFilterIdOk returns a tuple with the InboundFilterId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*BGPTunnelConfig) GetRemoteAsn

func (o *BGPTunnelConfig) GetRemoteAsn() int64

GetRemoteAsn returns the RemoteAsn field value

func (*BGPTunnelConfig) GetRemoteAsnOk

func (o *BGPTunnelConfig) GetRemoteAsnOk() (*int64, bool)

GetRemoteAsnOk returns a tuple with the RemoteAsn field value and a boolean to check if the value has been set.

func (*BGPTunnelConfig) HasInboundFilterId added in v0.15.0

func (o *BGPTunnelConfig) HasInboundFilterId() bool

HasInboundFilterId returns a boolean if a field has been set.

func (BGPTunnelConfig) MarshalJSON

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

func (*BGPTunnelConfig) SetInboundFilterId added in v0.15.0

func (o *BGPTunnelConfig) SetInboundFilterId(v string)

SetInboundFilterId gets a reference to the given NullableString and assigns it to the InboundFilterId field.

func (*BGPTunnelConfig) SetInboundFilterIdNil added in v0.15.0

func (o *BGPTunnelConfig) SetInboundFilterIdNil()

SetInboundFilterIdNil sets the value for InboundFilterId to be an explicit nil

func (*BGPTunnelConfig) SetRemoteAsn

func (o *BGPTunnelConfig) SetRemoteAsn(v int64)

SetRemoteAsn sets field value

func (BGPTunnelConfig) ToMap

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

func (*BGPTunnelConfig) UnmarshalJSON

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

func (*BGPTunnelConfig) UnsetInboundFilterId added in v0.15.0

func (o *BGPTunnelConfig) UnsetInboundFilterId()

UnsetInboundFilterId ensures that no value is present for InboundFilterId, not even an explicit nil

type ConnectionList

type ConnectionList struct {
	Connections          []ConnectionResponse `json:"connections"`
	AdditionalProperties map[string]interface{}
}

ConnectionList struct for ConnectionList

func NewConnectionList

func NewConnectionList(connections []ConnectionResponse) *ConnectionList

NewConnectionList instantiates a new ConnectionList 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 NewConnectionListWithDefaults

func NewConnectionListWithDefaults() *ConnectionList

NewConnectionListWithDefaults instantiates a new ConnectionList 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 (*ConnectionList) GetConnections

func (o *ConnectionList) GetConnections() []ConnectionResponse

GetConnections returns the Connections field value

func (*ConnectionList) GetConnectionsOk

func (o *ConnectionList) GetConnectionsOk() ([]ConnectionResponse, bool)

GetConnectionsOk returns a tuple with the Connections field value and a boolean to check if the value has been set.

func (ConnectionList) MarshalJSON

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

func (*ConnectionList) SetConnections

func (o *ConnectionList) SetConnections(v []ConnectionResponse)

SetConnections sets field value

func (ConnectionList) ToMap

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

func (*ConnectionList) UnmarshalJSON

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

type ConnectionResponse

type ConnectionResponse struct {
	// A user-friendly name for the connection.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// This flag decides whether this connection should be enabled or disabled
	Enabled *bool `json:"enabled,omitempty"`
	// UUID of the Gateway instance.
	Id *string `json:"id,omitempty"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels *map[string]string `json:"labels,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	LocalSubnets []string `json:"localSubnets,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	RemoteSubnets []string `json:"remoteSubnets,omitempty"`
	// Optional. Use this for route-based VPN.
	StaticRoutes         []string            `json:"staticRoutes,omitempty"`
	Tunnel1              TunnelConfiguration `json:"tunnel1"`
	Tunnel2              TunnelConfiguration `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

ConnectionResponse struct for ConnectionResponse

func NewConnectionResponse

func NewConnectionResponse(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *ConnectionResponse

NewConnectionResponse instantiates a new ConnectionResponse 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 NewConnectionResponseWithDefaults

func NewConnectionResponseWithDefaults() *ConnectionResponse

NewConnectionResponseWithDefaults instantiates a new ConnectionResponse 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 (*ConnectionResponse) GetDisplayName

func (o *ConnectionResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*ConnectionResponse) GetDisplayNameOk

func (o *ConnectionResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*ConnectionResponse) GetEnabled

func (o *ConnectionResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ConnectionResponse) GetEnabledOk

func (o *ConnectionResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionResponse) GetId

func (o *ConnectionResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ConnectionResponse) GetIdOk

func (o *ConnectionResponse) GetIdOk() (*string, 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 (*ConnectionResponse) GetLabels

func (o *ConnectionResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ConnectionResponse) GetLabelsOk

func (o *ConnectionResponse) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionResponse) GetLocalSubnets

func (o *ConnectionResponse) GetLocalSubnets() []string

GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.

func (*ConnectionResponse) GetLocalSubnetsOk

func (o *ConnectionResponse) GetLocalSubnetsOk() ([]string, bool)

GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionResponse) GetRemoteSubnets

func (o *ConnectionResponse) GetRemoteSubnets() []string

GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.

func (*ConnectionResponse) GetRemoteSubnetsOk

func (o *ConnectionResponse) GetRemoteSubnetsOk() ([]string, bool)

GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionResponse) GetStaticRoutes

func (o *ConnectionResponse) GetStaticRoutes() []string

GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.

func (*ConnectionResponse) GetStaticRoutesOk

func (o *ConnectionResponse) GetStaticRoutesOk() ([]string, bool)

GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionResponse) GetTunnel1

func (o *ConnectionResponse) GetTunnel1() TunnelConfiguration

GetTunnel1 returns the Tunnel1 field value

func (*ConnectionResponse) GetTunnel1Ok

func (o *ConnectionResponse) GetTunnel1Ok() (*TunnelConfiguration, bool)

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*ConnectionResponse) GetTunnel2

func (o *ConnectionResponse) GetTunnel2() TunnelConfiguration

GetTunnel2 returns the Tunnel2 field value

func (*ConnectionResponse) GetTunnel2Ok

func (o *ConnectionResponse) GetTunnel2Ok() (*TunnelConfiguration, bool)

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (*ConnectionResponse) HasEnabled

func (o *ConnectionResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ConnectionResponse) HasId

func (o *ConnectionResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*ConnectionResponse) HasLabels

func (o *ConnectionResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ConnectionResponse) HasLocalSubnets

func (o *ConnectionResponse) HasLocalSubnets() bool

HasLocalSubnets returns a boolean if a field has been set.

func (*ConnectionResponse) HasRemoteSubnets

func (o *ConnectionResponse) HasRemoteSubnets() bool

HasRemoteSubnets returns a boolean if a field has been set.

func (*ConnectionResponse) HasStaticRoutes

func (o *ConnectionResponse) HasStaticRoutes() bool

HasStaticRoutes returns a boolean if a field has been set.

func (ConnectionResponse) MarshalJSON

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

func (*ConnectionResponse) SetDisplayName

func (o *ConnectionResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*ConnectionResponse) SetEnabled

func (o *ConnectionResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*ConnectionResponse) SetId

func (o *ConnectionResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ConnectionResponse) SetLabels

func (o *ConnectionResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*ConnectionResponse) SetLocalSubnets

func (o *ConnectionResponse) SetLocalSubnets(v []string)

SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.

func (*ConnectionResponse) SetRemoteSubnets

func (o *ConnectionResponse) SetRemoteSubnets(v []string)

SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.

func (*ConnectionResponse) SetStaticRoutes

func (o *ConnectionResponse) SetStaticRoutes(v []string)

SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.

func (*ConnectionResponse) SetTunnel1

func (o *ConnectionResponse) SetTunnel1(v TunnelConfiguration)

SetTunnel1 sets field value

func (*ConnectionResponse) SetTunnel2

func (o *ConnectionResponse) SetTunnel2(v TunnelConfiguration)

SetTunnel2 sets field value

func (ConnectionResponse) ToMap

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

func (*ConnectionResponse) UnmarshalJSON

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

type ConnectionStatusResponse

type ConnectionStatusResponse struct {
	// The name of the connection.
	DisplayName *string `json:"displayName,omitempty"`
	Enabled     *bool   `json:"enabled,omitempty"`
	// UUID of the connection.
	Id                   *string        `json:"id,omitempty"`
	Tunnels              []TunnelStatus `json:"tunnels,omitempty"`
	AdditionalProperties map[string]interface{}
}

ConnectionStatusResponse struct for ConnectionStatusResponse

func NewConnectionStatusResponse

func NewConnectionStatusResponse() *ConnectionStatusResponse

NewConnectionStatusResponse instantiates a new ConnectionStatusResponse 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 NewConnectionStatusResponseWithDefaults

func NewConnectionStatusResponseWithDefaults() *ConnectionStatusResponse

NewConnectionStatusResponseWithDefaults instantiates a new ConnectionStatusResponse 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 (*ConnectionStatusResponse) GetDisplayName

func (o *ConnectionStatusResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*ConnectionStatusResponse) GetDisplayNameOk

func (o *ConnectionStatusResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionStatusResponse) GetEnabled

func (o *ConnectionStatusResponse) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*ConnectionStatusResponse) GetEnabledOk

func (o *ConnectionStatusResponse) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionStatusResponse) GetId

func (o *ConnectionStatusResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ConnectionStatusResponse) GetIdOk

func (o *ConnectionStatusResponse) GetIdOk() (*string, 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 (*ConnectionStatusResponse) GetTunnels

func (o *ConnectionStatusResponse) GetTunnels() []TunnelStatus

GetTunnels returns the Tunnels field value if set, zero value otherwise.

func (*ConnectionStatusResponse) GetTunnelsOk

func (o *ConnectionStatusResponse) GetTunnelsOk() ([]TunnelStatus, bool)

GetTunnelsOk returns a tuple with the Tunnels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ConnectionStatusResponse) HasDisplayName

func (o *ConnectionStatusResponse) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*ConnectionStatusResponse) HasEnabled

func (o *ConnectionStatusResponse) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*ConnectionStatusResponse) HasId

func (o *ConnectionStatusResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*ConnectionStatusResponse) HasTunnels

func (o *ConnectionStatusResponse) HasTunnels() bool

HasTunnels returns a boolean if a field has been set.

func (ConnectionStatusResponse) MarshalJSON

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

func (*ConnectionStatusResponse) SetDisplayName

func (o *ConnectionStatusResponse) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*ConnectionStatusResponse) SetEnabled

func (o *ConnectionStatusResponse) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*ConnectionStatusResponse) SetId

func (o *ConnectionStatusResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*ConnectionStatusResponse) SetTunnels

func (o *ConnectionStatusResponse) SetTunnels(v []TunnelStatus)

SetTunnels gets a reference to the given []TunnelStatus and assigns it to the Tunnels field.

func (ConnectionStatusResponse) ToMap

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

func (*ConnectionStatusResponse) UnmarshalJSON

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

type CreateGatewayBGPFilterPayload added in v0.15.0

type CreateGatewayBGPFilterPayload struct {
	// A user-friendly name for the filter. Display only — not enforced unique across a gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// The server-generated UUID of the filter.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayBGPFilterPayload A named BGP route filter. Internally a BGPFilter holds an ordered set of rules (managed via the nested /rules sub-resource); a route is evaluated against each rule in 'sequence' order and the first match decides the outcome. An implicit DENY is applied after the last rule, so a route that matches no PERMIT rule is dropped. Attaching an empty filter to a tunnel therefore denies every route. Resource limits: the maximum number of filters per gateway equals the gateway plan's maxConnections value; the maximum number of rules per filter is 10.

func NewCreateGatewayBGPFilterPayload added in v0.15.0

func NewCreateGatewayBGPFilterPayload(displayName string) *CreateGatewayBGPFilterPayload

NewCreateGatewayBGPFilterPayload instantiates a new CreateGatewayBGPFilterPayload 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 NewCreateGatewayBGPFilterPayloadWithDefaults added in v0.15.0

func NewCreateGatewayBGPFilterPayloadWithDefaults() *CreateGatewayBGPFilterPayload

NewCreateGatewayBGPFilterPayloadWithDefaults instantiates a new CreateGatewayBGPFilterPayload 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 (*CreateGatewayBGPFilterPayload) GetDisplayName added in v0.15.0

func (o *CreateGatewayBGPFilterPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateGatewayBGPFilterPayload) GetDisplayNameOk added in v0.15.0

func (o *CreateGatewayBGPFilterPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterPayload) GetId added in v0.15.0

GetId returns the Id field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterPayload) GetIdOk added in v0.15.0

func (o *CreateGatewayBGPFilterPayload) GetIdOk() (*string, 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 (*CreateGatewayBGPFilterPayload) HasId added in v0.15.0

HasId returns a boolean if a field has been set.

func (CreateGatewayBGPFilterPayload) MarshalJSON added in v0.15.0

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

func (*CreateGatewayBGPFilterPayload) SetDisplayName added in v0.15.0

func (o *CreateGatewayBGPFilterPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateGatewayBGPFilterPayload) SetId added in v0.15.0

SetId gets a reference to the given string and assigns it to the Id field.

func (CreateGatewayBGPFilterPayload) ToMap added in v0.15.0

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

func (*CreateGatewayBGPFilterPayload) UnmarshalJSON added in v0.15.0

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

type CreateGatewayBGPFilterRulePayload added in v0.15.0

type CreateGatewayBGPFilterRulePayload struct {
	Action CreateGatewayBGPFilterRulePayloadAction `json:"action"`
	// The server-generated UUID of the specific rule.
	Id    *string                                 `json:"id,omitempty"`
	Match *CreateGatewayBGPFilterRulePayloadMatch `json:"match,omitempty"`
	// The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required — sending a partial update without 'sequence' returns 400.
	Sequence             *int32                                `json:"sequence,omitempty"`
	Set                  *CreateGatewayBGPFilterRulePayloadSet `json:"set,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayBGPFilterRulePayload A single rule within a BGPFilter. All non-empty fields within the 'match' block are AND-combined. Rules within a filter are evaluated in 'sequence' order; the first matching rule decides the outcome (logical OR across rules). An implicit DENY follows the last rule.

func NewCreateGatewayBGPFilterRulePayload added in v0.15.0

func NewCreateGatewayBGPFilterRulePayload(action CreateGatewayBGPFilterRulePayloadAction) *CreateGatewayBGPFilterRulePayload

NewCreateGatewayBGPFilterRulePayload instantiates a new CreateGatewayBGPFilterRulePayload 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 NewCreateGatewayBGPFilterRulePayloadWithDefaults added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadWithDefaults() *CreateGatewayBGPFilterRulePayload

NewCreateGatewayBGPFilterRulePayloadWithDefaults instantiates a new CreateGatewayBGPFilterRulePayload 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 (*CreateGatewayBGPFilterRulePayload) GetAction added in v0.15.0

GetAction returns the Action field value

func (*CreateGatewayBGPFilterRulePayload) GetActionOk added in v0.15.0

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayload) GetId added in v0.15.0

GetId returns the Id field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayload) GetIdOk added in v0.15.0

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 (*CreateGatewayBGPFilterRulePayload) GetMatch added in v0.15.0

GetMatch returns the Match field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayload) GetMatchOk added in v0.15.0

GetMatchOk returns a tuple with the Match field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayload) GetSequence added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayload) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayload) GetSequenceOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayload) GetSequenceOk() (*int32, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayload) GetSet added in v0.15.0

GetSet returns the Set field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayload) GetSetOk added in v0.15.0

GetSetOk returns a tuple with the Set field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayload) HasId added in v0.15.0

HasId returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayload) HasMatch added in v0.15.0

HasMatch returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayload) HasSequence added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayload) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayload) HasSet added in v0.15.0

HasSet returns a boolean if a field has been set.

func (CreateGatewayBGPFilterRulePayload) MarshalJSON added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayload) SetAction added in v0.15.0

SetAction sets field value

func (*CreateGatewayBGPFilterRulePayload) SetId added in v0.15.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*CreateGatewayBGPFilterRulePayload) SetMatch added in v0.15.0

SetMatch gets a reference to the given CreateGatewayBGPFilterRulePayloadMatch and assigns it to the Match field.

func (*CreateGatewayBGPFilterRulePayload) SetSequence added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayload) SetSequence(v int32)

SetSequence gets a reference to the given int32 and assigns it to the Sequence field.

func (*CreateGatewayBGPFilterRulePayload) SetSet added in v0.15.0

SetSet gets a reference to the given CreateGatewayBGPFilterRulePayloadSet and assigns it to the Set field.

func (CreateGatewayBGPFilterRulePayload) ToMap added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayload) UnmarshalJSON added in v0.15.0

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

type CreateGatewayBGPFilterRulePayloadAction added in v0.15.0

type CreateGatewayBGPFilterRulePayloadAction string

CreateGatewayBGPFilterRulePayloadAction The action to take if the route matches all criteria. Case-sensitive.

const (
	CREATEGATEWAYBGPFILTERRULEPAYLOADACTION_PERMIT                   CreateGatewayBGPFilterRulePayloadAction = "PERMIT"
	CREATEGATEWAYBGPFILTERRULEPAYLOADACTION_DENY                     CreateGatewayBGPFilterRulePayloadAction = "DENY"
	CREATEGATEWAYBGPFILTERRULEPAYLOADACTION_UNKNOWN_DEFAULT_OPEN_API CreateGatewayBGPFilterRulePayloadAction = "unknown_default_open_api"
)

List of CreateGatewayBGPFilterRulePayload_action

func NewCreateGatewayBGPFilterRulePayloadActionFromValue added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadActionFromValue(v string) (*CreateGatewayBGPFilterRulePayloadAction, error)

NewCreateGatewayBGPFilterRulePayloadActionFromValue returns a pointer to a valid CreateGatewayBGPFilterRulePayloadAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (CreateGatewayBGPFilterRulePayloadAction) IsValid added in v0.15.0

IsValid return true if the value is valid for the enum, false otherwise

func (CreateGatewayBGPFilterRulePayloadAction) Ptr added in v0.15.0

Ptr returns reference to CreateGatewayBGPFilterRulePayload_action value

func (*CreateGatewayBGPFilterRulePayloadAction) UnmarshalJSON added in v0.15.0

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

type CreateGatewayBGPFilterRulePayloadMatch added in v0.15.0

type CreateGatewayBGPFilterRulePayloadMatch struct {
	// Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required.
	AsPathContainsAny []int64 `json:"asPathContainsAny,omitempty"`
	// Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported.
	Communities []string `json:"communities,omitempty"`
	// Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny.
	FirstASN *int64 `json:"firstASN,omitempty"`
	// Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]').
	MaxPrefixLength *int32 `json:"maxPrefixLength,omitempty"`
	// Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength.
	MinPrefixLength *int32 `json:"minPrefixLength,omitempty"`
	// Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped.
	Peer *string `json:"peer,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	// List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24).
	Prefixes             []string `json:"prefixes,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayBGPFilterRulePayloadMatch Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND).

func NewCreateGatewayBGPFilterRulePayloadMatch added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadMatch() *CreateGatewayBGPFilterRulePayloadMatch

NewCreateGatewayBGPFilterRulePayloadMatch instantiates a new CreateGatewayBGPFilterRulePayloadMatch 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 NewCreateGatewayBGPFilterRulePayloadMatchWithDefaults added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadMatchWithDefaults() *CreateGatewayBGPFilterRulePayloadMatch

NewCreateGatewayBGPFilterRulePayloadMatchWithDefaults instantiates a new CreateGatewayBGPFilterRulePayloadMatch 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 (*CreateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAny added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAny() []int64

GetAsPathContainsAny returns the AsPathContainsAny field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAnyOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAnyOk() ([]int64, bool)

GetAsPathContainsAnyOk returns a tuple with the AsPathContainsAny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetCommunities added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetCommunities() []string

GetCommunities returns the Communities field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetCommunitiesOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetCommunitiesOk() ([]string, bool)

GetCommunitiesOk returns a tuple with the Communities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetFirstASN added in v0.15.0

GetFirstASN returns the FirstASN field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetFirstASNOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetFirstASNOk() (*int64, bool)

GetFirstASNOk returns a tuple with the FirstASN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLength() int32

GetMaxPrefixLength returns the MaxPrefixLength field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLengthOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLengthOk() (*int32, bool)

GetMaxPrefixLengthOk returns a tuple with the MaxPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLength() int32

GetMinPrefixLength returns the MinPrefixLength field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLengthOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLengthOk() (*int32, bool)

GetMinPrefixLengthOk returns a tuple with the MinPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetPeer added in v0.15.0

GetPeer returns the Peer field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetPeerOk added in v0.15.0

GetPeerOk returns a tuple with the Peer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetPrefixes added in v0.15.0

GetPrefixes returns the Prefixes field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadMatch) GetPrefixesOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) GetPrefixesOk() ([]string, bool)

GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasAsPathContainsAny added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) HasAsPathContainsAny() bool

HasAsPathContainsAny returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasCommunities added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) HasCommunities() bool

HasCommunities returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasFirstASN added in v0.15.0

HasFirstASN returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasMaxPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) HasMaxPrefixLength() bool

HasMaxPrefixLength returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasMinPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) HasMinPrefixLength() bool

HasMinPrefixLength returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasPeer added in v0.15.0

HasPeer returns a boolean if a field has been set.

func (*CreateGatewayBGPFilterRulePayloadMatch) HasPrefixes added in v0.15.0

HasPrefixes returns a boolean if a field has been set.

func (CreateGatewayBGPFilterRulePayloadMatch) MarshalJSON added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayloadMatch) SetAsPathContainsAny added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) SetAsPathContainsAny(v []int64)

SetAsPathContainsAny gets a reference to the given []int64 and assigns it to the AsPathContainsAny field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetCommunities added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) SetCommunities(v []string)

SetCommunities gets a reference to the given []string and assigns it to the Communities field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetFirstASN added in v0.15.0

SetFirstASN gets a reference to the given int64 and assigns it to the FirstASN field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetMaxPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) SetMaxPrefixLength(v int32)

SetMaxPrefixLength gets a reference to the given int32 and assigns it to the MaxPrefixLength field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetMinPrefixLength added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) SetMinPrefixLength(v int32)

SetMinPrefixLength gets a reference to the given int32 and assigns it to the MinPrefixLength field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetPeer added in v0.15.0

SetPeer gets a reference to the given string and assigns it to the Peer field.

func (*CreateGatewayBGPFilterRulePayloadMatch) SetPrefixes added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadMatch) SetPrefixes(v []string)

SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.

func (CreateGatewayBGPFilterRulePayloadMatch) ToMap added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayloadMatch) UnmarshalJSON added in v0.15.0

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

type CreateGatewayBGPFilterRulePayloadSet added in v0.15.0

type CreateGatewayBGPFilterRulePayloadSet struct {
	// BGP LOCAL_PREF to set on the route. Higher values are preferred during best-path selection. Default BGP LOCAL_PREF is 100; any value here overrides.
	LocalPreference      *int32 `json:"localPreference,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayBGPFilterRulePayloadSet Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules.

func NewCreateGatewayBGPFilterRulePayloadSet added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadSet() *CreateGatewayBGPFilterRulePayloadSet

NewCreateGatewayBGPFilterRulePayloadSet instantiates a new CreateGatewayBGPFilterRulePayloadSet 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 NewCreateGatewayBGPFilterRulePayloadSetWithDefaults added in v0.15.0

func NewCreateGatewayBGPFilterRulePayloadSetWithDefaults() *CreateGatewayBGPFilterRulePayloadSet

NewCreateGatewayBGPFilterRulePayloadSetWithDefaults instantiates a new CreateGatewayBGPFilterRulePayloadSet 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 (*CreateGatewayBGPFilterRulePayloadSet) GetLocalPreference added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadSet) GetLocalPreference() int32

GetLocalPreference returns the LocalPreference field value if set, zero value otherwise.

func (*CreateGatewayBGPFilterRulePayloadSet) GetLocalPreferenceOk added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadSet) GetLocalPreferenceOk() (*int32, bool)

GetLocalPreferenceOk returns a tuple with the LocalPreference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayBGPFilterRulePayloadSet) HasLocalPreference added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadSet) HasLocalPreference() bool

HasLocalPreference returns a boolean if a field has been set.

func (CreateGatewayBGPFilterRulePayloadSet) MarshalJSON added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayloadSet) SetLocalPreference added in v0.15.0

func (o *CreateGatewayBGPFilterRulePayloadSet) SetLocalPreference(v int32)

SetLocalPreference gets a reference to the given int32 and assigns it to the LocalPreference field.

func (CreateGatewayBGPFilterRulePayloadSet) ToMap added in v0.15.0

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

func (*CreateGatewayBGPFilterRulePayloadSet) UnmarshalJSON added in v0.15.0

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

type CreateGatewayConnectionPayload

type CreateGatewayConnectionPayload struct {
	// A user-friendly name for the connection.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// This flag decides whether this connection should be enabled or disabled
	Enabled *bool `json:"enabled,omitempty"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels *map[string]string `json:"labels,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	LocalSubnets []string `json:"localSubnets,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	RemoteSubnets []string `json:"remoteSubnets,omitempty"`
	// Optional. Use this for route-based VPN.
	StaticRoutes         []string            `json:"staticRoutes,omitempty"`
	Tunnel1              TunnelConfiguration `json:"tunnel1"`
	Tunnel2              TunnelConfiguration `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayConnectionPayload struct for CreateGatewayConnectionPayload

func NewCreateGatewayConnectionPayload

func NewCreateGatewayConnectionPayload(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *CreateGatewayConnectionPayload

NewCreateGatewayConnectionPayload instantiates a new CreateGatewayConnectionPayload 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 NewCreateGatewayConnectionPayloadWithDefaults

func NewCreateGatewayConnectionPayloadWithDefaults() *CreateGatewayConnectionPayload

NewCreateGatewayConnectionPayloadWithDefaults instantiates a new CreateGatewayConnectionPayload 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 (*CreateGatewayConnectionPayload) GetDisplayName

func (o *CreateGatewayConnectionPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateGatewayConnectionPayload) GetDisplayNameOk

func (o *CreateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetEnabled

func (o *CreateGatewayConnectionPayload) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*CreateGatewayConnectionPayload) GetEnabledOk

func (o *CreateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetLabels added in v0.11.0

func (o *CreateGatewayConnectionPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateGatewayConnectionPayload) GetLabelsOk added in v0.11.0

func (o *CreateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetLocalSubnets

func (o *CreateGatewayConnectionPayload) GetLocalSubnets() []string

GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.

func (*CreateGatewayConnectionPayload) GetLocalSubnetsOk

func (o *CreateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)

GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetRemoteSubnets

func (o *CreateGatewayConnectionPayload) GetRemoteSubnets() []string

GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.

func (*CreateGatewayConnectionPayload) GetRemoteSubnetsOk

func (o *CreateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)

GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetStaticRoutes

func (o *CreateGatewayConnectionPayload) GetStaticRoutes() []string

GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.

func (*CreateGatewayConnectionPayload) GetStaticRoutesOk

func (o *CreateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)

GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetTunnel1

GetTunnel1 returns the Tunnel1 field value

func (*CreateGatewayConnectionPayload) GetTunnel1Ok

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) GetTunnel2

GetTunnel2 returns the Tunnel2 field value

func (*CreateGatewayConnectionPayload) GetTunnel2Ok

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (*CreateGatewayConnectionPayload) HasEnabled

func (o *CreateGatewayConnectionPayload) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*CreateGatewayConnectionPayload) HasLabels added in v0.11.0

func (o *CreateGatewayConnectionPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateGatewayConnectionPayload) HasLocalSubnets

func (o *CreateGatewayConnectionPayload) HasLocalSubnets() bool

HasLocalSubnets returns a boolean if a field has been set.

func (*CreateGatewayConnectionPayload) HasRemoteSubnets

func (o *CreateGatewayConnectionPayload) HasRemoteSubnets() bool

HasRemoteSubnets returns a boolean if a field has been set.

func (*CreateGatewayConnectionPayload) HasStaticRoutes

func (o *CreateGatewayConnectionPayload) HasStaticRoutes() bool

HasStaticRoutes returns a boolean if a field has been set.

func (CreateGatewayConnectionPayload) MarshalJSON

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

func (*CreateGatewayConnectionPayload) SetDisplayName

func (o *CreateGatewayConnectionPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateGatewayConnectionPayload) SetEnabled

func (o *CreateGatewayConnectionPayload) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*CreateGatewayConnectionPayload) SetLabels added in v0.11.0

func (o *CreateGatewayConnectionPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateGatewayConnectionPayload) SetLocalSubnets

func (o *CreateGatewayConnectionPayload) SetLocalSubnets(v []string)

SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.

func (*CreateGatewayConnectionPayload) SetRemoteSubnets

func (o *CreateGatewayConnectionPayload) SetRemoteSubnets(v []string)

SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.

func (*CreateGatewayConnectionPayload) SetStaticRoutes

func (o *CreateGatewayConnectionPayload) SetStaticRoutes(v []string)

SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.

func (*CreateGatewayConnectionPayload) SetTunnel1

SetTunnel1 sets field value

func (*CreateGatewayConnectionPayload) SetTunnel2

SetTunnel2 sets field value

func (CreateGatewayConnectionPayload) ToMap

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

func (*CreateGatewayConnectionPayload) UnmarshalJSON

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

type CreateGatewayPayload

type CreateGatewayPayload struct {
	AvailabilityZones CreateGatewayPayloadAvailabilityZones `json:"availabilityZones"`
	Bgp               *BGPGatewayConfig                     `json:"bgp,omitempty"`
	// A user-friendly name for the VPN gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels        *map[string]string `json:"labels,omitempty"`
	NetworkConfig *NetworkConfig     `json:"networkConfig,omitempty"`
	// The service plan identifier.
	PlanId               string      `json:"planId"`
	RoutingType          RoutingType `json:"routingType"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayPayload struct for CreateGatewayPayload

func NewCreateGatewayPayload

func NewCreateGatewayPayload(availabilityZones CreateGatewayPayloadAvailabilityZones, displayName string, planId string, routingType RoutingType) *CreateGatewayPayload

NewCreateGatewayPayload instantiates a new CreateGatewayPayload 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 NewCreateGatewayPayloadWithDefaults

func NewCreateGatewayPayloadWithDefaults() *CreateGatewayPayload

NewCreateGatewayPayloadWithDefaults instantiates a new CreateGatewayPayload 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 (*CreateGatewayPayload) GetAvailabilityZones

GetAvailabilityZones returns the AvailabilityZones field value

func (*CreateGatewayPayload) GetAvailabilityZonesOk

func (o *CreateGatewayPayload) GetAvailabilityZonesOk() (*CreateGatewayPayloadAvailabilityZones, bool)

GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetBgp

GetBgp returns the Bgp field value if set, zero value otherwise.

func (*CreateGatewayPayload) GetBgpOk

func (o *CreateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)

GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetDisplayName

func (o *CreateGatewayPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateGatewayPayload) GetDisplayNameOk

func (o *CreateGatewayPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetLabels

func (o *CreateGatewayPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*CreateGatewayPayload) GetLabelsOk

func (o *CreateGatewayPayload) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetNetworkConfig added in v0.15.0

func (o *CreateGatewayPayload) GetNetworkConfig() NetworkConfig

GetNetworkConfig returns the NetworkConfig field value if set, zero value otherwise.

func (*CreateGatewayPayload) GetNetworkConfigOk added in v0.15.0

func (o *CreateGatewayPayload) GetNetworkConfigOk() (*NetworkConfig, bool)

GetNetworkConfigOk returns a tuple with the NetworkConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetPlanId

func (o *CreateGatewayPayload) GetPlanId() string

GetPlanId returns the PlanId field value

func (*CreateGatewayPayload) GetPlanIdOk

func (o *CreateGatewayPayload) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.

func (*CreateGatewayPayload) GetRoutingType

func (o *CreateGatewayPayload) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*CreateGatewayPayload) GetRoutingTypeOk

func (o *CreateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)

GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.

func (*CreateGatewayPayload) HasBgp

func (o *CreateGatewayPayload) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*CreateGatewayPayload) HasLabels

func (o *CreateGatewayPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*CreateGatewayPayload) HasNetworkConfig added in v0.15.0

func (o *CreateGatewayPayload) HasNetworkConfig() bool

HasNetworkConfig returns a boolean if a field has been set.

func (CreateGatewayPayload) MarshalJSON

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

func (*CreateGatewayPayload) SetAvailabilityZones

SetAvailabilityZones sets field value

func (*CreateGatewayPayload) SetBgp

SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.

func (*CreateGatewayPayload) SetDisplayName

func (o *CreateGatewayPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateGatewayPayload) SetLabels

func (o *CreateGatewayPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*CreateGatewayPayload) SetNetworkConfig added in v0.15.0

func (o *CreateGatewayPayload) SetNetworkConfig(v NetworkConfig)

SetNetworkConfig gets a reference to the given NetworkConfig and assigns it to the NetworkConfig field.

func (*CreateGatewayPayload) SetPlanId

func (o *CreateGatewayPayload) SetPlanId(v string)

SetPlanId sets field value

func (*CreateGatewayPayload) SetRoutingType

func (o *CreateGatewayPayload) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (CreateGatewayPayload) ToMap

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

func (*CreateGatewayPayload) UnmarshalJSON

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

type CreateGatewayPayloadAvailabilityZones

type CreateGatewayPayloadAvailabilityZones struct {
	// Object that represents an availability zone.
	Tunnel1 string `json:"tunnel1"`
	// Object that represents an availability zone.
	Tunnel2              string `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayPayloadAvailabilityZones struct for CreateGatewayPayloadAvailabilityZones

func NewCreateGatewayPayloadAvailabilityZones

func NewCreateGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *CreateGatewayPayloadAvailabilityZones

NewCreateGatewayPayloadAvailabilityZones instantiates a new CreateGatewayPayloadAvailabilityZones 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 NewCreateGatewayPayloadAvailabilityZonesWithDefaults

func NewCreateGatewayPayloadAvailabilityZonesWithDefaults() *CreateGatewayPayloadAvailabilityZones

NewCreateGatewayPayloadAvailabilityZonesWithDefaults instantiates a new CreateGatewayPayloadAvailabilityZones 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 (*CreateGatewayPayloadAvailabilityZones) GetTunnel1

GetTunnel1 returns the Tunnel1 field value

func (*CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok

func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*CreateGatewayPayloadAvailabilityZones) GetTunnel2

GetTunnel2 returns the Tunnel2 field value

func (*CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok

func (o *CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (CreateGatewayPayloadAvailabilityZones) MarshalJSON

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

func (*CreateGatewayPayloadAvailabilityZones) SetTunnel1

SetTunnel1 sets field value

func (*CreateGatewayPayloadAvailabilityZones) SetTunnel2

SetTunnel2 sets field value

func (CreateGatewayPayloadAvailabilityZones) ToMap

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

func (*CreateGatewayPayloadAvailabilityZones) UnmarshalJSON

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

type DefaultAPI

type DefaultAPI interface {

	/*
		CreateGateway Create a VPN gateway in a project.

		Provision a new VPN gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiCreateGatewayRequest
	*/
	CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest

	// CreateGatewayExecute executes the request
	//  @return GatewayResponse
	CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)

	/*
			CreateGatewayBGPFilter Create a new empty BGP filter.

			Creates the filter metadata. Rules are managed via the nested /rules sub-resource.
		NOTE: an empty filter attached to a tunnel denies all incoming routes (implicit DENY).


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId
			@param region
			@param gatewayId
			@return ApiCreateGatewayBGPFilterRequest
	*/
	CreateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayBGPFilterRequest

	// CreateGatewayBGPFilterExecute executes the request
	//  @return BGPFilter
	CreateGatewayBGPFilterExecute(r ApiCreateGatewayBGPFilterRequest) (*BGPFilter, error)

	/*
		CreateGatewayBGPFilterRule Add a new rule to a BGP filter.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@return ApiCreateGatewayBGPFilterRuleRequest
	*/
	CreateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiCreateGatewayBGPFilterRuleRequest

	// CreateGatewayBGPFilterRuleExecute executes the request
	//  @return BGPFilterRule
	CreateGatewayBGPFilterRuleExecute(r ApiCreateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

	/*
		CreateGatewayConnection Create a new connection on an existing VPN gateway.

		Create a new connection on an existing VPN gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@return ApiCreateGatewayConnectionRequest
	*/
	CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest

	// CreateGatewayConnectionExecute executes the request
	//  @return ConnectionResponse
	CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)

	/*
			DeleteGateway Delete a existing VPN gateway in a project.

			Permanently remove a VPN gateway and all its associated connections.
		This operation is irreversible.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId
			@param region
			@param gatewayId
			@return ApiDeleteGatewayRequest
	*/
	DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest

	// DeleteGatewayExecute executes the request
	DeleteGatewayExecute(r ApiDeleteGatewayRequest) error

	/*
			DeleteGatewayBGPFilter Delete a BGP filter.

			Fails with 409 Conflict if the filter is referenced by any connection's tunnel.bgp.inboundFilterId.
		The error response body's details[] contains one entry per referencing connection with metadata
		{ connectionId, displayName, tunnel: 'tunnel1'|'tunnel2' } and reason RESOURCE_IN_USE so the caller
		can detach them first.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId
			@param region
			@param gatewayId
			@param filterId
			@return ApiDeleteGatewayBGPFilterRequest
	*/
	DeleteGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiDeleteGatewayBGPFilterRequest

	// DeleteGatewayBGPFilterExecute executes the request
	DeleteGatewayBGPFilterExecute(r ApiDeleteGatewayBGPFilterRequest) error

	/*
		DeleteGatewayBGPFilterRule Delete a specific rule.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@param ruleId
		@return ApiDeleteGatewayBGPFilterRuleRequest
	*/
	DeleteGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiDeleteGatewayBGPFilterRuleRequest

	// DeleteGatewayBGPFilterRuleExecute executes the request
	DeleteGatewayBGPFilterRuleExecute(r ApiDeleteGatewayBGPFilterRuleRequest) error

	/*
		DeleteGatewayConnection Delete a certain connection from an existing VPN gateway.

		Delete a certain connection from an existing VPN gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param connectionId
		@return ApiDeleteGatewayConnectionRequest
	*/
	DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest

	// DeleteGatewayConnectionExecute executes the request
	DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error

	/*
		GetGateway Get details of a VPN Gateway in a project.

		Get details of a VPN Gateway in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@return ApiGetGatewayRequest
	*/
	GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest

	// GetGatewayExecute executes the request
	//  @return GatewayResponse
	GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)

	/*
		GetGatewayBGPFilter Get BGP filter metadata.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@return ApiGetGatewayBGPFilterRequest
	*/
	GetGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiGetGatewayBGPFilterRequest

	// GetGatewayBGPFilterExecute executes the request
	//  @return BGPFilter
	GetGatewayBGPFilterExecute(r ApiGetGatewayBGPFilterRequest) (*BGPFilter, error)

	/*
		GetGatewayBGPFilterRule Get a specific rule from a BGP filter.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@param ruleId
		@return ApiGetGatewayBGPFilterRuleRequest
	*/
	GetGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiGetGatewayBGPFilterRuleRequest

	// GetGatewayBGPFilterRuleExecute executes the request
	//  @return BGPFilterRule
	GetGatewayBGPFilterRuleExecute(r ApiGetGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

	/*
		GetGatewayConnection Get a certain connection for an existing VPN gateway.

		Get a certain connection for an existing VPN gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param connectionId
		@return ApiGetGatewayConnectionRequest
	*/
	GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest

	// GetGatewayConnectionExecute executes the request
	//  @return ConnectionResponse
	GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)

	/*
		GetGatewayConnectionStatus Gets the status for a specific connection.

		Get the status for a specific connection.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param connectionId
		@return ApiGetGatewayConnectionStatusRequest
	*/
	GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest

	// GetGatewayConnectionStatusExecute executes the request
	//  @return ConnectionStatusResponse
	GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)

	/*
		GetGatewayStatus Get the status of a VPN gateway in a project.

		Get the status of a VPN gateway in a project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@return ApiGetGatewayStatusRequest
	*/
	GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest

	// GetGatewayStatusExecute executes the request
	//  @return GatewayStatusResponse
	GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)

	/*
		ListGatewayBGPFilterRules List all rules inside a specific BGP filter.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@return ApiListGatewayBGPFilterRulesRequest
	*/
	ListGatewayBGPFilterRules(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiListGatewayBGPFilterRulesRequest

	// ListGatewayBGPFilterRulesExecute executes the request
	//  @return BGPFilterRuleList
	ListGatewayBGPFilterRulesExecute(r ApiListGatewayBGPFilterRulesRequest) (*BGPFilterRuleList, error)

	/*
		ListGatewayBGPFilters List BGP filters for a gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@return ApiListGatewayBGPFiltersRequest
	*/
	ListGatewayBGPFilters(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayBGPFiltersRequest

	// ListGatewayBGPFiltersExecute executes the request
	//  @return BGPFilterList
	ListGatewayBGPFiltersExecute(r ApiListGatewayBGPFiltersRequest) (*BGPFilterList, error)

	/*
		ListGatewayConnections List connections for an existing VPN gateway.

		List connections for an existing VPN gateway.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@return ApiListGatewayConnectionsRequest
	*/
	ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest

	// ListGatewayConnectionsExecute executes the request
	//  @return ConnectionList
	ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)

	/*
			ListGateways List VPN gateways in a project with label filtering

			Retrieve a list of all VPN gateways in a project.
		Filter the results using the `label_selector` query parameter.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId
			@param region
			@return ApiListGatewaysRequest
	*/
	ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest

	// ListGatewaysExecute executes the request
	//  @return GatewayList
	ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)

	/*
			ListPlans List available service plans for a project.

			Retrieve a list of available service plans available for provisioning a VPN in a specific `region`.
		Use this to identify the `planId` required for gateway creation.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param region
			@return ApiListPlansRequest
	*/
	ListPlans(ctx context.Context, region string) ApiListPlansRequest

	// ListPlansExecute executes the request
	//  @return PlanList
	ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)

	/*
		ListQuotas List project quotas.

		Retrieve the resource quotas and current usage for STACKIT VPN within a specific project and region.


		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@return ApiListQuotasRequest
	*/
	ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

	// ListQuotasExecute executes the request
	//  @return QuotaListResponse
	ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

	/*
			UpdateGateway Update a VPN gateway in a project.

			Modify the configuration of an existing VPN gateway.
		Certain changes may trigger infrastructure updates or temporary connection re-negotiations.


			@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
			@param projectId
			@param region
			@param gatewayId
			@return ApiUpdateGatewayRequest
	*/
	UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest

	// UpdateGatewayExecute executes the request
	//  @return GatewayResponse
	UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)

	/*
		UpdateGatewayBGPFilter Update BGP filter metadata (name, description).

		Rules are managed via the nested /rules sub-resource and are not modified by this endpoint.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@return ApiUpdateGatewayBGPFilterRequest
	*/
	UpdateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiUpdateGatewayBGPFilterRequest

	// UpdateGatewayBGPFilterExecute executes the request
	//  @return BGPFilter
	UpdateGatewayBGPFilterExecute(r ApiUpdateGatewayBGPFilterRequest) (*BGPFilter, error)

	/*
		UpdateGatewayBGPFilterRule Update a specific rule.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param filterId
		@param ruleId
		@return ApiUpdateGatewayBGPFilterRuleRequest
	*/
	UpdateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiUpdateGatewayBGPFilterRuleRequest

	// UpdateGatewayBGPFilterRuleExecute executes the request
	//  @return BGPFilterRule
	UpdateGatewayBGPFilterRuleExecute(r ApiUpdateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

	/*
		UpdateGatewayConnection Update a connection on an existing VPN gateway.

		Updating the configuration of an existing connection.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId
		@param region
		@param gatewayId
		@param connectionId
		@return ApiUpdateGatewayConnectionRequest
	*/
	UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest

	// UpdateGatewayConnectionExecute executes the request
	//  @return ConnectionResponse
	UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
}

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateGateway

func (a *DefaultAPIService) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest

CreateGateway Create a VPN gateway in a project.

Provision a new VPN gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiCreateGatewayRequest

func (*DefaultAPIService) CreateGatewayBGPFilter added in v0.15.0

func (a *DefaultAPIService) CreateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayBGPFilterRequest

CreateGatewayBGPFilter Create a new empty BGP filter.

Creates the filter metadata. Rules are managed via the nested /rules sub-resource. NOTE: an empty filter attached to a tunnel denies all incoming routes (implicit DENY).

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiCreateGatewayBGPFilterRequest

func (*DefaultAPIService) CreateGatewayBGPFilterExecute added in v0.15.0

func (a *DefaultAPIService) CreateGatewayBGPFilterExecute(r ApiCreateGatewayBGPFilterRequest) (*BGPFilter, error)

Execute executes the request

@return BGPFilter

func (*DefaultAPIService) CreateGatewayBGPFilterRule added in v0.15.0

func (a *DefaultAPIService) CreateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiCreateGatewayBGPFilterRuleRequest

CreateGatewayBGPFilterRule Add a new rule to a BGP filter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@return ApiCreateGatewayBGPFilterRuleRequest

func (*DefaultAPIService) CreateGatewayBGPFilterRuleExecute added in v0.15.0

func (a *DefaultAPIService) CreateGatewayBGPFilterRuleExecute(r ApiCreateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

Execute executes the request

@return BGPFilterRule

func (*DefaultAPIService) CreateGatewayConnection

func (a *DefaultAPIService) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest

CreateGatewayConnection Create a new connection on an existing VPN gateway.

Create a new connection on an existing VPN gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiCreateGatewayConnectionRequest

func (*DefaultAPIService) CreateGatewayConnectionExecute

func (a *DefaultAPIService) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)

Execute executes the request

@return ConnectionResponse

func (*DefaultAPIService) CreateGatewayExecute

func (a *DefaultAPIService) CreateGatewayExecute(r ApiCreateGatewayRequest) (*GatewayResponse, error)

Execute executes the request

@return GatewayResponse

func (*DefaultAPIService) DeleteGateway

func (a *DefaultAPIService) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest

DeleteGateway Delete a existing VPN gateway in a project.

Permanently remove a VPN gateway and all its associated connections. This operation is irreversible.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiDeleteGatewayRequest

func (*DefaultAPIService) DeleteGatewayBGPFilter added in v0.15.0

func (a *DefaultAPIService) DeleteGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiDeleteGatewayBGPFilterRequest

DeleteGatewayBGPFilter Delete a BGP filter.

Fails with 409 Conflict if the filter is referenced by any connection's tunnel.bgp.inboundFilterId. The error response body's details[] contains one entry per referencing connection with metadata { connectionId, displayName, tunnel: 'tunnel1'|'tunnel2' } and reason RESOURCE_IN_USE so the caller can detach them first.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@return ApiDeleteGatewayBGPFilterRequest

func (*DefaultAPIService) DeleteGatewayBGPFilterExecute added in v0.15.0

func (a *DefaultAPIService) DeleteGatewayBGPFilterExecute(r ApiDeleteGatewayBGPFilterRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteGatewayBGPFilterRule added in v0.15.0

func (a *DefaultAPIService) DeleteGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiDeleteGatewayBGPFilterRuleRequest

DeleteGatewayBGPFilterRule Delete a specific rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@param ruleId
@return ApiDeleteGatewayBGPFilterRuleRequest

func (*DefaultAPIService) DeleteGatewayBGPFilterRuleExecute added in v0.15.0

func (a *DefaultAPIService) DeleteGatewayBGPFilterRuleExecute(r ApiDeleteGatewayBGPFilterRuleRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteGatewayConnection

func (a *DefaultAPIService) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest

DeleteGatewayConnection Delete a certain connection from an existing VPN gateway.

Delete a certain connection from an existing VPN gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiDeleteGatewayConnectionRequest

func (*DefaultAPIService) DeleteGatewayConnectionExecute

func (a *DefaultAPIService) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteGatewayExecute

func (a *DefaultAPIService) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error

Execute executes the request

func (*DefaultAPIService) GetGateway

func (a *DefaultAPIService) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest

GetGateway Get details of a VPN Gateway in a project.

Get details of a VPN Gateway in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiGetGatewayRequest

func (*DefaultAPIService) GetGatewayBGPFilter added in v0.15.0

func (a *DefaultAPIService) GetGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiGetGatewayBGPFilterRequest

GetGatewayBGPFilter Get BGP filter metadata.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@return ApiGetGatewayBGPFilterRequest

func (*DefaultAPIService) GetGatewayBGPFilterExecute added in v0.15.0

func (a *DefaultAPIService) GetGatewayBGPFilterExecute(r ApiGetGatewayBGPFilterRequest) (*BGPFilter, error)

Execute executes the request

@return BGPFilter

func (*DefaultAPIService) GetGatewayBGPFilterRule added in v0.15.0

func (a *DefaultAPIService) GetGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiGetGatewayBGPFilterRuleRequest

GetGatewayBGPFilterRule Get a specific rule from a BGP filter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@param ruleId
@return ApiGetGatewayBGPFilterRuleRequest

func (*DefaultAPIService) GetGatewayBGPFilterRuleExecute added in v0.15.0

func (a *DefaultAPIService) GetGatewayBGPFilterRuleExecute(r ApiGetGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

Execute executes the request

@return BGPFilterRule

func (*DefaultAPIService) GetGatewayConnection

func (a *DefaultAPIService) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest

GetGatewayConnection Get a certain connection for an existing VPN gateway.

Get a certain connection for an existing VPN gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiGetGatewayConnectionRequest

func (*DefaultAPIService) GetGatewayConnectionExecute

func (a *DefaultAPIService) GetGatewayConnectionExecute(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)

Execute executes the request

@return ConnectionResponse

func (*DefaultAPIService) GetGatewayConnectionStatus

func (a *DefaultAPIService) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest

GetGatewayConnectionStatus Gets the status for a specific connection.

Get the status for a specific connection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiGetGatewayConnectionStatusRequest

func (*DefaultAPIService) GetGatewayConnectionStatusExecute

func (a *DefaultAPIService) GetGatewayConnectionStatusExecute(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)

Execute executes the request

@return ConnectionStatusResponse

func (*DefaultAPIService) GetGatewayExecute

func (a *DefaultAPIService) GetGatewayExecute(r ApiGetGatewayRequest) (*GatewayResponse, error)

Execute executes the request

@return GatewayResponse

func (*DefaultAPIService) GetGatewayStatus

func (a *DefaultAPIService) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest

GetGatewayStatus Get the status of a VPN gateway in a project.

Get the status of a VPN gateway in a project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiGetGatewayStatusRequest

func (*DefaultAPIService) GetGatewayStatusExecute

func (a *DefaultAPIService) GetGatewayStatusExecute(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)

Execute executes the request

@return GatewayStatusResponse

func (*DefaultAPIService) ListGatewayBGPFilterRules added in v0.15.0

func (a *DefaultAPIService) ListGatewayBGPFilterRules(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiListGatewayBGPFilterRulesRequest

ListGatewayBGPFilterRules List all rules inside a specific BGP filter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@return ApiListGatewayBGPFilterRulesRequest

func (*DefaultAPIService) ListGatewayBGPFilterRulesExecute added in v0.15.0

func (a *DefaultAPIService) ListGatewayBGPFilterRulesExecute(r ApiListGatewayBGPFilterRulesRequest) (*BGPFilterRuleList, error)

Execute executes the request

@return BGPFilterRuleList

func (*DefaultAPIService) ListGatewayBGPFilters added in v0.15.0

func (a *DefaultAPIService) ListGatewayBGPFilters(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayBGPFiltersRequest

ListGatewayBGPFilters List BGP filters for a gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiListGatewayBGPFiltersRequest

func (*DefaultAPIService) ListGatewayBGPFiltersExecute added in v0.15.0

func (a *DefaultAPIService) ListGatewayBGPFiltersExecute(r ApiListGatewayBGPFiltersRequest) (*BGPFilterList, error)

Execute executes the request

@return BGPFilterList

func (*DefaultAPIService) ListGatewayConnections

func (a *DefaultAPIService) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest

ListGatewayConnections List connections for an existing VPN gateway.

List connections for an existing VPN gateway.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiListGatewayConnectionsRequest

func (*DefaultAPIService) ListGatewayConnectionsExecute

func (a *DefaultAPIService) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)

Execute executes the request

@return ConnectionList

func (*DefaultAPIService) ListGateways

func (a *DefaultAPIService) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest

ListGateways List VPN gateways in a project with label filtering

Retrieve a list of all VPN gateways in a project. Filter the results using the `label_selector` query parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListGatewaysRequest

func (*DefaultAPIService) ListGatewaysExecute

func (a *DefaultAPIService) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)

Execute executes the request

@return GatewayList

func (*DefaultAPIService) ListPlans

func (a *DefaultAPIService) ListPlans(ctx context.Context, region string) ApiListPlansRequest

ListPlans List available service plans for a project.

Retrieve a list of available service plans available for provisioning a VPN in a specific `region`. Use this to identify the `planId` required for gateway creation.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param region
@return ApiListPlansRequest

func (*DefaultAPIService) ListPlansExecute

func (a *DefaultAPIService) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)

Execute executes the request

@return PlanList

func (*DefaultAPIService) ListQuotas

func (a *DefaultAPIService) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

ListQuotas List project quotas.

Retrieve the resource quotas and current usage for STACKIT VPN within a specific project and region.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@return ApiListQuotasRequest

func (*DefaultAPIService) ListQuotasExecute

func (a *DefaultAPIService) ListQuotasExecute(r ApiListQuotasRequest) (*QuotaListResponse, error)

Execute executes the request

@return QuotaListResponse

func (*DefaultAPIService) UpdateGateway

func (a *DefaultAPIService) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest

UpdateGateway Update a VPN gateway in a project.

Modify the configuration of an existing VPN gateway. Certain changes may trigger infrastructure updates or temporary connection re-negotiations.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@return ApiUpdateGatewayRequest

func (*DefaultAPIService) UpdateGatewayBGPFilter added in v0.15.0

func (a *DefaultAPIService) UpdateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiUpdateGatewayBGPFilterRequest

UpdateGatewayBGPFilter Update BGP filter metadata (name, description).

Rules are managed via the nested /rules sub-resource and are not modified by this endpoint.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@return ApiUpdateGatewayBGPFilterRequest

func (*DefaultAPIService) UpdateGatewayBGPFilterExecute added in v0.15.0

func (a *DefaultAPIService) UpdateGatewayBGPFilterExecute(r ApiUpdateGatewayBGPFilterRequest) (*BGPFilter, error)

Execute executes the request

@return BGPFilter

func (*DefaultAPIService) UpdateGatewayBGPFilterRule added in v0.15.0

func (a *DefaultAPIService) UpdateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiUpdateGatewayBGPFilterRuleRequest

UpdateGatewayBGPFilterRule Update a specific rule.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param filterId
@param ruleId
@return ApiUpdateGatewayBGPFilterRuleRequest

func (*DefaultAPIService) UpdateGatewayBGPFilterRuleExecute added in v0.15.0

func (a *DefaultAPIService) UpdateGatewayBGPFilterRuleExecute(r ApiUpdateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

Execute executes the request

@return BGPFilterRule

func (*DefaultAPIService) UpdateGatewayConnection

func (a *DefaultAPIService) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest

UpdateGatewayConnection Update a connection on an existing VPN gateway.

Updating the configuration of an existing connection.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId
@param region
@param gatewayId
@param connectionId
@return ApiUpdateGatewayConnectionRequest

func (*DefaultAPIService) UpdateGatewayConnectionExecute

func (a *DefaultAPIService) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)

Execute executes the request

@return ConnectionResponse

func (*DefaultAPIService) UpdateGatewayExecute

func (a *DefaultAPIService) UpdateGatewayExecute(r ApiUpdateGatewayRequest) (*GatewayResponse, error)

Execute executes the request

@return GatewayResponse

type DefaultAPIServiceMock

type DefaultAPIServiceMock struct {
	// CreateGatewayExecuteMock can be populated to implement the behavior of the CreateGatewayExecute function of this mock
	CreateGatewayExecuteMock *func(r ApiCreateGatewayRequest) (*GatewayResponse, error)
	// CreateGatewayBGPFilterExecuteMock can be populated to implement the behavior of the CreateGatewayBGPFilterExecute function of this mock
	CreateGatewayBGPFilterExecuteMock *func(r ApiCreateGatewayBGPFilterRequest) (*BGPFilter, error)
	// CreateGatewayBGPFilterRuleExecuteMock can be populated to implement the behavior of the CreateGatewayBGPFilterRuleExecute function of this mock
	CreateGatewayBGPFilterRuleExecuteMock *func(r ApiCreateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)
	// CreateGatewayConnectionExecuteMock can be populated to implement the behavior of the CreateGatewayConnectionExecute function of this mock
	CreateGatewayConnectionExecuteMock *func(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)
	// DeleteGatewayExecuteMock can be populated to implement the behavior of the DeleteGatewayExecute function of this mock
	DeleteGatewayExecuteMock *func(r ApiDeleteGatewayRequest) error
	// DeleteGatewayBGPFilterExecuteMock can be populated to implement the behavior of the DeleteGatewayBGPFilterExecute function of this mock
	DeleteGatewayBGPFilterExecuteMock *func(r ApiDeleteGatewayBGPFilterRequest) error
	// DeleteGatewayBGPFilterRuleExecuteMock can be populated to implement the behavior of the DeleteGatewayBGPFilterRuleExecute function of this mock
	DeleteGatewayBGPFilterRuleExecuteMock *func(r ApiDeleteGatewayBGPFilterRuleRequest) error
	// DeleteGatewayConnectionExecuteMock can be populated to implement the behavior of the DeleteGatewayConnectionExecute function of this mock
	DeleteGatewayConnectionExecuteMock *func(r ApiDeleteGatewayConnectionRequest) error
	// GetGatewayExecuteMock can be populated to implement the behavior of the GetGatewayExecute function of this mock
	GetGatewayExecuteMock *func(r ApiGetGatewayRequest) (*GatewayResponse, error)
	// GetGatewayBGPFilterExecuteMock can be populated to implement the behavior of the GetGatewayBGPFilterExecute function of this mock
	GetGatewayBGPFilterExecuteMock *func(r ApiGetGatewayBGPFilterRequest) (*BGPFilter, error)
	// GetGatewayBGPFilterRuleExecuteMock can be populated to implement the behavior of the GetGatewayBGPFilterRuleExecute function of this mock
	GetGatewayBGPFilterRuleExecuteMock *func(r ApiGetGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)
	// GetGatewayConnectionExecuteMock can be populated to implement the behavior of the GetGatewayConnectionExecute function of this mock
	GetGatewayConnectionExecuteMock *func(r ApiGetGatewayConnectionRequest) (*ConnectionResponse, error)
	// GetGatewayConnectionStatusExecuteMock can be populated to implement the behavior of the GetGatewayConnectionStatusExecute function of this mock
	GetGatewayConnectionStatusExecuteMock *func(r ApiGetGatewayConnectionStatusRequest) (*ConnectionStatusResponse, error)
	// GetGatewayStatusExecuteMock can be populated to implement the behavior of the GetGatewayStatusExecute function of this mock
	GetGatewayStatusExecuteMock *func(r ApiGetGatewayStatusRequest) (*GatewayStatusResponse, error)
	// ListGatewayBGPFilterRulesExecuteMock can be populated to implement the behavior of the ListGatewayBGPFilterRulesExecute function of this mock
	ListGatewayBGPFilterRulesExecuteMock *func(r ApiListGatewayBGPFilterRulesRequest) (*BGPFilterRuleList, error)
	// ListGatewayBGPFiltersExecuteMock can be populated to implement the behavior of the ListGatewayBGPFiltersExecute function of this mock
	ListGatewayBGPFiltersExecuteMock *func(r ApiListGatewayBGPFiltersRequest) (*BGPFilterList, error)
	// ListGatewayConnectionsExecuteMock can be populated to implement the behavior of the ListGatewayConnectionsExecute function of this mock
	ListGatewayConnectionsExecuteMock *func(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)
	// ListGatewaysExecuteMock can be populated to implement the behavior of the ListGatewaysExecute function of this mock
	ListGatewaysExecuteMock *func(r ApiListGatewaysRequest) (*GatewayList, error)
	// ListPlansExecuteMock can be populated to implement the behavior of the ListPlansExecute function of this mock
	ListPlansExecuteMock *func(r ApiListPlansRequest) (*PlanList, error)
	// ListQuotasExecuteMock can be populated to implement the behavior of the ListQuotasExecute function of this mock
	ListQuotasExecuteMock *func(r ApiListQuotasRequest) (*QuotaListResponse, error)
	// UpdateGatewayExecuteMock can be populated to implement the behavior of the UpdateGatewayExecute function of this mock
	UpdateGatewayExecuteMock *func(r ApiUpdateGatewayRequest) (*GatewayResponse, error)
	// UpdateGatewayBGPFilterExecuteMock can be populated to implement the behavior of the UpdateGatewayBGPFilterExecute function of this mock
	UpdateGatewayBGPFilterExecuteMock *func(r ApiUpdateGatewayBGPFilterRequest) (*BGPFilter, error)
	// UpdateGatewayBGPFilterRuleExecuteMock can be populated to implement the behavior of the UpdateGatewayBGPFilterRuleExecute function of this mock
	UpdateGatewayBGPFilterRuleExecuteMock *func(r ApiUpdateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)
	// UpdateGatewayConnectionExecuteMock can be populated to implement the behavior of the UpdateGatewayConnectionExecute function of this mock
	UpdateGatewayConnectionExecuteMock *func(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateGateway

func (a DefaultAPIServiceMock) CreateGateway(ctx context.Context, projectId string, region string) ApiCreateGatewayRequest

func (DefaultAPIServiceMock) CreateGatewayBGPFilter added in v0.15.0

func (a DefaultAPIServiceMock) CreateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayBGPFilterRequest

func (DefaultAPIServiceMock) CreateGatewayBGPFilterExecute added in v0.15.0

func (a DefaultAPIServiceMock) CreateGatewayBGPFilterExecute(r ApiCreateGatewayBGPFilterRequest) (*BGPFilter, error)

CreateGatewayBGPFilterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayBGPFilterExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateGatewayBGPFilterRule added in v0.15.0

func (a DefaultAPIServiceMock) CreateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiCreateGatewayBGPFilterRuleRequest

func (DefaultAPIServiceMock) CreateGatewayBGPFilterRuleExecute added in v0.15.0

func (a DefaultAPIServiceMock) CreateGatewayBGPFilterRuleExecute(r ApiCreateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

CreateGatewayBGPFilterRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayBGPFilterRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateGatewayConnection

func (a DefaultAPIServiceMock) CreateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string) ApiCreateGatewayConnectionRequest

func (DefaultAPIServiceMock) CreateGatewayConnectionExecute

func (a DefaultAPIServiceMock) CreateGatewayConnectionExecute(r ApiCreateGatewayConnectionRequest) (*ConnectionResponse, error)

CreateGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateGatewayExecute

CreateGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateGatewayExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteGateway

func (a DefaultAPIServiceMock) DeleteGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiDeleteGatewayRequest

func (DefaultAPIServiceMock) DeleteGatewayBGPFilter added in v0.15.0

func (a DefaultAPIServiceMock) DeleteGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiDeleteGatewayBGPFilterRequest

func (DefaultAPIServiceMock) DeleteGatewayBGPFilterExecute added in v0.15.0

func (a DefaultAPIServiceMock) DeleteGatewayBGPFilterExecute(r ApiDeleteGatewayBGPFilterRequest) error

DeleteGatewayBGPFilterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayBGPFilterExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteGatewayBGPFilterRule added in v0.15.0

func (a DefaultAPIServiceMock) DeleteGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiDeleteGatewayBGPFilterRuleRequest

func (DefaultAPIServiceMock) DeleteGatewayBGPFilterRuleExecute added in v0.15.0

func (a DefaultAPIServiceMock) DeleteGatewayBGPFilterRuleExecute(r ApiDeleteGatewayBGPFilterRuleRequest) error

DeleteGatewayBGPFilterRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayBGPFilterRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteGatewayConnection

func (a DefaultAPIServiceMock) DeleteGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiDeleteGatewayConnectionRequest

func (DefaultAPIServiceMock) DeleteGatewayConnectionExecute

func (a DefaultAPIServiceMock) DeleteGatewayConnectionExecute(r ApiDeleteGatewayConnectionRequest) error

DeleteGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteGatewayExecute

func (a DefaultAPIServiceMock) DeleteGatewayExecute(r ApiDeleteGatewayRequest) error

DeleteGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteGatewayExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGateway

func (a DefaultAPIServiceMock) GetGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayRequest

func (DefaultAPIServiceMock) GetGatewayBGPFilter added in v0.15.0

func (a DefaultAPIServiceMock) GetGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiGetGatewayBGPFilterRequest

func (DefaultAPIServiceMock) GetGatewayBGPFilterExecute added in v0.15.0

func (a DefaultAPIServiceMock) GetGatewayBGPFilterExecute(r ApiGetGatewayBGPFilterRequest) (*BGPFilter, error)

GetGatewayBGPFilterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayBGPFilterExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGatewayBGPFilterRule added in v0.15.0

func (a DefaultAPIServiceMock) GetGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiGetGatewayBGPFilterRuleRequest

func (DefaultAPIServiceMock) GetGatewayBGPFilterRuleExecute added in v0.15.0

func (a DefaultAPIServiceMock) GetGatewayBGPFilterRuleExecute(r ApiGetGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

GetGatewayBGPFilterRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayBGPFilterRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGatewayConnection

func (a DefaultAPIServiceMock) GetGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionRequest

func (DefaultAPIServiceMock) GetGatewayConnectionExecute

GetGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGatewayConnectionStatus

func (a DefaultAPIServiceMock) GetGatewayConnectionStatus(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiGetGatewayConnectionStatusRequest

func (DefaultAPIServiceMock) GetGatewayConnectionStatusExecute

GetGatewayConnectionStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayConnectionStatusExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGatewayExecute

GetGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetGatewayStatus

func (a DefaultAPIServiceMock) GetGatewayStatus(ctx context.Context, projectId string, region string, gatewayId string) ApiGetGatewayStatusRequest

func (DefaultAPIServiceMock) GetGatewayStatusExecute

GetGatewayStatusExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetGatewayStatusExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListGatewayBGPFilterRules added in v0.15.0

func (a DefaultAPIServiceMock) ListGatewayBGPFilterRules(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiListGatewayBGPFilterRulesRequest

func (DefaultAPIServiceMock) ListGatewayBGPFilterRulesExecute added in v0.15.0

func (a DefaultAPIServiceMock) ListGatewayBGPFilterRulesExecute(r ApiListGatewayBGPFilterRulesRequest) (*BGPFilterRuleList, error)

ListGatewayBGPFilterRulesExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewayBGPFilterRulesExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListGatewayBGPFilters added in v0.15.0

func (a DefaultAPIServiceMock) ListGatewayBGPFilters(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayBGPFiltersRequest

func (DefaultAPIServiceMock) ListGatewayBGPFiltersExecute added in v0.15.0

func (a DefaultAPIServiceMock) ListGatewayBGPFiltersExecute(r ApiListGatewayBGPFiltersRequest) (*BGPFilterList, error)

ListGatewayBGPFiltersExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewayBGPFiltersExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListGatewayConnections

func (a DefaultAPIServiceMock) ListGatewayConnections(ctx context.Context, projectId string, region string, gatewayId string) ApiListGatewayConnectionsRequest

func (DefaultAPIServiceMock) ListGatewayConnectionsExecute

func (a DefaultAPIServiceMock) ListGatewayConnectionsExecute(r ApiListGatewayConnectionsRequest) (*ConnectionList, error)

ListGatewayConnectionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewayConnectionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListGateways

func (a DefaultAPIServiceMock) ListGateways(ctx context.Context, projectId string, region string) ApiListGatewaysRequest

func (DefaultAPIServiceMock) ListGatewaysExecute

func (a DefaultAPIServiceMock) ListGatewaysExecute(r ApiListGatewaysRequest) (*GatewayList, error)

ListGatewaysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListGatewaysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListPlans

func (DefaultAPIServiceMock) ListPlansExecute

func (a DefaultAPIServiceMock) ListPlansExecute(r ApiListPlansRequest) (*PlanList, error)

ListPlansExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListPlansExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListQuotas

func (a DefaultAPIServiceMock) ListQuotas(ctx context.Context, projectId string, region string) ApiListQuotasRequest

func (DefaultAPIServiceMock) ListQuotasExecute

ListQuotasExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListQuotasExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateGateway

func (a DefaultAPIServiceMock) UpdateGateway(ctx context.Context, projectId string, region string, gatewayId string) ApiUpdateGatewayRequest

func (DefaultAPIServiceMock) UpdateGatewayBGPFilter added in v0.15.0

func (a DefaultAPIServiceMock) UpdateGatewayBGPFilter(ctx context.Context, projectId string, region string, gatewayId string, filterId string) ApiUpdateGatewayBGPFilterRequest

func (DefaultAPIServiceMock) UpdateGatewayBGPFilterExecute added in v0.15.0

func (a DefaultAPIServiceMock) UpdateGatewayBGPFilterExecute(r ApiUpdateGatewayBGPFilterRequest) (*BGPFilter, error)

UpdateGatewayBGPFilterExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayBGPFilterExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateGatewayBGPFilterRule added in v0.15.0

func (a DefaultAPIServiceMock) UpdateGatewayBGPFilterRule(ctx context.Context, projectId string, region string, gatewayId string, filterId string, ruleId string) ApiUpdateGatewayBGPFilterRuleRequest

func (DefaultAPIServiceMock) UpdateGatewayBGPFilterRuleExecute added in v0.15.0

func (a DefaultAPIServiceMock) UpdateGatewayBGPFilterRuleExecute(r ApiUpdateGatewayBGPFilterRuleRequest) (*BGPFilterRule, error)

UpdateGatewayBGPFilterRuleExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayBGPFilterRuleExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateGatewayConnection

func (a DefaultAPIServiceMock) UpdateGatewayConnection(ctx context.Context, projectId string, region string, gatewayId string, connectionId string) ApiUpdateGatewayConnectionRequest

func (DefaultAPIServiceMock) UpdateGatewayConnectionExecute

func (a DefaultAPIServiceMock) UpdateGatewayConnectionExecute(r ApiUpdateGatewayConnectionRequest) (*ConnectionResponse, error)

UpdateGatewayConnectionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayConnectionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) UpdateGatewayExecute

UpdateGatewayExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the UpdateGatewayExecuteMock field in the DefaultAPIServiceMock struct.

type Gateway

type Gateway struct {
	AvailabilityZones GatewayAvailabilityZones `json:"availabilityZones"`
	Bgp               *BGPGatewayConfig        `json:"bgp,omitempty"`
	// A user-friendly name for the VPN gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels        *map[string]string `json:"labels,omitempty"`
	NetworkConfig *NetworkConfig     `json:"networkConfig,omitempty"`
	// The service plan identifier.
	PlanId               string      `json:"planId"`
	RoutingType          RoutingType `json:"routingType"`
	AdditionalProperties map[string]interface{}
}

Gateway struct for Gateway

func NewGateway

func NewGateway(availabilityZones GatewayAvailabilityZones, displayName string, planId string, routingType RoutingType) *Gateway

NewGateway instantiates a new Gateway 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 NewGatewayWithDefaults

func NewGatewayWithDefaults() *Gateway

NewGatewayWithDefaults instantiates a new Gateway 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 (*Gateway) GetAvailabilityZones

func (o *Gateway) GetAvailabilityZones() GatewayAvailabilityZones

GetAvailabilityZones returns the AvailabilityZones field value

func (*Gateway) GetAvailabilityZonesOk

func (o *Gateway) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)

GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.

func (*Gateway) GetBgp

func (o *Gateway) GetBgp() BGPGatewayConfig

GetBgp returns the Bgp field value if set, zero value otherwise.

func (*Gateway) GetBgpOk

func (o *Gateway) GetBgpOk() (*BGPGatewayConfig, bool)

GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetDisplayName

func (o *Gateway) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Gateway) GetDisplayNameOk

func (o *Gateway) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*Gateway) GetLabels

func (o *Gateway) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*Gateway) GetLabelsOk

func (o *Gateway) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetNetworkConfig added in v0.15.0

func (o *Gateway) GetNetworkConfig() NetworkConfig

GetNetworkConfig returns the NetworkConfig field value if set, zero value otherwise.

func (*Gateway) GetNetworkConfigOk added in v0.15.0

func (o *Gateway) GetNetworkConfigOk() (*NetworkConfig, bool)

GetNetworkConfigOk returns a tuple with the NetworkConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Gateway) GetPlanId

func (o *Gateway) GetPlanId() string

GetPlanId returns the PlanId field value

func (*Gateway) GetPlanIdOk

func (o *Gateway) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.

func (*Gateway) GetRoutingType

func (o *Gateway) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*Gateway) GetRoutingTypeOk

func (o *Gateway) GetRoutingTypeOk() (*RoutingType, bool)

GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.

func (*Gateway) HasBgp

func (o *Gateway) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*Gateway) HasLabels

func (o *Gateway) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*Gateway) HasNetworkConfig added in v0.15.0

func (o *Gateway) HasNetworkConfig() bool

HasNetworkConfig returns a boolean if a field has been set.

func (Gateway) MarshalJSON

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

func (*Gateway) SetAvailabilityZones

func (o *Gateway) SetAvailabilityZones(v GatewayAvailabilityZones)

SetAvailabilityZones sets field value

func (*Gateway) SetBgp

func (o *Gateway) SetBgp(v BGPGatewayConfig)

SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.

func (*Gateway) SetDisplayName

func (o *Gateway) SetDisplayName(v string)

SetDisplayName sets field value

func (*Gateway) SetLabels

func (o *Gateway) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*Gateway) SetNetworkConfig added in v0.15.0

func (o *Gateway) SetNetworkConfig(v NetworkConfig)

SetNetworkConfig gets a reference to the given NetworkConfig and assigns it to the NetworkConfig field.

func (*Gateway) SetPlanId

func (o *Gateway) SetPlanId(v string)

SetPlanId sets field value

func (*Gateway) SetRoutingType

func (o *Gateway) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (Gateway) ToMap

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

func (*Gateway) UnmarshalJSON

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

type GatewayAvailabilityZones

type GatewayAvailabilityZones struct {
	// Object that represents an availability zone.
	Tunnel1 string `json:"tunnel1"`
	// Object that represents an availability zone.
	Tunnel2              string `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

GatewayAvailabilityZones struct for GatewayAvailabilityZones

func NewGatewayAvailabilityZones

func NewGatewayAvailabilityZones(tunnel1 string, tunnel2 string) *GatewayAvailabilityZones

NewGatewayAvailabilityZones instantiates a new GatewayAvailabilityZones 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 NewGatewayAvailabilityZonesWithDefaults

func NewGatewayAvailabilityZonesWithDefaults() *GatewayAvailabilityZones

NewGatewayAvailabilityZonesWithDefaults instantiates a new GatewayAvailabilityZones 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 (*GatewayAvailabilityZones) GetTunnel1

func (o *GatewayAvailabilityZones) GetTunnel1() string

GetTunnel1 returns the Tunnel1 field value

func (*GatewayAvailabilityZones) GetTunnel1Ok

func (o *GatewayAvailabilityZones) GetTunnel1Ok() (*string, bool)

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*GatewayAvailabilityZones) GetTunnel2

func (o *GatewayAvailabilityZones) GetTunnel2() string

GetTunnel2 returns the Tunnel2 field value

func (*GatewayAvailabilityZones) GetTunnel2Ok

func (o *GatewayAvailabilityZones) GetTunnel2Ok() (*string, bool)

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (GatewayAvailabilityZones) MarshalJSON

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

func (*GatewayAvailabilityZones) SetTunnel1

func (o *GatewayAvailabilityZones) SetTunnel1(v string)

SetTunnel1 sets field value

func (*GatewayAvailabilityZones) SetTunnel2

func (o *GatewayAvailabilityZones) SetTunnel2(v string)

SetTunnel2 sets field value

func (GatewayAvailabilityZones) ToMap

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

func (*GatewayAvailabilityZones) UnmarshalJSON

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

type GatewayList

type GatewayList struct {
	Gateways             []GatewayResponse `json:"gateways"`
	AdditionalProperties map[string]interface{}
}

GatewayList struct for GatewayList

func NewGatewayList

func NewGatewayList(gateways []GatewayResponse) *GatewayList

NewGatewayList instantiates a new GatewayList 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 NewGatewayListWithDefaults

func NewGatewayListWithDefaults() *GatewayList

NewGatewayListWithDefaults instantiates a new GatewayList 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 (*GatewayList) GetGateways

func (o *GatewayList) GetGateways() []GatewayResponse

GetGateways returns the Gateways field value

func (*GatewayList) GetGatewaysOk

func (o *GatewayList) GetGatewaysOk() ([]GatewayResponse, bool)

GetGatewaysOk returns a tuple with the Gateways field value and a boolean to check if the value has been set.

func (GatewayList) MarshalJSON

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

func (*GatewayList) SetGateways

func (o *GatewayList) SetGateways(v []GatewayResponse)

SetGateways sets field value

func (GatewayList) ToMap

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

func (*GatewayList) UnmarshalJSON

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

type GatewayResponse

type GatewayResponse struct {
	AvailabilityZones GatewayAvailabilityZones `json:"availabilityZones"`
	Bgp               *BGPGatewayConfig        `json:"bgp,omitempty"`
	// A user-friendly name for the VPN gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels        *map[string]string `json:"labels,omitempty"`
	NetworkConfig *NetworkConfig     `json:"networkConfig,omitempty"`
	// The service plan identifier.
	PlanId      string      `json:"planId"`
	RoutingType RoutingType `json:"routingType"`
	// The server-generated UUID of the VPN gateway.
	Id                   *string        `json:"id,omitempty"`
	State                *GatewayStatus `json:"state,omitempty"`
	AdditionalProperties map[string]interface{}
}

GatewayResponse struct for GatewayResponse

func NewGatewayResponse

func NewGatewayResponse(availabilityZones GatewayAvailabilityZones, displayName string, planId string, routingType RoutingType) *GatewayResponse

NewGatewayResponse instantiates a new GatewayResponse 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 NewGatewayResponseWithDefaults

func NewGatewayResponseWithDefaults() *GatewayResponse

NewGatewayResponseWithDefaults instantiates a new GatewayResponse 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 (*GatewayResponse) GetAvailabilityZones

func (o *GatewayResponse) GetAvailabilityZones() GatewayAvailabilityZones

GetAvailabilityZones returns the AvailabilityZones field value

func (*GatewayResponse) GetAvailabilityZonesOk

func (o *GatewayResponse) GetAvailabilityZonesOk() (*GatewayAvailabilityZones, bool)

GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.

func (*GatewayResponse) GetBgp

func (o *GatewayResponse) GetBgp() BGPGatewayConfig

GetBgp returns the Bgp field value if set, zero value otherwise.

func (*GatewayResponse) GetBgpOk

func (o *GatewayResponse) GetBgpOk() (*BGPGatewayConfig, bool)

GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayResponse) GetDisplayName

func (o *GatewayResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*GatewayResponse) GetDisplayNameOk

func (o *GatewayResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*GatewayResponse) GetId

func (o *GatewayResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GatewayResponse) GetIdOk

func (o *GatewayResponse) GetIdOk() (*string, 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 (*GatewayResponse) GetLabels

func (o *GatewayResponse) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*GatewayResponse) GetLabelsOk

func (o *GatewayResponse) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayResponse) GetNetworkConfig added in v0.15.0

func (o *GatewayResponse) GetNetworkConfig() NetworkConfig

GetNetworkConfig returns the NetworkConfig field value if set, zero value otherwise.

func (*GatewayResponse) GetNetworkConfigOk added in v0.15.0

func (o *GatewayResponse) GetNetworkConfigOk() (*NetworkConfig, bool)

GetNetworkConfigOk returns a tuple with the NetworkConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayResponse) GetPlanId

func (o *GatewayResponse) GetPlanId() string

GetPlanId returns the PlanId field value

func (*GatewayResponse) GetPlanIdOk

func (o *GatewayResponse) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.

func (*GatewayResponse) GetRoutingType

func (o *GatewayResponse) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*GatewayResponse) GetRoutingTypeOk

func (o *GatewayResponse) GetRoutingTypeOk() (*RoutingType, bool)

GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.

func (*GatewayResponse) GetState

func (o *GatewayResponse) GetState() GatewayStatus

GetState returns the State field value if set, zero value otherwise.

func (*GatewayResponse) GetStateOk

func (o *GatewayResponse) GetStateOk() (*GatewayStatus, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayResponse) HasBgp

func (o *GatewayResponse) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*GatewayResponse) HasId

func (o *GatewayResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayResponse) HasLabels

func (o *GatewayResponse) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*GatewayResponse) HasNetworkConfig added in v0.15.0

func (o *GatewayResponse) HasNetworkConfig() bool

HasNetworkConfig returns a boolean if a field has been set.

func (*GatewayResponse) HasState

func (o *GatewayResponse) HasState() bool

HasState returns a boolean if a field has been set.

func (GatewayResponse) MarshalJSON

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

func (*GatewayResponse) SetAvailabilityZones

func (o *GatewayResponse) SetAvailabilityZones(v GatewayAvailabilityZones)

SetAvailabilityZones sets field value

func (*GatewayResponse) SetBgp

func (o *GatewayResponse) SetBgp(v BGPGatewayConfig)

SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.

func (*GatewayResponse) SetDisplayName

func (o *GatewayResponse) SetDisplayName(v string)

SetDisplayName sets field value

func (*GatewayResponse) SetId

func (o *GatewayResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GatewayResponse) SetLabels

func (o *GatewayResponse) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*GatewayResponse) SetNetworkConfig added in v0.15.0

func (o *GatewayResponse) SetNetworkConfig(v NetworkConfig)

SetNetworkConfig gets a reference to the given NetworkConfig and assigns it to the NetworkConfig field.

func (*GatewayResponse) SetPlanId

func (o *GatewayResponse) SetPlanId(v string)

SetPlanId sets field value

func (*GatewayResponse) SetRoutingType

func (o *GatewayResponse) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (*GatewayResponse) SetState

func (o *GatewayResponse) SetState(v GatewayStatus)

SetState gets a reference to the given GatewayStatus and assigns it to the State field.

func (GatewayResponse) ToMap

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

func (*GatewayResponse) UnmarshalJSON

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

type GatewayStatus

type GatewayStatus string

GatewayStatus The current lifecycle state of the gateway infrastructure. - `PENDING`: Provisioning or update is in progress. - `READY`: The gateway is fully operational. - `ERROR`: A failure occurred. - `DELETING`: The resource is being removed.

const (
	GATEWAYSTATUS_PENDING                  GatewayStatus = "PENDING"
	GATEWAYSTATUS_READY                    GatewayStatus = "READY"
	GATEWAYSTATUS_ERROR                    GatewayStatus = "ERROR"
	GATEWAYSTATUS_DELETING                 GatewayStatus = "DELETING"
	GATEWAYSTATUS_UNKNOWN_DEFAULT_OPEN_API GatewayStatus = "unknown_default_open_api"
)

List of GatewayStatus

func NewGatewayStatusFromValue

func NewGatewayStatusFromValue(v string) (*GatewayStatus, error)

NewGatewayStatusFromValue returns a pointer to a valid GatewayStatus for the value passed as argument, or an error if the value passed is not allowed by the enum

func (GatewayStatus) IsValid

func (v GatewayStatus) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (GatewayStatus) Ptr

func (v GatewayStatus) Ptr() *GatewayStatus

Ptr returns reference to GatewayStatus value

func (*GatewayStatus) UnmarshalJSON

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

type GatewayStatusResponse

type GatewayStatusResponse struct {
	Connections []ConnectionStatusResponse `json:"connections,omitempty"`
	// Name of the Gateway instance.
	DisplayName *string `json:"displayName,omitempty"`
	// A descriptive message provided when the gateway is in an error state.
	ErrorMessage  *string        `json:"errorMessage,omitempty"`
	GatewayStatus *GatewayStatus `json:"gatewayStatus,omitempty"`
	// UUID of the Gateway instance.
	Id                   *string      `json:"id,omitempty"`
	Tunnels              []VPNTunnels `json:"tunnels,omitempty"`
	AdditionalProperties map[string]interface{}
}

GatewayStatusResponse struct for GatewayStatusResponse

func NewGatewayStatusResponse

func NewGatewayStatusResponse() *GatewayStatusResponse

NewGatewayStatusResponse instantiates a new GatewayStatusResponse 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 NewGatewayStatusResponseWithDefaults

func NewGatewayStatusResponseWithDefaults() *GatewayStatusResponse

NewGatewayStatusResponseWithDefaults instantiates a new GatewayStatusResponse 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 (*GatewayStatusResponse) GetConnections

func (o *GatewayStatusResponse) GetConnections() []ConnectionStatusResponse

GetConnections returns the Connections field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetConnectionsOk

func (o *GatewayStatusResponse) GetConnectionsOk() ([]ConnectionStatusResponse, bool)

GetConnectionsOk returns a tuple with the Connections field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStatusResponse) GetDisplayName

func (o *GatewayStatusResponse) GetDisplayName() string

GetDisplayName returns the DisplayName field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetDisplayNameOk

func (o *GatewayStatusResponse) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStatusResponse) GetErrorMessage added in v0.14.0

func (o *GatewayStatusResponse) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetErrorMessageOk added in v0.14.0

func (o *GatewayStatusResponse) GetErrorMessageOk() (*string, bool)

GetErrorMessageOk returns a tuple with the ErrorMessage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStatusResponse) GetGatewayStatus

func (o *GatewayStatusResponse) GetGatewayStatus() GatewayStatus

GetGatewayStatus returns the GatewayStatus field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetGatewayStatusOk

func (o *GatewayStatusResponse) GetGatewayStatusOk() (*GatewayStatus, bool)

GetGatewayStatusOk returns a tuple with the GatewayStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStatusResponse) GetId

func (o *GatewayStatusResponse) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetIdOk

func (o *GatewayStatusResponse) GetIdOk() (*string, 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 (*GatewayStatusResponse) GetTunnels

func (o *GatewayStatusResponse) GetTunnels() []VPNTunnels

GetTunnels returns the Tunnels field value if set, zero value otherwise.

func (*GatewayStatusResponse) GetTunnelsOk

func (o *GatewayStatusResponse) GetTunnelsOk() ([]VPNTunnels, bool)

GetTunnelsOk returns a tuple with the Tunnels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*GatewayStatusResponse) HasConnections

func (o *GatewayStatusResponse) HasConnections() bool

HasConnections returns a boolean if a field has been set.

func (*GatewayStatusResponse) HasDisplayName

func (o *GatewayStatusResponse) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

func (*GatewayStatusResponse) HasErrorMessage added in v0.14.0

func (o *GatewayStatusResponse) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (*GatewayStatusResponse) HasGatewayStatus

func (o *GatewayStatusResponse) HasGatewayStatus() bool

HasGatewayStatus returns a boolean if a field has been set.

func (*GatewayStatusResponse) HasId

func (o *GatewayStatusResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayStatusResponse) HasTunnels

func (o *GatewayStatusResponse) HasTunnels() bool

HasTunnels returns a boolean if a field has been set.

func (GatewayStatusResponse) MarshalJSON

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

func (*GatewayStatusResponse) SetConnections

func (o *GatewayStatusResponse) SetConnections(v []ConnectionStatusResponse)

SetConnections gets a reference to the given []ConnectionStatusResponse and assigns it to the Connections field.

func (*GatewayStatusResponse) SetDisplayName

func (o *GatewayStatusResponse) SetDisplayName(v string)

SetDisplayName gets a reference to the given string and assigns it to the DisplayName field.

func (*GatewayStatusResponse) SetErrorMessage added in v0.14.0

func (o *GatewayStatusResponse) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*GatewayStatusResponse) SetGatewayStatus

func (o *GatewayStatusResponse) SetGatewayStatus(v GatewayStatus)

SetGatewayStatus gets a reference to the given GatewayStatus and assigns it to the GatewayStatus field.

func (*GatewayStatusResponse) SetId

func (o *GatewayStatusResponse) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*GatewayStatusResponse) SetTunnels

func (o *GatewayStatusResponse) SetTunnels(v []VPNTunnels)

SetTunnels gets a reference to the given []VPNTunnels and assigns it to the Tunnels field.

func (GatewayStatusResponse) ToMap

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

func (*GatewayStatusResponse) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NetworkConfig added in v0.15.0

type NetworkConfig struct {
	// The IPv4 network prefix (CIDR notation) allocated for the VPN gateway. Must have a prefix length of /28 or larger. Once the gateway is created, is not possible to change this attribute.
	PredefinedNetworkPrefix *string `` /* 135-byte string literal not displayed */
	// Custom routing table ID for the VPN gateway
	RoutingTableId       *string `json:"routingTableId,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkConfig struct for NetworkConfig

func NewNetworkConfig added in v0.15.0

func NewNetworkConfig() *NetworkConfig

NewNetworkConfig instantiates a new NetworkConfig 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 NewNetworkConfigWithDefaults added in v0.15.0

func NewNetworkConfigWithDefaults() *NetworkConfig

NewNetworkConfigWithDefaults instantiates a new NetworkConfig 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 (*NetworkConfig) GetPredefinedNetworkPrefix added in v0.15.0

func (o *NetworkConfig) GetPredefinedNetworkPrefix() string

GetPredefinedNetworkPrefix returns the PredefinedNetworkPrefix field value if set, zero value otherwise.

func (*NetworkConfig) GetPredefinedNetworkPrefixOk added in v0.15.0

func (o *NetworkConfig) GetPredefinedNetworkPrefixOk() (*string, bool)

GetPredefinedNetworkPrefixOk returns a tuple with the PredefinedNetworkPrefix field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) GetRoutingTableId added in v0.15.0

func (o *NetworkConfig) GetRoutingTableId() string

GetRoutingTableId returns the RoutingTableId field value if set, zero value otherwise.

func (*NetworkConfig) GetRoutingTableIdOk added in v0.15.0

func (o *NetworkConfig) GetRoutingTableIdOk() (*string, bool)

GetRoutingTableIdOk returns a tuple with the RoutingTableId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NetworkConfig) HasPredefinedNetworkPrefix added in v0.15.0

func (o *NetworkConfig) HasPredefinedNetworkPrefix() bool

HasPredefinedNetworkPrefix returns a boolean if a field has been set.

func (*NetworkConfig) HasRoutingTableId added in v0.15.0

func (o *NetworkConfig) HasRoutingTableId() bool

HasRoutingTableId returns a boolean if a field has been set.

func (NetworkConfig) MarshalJSON added in v0.15.0

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

func (*NetworkConfig) SetPredefinedNetworkPrefix added in v0.15.0

func (o *NetworkConfig) SetPredefinedNetworkPrefix(v string)

SetPredefinedNetworkPrefix gets a reference to the given string and assigns it to the PredefinedNetworkPrefix field.

func (*NetworkConfig) SetRoutingTableId added in v0.15.0

func (o *NetworkConfig) SetRoutingTableId(v string)

SetRoutingTableId gets a reference to the given string and assigns it to the RoutingTableId field.

func (NetworkConfig) ToMap added in v0.15.0

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

func (*NetworkConfig) UnmarshalJSON added in v0.15.0

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

type NullableAPIError

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

func NewNullableAPIError

func NewNullableAPIError(val *APIError) *NullableAPIError

func (NullableAPIError) Get

func (v NullableAPIError) Get() *APIError

func (NullableAPIError) IsSet

func (v NullableAPIError) IsSet() bool

func (NullableAPIError) MarshalJSON

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

func (*NullableAPIError) Set

func (v *NullableAPIError) Set(val *APIError)

func (*NullableAPIError) UnmarshalJSON

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

func (*NullableAPIError) Unset

func (v *NullableAPIError) Unset()

type NullableAPIErrorDetail

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

func NewNullableAPIErrorDetail

func NewNullableAPIErrorDetail(val *APIErrorDetail) *NullableAPIErrorDetail

func (NullableAPIErrorDetail) Get

func (NullableAPIErrorDetail) IsSet

func (v NullableAPIErrorDetail) IsSet() bool

func (NullableAPIErrorDetail) MarshalJSON

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

func (*NullableAPIErrorDetail) Set

func (*NullableAPIErrorDetail) UnmarshalJSON

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

func (*NullableAPIErrorDetail) Unset

func (v *NullableAPIErrorDetail) Unset()

type NullableAPIErrorDetailReason added in v0.12.0

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

func NewNullableAPIErrorDetailReason added in v0.12.0

func NewNullableAPIErrorDetailReason(val *APIErrorDetailReason) *NullableAPIErrorDetailReason

func (NullableAPIErrorDetailReason) Get added in v0.12.0

func (NullableAPIErrorDetailReason) IsSet added in v0.12.0

func (NullableAPIErrorDetailReason) MarshalJSON added in v0.12.0

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

func (*NullableAPIErrorDetailReason) Set added in v0.12.0

func (*NullableAPIErrorDetailReason) UnmarshalJSON added in v0.12.0

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

func (*NullableAPIErrorDetailReason) Unset added in v0.12.0

func (v *NullableAPIErrorDetailReason) Unset()

type NullableAPIErrorResponse

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

func NewNullableAPIErrorResponse

func NewNullableAPIErrorResponse(val *APIErrorResponse) *NullableAPIErrorResponse

func (NullableAPIErrorResponse) Get

func (NullableAPIErrorResponse) IsSet

func (v NullableAPIErrorResponse) IsSet() bool

func (NullableAPIErrorResponse) MarshalJSON

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

func (*NullableAPIErrorResponse) Set

func (*NullableAPIErrorResponse) UnmarshalJSON

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

func (*NullableAPIErrorResponse) Unset

func (v *NullableAPIErrorResponse) Unset()

type NullableASNNot added in v0.15.2

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

func NewNullableASNNot added in v0.15.2

func NewNullableASNNot(val *ASNNot) *NullableASNNot

func (NullableASNNot) Get added in v0.15.2

func (v NullableASNNot) Get() *ASNNot

func (NullableASNNot) IsSet added in v0.15.2

func (v NullableASNNot) IsSet() bool

func (NullableASNNot) MarshalJSON added in v0.15.2

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

func (*NullableASNNot) Set added in v0.15.2

func (v *NullableASNNot) Set(val *ASNNot)

func (*NullableASNNot) UnmarshalJSON added in v0.15.2

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

func (*NullableASNNot) Unset added in v0.15.2

func (v *NullableASNNot) Unset()

type NullableBGPFilter added in v0.15.0

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

func NewNullableBGPFilter added in v0.15.0

func NewNullableBGPFilter(val *BGPFilter) *NullableBGPFilter

func (NullableBGPFilter) Get added in v0.15.0

func (v NullableBGPFilter) Get() *BGPFilter

func (NullableBGPFilter) IsSet added in v0.15.0

func (v NullableBGPFilter) IsSet() bool

func (NullableBGPFilter) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilter) Set added in v0.15.0

func (v *NullableBGPFilter) Set(val *BGPFilter)

func (*NullableBGPFilter) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilter) Unset added in v0.15.0

func (v *NullableBGPFilter) Unset()

type NullableBGPFilterList added in v0.15.0

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

func NewNullableBGPFilterList added in v0.15.0

func NewNullableBGPFilterList(val *BGPFilterList) *NullableBGPFilterList

func (NullableBGPFilterList) Get added in v0.15.0

func (NullableBGPFilterList) IsSet added in v0.15.0

func (v NullableBGPFilterList) IsSet() bool

func (NullableBGPFilterList) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterList) Set added in v0.15.0

func (v *NullableBGPFilterList) Set(val *BGPFilterList)

func (*NullableBGPFilterList) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterList) Unset added in v0.15.0

func (v *NullableBGPFilterList) Unset()

type NullableBGPFilterRule added in v0.15.0

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

func NewNullableBGPFilterRule added in v0.15.0

func NewNullableBGPFilterRule(val *BGPFilterRule) *NullableBGPFilterRule

func (NullableBGPFilterRule) Get added in v0.15.0

func (NullableBGPFilterRule) IsSet added in v0.15.0

func (v NullableBGPFilterRule) IsSet() bool

func (NullableBGPFilterRule) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRule) Set added in v0.15.0

func (v *NullableBGPFilterRule) Set(val *BGPFilterRule)

func (*NullableBGPFilterRule) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRule) Unset added in v0.15.0

func (v *NullableBGPFilterRule) Unset()

type NullableBGPFilterRuleAction added in v0.15.0

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

func NewNullableBGPFilterRuleAction added in v0.15.0

func NewNullableBGPFilterRuleAction(val *BGPFilterRuleAction) *NullableBGPFilterRuleAction

func (NullableBGPFilterRuleAction) Get added in v0.15.0

func (NullableBGPFilterRuleAction) IsSet added in v0.15.0

func (NullableBGPFilterRuleAction) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleAction) Set added in v0.15.0

func (*NullableBGPFilterRuleAction) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleAction) Unset added in v0.15.0

func (v *NullableBGPFilterRuleAction) Unset()

type NullableBGPFilterRuleList added in v0.15.0

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

func NewNullableBGPFilterRuleList added in v0.15.0

func NewNullableBGPFilterRuleList(val *BGPFilterRuleList) *NullableBGPFilterRuleList

func (NullableBGPFilterRuleList) Get added in v0.15.0

func (NullableBGPFilterRuleList) IsSet added in v0.15.0

func (v NullableBGPFilterRuleList) IsSet() bool

func (NullableBGPFilterRuleList) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleList) Set added in v0.15.0

func (*NullableBGPFilterRuleList) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleList) Unset added in v0.15.0

func (v *NullableBGPFilterRuleList) Unset()

type NullableBGPFilterRuleMatch added in v0.15.0

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

func NewNullableBGPFilterRuleMatch added in v0.15.0

func NewNullableBGPFilterRuleMatch(val *BGPFilterRuleMatch) *NullableBGPFilterRuleMatch

func (NullableBGPFilterRuleMatch) Get added in v0.15.0

func (NullableBGPFilterRuleMatch) IsSet added in v0.15.0

func (v NullableBGPFilterRuleMatch) IsSet() bool

func (NullableBGPFilterRuleMatch) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleMatch) Set added in v0.15.0

func (*NullableBGPFilterRuleMatch) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleMatch) Unset added in v0.15.0

func (v *NullableBGPFilterRuleMatch) Unset()

type NullableBGPFilterRuleSet added in v0.15.0

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

func NewNullableBGPFilterRuleSet added in v0.15.0

func NewNullableBGPFilterRuleSet(val *BGPFilterRuleSet) *NullableBGPFilterRuleSet

func (NullableBGPFilterRuleSet) Get added in v0.15.0

func (NullableBGPFilterRuleSet) IsSet added in v0.15.0

func (v NullableBGPFilterRuleSet) IsSet() bool

func (NullableBGPFilterRuleSet) MarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleSet) Set added in v0.15.0

func (*NullableBGPFilterRuleSet) UnmarshalJSON added in v0.15.0

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

func (*NullableBGPFilterRuleSet) Unset added in v0.15.0

func (v *NullableBGPFilterRuleSet) Unset()

type NullableBGPGatewayConfig

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

func NewNullableBGPGatewayConfig

func NewNullableBGPGatewayConfig(val *BGPGatewayConfig) *NullableBGPGatewayConfig

func (NullableBGPGatewayConfig) Get

func (NullableBGPGatewayConfig) IsSet

func (v NullableBGPGatewayConfig) IsSet() bool

func (NullableBGPGatewayConfig) MarshalJSON

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

func (*NullableBGPGatewayConfig) Set

func (*NullableBGPGatewayConfig) UnmarshalJSON

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

func (*NullableBGPGatewayConfig) Unset

func (v *NullableBGPGatewayConfig) Unset()

type NullableBGPStatus

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

func NewNullableBGPStatus

func NewNullableBGPStatus(val *BGPStatus) *NullableBGPStatus

func (NullableBGPStatus) Get

func (v NullableBGPStatus) Get() *BGPStatus

func (NullableBGPStatus) IsSet

func (v NullableBGPStatus) IsSet() bool

func (NullableBGPStatus) MarshalJSON

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

func (*NullableBGPStatus) Set

func (v *NullableBGPStatus) Set(val *BGPStatus)

func (*NullableBGPStatus) UnmarshalJSON

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

func (*NullableBGPStatus) Unset

func (v *NullableBGPStatus) Unset()

type NullableBGPStatusPeers

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

func NewNullableBGPStatusPeers

func NewNullableBGPStatusPeers(val *BGPStatusPeers) *NullableBGPStatusPeers

func (NullableBGPStatusPeers) Get

func (NullableBGPStatusPeers) IsSet

func (v NullableBGPStatusPeers) IsSet() bool

func (NullableBGPStatusPeers) MarshalJSON

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

func (*NullableBGPStatusPeers) Set

func (*NullableBGPStatusPeers) UnmarshalJSON

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

func (*NullableBGPStatusPeers) Unset

func (v *NullableBGPStatusPeers) Unset()

type NullableBGPStatusRoutes

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

func NewNullableBGPStatusRoutes

func NewNullableBGPStatusRoutes(val *BGPStatusRoutes) *NullableBGPStatusRoutes

func (NullableBGPStatusRoutes) Get

func (NullableBGPStatusRoutes) IsSet

func (v NullableBGPStatusRoutes) IsSet() bool

func (NullableBGPStatusRoutes) MarshalJSON

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

func (*NullableBGPStatusRoutes) Set

func (*NullableBGPStatusRoutes) UnmarshalJSON

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

func (*NullableBGPStatusRoutes) Unset

func (v *NullableBGPStatusRoutes) Unset()

type NullableBGPTunnelConfig

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

func NewNullableBGPTunnelConfig

func NewNullableBGPTunnelConfig(val *BGPTunnelConfig) *NullableBGPTunnelConfig

func (NullableBGPTunnelConfig) Get

func (NullableBGPTunnelConfig) IsSet

func (v NullableBGPTunnelConfig) IsSet() bool

func (NullableBGPTunnelConfig) MarshalJSON

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

func (*NullableBGPTunnelConfig) Set

func (*NullableBGPTunnelConfig) UnmarshalJSON

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

func (*NullableBGPTunnelConfig) Unset

func (v *NullableBGPTunnelConfig) 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 NullableConnectionList

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

func NewNullableConnectionList

func NewNullableConnectionList(val *ConnectionList) *NullableConnectionList

func (NullableConnectionList) Get

func (NullableConnectionList) IsSet

func (v NullableConnectionList) IsSet() bool

func (NullableConnectionList) MarshalJSON

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

func (*NullableConnectionList) Set

func (*NullableConnectionList) UnmarshalJSON

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

func (*NullableConnectionList) Unset

func (v *NullableConnectionList) Unset()

type NullableConnectionResponse

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

func NewNullableConnectionResponse

func NewNullableConnectionResponse(val *ConnectionResponse) *NullableConnectionResponse

func (NullableConnectionResponse) Get

func (NullableConnectionResponse) IsSet

func (v NullableConnectionResponse) IsSet() bool

func (NullableConnectionResponse) MarshalJSON

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

func (*NullableConnectionResponse) Set

func (*NullableConnectionResponse) UnmarshalJSON

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

func (*NullableConnectionResponse) Unset

func (v *NullableConnectionResponse) Unset()

type NullableConnectionStatusResponse

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

func (NullableConnectionStatusResponse) Get

func (NullableConnectionStatusResponse) IsSet

func (NullableConnectionStatusResponse) MarshalJSON

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

func (*NullableConnectionStatusResponse) Set

func (*NullableConnectionStatusResponse) UnmarshalJSON

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

func (*NullableConnectionStatusResponse) Unset

type NullableCreateGatewayBGPFilterPayload added in v0.15.0

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

func NewNullableCreateGatewayBGPFilterPayload added in v0.15.0

func NewNullableCreateGatewayBGPFilterPayload(val *CreateGatewayBGPFilterPayload) *NullableCreateGatewayBGPFilterPayload

func (NullableCreateGatewayBGPFilterPayload) Get added in v0.15.0

func (NullableCreateGatewayBGPFilterPayload) IsSet added in v0.15.0

func (NullableCreateGatewayBGPFilterPayload) MarshalJSON added in v0.15.0

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

func (*NullableCreateGatewayBGPFilterPayload) Set added in v0.15.0

func (*NullableCreateGatewayBGPFilterPayload) UnmarshalJSON added in v0.15.0

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

func (*NullableCreateGatewayBGPFilterPayload) Unset added in v0.15.0

type NullableCreateGatewayBGPFilterRulePayload added in v0.15.0

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

func NewNullableCreateGatewayBGPFilterRulePayload added in v0.15.0

func NewNullableCreateGatewayBGPFilterRulePayload(val *CreateGatewayBGPFilterRulePayload) *NullableCreateGatewayBGPFilterRulePayload

func (NullableCreateGatewayBGPFilterRulePayload) Get added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayload) IsSet added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayload) MarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayload) Set added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayload) UnmarshalJSON added in v0.15.0

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

func (*NullableCreateGatewayBGPFilterRulePayload) Unset added in v0.15.0

type NullableCreateGatewayBGPFilterRulePayloadAction added in v0.15.0

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

func (NullableCreateGatewayBGPFilterRulePayloadAction) Get added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadAction) IsSet added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadAction) MarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadAction) Set added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadAction) UnmarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadAction) Unset added in v0.15.0

type NullableCreateGatewayBGPFilterRulePayloadMatch added in v0.15.0

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

func (NullableCreateGatewayBGPFilterRulePayloadMatch) Get added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadMatch) IsSet added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadMatch) MarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadMatch) Set added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadMatch) UnmarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadMatch) Unset added in v0.15.0

type NullableCreateGatewayBGPFilterRulePayloadSet added in v0.15.0

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

func NewNullableCreateGatewayBGPFilterRulePayloadSet added in v0.15.0

func NewNullableCreateGatewayBGPFilterRulePayloadSet(val *CreateGatewayBGPFilterRulePayloadSet) *NullableCreateGatewayBGPFilterRulePayloadSet

func (NullableCreateGatewayBGPFilterRulePayloadSet) Get added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadSet) IsSet added in v0.15.0

func (NullableCreateGatewayBGPFilterRulePayloadSet) MarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadSet) Set added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadSet) UnmarshalJSON added in v0.15.0

func (*NullableCreateGatewayBGPFilterRulePayloadSet) Unset added in v0.15.0

type NullableCreateGatewayConnectionPayload

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

func (NullableCreateGatewayConnectionPayload) Get

func (NullableCreateGatewayConnectionPayload) IsSet

func (NullableCreateGatewayConnectionPayload) MarshalJSON

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

func (*NullableCreateGatewayConnectionPayload) Set

func (*NullableCreateGatewayConnectionPayload) UnmarshalJSON

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

func (*NullableCreateGatewayConnectionPayload) Unset

type NullableCreateGatewayPayload

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

func NewNullableCreateGatewayPayload

func NewNullableCreateGatewayPayload(val *CreateGatewayPayload) *NullableCreateGatewayPayload

func (NullableCreateGatewayPayload) Get

func (NullableCreateGatewayPayload) IsSet

func (NullableCreateGatewayPayload) MarshalJSON

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

func (*NullableCreateGatewayPayload) Set

func (*NullableCreateGatewayPayload) UnmarshalJSON

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

func (*NullableCreateGatewayPayload) Unset

func (v *NullableCreateGatewayPayload) Unset()

type NullableCreateGatewayPayloadAvailabilityZones

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

func (NullableCreateGatewayPayloadAvailabilityZones) Get

func (NullableCreateGatewayPayloadAvailabilityZones) IsSet

func (NullableCreateGatewayPayloadAvailabilityZones) MarshalJSON

func (*NullableCreateGatewayPayloadAvailabilityZones) Set

func (*NullableCreateGatewayPayloadAvailabilityZones) UnmarshalJSON

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

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

func NewNullableGateway

func NewNullableGateway(val *Gateway) *NullableGateway

func (NullableGateway) Get

func (v NullableGateway) Get() *Gateway

func (NullableGateway) IsSet

func (v NullableGateway) IsSet() bool

func (NullableGateway) MarshalJSON

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

func (*NullableGateway) Set

func (v *NullableGateway) Set(val *Gateway)

func (*NullableGateway) UnmarshalJSON

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

func (*NullableGateway) Unset

func (v *NullableGateway) Unset()

type NullableGatewayAvailabilityZones

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

func (NullableGatewayAvailabilityZones) Get

func (NullableGatewayAvailabilityZones) IsSet

func (NullableGatewayAvailabilityZones) MarshalJSON

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

func (*NullableGatewayAvailabilityZones) Set

func (*NullableGatewayAvailabilityZones) UnmarshalJSON

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

func (*NullableGatewayAvailabilityZones) Unset

type NullableGatewayList

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

func NewNullableGatewayList

func NewNullableGatewayList(val *GatewayList) *NullableGatewayList

func (NullableGatewayList) Get

func (NullableGatewayList) IsSet

func (v NullableGatewayList) IsSet() bool

func (NullableGatewayList) MarshalJSON

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

func (*NullableGatewayList) Set

func (v *NullableGatewayList) Set(val *GatewayList)

func (*NullableGatewayList) UnmarshalJSON

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

func (*NullableGatewayList) Unset

func (v *NullableGatewayList) Unset()

type NullableGatewayResponse

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

func NewNullableGatewayResponse

func NewNullableGatewayResponse(val *GatewayResponse) *NullableGatewayResponse

func (NullableGatewayResponse) Get

func (NullableGatewayResponse) IsSet

func (v NullableGatewayResponse) IsSet() bool

func (NullableGatewayResponse) MarshalJSON

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

func (*NullableGatewayResponse) Set

func (*NullableGatewayResponse) UnmarshalJSON

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

func (*NullableGatewayResponse) Unset

func (v *NullableGatewayResponse) Unset()

type NullableGatewayStatus

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

func NewNullableGatewayStatus

func NewNullableGatewayStatus(val *GatewayStatus) *NullableGatewayStatus

func (NullableGatewayStatus) Get

func (NullableGatewayStatus) IsSet

func (v NullableGatewayStatus) IsSet() bool

func (NullableGatewayStatus) MarshalJSON

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

func (*NullableGatewayStatus) Set

func (v *NullableGatewayStatus) Set(val *GatewayStatus)

func (*NullableGatewayStatus) UnmarshalJSON

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

func (*NullableGatewayStatus) Unset

func (v *NullableGatewayStatus) Unset()

type NullableGatewayStatusResponse

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

func (NullableGatewayStatusResponse) Get

func (NullableGatewayStatusResponse) IsSet

func (NullableGatewayStatusResponse) MarshalJSON

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

func (*NullableGatewayStatusResponse) Set

func (*NullableGatewayStatusResponse) UnmarshalJSON

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

func (*NullableGatewayStatusResponse) Unset

func (v *NullableGatewayStatusResponse) 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 NullableNetworkConfig added in v0.15.0

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

func NewNullableNetworkConfig added in v0.15.0

func NewNullableNetworkConfig(val *NetworkConfig) *NullableNetworkConfig

func (NullableNetworkConfig) Get added in v0.15.0

func (NullableNetworkConfig) IsSet added in v0.15.0

func (v NullableNetworkConfig) IsSet() bool

func (NullableNetworkConfig) MarshalJSON added in v0.15.0

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

func (*NullableNetworkConfig) Set added in v0.15.0

func (v *NullableNetworkConfig) Set(val *NetworkConfig)

func (*NullableNetworkConfig) UnmarshalJSON added in v0.15.0

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

func (*NullableNetworkConfig) Unset added in v0.15.0

func (v *NullableNetworkConfig) Unset()

type NullablePeeringConfig

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

func NewNullablePeeringConfig

func NewNullablePeeringConfig(val *PeeringConfig) *NullablePeeringConfig

func (NullablePeeringConfig) Get

func (NullablePeeringConfig) IsSet

func (v NullablePeeringConfig) IsSet() bool

func (NullablePeeringConfig) MarshalJSON

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

func (*NullablePeeringConfig) Set

func (v *NullablePeeringConfig) Set(val *PeeringConfig)

func (*NullablePeeringConfig) UnmarshalJSON

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

func (*NullablePeeringConfig) Unset

func (v *NullablePeeringConfig) Unset()

type NullablePhase

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

func NewNullablePhase

func NewNullablePhase(val *Phase) *NullablePhase

func (NullablePhase) Get

func (v NullablePhase) Get() *Phase

func (NullablePhase) IsSet

func (v NullablePhase) IsSet() bool

func (NullablePhase) MarshalJSON

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

func (*NullablePhase) Set

func (v *NullablePhase) Set(val *Phase)

func (*NullablePhase) UnmarshalJSON

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

func (*NullablePhase) Unset

func (v *NullablePhase) Unset()

type NullablePhase1Status

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

func NewNullablePhase1Status

func NewNullablePhase1Status(val *Phase1Status) *NullablePhase1Status

func (NullablePhase1Status) Get

func (NullablePhase1Status) IsSet

func (v NullablePhase1Status) IsSet() bool

func (NullablePhase1Status) MarshalJSON

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

func (*NullablePhase1Status) Set

func (v *NullablePhase1Status) Set(val *Phase1Status)

func (*NullablePhase1Status) UnmarshalJSON

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

func (*NullablePhase1Status) Unset

func (v *NullablePhase1Status) Unset()

type NullablePhase2Status

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

func NewNullablePhase2Status

func NewNullablePhase2Status(val *Phase2Status) *NullablePhase2Status

func (NullablePhase2Status) Get

func (NullablePhase2Status) IsSet

func (v NullablePhase2Status) IsSet() bool

func (NullablePhase2Status) MarshalJSON

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

func (*NullablePhase2Status) Set

func (v *NullablePhase2Status) Set(val *Phase2Status)

func (*NullablePhase2Status) UnmarshalJSON

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

func (*NullablePhase2Status) Unset

func (v *NullablePhase2Status) Unset()

type NullablePhaseDhGroupsInner added in v0.12.0

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

func NewNullablePhaseDhGroupsInner added in v0.12.0

func NewNullablePhaseDhGroupsInner(val *PhaseDhGroupsInner) *NullablePhaseDhGroupsInner

func (NullablePhaseDhGroupsInner) Get added in v0.12.0

func (NullablePhaseDhGroupsInner) IsSet added in v0.12.0

func (v NullablePhaseDhGroupsInner) IsSet() bool

func (NullablePhaseDhGroupsInner) MarshalJSON added in v0.12.0

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

func (*NullablePhaseDhGroupsInner) Set added in v0.12.0

func (*NullablePhaseDhGroupsInner) UnmarshalJSON added in v0.12.0

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

func (*NullablePhaseDhGroupsInner) Unset added in v0.12.0

func (v *NullablePhaseDhGroupsInner) Unset()

type NullablePhaseEncryptionAlgorithmsInner added in v0.12.0

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

func NewNullablePhaseEncryptionAlgorithmsInner added in v0.12.0

func NewNullablePhaseEncryptionAlgorithmsInner(val *PhaseEncryptionAlgorithmsInner) *NullablePhaseEncryptionAlgorithmsInner

func (NullablePhaseEncryptionAlgorithmsInner) Get added in v0.12.0

func (NullablePhaseEncryptionAlgorithmsInner) IsSet added in v0.12.0

func (NullablePhaseEncryptionAlgorithmsInner) MarshalJSON added in v0.12.0

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

func (*NullablePhaseEncryptionAlgorithmsInner) Set added in v0.12.0

func (*NullablePhaseEncryptionAlgorithmsInner) UnmarshalJSON added in v0.12.0

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

func (*NullablePhaseEncryptionAlgorithmsInner) Unset added in v0.12.0

type NullablePhaseIntegrityAlgorithmsInner added in v0.12.0

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

func NewNullablePhaseIntegrityAlgorithmsInner added in v0.12.0

func NewNullablePhaseIntegrityAlgorithmsInner(val *PhaseIntegrityAlgorithmsInner) *NullablePhaseIntegrityAlgorithmsInner

func (NullablePhaseIntegrityAlgorithmsInner) Get added in v0.12.0

func (NullablePhaseIntegrityAlgorithmsInner) IsSet added in v0.12.0

func (NullablePhaseIntegrityAlgorithmsInner) MarshalJSON added in v0.12.0

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

func (*NullablePhaseIntegrityAlgorithmsInner) Set added in v0.12.0

func (*NullablePhaseIntegrityAlgorithmsInner) UnmarshalJSON added in v0.12.0

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

func (*NullablePhaseIntegrityAlgorithmsInner) Unset added in v0.12.0

type NullablePlan

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanList

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

func NewNullablePlanList

func NewNullablePlanList(val *PlanList) *NullablePlanList

func (NullablePlanList) Get

func (v NullablePlanList) Get() *PlanList

func (NullablePlanList) IsSet

func (v NullablePlanList) IsSet() bool

func (NullablePlanList) MarshalJSON

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

func (*NullablePlanList) Set

func (v *NullablePlanList) Set(val *PlanList)

func (*NullablePlanList) UnmarshalJSON

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

func (*NullablePlanList) Unset

func (v *NullablePlanList) Unset()

type NullableQuota

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

func NewNullableQuota

func NewNullableQuota(val *Quota) *NullableQuota

func (NullableQuota) Get

func (v NullableQuota) Get() *Quota

func (NullableQuota) IsSet

func (v NullableQuota) IsSet() bool

func (NullableQuota) MarshalJSON

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

func (*NullableQuota) Set

func (v *NullableQuota) Set(val *Quota)

func (*NullableQuota) UnmarshalJSON

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

func (*NullableQuota) Unset

func (v *NullableQuota) Unset()

type NullableQuotaList

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

func NewNullableQuotaList

func NewNullableQuotaList(val *QuotaList) *NullableQuotaList

func (NullableQuotaList) Get

func (v NullableQuotaList) Get() *QuotaList

func (NullableQuotaList) IsSet

func (v NullableQuotaList) IsSet() bool

func (NullableQuotaList) MarshalJSON

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

func (*NullableQuotaList) Set

func (v *NullableQuotaList) Set(val *QuotaList)

func (*NullableQuotaList) UnmarshalJSON

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

func (*NullableQuotaList) Unset

func (v *NullableQuotaList) Unset()

type NullableQuotaListResponse

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

func NewNullableQuotaListResponse

func NewNullableQuotaListResponse(val *QuotaListResponse) *NullableQuotaListResponse

func (NullableQuotaListResponse) Get

func (NullableQuotaListResponse) IsSet

func (v NullableQuotaListResponse) IsSet() bool

func (NullableQuotaListResponse) MarshalJSON

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

func (*NullableQuotaListResponse) Set

func (*NullableQuotaListResponse) UnmarshalJSON

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

func (*NullableQuotaListResponse) Unset

func (v *NullableQuotaListResponse) Unset()

type NullableRegion

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

func NewNullableRegion

func NewNullableRegion(val *Region) *NullableRegion

func (NullableRegion) Get

func (v NullableRegion) Get() *Region

func (NullableRegion) IsSet

func (v NullableRegion) IsSet() bool

func (NullableRegion) MarshalJSON

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

func (*NullableRegion) Set

func (v *NullableRegion) Set(val *Region)

func (*NullableRegion) UnmarshalJSON

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

func (*NullableRegion) Unset

func (v *NullableRegion) Unset()

type NullableRoutingType

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

func NewNullableRoutingType

func NewNullableRoutingType(val *RoutingType) *NullableRoutingType

func (NullableRoutingType) Get

func (NullableRoutingType) IsSet

func (v NullableRoutingType) IsSet() bool

func (NullableRoutingType) MarshalJSON

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

func (*NullableRoutingType) Set

func (v *NullableRoutingType) Set(val *RoutingType)

func (*NullableRoutingType) UnmarshalJSON

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

func (*NullableRoutingType) Unset

func (v *NullableRoutingType) 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 NullableTunnelConfiguration

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

func NewNullableTunnelConfiguration

func NewNullableTunnelConfiguration(val *TunnelConfiguration) *NullableTunnelConfiguration

func (NullableTunnelConfiguration) Get

func (NullableTunnelConfiguration) IsSet

func (NullableTunnelConfiguration) MarshalJSON

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

func (*NullableTunnelConfiguration) Set

func (*NullableTunnelConfiguration) UnmarshalJSON

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

func (*NullableTunnelConfiguration) Unset

func (v *NullableTunnelConfiguration) Unset()

type NullableTunnelConfigurationPhase1

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

func (NullableTunnelConfigurationPhase1) Get

func (NullableTunnelConfigurationPhase1) IsSet

func (NullableTunnelConfigurationPhase1) MarshalJSON

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

func (*NullableTunnelConfigurationPhase1) Set

func (*NullableTunnelConfigurationPhase1) UnmarshalJSON

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

func (*NullableTunnelConfigurationPhase1) Unset

type NullableTunnelConfigurationPhase2

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

func (NullableTunnelConfigurationPhase2) Get

func (NullableTunnelConfigurationPhase2) IsSet

func (NullableTunnelConfigurationPhase2) MarshalJSON

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

func (*NullableTunnelConfigurationPhase2) Set

func (*NullableTunnelConfigurationPhase2) UnmarshalJSON

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

func (*NullableTunnelConfigurationPhase2) Unset

type NullableTunnelConfigurationPhase2AllOfDpdAction added in v0.12.0

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

func (NullableTunnelConfigurationPhase2AllOfDpdAction) Get added in v0.12.0

func (NullableTunnelConfigurationPhase2AllOfDpdAction) IsSet added in v0.12.0

func (NullableTunnelConfigurationPhase2AllOfDpdAction) MarshalJSON added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfDpdAction) Set added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfDpdAction) Unset added in v0.12.0

type NullableTunnelConfigurationPhase2AllOfStartAction added in v0.12.0

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

func (NullableTunnelConfigurationPhase2AllOfStartAction) Get added in v0.12.0

func (NullableTunnelConfigurationPhase2AllOfStartAction) IsSet added in v0.12.0

func (NullableTunnelConfigurationPhase2AllOfStartAction) MarshalJSON added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfStartAction) Set added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON added in v0.12.0

func (*NullableTunnelConfigurationPhase2AllOfStartAction) Unset added in v0.12.0

type NullableTunnelStatus

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

func NewNullableTunnelStatus

func NewNullableTunnelStatus(val *TunnelStatus) *NullableTunnelStatus

func (NullableTunnelStatus) Get

func (NullableTunnelStatus) IsSet

func (v NullableTunnelStatus) IsSet() bool

func (NullableTunnelStatus) MarshalJSON

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

func (*NullableTunnelStatus) Set

func (v *NullableTunnelStatus) Set(val *TunnelStatus)

func (*NullableTunnelStatus) UnmarshalJSON

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

func (*NullableTunnelStatus) Unset

func (v *NullableTunnelStatus) Unset()

type NullableTunnelStatusName added in v0.12.0

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

func NewNullableTunnelStatusName added in v0.12.0

func NewNullableTunnelStatusName(val *TunnelStatusName) *NullableTunnelStatusName

func (NullableTunnelStatusName) Get added in v0.12.0

func (NullableTunnelStatusName) IsSet added in v0.12.0

func (v NullableTunnelStatusName) IsSet() bool

func (NullableTunnelStatusName) MarshalJSON added in v0.12.0

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

func (*NullableTunnelStatusName) Set added in v0.12.0

func (*NullableTunnelStatusName) UnmarshalJSON added in v0.12.0

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

func (*NullableTunnelStatusName) Unset added in v0.12.0

func (v *NullableTunnelStatusName) Unset()

type NullableUpdateGatewayBGPFilterPayload added in v0.15.0

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

func NewNullableUpdateGatewayBGPFilterPayload added in v0.15.0

func NewNullableUpdateGatewayBGPFilterPayload(val *UpdateGatewayBGPFilterPayload) *NullableUpdateGatewayBGPFilterPayload

func (NullableUpdateGatewayBGPFilterPayload) Get added in v0.15.0

func (NullableUpdateGatewayBGPFilterPayload) IsSet added in v0.15.0

func (NullableUpdateGatewayBGPFilterPayload) MarshalJSON added in v0.15.0

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

func (*NullableUpdateGatewayBGPFilterPayload) Set added in v0.15.0

func (*NullableUpdateGatewayBGPFilterPayload) UnmarshalJSON added in v0.15.0

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

func (*NullableUpdateGatewayBGPFilterPayload) Unset added in v0.15.0

type NullableUpdateGatewayBGPFilterRulePayload added in v0.15.0

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

func NewNullableUpdateGatewayBGPFilterRulePayload added in v0.15.0

func NewNullableUpdateGatewayBGPFilterRulePayload(val *UpdateGatewayBGPFilterRulePayload) *NullableUpdateGatewayBGPFilterRulePayload

func (NullableUpdateGatewayBGPFilterRulePayload) Get added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayload) IsSet added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayload) MarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayload) Set added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayload) UnmarshalJSON added in v0.15.0

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

func (*NullableUpdateGatewayBGPFilterRulePayload) Unset added in v0.15.0

type NullableUpdateGatewayBGPFilterRulePayloadAction added in v0.15.0

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

func (NullableUpdateGatewayBGPFilterRulePayloadAction) Get added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadAction) IsSet added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadAction) MarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadAction) Set added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadAction) UnmarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadAction) Unset added in v0.15.0

type NullableUpdateGatewayBGPFilterRulePayloadMatch added in v0.15.0

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

func (NullableUpdateGatewayBGPFilterRulePayloadMatch) Get added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadMatch) IsSet added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadMatch) MarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadMatch) Set added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadMatch) UnmarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadMatch) Unset added in v0.15.0

type NullableUpdateGatewayBGPFilterRulePayloadSet added in v0.15.0

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

func NewNullableUpdateGatewayBGPFilterRulePayloadSet added in v0.15.0

func NewNullableUpdateGatewayBGPFilterRulePayloadSet(val *UpdateGatewayBGPFilterRulePayloadSet) *NullableUpdateGatewayBGPFilterRulePayloadSet

func (NullableUpdateGatewayBGPFilterRulePayloadSet) Get added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadSet) IsSet added in v0.15.0

func (NullableUpdateGatewayBGPFilterRulePayloadSet) MarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadSet) Set added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadSet) UnmarshalJSON added in v0.15.0

func (*NullableUpdateGatewayBGPFilterRulePayloadSet) Unset added in v0.15.0

type NullableUpdateGatewayConnectionPayload

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

func (NullableUpdateGatewayConnectionPayload) Get

func (NullableUpdateGatewayConnectionPayload) IsSet

func (NullableUpdateGatewayConnectionPayload) MarshalJSON

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

func (*NullableUpdateGatewayConnectionPayload) Set

func (*NullableUpdateGatewayConnectionPayload) UnmarshalJSON

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

func (*NullableUpdateGatewayConnectionPayload) Unset

type NullableUpdateGatewayPayload

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

func NewNullableUpdateGatewayPayload

func NewNullableUpdateGatewayPayload(val *UpdateGatewayPayload) *NullableUpdateGatewayPayload

func (NullableUpdateGatewayPayload) Get

func (NullableUpdateGatewayPayload) IsSet

func (NullableUpdateGatewayPayload) MarshalJSON

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

func (*NullableUpdateGatewayPayload) Set

func (*NullableUpdateGatewayPayload) UnmarshalJSON

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

func (*NullableUpdateGatewayPayload) Unset

func (v *NullableUpdateGatewayPayload) Unset()

type NullableUpdateGatewayPayloadAvailabilityZones

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

func (NullableUpdateGatewayPayloadAvailabilityZones) Get

func (NullableUpdateGatewayPayloadAvailabilityZones) IsSet

func (NullableUpdateGatewayPayloadAvailabilityZones) MarshalJSON

func (*NullableUpdateGatewayPayloadAvailabilityZones) Set

func (*NullableUpdateGatewayPayloadAvailabilityZones) UnmarshalJSON

func (*NullableUpdateGatewayPayloadAvailabilityZones) Unset

type NullableVPNTunnels

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

func NewNullableVPNTunnels

func NewNullableVPNTunnels(val *VPNTunnels) *NullableVPNTunnels

func (NullableVPNTunnels) Get

func (v NullableVPNTunnels) Get() *VPNTunnels

func (NullableVPNTunnels) IsSet

func (v NullableVPNTunnels) IsSet() bool

func (NullableVPNTunnels) MarshalJSON

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

func (*NullableVPNTunnels) Set

func (v *NullableVPNTunnels) Set(val *VPNTunnels)

func (*NullableVPNTunnels) UnmarshalJSON

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

func (*NullableVPNTunnels) Unset

func (v *NullableVPNTunnels) Unset()

type NullableVPNTunnelsName added in v0.12.0

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

func NewNullableVPNTunnelsName added in v0.12.0

func NewNullableVPNTunnelsName(val *VPNTunnelsName) *NullableVPNTunnelsName

func (NullableVPNTunnelsName) Get added in v0.12.0

func (NullableVPNTunnelsName) IsSet added in v0.12.0

func (v NullableVPNTunnelsName) IsSet() bool

func (NullableVPNTunnelsName) MarshalJSON added in v0.12.0

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

func (*NullableVPNTunnelsName) Set added in v0.12.0

func (*NullableVPNTunnelsName) UnmarshalJSON added in v0.12.0

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

func (*NullableVPNTunnelsName) Unset added in v0.12.0

func (v *NullableVPNTunnelsName) Unset()

type PeeringConfig

type PeeringConfig struct {
	LocalAddress         *string `json:"localAddress,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	RemoteAddress        *string `json:"remoteAddress,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	AdditionalProperties map[string]interface{}
}

PeeringConfig The peering object defines the point-to-point IP configuration for the Tunnel Interface. These addresses serve as next-hop identifiers and are used for BGP peering sessions and can be used in Static Route-Based connectivity.

func NewPeeringConfig

func NewPeeringConfig() *PeeringConfig

NewPeeringConfig instantiates a new PeeringConfig 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 NewPeeringConfigWithDefaults

func NewPeeringConfigWithDefaults() *PeeringConfig

NewPeeringConfigWithDefaults instantiates a new PeeringConfig 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 (*PeeringConfig) GetLocalAddress

func (o *PeeringConfig) GetLocalAddress() string

GetLocalAddress returns the LocalAddress field value if set, zero value otherwise.

func (*PeeringConfig) GetLocalAddressOk

func (o *PeeringConfig) GetLocalAddressOk() (*string, bool)

GetLocalAddressOk returns a tuple with the LocalAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PeeringConfig) GetRemoteAddress

func (o *PeeringConfig) GetRemoteAddress() string

GetRemoteAddress returns the RemoteAddress field value if set, zero value otherwise.

func (*PeeringConfig) GetRemoteAddressOk

func (o *PeeringConfig) GetRemoteAddressOk() (*string, bool)

GetRemoteAddressOk returns a tuple with the RemoteAddress field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PeeringConfig) HasLocalAddress

func (o *PeeringConfig) HasLocalAddress() bool

HasLocalAddress returns a boolean if a field has been set.

func (*PeeringConfig) HasRemoteAddress

func (o *PeeringConfig) HasRemoteAddress() bool

HasRemoteAddress returns a boolean if a field has been set.

func (PeeringConfig) MarshalJSON

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

func (*PeeringConfig) SetLocalAddress

func (o *PeeringConfig) SetLocalAddress(v string)

SetLocalAddress gets a reference to the given string and assigns it to the LocalAddress field.

func (*PeeringConfig) SetRemoteAddress

func (o *PeeringConfig) SetRemoteAddress(v string)

SetRemoteAddress gets a reference to the given string and assigns it to the RemoteAddress field.

func (PeeringConfig) ToMap

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

func (*PeeringConfig) UnmarshalJSON

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

type Phase

type Phase struct {
	// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
	DhGroups             []PhaseDhGroupsInner             `json:"dhGroups,omitempty"`
	EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
	// Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31.
	IntegrityAlgorithms  []PhaseIntegrityAlgorithmsInner `json:"integrityAlgorithms"`
	AdditionalProperties map[string]interface{}
}

Phase struct for Phase

func NewPhase

func NewPhase(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *Phase

NewPhase instantiates a new Phase 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 NewPhaseWithDefaults

func NewPhaseWithDefaults() *Phase

NewPhaseWithDefaults instantiates a new Phase 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 (*Phase) GetDhGroups

func (o *Phase) GetDhGroups() []PhaseDhGroupsInner

GetDhGroups returns the DhGroups field value if set, zero value otherwise.

func (*Phase) GetDhGroupsOk

func (o *Phase) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)

GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase) GetEncryptionAlgorithms

func (o *Phase) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner

GetEncryptionAlgorithms returns the EncryptionAlgorithms field value

func (*Phase) GetEncryptionAlgorithmsOk

func (o *Phase) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)

GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.

func (*Phase) GetIntegrityAlgorithms

func (o *Phase) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner

GetIntegrityAlgorithms returns the IntegrityAlgorithms field value

func (*Phase) GetIntegrityAlgorithmsOk

func (o *Phase) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)

GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.

func (*Phase) HasDhGroups

func (o *Phase) HasDhGroups() bool

HasDhGroups returns a boolean if a field has been set.

func (Phase) MarshalJSON

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

func (*Phase) SetDhGroups

func (o *Phase) SetDhGroups(v []PhaseDhGroupsInner)

SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.

func (*Phase) SetEncryptionAlgorithms

func (o *Phase) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)

SetEncryptionAlgorithms sets field value

func (*Phase) SetIntegrityAlgorithms

func (o *Phase) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)

SetIntegrityAlgorithms sets field value

func (Phase) ToMap

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

func (*Phase) UnmarshalJSON

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

type Phase1Status

type Phase1Status struct {
	// The negotiated Diffie-Hellman Group
	DhGroup *string `json:"dhGroup,omitempty"`
	// The negotiated encryption algorithm.
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
	// The negotiated integrity algorithm or pseudo-random-function.
	IntegrityAlgorithm   *string `json:"integrityAlgorithm,omitempty"`
	State                *string `json:"state,omitempty"`
	AdditionalProperties map[string]interface{}
}

Phase1Status struct for Phase1Status

func NewPhase1Status

func NewPhase1Status() *Phase1Status

NewPhase1Status instantiates a new Phase1Status 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 NewPhase1StatusWithDefaults

func NewPhase1StatusWithDefaults() *Phase1Status

NewPhase1StatusWithDefaults instantiates a new Phase1Status 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 (*Phase1Status) GetDhGroup

func (o *Phase1Status) GetDhGroup() string

GetDhGroup returns the DhGroup field value if set, zero value otherwise.

func (*Phase1Status) GetDhGroupOk

func (o *Phase1Status) GetDhGroupOk() (*string, bool)

GetDhGroupOk returns a tuple with the DhGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase1Status) GetEncryptionAlgorithm

func (o *Phase1Status) GetEncryptionAlgorithm() string

GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.

func (*Phase1Status) GetEncryptionAlgorithmOk

func (o *Phase1Status) GetEncryptionAlgorithmOk() (*string, bool)

GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase1Status) GetIntegrityAlgorithm

func (o *Phase1Status) GetIntegrityAlgorithm() string

GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.

func (*Phase1Status) GetIntegrityAlgorithmOk

func (o *Phase1Status) GetIntegrityAlgorithmOk() (*string, bool)

GetIntegrityAlgorithmOk returns a tuple with the IntegrityAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase1Status) GetState

func (o *Phase1Status) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Phase1Status) GetStateOk

func (o *Phase1Status) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase1Status) HasDhGroup

func (o *Phase1Status) HasDhGroup() bool

HasDhGroup returns a boolean if a field has been set.

func (*Phase1Status) HasEncryptionAlgorithm

func (o *Phase1Status) HasEncryptionAlgorithm() bool

HasEncryptionAlgorithm returns a boolean if a field has been set.

func (*Phase1Status) HasIntegrityAlgorithm

func (o *Phase1Status) HasIntegrityAlgorithm() bool

HasIntegrityAlgorithm returns a boolean if a field has been set.

func (*Phase1Status) HasState

func (o *Phase1Status) HasState() bool

HasState returns a boolean if a field has been set.

func (Phase1Status) MarshalJSON

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

func (*Phase1Status) SetDhGroup

func (o *Phase1Status) SetDhGroup(v string)

SetDhGroup gets a reference to the given string and assigns it to the DhGroup field.

func (*Phase1Status) SetEncryptionAlgorithm

func (o *Phase1Status) SetEncryptionAlgorithm(v string)

SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.

func (*Phase1Status) SetIntegrityAlgorithm

func (o *Phase1Status) SetIntegrityAlgorithm(v string)

SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.

func (*Phase1Status) SetState

func (o *Phase1Status) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Phase1Status) ToMap

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

func (*Phase1Status) UnmarshalJSON

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

type Phase2Status

type Phase2Status struct {
	// The total data volume received through this Security Association, measured in bytes.
	BytesIn *string `json:"bytesIn,omitempty"`
	// The total data volume sent through this Security Association, measured in bytes.
	BytesOut *string `json:"bytesOut,omitempty"`
	// The negotiated Diffie-Hellman Group
	DhGroup *string `json:"dhGroup,omitempty"`
	// Indicates whether NAT traversal encapsulation is active for the connection.
	Encap *string `json:"encap,omitempty"`
	// The negotiated encryption algorithm.
	EncryptionAlgorithm *string `json:"encryptionAlgorithm,omitempty"`
	// The negotiated integrity algorithm or pseudo-random-function.
	IntegrityAlgorithm *string `json:"integrityAlgorithm,omitempty"`
	// The total number of packets received through this IPsec Security Association.
	PacketsIn *string `json:"packetsIn,omitempty"`
	// The total number of packets sent through this IPsec Security Association
	PacketsOut *string `json:"packetsOut,omitempty"`
	// The security protocol used for the tunnel, typically `ESP` (Encapsulating Security Payload).
	Protocol             *string `json:"protocol,omitempty"`
	State                *string `json:"state,omitempty"`
	AdditionalProperties map[string]interface{}
}

Phase2Status struct for Phase2Status

func NewPhase2Status

func NewPhase2Status() *Phase2Status

NewPhase2Status instantiates a new Phase2Status 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 NewPhase2StatusWithDefaults

func NewPhase2StatusWithDefaults() *Phase2Status

NewPhase2StatusWithDefaults instantiates a new Phase2Status 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 (*Phase2Status) GetBytesIn

func (o *Phase2Status) GetBytesIn() string

GetBytesIn returns the BytesIn field value if set, zero value otherwise.

func (*Phase2Status) GetBytesInOk

func (o *Phase2Status) GetBytesInOk() (*string, bool)

GetBytesInOk returns a tuple with the BytesIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetBytesOut

func (o *Phase2Status) GetBytesOut() string

GetBytesOut returns the BytesOut field value if set, zero value otherwise.

func (*Phase2Status) GetBytesOutOk

func (o *Phase2Status) GetBytesOutOk() (*string, bool)

GetBytesOutOk returns a tuple with the BytesOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetDhGroup

func (o *Phase2Status) GetDhGroup() string

GetDhGroup returns the DhGroup field value if set, zero value otherwise.

func (*Phase2Status) GetDhGroupOk

func (o *Phase2Status) GetDhGroupOk() (*string, bool)

GetDhGroupOk returns a tuple with the DhGroup field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetEncap

func (o *Phase2Status) GetEncap() string

GetEncap returns the Encap field value if set, zero value otherwise.

func (*Phase2Status) GetEncapOk

func (o *Phase2Status) GetEncapOk() (*string, bool)

GetEncapOk returns a tuple with the Encap field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetEncryptionAlgorithm

func (o *Phase2Status) GetEncryptionAlgorithm() string

GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.

func (*Phase2Status) GetEncryptionAlgorithmOk

func (o *Phase2Status) GetEncryptionAlgorithmOk() (*string, bool)

GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetIntegrityAlgorithm

func (o *Phase2Status) GetIntegrityAlgorithm() string

GetIntegrityAlgorithm returns the IntegrityAlgorithm field value if set, zero value otherwise.

func (*Phase2Status) GetIntegrityAlgorithmOk

func (o *Phase2Status) GetIntegrityAlgorithmOk() (*string, bool)

GetIntegrityAlgorithmOk returns a tuple with the IntegrityAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetPacketsIn

func (o *Phase2Status) GetPacketsIn() string

GetPacketsIn returns the PacketsIn field value if set, zero value otherwise.

func (*Phase2Status) GetPacketsInOk

func (o *Phase2Status) GetPacketsInOk() (*string, bool)

GetPacketsInOk returns a tuple with the PacketsIn field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetPacketsOut

func (o *Phase2Status) GetPacketsOut() string

GetPacketsOut returns the PacketsOut field value if set, zero value otherwise.

func (*Phase2Status) GetPacketsOutOk

func (o *Phase2Status) GetPacketsOutOk() (*string, bool)

GetPacketsOutOk returns a tuple with the PacketsOut field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetProtocol

func (o *Phase2Status) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*Phase2Status) GetProtocolOk

func (o *Phase2Status) GetProtocolOk() (*string, bool)

GetProtocolOk returns a tuple with the Protocol field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) GetState

func (o *Phase2Status) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Phase2Status) GetStateOk

func (o *Phase2Status) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Phase2Status) HasBytesIn

func (o *Phase2Status) HasBytesIn() bool

HasBytesIn returns a boolean if a field has been set.

func (*Phase2Status) HasBytesOut

func (o *Phase2Status) HasBytesOut() bool

HasBytesOut returns a boolean if a field has been set.

func (*Phase2Status) HasDhGroup

func (o *Phase2Status) HasDhGroup() bool

HasDhGroup returns a boolean if a field has been set.

func (*Phase2Status) HasEncap

func (o *Phase2Status) HasEncap() bool

HasEncap returns a boolean if a field has been set.

func (*Phase2Status) HasEncryptionAlgorithm

func (o *Phase2Status) HasEncryptionAlgorithm() bool

HasEncryptionAlgorithm returns a boolean if a field has been set.

func (*Phase2Status) HasIntegrityAlgorithm

func (o *Phase2Status) HasIntegrityAlgorithm() bool

HasIntegrityAlgorithm returns a boolean if a field has been set.

func (*Phase2Status) HasPacketsIn

func (o *Phase2Status) HasPacketsIn() bool

HasPacketsIn returns a boolean if a field has been set.

func (*Phase2Status) HasPacketsOut

func (o *Phase2Status) HasPacketsOut() bool

HasPacketsOut returns a boolean if a field has been set.

func (*Phase2Status) HasProtocol

func (o *Phase2Status) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*Phase2Status) HasState

func (o *Phase2Status) HasState() bool

HasState returns a boolean if a field has been set.

func (Phase2Status) MarshalJSON

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

func (*Phase2Status) SetBytesIn

func (o *Phase2Status) SetBytesIn(v string)

SetBytesIn gets a reference to the given string and assigns it to the BytesIn field.

func (*Phase2Status) SetBytesOut

func (o *Phase2Status) SetBytesOut(v string)

SetBytesOut gets a reference to the given string and assigns it to the BytesOut field.

func (*Phase2Status) SetDhGroup

func (o *Phase2Status) SetDhGroup(v string)

SetDhGroup gets a reference to the given string and assigns it to the DhGroup field.

func (*Phase2Status) SetEncap

func (o *Phase2Status) SetEncap(v string)

SetEncap gets a reference to the given string and assigns it to the Encap field.

func (*Phase2Status) SetEncryptionAlgorithm

func (o *Phase2Status) SetEncryptionAlgorithm(v string)

SetEncryptionAlgorithm gets a reference to the given string and assigns it to the EncryptionAlgorithm field.

func (*Phase2Status) SetIntegrityAlgorithm

func (o *Phase2Status) SetIntegrityAlgorithm(v string)

SetIntegrityAlgorithm gets a reference to the given string and assigns it to the IntegrityAlgorithm field.

func (*Phase2Status) SetPacketsIn

func (o *Phase2Status) SetPacketsIn(v string)

SetPacketsIn gets a reference to the given string and assigns it to the PacketsIn field.

func (*Phase2Status) SetPacketsOut

func (o *Phase2Status) SetPacketsOut(v string)

SetPacketsOut gets a reference to the given string and assigns it to the PacketsOut field.

func (*Phase2Status) SetProtocol

func (o *Phase2Status) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (*Phase2Status) SetState

func (o *Phase2Status) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Phase2Status) ToMap

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

func (*Phase2Status) UnmarshalJSON

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

type PhaseDhGroupsInner added in v0.12.0

type PhaseDhGroupsInner string

PhaseDhGroupsInner the model 'PhaseDhGroupsInner'

const (
	PHASEDHGROUPSINNER_MODP1024                 PhaseDhGroupsInner = "modp1024"
	PHASEDHGROUPSINNER_MODP2048                 PhaseDhGroupsInner = "modp2048"
	PHASEDHGROUPSINNER_ECP256                   PhaseDhGroupsInner = "ecp256"
	PHASEDHGROUPSINNER_ECP384                   PhaseDhGroupsInner = "ecp384"
	PHASEDHGROUPSINNER_MODP2048S256             PhaseDhGroupsInner = "modp2048s256"
	PHASEDHGROUPSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseDhGroupsInner = "unknown_default_open_api"
)

List of Phase_dhGroups_inner

func NewPhaseDhGroupsInnerFromValue added in v0.12.0

func NewPhaseDhGroupsInnerFromValue(v string) (*PhaseDhGroupsInner, error)

NewPhaseDhGroupsInnerFromValue returns a pointer to a valid PhaseDhGroupsInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PhaseDhGroupsInner) IsValid added in v0.12.0

func (v PhaseDhGroupsInner) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PhaseDhGroupsInner) Ptr added in v0.12.0

Ptr returns reference to Phase_dhGroups_inner value

func (*PhaseDhGroupsInner) UnmarshalJSON added in v0.12.0

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

type PhaseEncryptionAlgorithmsInner added in v0.12.0

type PhaseEncryptionAlgorithmsInner string

PhaseEncryptionAlgorithmsInner the model 'PhaseEncryptionAlgorithmsInner'

const (
	PHASEENCRYPTIONALGORITHMSINNER_AES256                   PhaseEncryptionAlgorithmsInner = "aes256"
	PHASEENCRYPTIONALGORITHMSINNER_AES128GCM16              PhaseEncryptionAlgorithmsInner = "aes128gcm16"
	PHASEENCRYPTIONALGORITHMSINNER_AES256GCM16              PhaseEncryptionAlgorithmsInner = "aes256gcm16"
	PHASEENCRYPTIONALGORITHMSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseEncryptionAlgorithmsInner = "unknown_default_open_api"
)

List of Phase_encryptionAlgorithms_inner

func NewPhaseEncryptionAlgorithmsInnerFromValue added in v0.12.0

func NewPhaseEncryptionAlgorithmsInnerFromValue(v string) (*PhaseEncryptionAlgorithmsInner, error)

NewPhaseEncryptionAlgorithmsInnerFromValue returns a pointer to a valid PhaseEncryptionAlgorithmsInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PhaseEncryptionAlgorithmsInner) IsValid added in v0.12.0

IsValid return true if the value is valid for the enum, false otherwise

func (PhaseEncryptionAlgorithmsInner) Ptr added in v0.12.0

Ptr returns reference to Phase_encryptionAlgorithms_inner value

func (*PhaseEncryptionAlgorithmsInner) UnmarshalJSON added in v0.12.0

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

type PhaseIntegrityAlgorithmsInner added in v0.12.0

type PhaseIntegrityAlgorithmsInner string

PhaseIntegrityAlgorithmsInner the model 'PhaseIntegrityAlgorithmsInner'

const (
	PHASEINTEGRITYALGORITHMSINNER_SHA1                     PhaseIntegrityAlgorithmsInner = "sha1"
	PHASEINTEGRITYALGORITHMSINNER_SHA2_256                 PhaseIntegrityAlgorithmsInner = "sha2_256"
	PHASEINTEGRITYALGORITHMSINNER_SHA2_384                 PhaseIntegrityAlgorithmsInner = "sha2_384"
	PHASEINTEGRITYALGORITHMSINNER_SHA2_512                 PhaseIntegrityAlgorithmsInner = "sha2_512"
	PHASEINTEGRITYALGORITHMSINNER_UNKNOWN_DEFAULT_OPEN_API PhaseIntegrityAlgorithmsInner = "unknown_default_open_api"
)

List of Phase_integrityAlgorithms_inner

func NewPhaseIntegrityAlgorithmsInnerFromValue added in v0.12.0

func NewPhaseIntegrityAlgorithmsInnerFromValue(v string) (*PhaseIntegrityAlgorithmsInner, error)

NewPhaseIntegrityAlgorithmsInnerFromValue returns a pointer to a valid PhaseIntegrityAlgorithmsInner for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PhaseIntegrityAlgorithmsInner) IsValid added in v0.12.0

func (v PhaseIntegrityAlgorithmsInner) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PhaseIntegrityAlgorithmsInner) Ptr added in v0.12.0

Ptr returns reference to Phase_integrityAlgorithms_inner value

func (*PhaseIntegrityAlgorithmsInner) UnmarshalJSON added in v0.12.0

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

type Plan

type Plan struct {
	// The maximum throughput supported by the gateway in each direction, measured in MBit/s
	MaxBandwidth *int32 `json:"maxBandwidth,omitempty"`
	// The maximum number of connections supported by the VPN Gateway.
	MaxConnections *int32 `json:"maxConnections,omitempty"`
	// The name of the service plan.
	Name *string `json:"name,omitempty"`
	// The service plan identifier.
	PlanId *string `json:"planId,omitempty"`
	// The SKU identifier used for billing.
	Sku                  *string `json:"sku,omitempty"`
	AdditionalProperties map[string]interface{}
}

Plan struct for Plan

func NewPlan

func NewPlan() *Plan

NewPlan instantiates a new Plan 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 NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetMaxBandwidth

func (o *Plan) GetMaxBandwidth() int32

GetMaxBandwidth returns the MaxBandwidth field value if set, zero value otherwise.

func (*Plan) GetMaxBandwidthOk

func (o *Plan) GetMaxBandwidthOk() (*int32, bool)

GetMaxBandwidthOk returns a tuple with the MaxBandwidth field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetMaxConnections

func (o *Plan) GetMaxConnections() int32

GetMaxConnections returns the MaxConnections field value if set, zero value otherwise.

func (*Plan) GetMaxConnectionsOk

func (o *Plan) GetMaxConnectionsOk() (*int32, bool)

GetMaxConnectionsOk returns a tuple with the MaxConnections field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetName

func (o *Plan) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Plan) GetNameOk

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

func (o *Plan) GetPlanId() string

GetPlanId returns the PlanId field value if set, zero value otherwise.

func (*Plan) GetPlanIdOk

func (o *Plan) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) GetSku

func (o *Plan) GetSku() string

GetSku returns the Sku field value if set, zero value otherwise.

func (*Plan) GetSkuOk

func (o *Plan) GetSkuOk() (*string, bool)

GetSkuOk returns a tuple with the Sku field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Plan) HasMaxBandwidth

func (o *Plan) HasMaxBandwidth() bool

HasMaxBandwidth returns a boolean if a field has been set.

func (*Plan) HasMaxConnections

func (o *Plan) HasMaxConnections() bool

HasMaxConnections returns a boolean if a field has been set.

func (*Plan) HasName

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (*Plan) HasPlanId

func (o *Plan) HasPlanId() bool

HasPlanId returns a boolean if a field has been set.

func (*Plan) HasSku

func (o *Plan) HasSku() bool

HasSku returns a boolean if a field has been set.

func (Plan) MarshalJSON

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

func (*Plan) SetMaxBandwidth

func (o *Plan) SetMaxBandwidth(v int32)

SetMaxBandwidth gets a reference to the given int32 and assigns it to the MaxBandwidth field.

func (*Plan) SetMaxConnections

func (o *Plan) SetMaxConnections(v int32)

SetMaxConnections gets a reference to the given int32 and assigns it to the MaxConnections field.

func (*Plan) SetName

func (o *Plan) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Plan) SetPlanId

func (o *Plan) SetPlanId(v string)

SetPlanId gets a reference to the given string and assigns it to the PlanId field.

func (*Plan) SetSku

func (o *Plan) SetSku(v string)

SetSku gets a reference to the given string and assigns it to the Sku field.

func (Plan) ToMap

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

func (*Plan) UnmarshalJSON

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

type PlanList

type PlanList struct {
	// The service plan identifier.
	DefaultPlanId        *string `json:"defaultPlanId,omitempty"`
	Plans                []Plan  `json:"plans,omitempty"`
	AdditionalProperties map[string]interface{}
}

PlanList struct for PlanList

func NewPlanList

func NewPlanList() *PlanList

NewPlanList instantiates a new PlanList 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 NewPlanListWithDefaults

func NewPlanListWithDefaults() *PlanList

NewPlanListWithDefaults instantiates a new PlanList 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 (*PlanList) GetDefaultPlanId

func (o *PlanList) GetDefaultPlanId() string

GetDefaultPlanId returns the DefaultPlanId field value if set, zero value otherwise.

func (*PlanList) GetDefaultPlanIdOk

func (o *PlanList) GetDefaultPlanIdOk() (*string, bool)

GetDefaultPlanIdOk returns a tuple with the DefaultPlanId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanList) GetPlans

func (o *PlanList) GetPlans() []Plan

GetPlans returns the Plans field value if set, zero value otherwise.

func (*PlanList) GetPlansOk

func (o *PlanList) GetPlansOk() ([]Plan, bool)

GetPlansOk returns a tuple with the Plans field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PlanList) HasDefaultPlanId

func (o *PlanList) HasDefaultPlanId() bool

HasDefaultPlanId returns a boolean if a field has been set.

func (*PlanList) HasPlans

func (o *PlanList) HasPlans() bool

HasPlans returns a boolean if a field has been set.

func (PlanList) MarshalJSON

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

func (*PlanList) SetDefaultPlanId

func (o *PlanList) SetDefaultPlanId(v string)

SetDefaultPlanId gets a reference to the given string and assigns it to the DefaultPlanId field.

func (*PlanList) SetPlans

func (o *PlanList) SetPlans(v []Plan)

SetPlans gets a reference to the given []Plan and assigns it to the Plans field.

func (PlanList) ToMap

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

func (*PlanList) UnmarshalJSON

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

type Quota

type Quota struct {
	Limit                int32 `json:"limit"`
	Usage                int32 `json:"usage"`
	AdditionalProperties map[string]interface{}
}

Quota struct for Quota

func NewQuota

func NewQuota(limit int32, usage int32) *Quota

NewQuota instantiates a new Quota 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 NewQuotaWithDefaults

func NewQuotaWithDefaults() *Quota

NewQuotaWithDefaults instantiates a new Quota 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 (*Quota) GetLimit

func (o *Quota) GetLimit() int32

GetLimit returns the Limit field value

func (*Quota) GetLimitOk

func (o *Quota) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (*Quota) GetUsage

func (o *Quota) GetUsage() int32

GetUsage returns the Usage field value

func (*Quota) GetUsageOk

func (o *Quota) GetUsageOk() (*int32, bool)

GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.

func (Quota) MarshalJSON

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

func (*Quota) SetLimit

func (o *Quota) SetLimit(v int32)

SetLimit sets field value

func (*Quota) SetUsage

func (o *Quota) SetUsage(v int32)

SetUsage sets field value

func (Quota) ToMap

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

func (*Quota) UnmarshalJSON

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

type QuotaList

type QuotaList struct {
	// Current limit and usage for VPN gateways.
	Gateways             Quota `json:"gateways"`
	AdditionalProperties map[string]interface{}
}

QuotaList struct for QuotaList

func NewQuotaList

func NewQuotaList(gateways Quota) *QuotaList

NewQuotaList instantiates a new QuotaList 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 NewQuotaListWithDefaults

func NewQuotaListWithDefaults() *QuotaList

NewQuotaListWithDefaults instantiates a new QuotaList 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 (*QuotaList) GetGateways

func (o *QuotaList) GetGateways() Quota

GetGateways returns the Gateways field value

func (*QuotaList) GetGatewaysOk

func (o *QuotaList) GetGatewaysOk() (*Quota, bool)

GetGatewaysOk returns a tuple with the Gateways field value and a boolean to check if the value has been set.

func (QuotaList) MarshalJSON

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

func (*QuotaList) SetGateways

func (o *QuotaList) SetGateways(v Quota)

SetGateways sets field value

func (QuotaList) ToMap

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

func (*QuotaList) UnmarshalJSON

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

type QuotaListResponse

type QuotaListResponse struct {
	Quotas               QuotaList `json:"quotas"`
	AdditionalProperties map[string]interface{}
}

QuotaListResponse struct for QuotaListResponse

func NewQuotaListResponse

func NewQuotaListResponse(quotas QuotaList) *QuotaListResponse

NewQuotaListResponse instantiates a new QuotaListResponse 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 NewQuotaListResponseWithDefaults

func NewQuotaListResponseWithDefaults() *QuotaListResponse

NewQuotaListResponseWithDefaults instantiates a new QuotaListResponse 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 (*QuotaListResponse) GetQuotas

func (o *QuotaListResponse) GetQuotas() QuotaList

GetQuotas returns the Quotas field value

func (*QuotaListResponse) GetQuotasOk

func (o *QuotaListResponse) GetQuotasOk() (*QuotaList, bool)

GetQuotasOk returns a tuple with the Quotas field value and a boolean to check if the value has been set.

func (QuotaListResponse) MarshalJSON

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

func (*QuotaListResponse) SetQuotas

func (o *QuotaListResponse) SetQuotas(v QuotaList)

SetQuotas sets field value

func (QuotaListResponse) ToMap

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

func (*QuotaListResponse) UnmarshalJSON

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

type Region

type Region string

Region The region in which the resource is located.

const (
	REGION_EU01                     Region = "eu01"
	REGION_EU02                     Region = "eu02"
	REGION_UNKNOWN_DEFAULT_OPEN_API Region = "unknown_default_open_api"
)

List of Region

func NewRegionFromValue

func NewRegionFromValue(v string) (*Region, error)

NewRegionFromValue returns a pointer to a valid Region for the value passed as argument, or an error if the value passed is not allowed by the enum

func (Region) IsValid

func (v Region) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (Region) Ptr

func (v Region) Ptr() *Region

Ptr returns reference to Region value

func (*Region) UnmarshalJSON

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

type RoutingType

type RoutingType string

RoutingType Once the gateway is created, it is not possible to change this attribute.

const (
	ROUTINGTYPE_POLICY_BASED             RoutingType = "POLICY_BASED"
	ROUTINGTYPE_ROUTE_BASED              RoutingType = "ROUTE_BASED"
	ROUTINGTYPE_BGP_ROUTE_BASED          RoutingType = "BGP_ROUTE_BASED"
	ROUTINGTYPE_UNKNOWN_DEFAULT_OPEN_API RoutingType = "unknown_default_open_api"
)

List of RoutingType

func NewRoutingTypeFromValue

func NewRoutingTypeFromValue(v string) (*RoutingType, error)

NewRoutingTypeFromValue returns a pointer to a valid RoutingType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (RoutingType) IsValid

func (v RoutingType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (RoutingType) Ptr

func (v RoutingType) Ptr() *RoutingType

Ptr returns reference to RoutingType value

func (*RoutingType) UnmarshalJSON

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

type TunnelConfiguration

type TunnelConfiguration struct {
	Bgp     *BGPTunnelConfig          `json:"bgp,omitempty"`
	Peering *PeeringConfig            `json:"peering,omitempty"`
	Phase1  TunnelConfigurationPhase1 `json:"phase1"`
	Phase2  TunnelConfigurationPhase2 `json:"phase2"`
	// A Pre-Shared Key for authentication. Required in create-requests, optional in update-requests and omitted in every response.
	PreSharedKey         *string `json:"preSharedKey,omitempty"`
	RemoteAddress        string  `json:"remoteAddress" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	AdditionalProperties map[string]interface{}
}

TunnelConfiguration struct for TunnelConfiguration

func NewTunnelConfiguration

func NewTunnelConfiguration(phase1 TunnelConfigurationPhase1, phase2 TunnelConfigurationPhase2, remoteAddress string) *TunnelConfiguration

NewTunnelConfiguration instantiates a new TunnelConfiguration 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 NewTunnelConfigurationWithDefaults

func NewTunnelConfigurationWithDefaults() *TunnelConfiguration

NewTunnelConfigurationWithDefaults instantiates a new TunnelConfiguration 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 (*TunnelConfiguration) GetBgp

GetBgp returns the Bgp field value if set, zero value otherwise.

func (*TunnelConfiguration) GetBgpOk

func (o *TunnelConfiguration) GetBgpOk() (*BGPTunnelConfig, bool)

GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfiguration) GetPeering

func (o *TunnelConfiguration) GetPeering() PeeringConfig

GetPeering returns the Peering field value if set, zero value otherwise.

func (*TunnelConfiguration) GetPeeringOk

func (o *TunnelConfiguration) GetPeeringOk() (*PeeringConfig, bool)

GetPeeringOk returns a tuple with the Peering field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfiguration) GetPhase1

GetPhase1 returns the Phase1 field value

func (*TunnelConfiguration) GetPhase1Ok

func (o *TunnelConfiguration) GetPhase1Ok() (*TunnelConfigurationPhase1, bool)

GetPhase1Ok returns a tuple with the Phase1 field value and a boolean to check if the value has been set.

func (*TunnelConfiguration) GetPhase2

GetPhase2 returns the Phase2 field value

func (*TunnelConfiguration) GetPhase2Ok

func (o *TunnelConfiguration) GetPhase2Ok() (*TunnelConfigurationPhase2, bool)

GetPhase2Ok returns a tuple with the Phase2 field value and a boolean to check if the value has been set.

func (*TunnelConfiguration) GetPreSharedKey

func (o *TunnelConfiguration) GetPreSharedKey() string

GetPreSharedKey returns the PreSharedKey field value if set, zero value otherwise.

func (*TunnelConfiguration) GetPreSharedKeyOk

func (o *TunnelConfiguration) GetPreSharedKeyOk() (*string, bool)

GetPreSharedKeyOk returns a tuple with the PreSharedKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfiguration) GetRemoteAddress

func (o *TunnelConfiguration) GetRemoteAddress() string

GetRemoteAddress returns the RemoteAddress field value

func (*TunnelConfiguration) GetRemoteAddressOk

func (o *TunnelConfiguration) GetRemoteAddressOk() (*string, bool)

GetRemoteAddressOk returns a tuple with the RemoteAddress field value and a boolean to check if the value has been set.

func (*TunnelConfiguration) HasBgp

func (o *TunnelConfiguration) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*TunnelConfiguration) HasPeering

func (o *TunnelConfiguration) HasPeering() bool

HasPeering returns a boolean if a field has been set.

func (*TunnelConfiguration) HasPreSharedKey

func (o *TunnelConfiguration) HasPreSharedKey() bool

HasPreSharedKey returns a boolean if a field has been set.

func (TunnelConfiguration) MarshalJSON

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

func (*TunnelConfiguration) SetBgp

func (o *TunnelConfiguration) SetBgp(v BGPTunnelConfig)

SetBgp gets a reference to the given BGPTunnelConfig and assigns it to the Bgp field.

func (*TunnelConfiguration) SetPeering

func (o *TunnelConfiguration) SetPeering(v PeeringConfig)

SetPeering gets a reference to the given PeeringConfig and assigns it to the Peering field.

func (*TunnelConfiguration) SetPhase1

SetPhase1 sets field value

func (*TunnelConfiguration) SetPhase2

SetPhase2 sets field value

func (*TunnelConfiguration) SetPreSharedKey

func (o *TunnelConfiguration) SetPreSharedKey(v string)

SetPreSharedKey gets a reference to the given string and assigns it to the PreSharedKey field.

func (*TunnelConfiguration) SetRemoteAddress

func (o *TunnelConfiguration) SetRemoteAddress(v string)

SetRemoteAddress sets field value

func (TunnelConfiguration) ToMap

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

func (*TunnelConfiguration) UnmarshalJSON

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

type TunnelConfigurationPhase1

type TunnelConfigurationPhase1 struct {
	// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
	DhGroups             []PhaseDhGroupsInner             `json:"dhGroups,omitempty"`
	EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
	// Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31.
	IntegrityAlgorithms []PhaseIntegrityAlgorithmsInner `json:"integrityAlgorithms"`
	// Time to schedule a IKE re-keying (in seconds).
	RekeyTime            *int32 `json:"rekeyTime,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelConfigurationPhase1 struct for TunnelConfigurationPhase1

func NewTunnelConfigurationPhase1

func NewTunnelConfigurationPhase1(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *TunnelConfigurationPhase1

NewTunnelConfigurationPhase1 instantiates a new TunnelConfigurationPhase1 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 NewTunnelConfigurationPhase1WithDefaults

func NewTunnelConfigurationPhase1WithDefaults() *TunnelConfigurationPhase1

NewTunnelConfigurationPhase1WithDefaults instantiates a new TunnelConfigurationPhase1 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 (*TunnelConfigurationPhase1) GetDhGroups

func (o *TunnelConfigurationPhase1) GetDhGroups() []PhaseDhGroupsInner

GetDhGroups returns the DhGroups field value if set, zero value otherwise.

func (*TunnelConfigurationPhase1) GetDhGroupsOk

func (o *TunnelConfigurationPhase1) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)

GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase1) GetEncryptionAlgorithms

func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner

GetEncryptionAlgorithms returns the EncryptionAlgorithms field value

func (*TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk

func (o *TunnelConfigurationPhase1) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)

GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase1) GetIntegrityAlgorithms

func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner

GetIntegrityAlgorithms returns the IntegrityAlgorithms field value

func (*TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk

func (o *TunnelConfigurationPhase1) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)

GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase1) GetRekeyTime

func (o *TunnelConfigurationPhase1) GetRekeyTime() int32

GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.

func (*TunnelConfigurationPhase1) GetRekeyTimeOk

func (o *TunnelConfigurationPhase1) GetRekeyTimeOk() (*int32, bool)

GetRekeyTimeOk returns a tuple with the RekeyTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase1) HasDhGroups

func (o *TunnelConfigurationPhase1) HasDhGroups() bool

HasDhGroups returns a boolean if a field has been set.

func (*TunnelConfigurationPhase1) HasRekeyTime

func (o *TunnelConfigurationPhase1) HasRekeyTime() bool

HasRekeyTime returns a boolean if a field has been set.

func (TunnelConfigurationPhase1) MarshalJSON

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

func (*TunnelConfigurationPhase1) SetDhGroups

func (o *TunnelConfigurationPhase1) SetDhGroups(v []PhaseDhGroupsInner)

SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.

func (*TunnelConfigurationPhase1) SetEncryptionAlgorithms

func (o *TunnelConfigurationPhase1) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)

SetEncryptionAlgorithms sets field value

func (*TunnelConfigurationPhase1) SetIntegrityAlgorithms

func (o *TunnelConfigurationPhase1) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)

SetIntegrityAlgorithms sets field value

func (*TunnelConfigurationPhase1) SetRekeyTime

func (o *TunnelConfigurationPhase1) SetRekeyTime(v int32)

SetRekeyTime gets a reference to the given int32 and assigns it to the RekeyTime field.

func (TunnelConfigurationPhase1) ToMap

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

func (*TunnelConfigurationPhase1) UnmarshalJSON

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

type TunnelConfigurationPhase2

type TunnelConfigurationPhase2 struct {
	// The Diffie-Hellman Group. Required, except if AEAD algorithms are selected.
	DhGroups             []PhaseDhGroupsInner             `json:"dhGroups,omitempty"`
	EncryptionAlgorithms []PhaseEncryptionAlgorithmsInner `json:"encryptionAlgorithms"`
	// Supported integrity algorithms. SHA1 is deprecated and will be removed on 2026-12-31.
	IntegrityAlgorithms []PhaseIntegrityAlgorithmsInner          `json:"integrityAlgorithms"`
	DpdAction           *TunnelConfigurationPhase2AllOfDpdAction `json:"dpdAction,omitempty"`
	// Time to schedule a Child SA re-keying (in seconds).
	RekeyTime            *int32                                     `json:"rekeyTime,omitempty"`
	StartAction          *TunnelConfigurationPhase2AllOfStartAction `json:"startAction,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelConfigurationPhase2 struct for TunnelConfigurationPhase2

func NewTunnelConfigurationPhase2

func NewTunnelConfigurationPhase2(encryptionAlgorithms []PhaseEncryptionAlgorithmsInner, integrityAlgorithms []PhaseIntegrityAlgorithmsInner) *TunnelConfigurationPhase2

NewTunnelConfigurationPhase2 instantiates a new TunnelConfigurationPhase2 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 NewTunnelConfigurationPhase2WithDefaults

func NewTunnelConfigurationPhase2WithDefaults() *TunnelConfigurationPhase2

NewTunnelConfigurationPhase2WithDefaults instantiates a new TunnelConfigurationPhase2 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 (*TunnelConfigurationPhase2) GetDhGroups

func (o *TunnelConfigurationPhase2) GetDhGroups() []PhaseDhGroupsInner

GetDhGroups returns the DhGroups field value if set, zero value otherwise.

func (*TunnelConfigurationPhase2) GetDhGroupsOk

func (o *TunnelConfigurationPhase2) GetDhGroupsOk() ([]PhaseDhGroupsInner, bool)

GetDhGroupsOk returns a tuple with the DhGroups field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) GetDpdAction

GetDpdAction returns the DpdAction field value if set, zero value otherwise.

func (*TunnelConfigurationPhase2) GetDpdActionOk

GetDpdActionOk returns a tuple with the DpdAction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) GetEncryptionAlgorithms

func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithms() []PhaseEncryptionAlgorithmsInner

GetEncryptionAlgorithms returns the EncryptionAlgorithms field value

func (*TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk

func (o *TunnelConfigurationPhase2) GetEncryptionAlgorithmsOk() ([]PhaseEncryptionAlgorithmsInner, bool)

GetEncryptionAlgorithmsOk returns a tuple with the EncryptionAlgorithms field value and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) GetIntegrityAlgorithms

func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithms() []PhaseIntegrityAlgorithmsInner

GetIntegrityAlgorithms returns the IntegrityAlgorithms field value

func (*TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk

func (o *TunnelConfigurationPhase2) GetIntegrityAlgorithmsOk() ([]PhaseIntegrityAlgorithmsInner, bool)

GetIntegrityAlgorithmsOk returns a tuple with the IntegrityAlgorithms field value and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) GetRekeyTime

func (o *TunnelConfigurationPhase2) GetRekeyTime() int32

GetRekeyTime returns the RekeyTime field value if set, zero value otherwise.

func (*TunnelConfigurationPhase2) GetRekeyTimeOk

func (o *TunnelConfigurationPhase2) GetRekeyTimeOk() (*int32, bool)

GetRekeyTimeOk returns a tuple with the RekeyTime field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) GetStartAction

GetStartAction returns the StartAction field value if set, zero value otherwise.

func (*TunnelConfigurationPhase2) GetStartActionOk

GetStartActionOk returns a tuple with the StartAction field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelConfigurationPhase2) HasDhGroups

func (o *TunnelConfigurationPhase2) HasDhGroups() bool

HasDhGroups returns a boolean if a field has been set.

func (*TunnelConfigurationPhase2) HasDpdAction

func (o *TunnelConfigurationPhase2) HasDpdAction() bool

HasDpdAction returns a boolean if a field has been set.

func (*TunnelConfigurationPhase2) HasRekeyTime

func (o *TunnelConfigurationPhase2) HasRekeyTime() bool

HasRekeyTime returns a boolean if a field has been set.

func (*TunnelConfigurationPhase2) HasStartAction

func (o *TunnelConfigurationPhase2) HasStartAction() bool

HasStartAction returns a boolean if a field has been set.

func (TunnelConfigurationPhase2) MarshalJSON

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

func (*TunnelConfigurationPhase2) SetDhGroups

func (o *TunnelConfigurationPhase2) SetDhGroups(v []PhaseDhGroupsInner)

SetDhGroups gets a reference to the given []PhaseDhGroupsInner and assigns it to the DhGroups field.

func (*TunnelConfigurationPhase2) SetDpdAction

SetDpdAction gets a reference to the given TunnelConfigurationPhase2AllOfDpdAction and assigns it to the DpdAction field.

func (*TunnelConfigurationPhase2) SetEncryptionAlgorithms

func (o *TunnelConfigurationPhase2) SetEncryptionAlgorithms(v []PhaseEncryptionAlgorithmsInner)

SetEncryptionAlgorithms sets field value

func (*TunnelConfigurationPhase2) SetIntegrityAlgorithms

func (o *TunnelConfigurationPhase2) SetIntegrityAlgorithms(v []PhaseIntegrityAlgorithmsInner)

SetIntegrityAlgorithms sets field value

func (*TunnelConfigurationPhase2) SetRekeyTime

func (o *TunnelConfigurationPhase2) SetRekeyTime(v int32)

SetRekeyTime gets a reference to the given int32 and assigns it to the RekeyTime field.

func (*TunnelConfigurationPhase2) SetStartAction

SetStartAction gets a reference to the given TunnelConfigurationPhase2AllOfStartAction and assigns it to the StartAction field.

func (TunnelConfigurationPhase2) ToMap

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

func (*TunnelConfigurationPhase2) UnmarshalJSON

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

type TunnelConfigurationPhase2AllOfDpdAction added in v0.12.0

type TunnelConfigurationPhase2AllOfDpdAction string

TunnelConfigurationPhase2AllOfDpdAction Action to perform for this CHILD_SA on DPD timeout. \"clear\": Closes the CHILD_SA and does not take further action. \"restart\": immediately tries to re-negotiate the CILD_SA under a fresh IKE_SA.

const (
	TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_CLEAR                    TunnelConfigurationPhase2AllOfDpdAction = "clear"
	TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_RESTART                  TunnelConfigurationPhase2AllOfDpdAction = "restart"
	TUNNELCONFIGURATIONPHASE2ALLOFDPDACTION_UNKNOWN_DEFAULT_OPEN_API TunnelConfigurationPhase2AllOfDpdAction = "unknown_default_open_api"
)

List of TunnelConfiguration_phase2_allOf_dpdAction

func NewTunnelConfigurationPhase2AllOfDpdActionFromValue added in v0.12.0

func NewTunnelConfigurationPhase2AllOfDpdActionFromValue(v string) (*TunnelConfigurationPhase2AllOfDpdAction, error)

NewTunnelConfigurationPhase2AllOfDpdActionFromValue returns a pointer to a valid TunnelConfigurationPhase2AllOfDpdAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TunnelConfigurationPhase2AllOfDpdAction) IsValid added in v0.12.0

IsValid return true if the value is valid for the enum, false otherwise

func (TunnelConfigurationPhase2AllOfDpdAction) Ptr added in v0.12.0

Ptr returns reference to TunnelConfiguration_phase2_allOf_dpdAction value

func (*TunnelConfigurationPhase2AllOfDpdAction) UnmarshalJSON added in v0.12.0

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

type TunnelConfigurationPhase2AllOfStartAction added in v0.12.0

type TunnelConfigurationPhase2AllOfStartAction string

TunnelConfigurationPhase2AllOfStartAction Action to perform after loading the connection configuration. \"none\": The connection will be loaded but needs to be manually initiated. \"start\": initiates the connection actively.

const (
	TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_NONE                     TunnelConfigurationPhase2AllOfStartAction = "none"
	TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_START                    TunnelConfigurationPhase2AllOfStartAction = "start"
	TUNNELCONFIGURATIONPHASE2ALLOFSTARTACTION_UNKNOWN_DEFAULT_OPEN_API TunnelConfigurationPhase2AllOfStartAction = "unknown_default_open_api"
)

List of TunnelConfiguration_phase2_allOf_startAction

func NewTunnelConfigurationPhase2AllOfStartActionFromValue added in v0.12.0

func NewTunnelConfigurationPhase2AllOfStartActionFromValue(v string) (*TunnelConfigurationPhase2AllOfStartAction, error)

NewTunnelConfigurationPhase2AllOfStartActionFromValue returns a pointer to a valid TunnelConfigurationPhase2AllOfStartAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TunnelConfigurationPhase2AllOfStartAction) IsValid added in v0.12.0

IsValid return true if the value is valid for the enum, false otherwise

func (TunnelConfigurationPhase2AllOfStartAction) Ptr added in v0.12.0

Ptr returns reference to TunnelConfiguration_phase2_allOf_startAction value

func (*TunnelConfigurationPhase2AllOfStartAction) UnmarshalJSON added in v0.12.0

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

type TunnelStatus

type TunnelStatus struct {
	Established          *bool             `json:"established,omitempty"`
	Name                 *TunnelStatusName `json:"name,omitempty"`
	Phase1               *Phase1Status     `json:"phase1,omitempty"`
	Phase2               *Phase2Status     `json:"phase2,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelStatus Describes the status of the VPN itself.

func NewTunnelStatus

func NewTunnelStatus() *TunnelStatus

NewTunnelStatus instantiates a new TunnelStatus 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 NewTunnelStatusWithDefaults

func NewTunnelStatusWithDefaults() *TunnelStatus

NewTunnelStatusWithDefaults instantiates a new TunnelStatus 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 (*TunnelStatus) GetEstablished

func (o *TunnelStatus) GetEstablished() bool

GetEstablished returns the Established field value if set, zero value otherwise.

func (*TunnelStatus) GetEstablishedOk

func (o *TunnelStatus) GetEstablishedOk() (*bool, bool)

GetEstablishedOk returns a tuple with the Established field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelStatus) GetName

func (o *TunnelStatus) GetName() TunnelStatusName

GetName returns the Name field value if set, zero value otherwise.

func (*TunnelStatus) GetNameOk

func (o *TunnelStatus) GetNameOk() (*TunnelStatusName, 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 (*TunnelStatus) GetPhase1

func (o *TunnelStatus) GetPhase1() Phase1Status

GetPhase1 returns the Phase1 field value if set, zero value otherwise.

func (*TunnelStatus) GetPhase1Ok

func (o *TunnelStatus) GetPhase1Ok() (*Phase1Status, bool)

GetPhase1Ok returns a tuple with the Phase1 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelStatus) GetPhase2

func (o *TunnelStatus) GetPhase2() Phase2Status

GetPhase2 returns the Phase2 field value if set, zero value otherwise.

func (*TunnelStatus) GetPhase2Ok

func (o *TunnelStatus) GetPhase2Ok() (*Phase2Status, bool)

GetPhase2Ok returns a tuple with the Phase2 field value if set, nil otherwise and a boolean to check if the value has been set.

func (*TunnelStatus) HasEstablished

func (o *TunnelStatus) HasEstablished() bool

HasEstablished returns a boolean if a field has been set.

func (*TunnelStatus) HasName

func (o *TunnelStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*TunnelStatus) HasPhase1

func (o *TunnelStatus) HasPhase1() bool

HasPhase1 returns a boolean if a field has been set.

func (*TunnelStatus) HasPhase2

func (o *TunnelStatus) HasPhase2() bool

HasPhase2 returns a boolean if a field has been set.

func (TunnelStatus) MarshalJSON

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

func (*TunnelStatus) SetEstablished

func (o *TunnelStatus) SetEstablished(v bool)

SetEstablished gets a reference to the given bool and assigns it to the Established field.

func (*TunnelStatus) SetName

func (o *TunnelStatus) SetName(v TunnelStatusName)

SetName gets a reference to the given TunnelStatusName and assigns it to the Name field.

func (*TunnelStatus) SetPhase1

func (o *TunnelStatus) SetPhase1(v Phase1Status)

SetPhase1 gets a reference to the given Phase1Status and assigns it to the Phase1 field.

func (*TunnelStatus) SetPhase2

func (o *TunnelStatus) SetPhase2(v Phase2Status)

SetPhase2 gets a reference to the given Phase2Status and assigns it to the Phase2 field.

func (TunnelStatus) ToMap

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

func (*TunnelStatus) UnmarshalJSON

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

type TunnelStatusName added in v0.12.0

type TunnelStatusName string

TunnelStatusName the model 'TunnelStatusName'

const (
	TUNNELSTATUSNAME_TUNNEL1                  TunnelStatusName = "tunnel1"
	TUNNELSTATUSNAME_TUNNEL2                  TunnelStatusName = "tunnel2"
	TUNNELSTATUSNAME_UNKNOWN_DEFAULT_OPEN_API TunnelStatusName = "unknown_default_open_api"
)

List of TunnelStatus_name

func NewTunnelStatusNameFromValue added in v0.12.0

func NewTunnelStatusNameFromValue(v string) (*TunnelStatusName, error)

NewTunnelStatusNameFromValue returns a pointer to a valid TunnelStatusName for the value passed as argument, or an error if the value passed is not allowed by the enum

func (TunnelStatusName) IsValid added in v0.12.0

func (v TunnelStatusName) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (TunnelStatusName) Ptr added in v0.12.0

Ptr returns reference to TunnelStatus_name value

func (*TunnelStatusName) UnmarshalJSON added in v0.12.0

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

type UpdateGatewayBGPFilterPayload added in v0.15.0

type UpdateGatewayBGPFilterPayload struct {
	// A user-friendly name for the filter. Display only — not enforced unique across a gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// The server-generated UUID of the filter.
	Id                   *string `json:"id,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayBGPFilterPayload A named BGP route filter. Internally a BGPFilter holds an ordered set of rules (managed via the nested /rules sub-resource); a route is evaluated against each rule in 'sequence' order and the first match decides the outcome. An implicit DENY is applied after the last rule, so a route that matches no PERMIT rule is dropped. Attaching an empty filter to a tunnel therefore denies every route. Resource limits: the maximum number of filters per gateway equals the gateway plan's maxConnections value; the maximum number of rules per filter is 10.

func NewUpdateGatewayBGPFilterPayload added in v0.15.0

func NewUpdateGatewayBGPFilterPayload(displayName string) *UpdateGatewayBGPFilterPayload

NewUpdateGatewayBGPFilterPayload instantiates a new UpdateGatewayBGPFilterPayload 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 NewUpdateGatewayBGPFilterPayloadWithDefaults added in v0.15.0

func NewUpdateGatewayBGPFilterPayloadWithDefaults() *UpdateGatewayBGPFilterPayload

NewUpdateGatewayBGPFilterPayloadWithDefaults instantiates a new UpdateGatewayBGPFilterPayload 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 (*UpdateGatewayBGPFilterPayload) GetDisplayName added in v0.15.0

func (o *UpdateGatewayBGPFilterPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*UpdateGatewayBGPFilterPayload) GetDisplayNameOk added in v0.15.0

func (o *UpdateGatewayBGPFilterPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterPayload) GetId added in v0.15.0

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterPayload) GetIdOk added in v0.15.0

func (o *UpdateGatewayBGPFilterPayload) GetIdOk() (*string, 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 (*UpdateGatewayBGPFilterPayload) HasId added in v0.15.0

HasId returns a boolean if a field has been set.

func (UpdateGatewayBGPFilterPayload) MarshalJSON added in v0.15.0

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

func (*UpdateGatewayBGPFilterPayload) SetDisplayName added in v0.15.0

func (o *UpdateGatewayBGPFilterPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*UpdateGatewayBGPFilterPayload) SetId added in v0.15.0

SetId gets a reference to the given string and assigns it to the Id field.

func (UpdateGatewayBGPFilterPayload) ToMap added in v0.15.0

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

func (*UpdateGatewayBGPFilterPayload) UnmarshalJSON added in v0.15.0

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

type UpdateGatewayBGPFilterRulePayload added in v0.15.0

type UpdateGatewayBGPFilterRulePayload struct {
	Action UpdateGatewayBGPFilterRulePayloadAction `json:"action"`
	// The server-generated UUID of the specific rule.
	Id    *string                                 `json:"id,omitempty"`
	Match *UpdateGatewayBGPFilterRulePayloadMatch `json:"match,omitempty"`
	// The evaluation order of the rule. Lower numbers are evaluated first. Must be unique within a filter. On POST, this field is optional: when omitted the server auto-assigns max(existing)+10 (the first rule starts at 10). On PUT this field is required — sending a partial update without 'sequence' returns 400.
	Sequence             *int32                                `json:"sequence,omitempty"`
	Set                  *UpdateGatewayBGPFilterRulePayloadSet `json:"set,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayBGPFilterRulePayload A single rule within a BGPFilter. All non-empty fields within the 'match' block are AND-combined. Rules within a filter are evaluated in 'sequence' order; the first matching rule decides the outcome (logical OR across rules). An implicit DENY follows the last rule.

func NewUpdateGatewayBGPFilterRulePayload added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayload(action UpdateGatewayBGPFilterRulePayloadAction) *UpdateGatewayBGPFilterRulePayload

NewUpdateGatewayBGPFilterRulePayload instantiates a new UpdateGatewayBGPFilterRulePayload 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 NewUpdateGatewayBGPFilterRulePayloadWithDefaults added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadWithDefaults() *UpdateGatewayBGPFilterRulePayload

NewUpdateGatewayBGPFilterRulePayloadWithDefaults instantiates a new UpdateGatewayBGPFilterRulePayload 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 (*UpdateGatewayBGPFilterRulePayload) GetAction added in v0.15.0

GetAction returns the Action field value

func (*UpdateGatewayBGPFilterRulePayload) GetActionOk added in v0.15.0

GetActionOk returns a tuple with the Action field value and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayload) GetId added in v0.15.0

GetId returns the Id field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayload) GetIdOk added in v0.15.0

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 (*UpdateGatewayBGPFilterRulePayload) GetMatch added in v0.15.0

GetMatch returns the Match field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayload) GetMatchOk added in v0.15.0

GetMatchOk returns a tuple with the Match field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayload) GetSequence added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayload) GetSequence() int32

GetSequence returns the Sequence field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayload) GetSequenceOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayload) GetSequenceOk() (*int32, bool)

GetSequenceOk returns a tuple with the Sequence field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayload) GetSet added in v0.15.0

GetSet returns the Set field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayload) GetSetOk added in v0.15.0

GetSetOk returns a tuple with the Set field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayload) HasId added in v0.15.0

HasId returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayload) HasMatch added in v0.15.0

HasMatch returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayload) HasSequence added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayload) HasSequence() bool

HasSequence returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayload) HasSet added in v0.15.0

HasSet returns a boolean if a field has been set.

func (UpdateGatewayBGPFilterRulePayload) MarshalJSON added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayload) SetAction added in v0.15.0

SetAction sets field value

func (*UpdateGatewayBGPFilterRulePayload) SetId added in v0.15.0

SetId gets a reference to the given string and assigns it to the Id field.

func (*UpdateGatewayBGPFilterRulePayload) SetMatch added in v0.15.0

SetMatch gets a reference to the given UpdateGatewayBGPFilterRulePayloadMatch and assigns it to the Match field.

func (*UpdateGatewayBGPFilterRulePayload) SetSequence added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayload) SetSequence(v int32)

SetSequence gets a reference to the given int32 and assigns it to the Sequence field.

func (*UpdateGatewayBGPFilterRulePayload) SetSet added in v0.15.0

SetSet gets a reference to the given UpdateGatewayBGPFilterRulePayloadSet and assigns it to the Set field.

func (UpdateGatewayBGPFilterRulePayload) ToMap added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayload) UnmarshalJSON added in v0.15.0

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

type UpdateGatewayBGPFilterRulePayloadAction added in v0.15.0

type UpdateGatewayBGPFilterRulePayloadAction string

UpdateGatewayBGPFilterRulePayloadAction The action to take if the route matches all criteria. Case-sensitive.

const (
	UPDATEGATEWAYBGPFILTERRULEPAYLOADACTION_PERMIT                   UpdateGatewayBGPFilterRulePayloadAction = "PERMIT"
	UPDATEGATEWAYBGPFILTERRULEPAYLOADACTION_DENY                     UpdateGatewayBGPFilterRulePayloadAction = "DENY"
	UPDATEGATEWAYBGPFILTERRULEPAYLOADACTION_UNKNOWN_DEFAULT_OPEN_API UpdateGatewayBGPFilterRulePayloadAction = "unknown_default_open_api"
)

List of UpdateGatewayBGPFilterRulePayload_action

func NewUpdateGatewayBGPFilterRulePayloadActionFromValue added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadActionFromValue(v string) (*UpdateGatewayBGPFilterRulePayloadAction, error)

NewUpdateGatewayBGPFilterRulePayloadActionFromValue returns a pointer to a valid UpdateGatewayBGPFilterRulePayloadAction for the value passed as argument, or an error if the value passed is not allowed by the enum

func (UpdateGatewayBGPFilterRulePayloadAction) IsValid added in v0.15.0

IsValid return true if the value is valid for the enum, false otherwise

func (UpdateGatewayBGPFilterRulePayloadAction) Ptr added in v0.15.0

Ptr returns reference to UpdateGatewayBGPFilterRulePayload_action value

func (*UpdateGatewayBGPFilterRulePayloadAction) UnmarshalJSON added in v0.15.0

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

type UpdateGatewayBGPFilterRulePayloadMatch added in v0.15.0

type UpdateGatewayBGPFilterRulePayloadMatch struct {
	// Matches if the AS-PATH contains any one of the listed ASNs (logical OR within the list). Treated as an unordered set; ordering is not preserved by the storage layer. When combined with firstASN, both conditions must hold (logical AND, consistent with the rest of the match block). If firstASN is also listed here, its presence as the first hop is sufficient to satisfy this list; no duplicate hop is required.
	AsPathContainsAny []int64 `json:"asPathContainsAny,omitempty"`
	// Matches if the route carries any one of these BGP standard communities (logical OR within the list). Format is 'asn:value' per RFC 1997 (both halves must fit in a uint32, i.e. 0..4294967295). Extended, large and well-known communities are not supported.
	Communities []string `json:"communities,omitempty"`
	// Matches if the first ASN (immediate neighbor) in the AS-PATH equals this ASN. Combines with asPathContainsAny using logical AND: when both are set, the first ASN must equal firstASN AND the path must additionally contain at least one ASN from asPathContainsAny.
	FirstASN *int64 `json:"firstASN,omitempty"`
	// Maximum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at most this long) or alone (matches any IPv4 route with a mask length <= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]').
	MaxPrefixLength *int32 `json:"maxPrefixLength,omitempty"`
	// Minimum subnet mask length for matched prefixes. May be set together with 'prefixes' (narrows matches to subnets at least this long) or alone (matches any IPv4 route with a mask length >= this value, equivalent to implicit 'prefixes: [0.0.0.0/0]'). If both minPrefixLength and maxPrefixLength are set, minPrefixLength must be <= maxPrefixLength.
	MinPrefixLength *int32 `json:"minPrefixLength,omitempty"`
	// Matches the exact IPv4 address of the BGP neighbor that advertised the route. Useful when the same filter is attached to multiple tunnels with different neighbor IPs (allows per-peer rules in a shared filter). When a filter is attached to a single tunnel, this field is effectively a no-op because the route-map is already neighbor-scoped.
	Peer *string `json:"peer,omitempty" validate:"regexp=^((25[0-5]|(2[0-4]|1\\d|[1-9]|)\\d)\\.?\\b){4}$"`
	// List of IPv4 networks to match. A route's prefix matches if it equals one of these (subject to minPrefixLength/maxPrefixLength refinement). If omitted, an implicit 0.0.0.0/0 base is used when minPrefixLength or maxPrefixLength is set; if all three are omitted, prefix matching is not performed at all. Each entry must parse as a valid IPv4 CIDR; the network portion is normalised (10.0.0.5/24 → 10.0.0.0/24).
	Prefixes             []string `json:"prefixes,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayBGPFilterRulePayloadMatch Optional matching criteria. If omitted entirely, the rule acts as match-all. All non-empty fields in this block must match (logical AND).

func NewUpdateGatewayBGPFilterRulePayloadMatch added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadMatch() *UpdateGatewayBGPFilterRulePayloadMatch

NewUpdateGatewayBGPFilterRulePayloadMatch instantiates a new UpdateGatewayBGPFilterRulePayloadMatch 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 NewUpdateGatewayBGPFilterRulePayloadMatchWithDefaults added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadMatchWithDefaults() *UpdateGatewayBGPFilterRulePayloadMatch

NewUpdateGatewayBGPFilterRulePayloadMatchWithDefaults instantiates a new UpdateGatewayBGPFilterRulePayloadMatch 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 (*UpdateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAny added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAny() []int64

GetAsPathContainsAny returns the AsPathContainsAny field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAnyOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetAsPathContainsAnyOk() ([]int64, bool)

GetAsPathContainsAnyOk returns a tuple with the AsPathContainsAny field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetCommunities added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetCommunities() []string

GetCommunities returns the Communities field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetCommunitiesOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetCommunitiesOk() ([]string, bool)

GetCommunitiesOk returns a tuple with the Communities field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetFirstASN added in v0.15.0

GetFirstASN returns the FirstASN field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetFirstASNOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetFirstASNOk() (*int64, bool)

GetFirstASNOk returns a tuple with the FirstASN field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLength() int32

GetMaxPrefixLength returns the MaxPrefixLength field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLengthOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetMaxPrefixLengthOk() (*int32, bool)

GetMaxPrefixLengthOk returns a tuple with the MaxPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLength() int32

GetMinPrefixLength returns the MinPrefixLength field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLengthOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetMinPrefixLengthOk() (*int32, bool)

GetMinPrefixLengthOk returns a tuple with the MinPrefixLength field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetPeer added in v0.15.0

GetPeer returns the Peer field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetPeerOk added in v0.15.0

GetPeerOk returns a tuple with the Peer field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetPrefixes added in v0.15.0

GetPrefixes returns the Prefixes field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadMatch) GetPrefixesOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) GetPrefixesOk() ([]string, bool)

GetPrefixesOk returns a tuple with the Prefixes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasAsPathContainsAny added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) HasAsPathContainsAny() bool

HasAsPathContainsAny returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasCommunities added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) HasCommunities() bool

HasCommunities returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasFirstASN added in v0.15.0

HasFirstASN returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasMaxPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) HasMaxPrefixLength() bool

HasMaxPrefixLength returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasMinPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) HasMinPrefixLength() bool

HasMinPrefixLength returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasPeer added in v0.15.0

HasPeer returns a boolean if a field has been set.

func (*UpdateGatewayBGPFilterRulePayloadMatch) HasPrefixes added in v0.15.0

HasPrefixes returns a boolean if a field has been set.

func (UpdateGatewayBGPFilterRulePayloadMatch) MarshalJSON added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetAsPathContainsAny added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) SetAsPathContainsAny(v []int64)

SetAsPathContainsAny gets a reference to the given []int64 and assigns it to the AsPathContainsAny field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetCommunities added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) SetCommunities(v []string)

SetCommunities gets a reference to the given []string and assigns it to the Communities field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetFirstASN added in v0.15.0

SetFirstASN gets a reference to the given int64 and assigns it to the FirstASN field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetMaxPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) SetMaxPrefixLength(v int32)

SetMaxPrefixLength gets a reference to the given int32 and assigns it to the MaxPrefixLength field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetMinPrefixLength added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) SetMinPrefixLength(v int32)

SetMinPrefixLength gets a reference to the given int32 and assigns it to the MinPrefixLength field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetPeer added in v0.15.0

SetPeer gets a reference to the given string and assigns it to the Peer field.

func (*UpdateGatewayBGPFilterRulePayloadMatch) SetPrefixes added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadMatch) SetPrefixes(v []string)

SetPrefixes gets a reference to the given []string and assigns it to the Prefixes field.

func (UpdateGatewayBGPFilterRulePayloadMatch) ToMap added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayloadMatch) UnmarshalJSON added in v0.15.0

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

type UpdateGatewayBGPFilterRulePayloadSet added in v0.15.0

type UpdateGatewayBGPFilterRulePayloadSet struct {
	// BGP LOCAL_PREF to set on the route. Higher values are preferred during best-path selection. Default BGP LOCAL_PREF is 100; any value here overrides.
	LocalPreference      *int32 `json:"localPreference,omitempty"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayBGPFilterRulePayloadSet Optional BGP attributes to apply when 'action' is PERMIT. Ignored for DENY rules.

func NewUpdateGatewayBGPFilterRulePayloadSet added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadSet() *UpdateGatewayBGPFilterRulePayloadSet

NewUpdateGatewayBGPFilterRulePayloadSet instantiates a new UpdateGatewayBGPFilterRulePayloadSet 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 NewUpdateGatewayBGPFilterRulePayloadSetWithDefaults added in v0.15.0

func NewUpdateGatewayBGPFilterRulePayloadSetWithDefaults() *UpdateGatewayBGPFilterRulePayloadSet

NewUpdateGatewayBGPFilterRulePayloadSetWithDefaults instantiates a new UpdateGatewayBGPFilterRulePayloadSet 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 (*UpdateGatewayBGPFilterRulePayloadSet) GetLocalPreference added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadSet) GetLocalPreference() int32

GetLocalPreference returns the LocalPreference field value if set, zero value otherwise.

func (*UpdateGatewayBGPFilterRulePayloadSet) GetLocalPreferenceOk added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadSet) GetLocalPreferenceOk() (*int32, bool)

GetLocalPreferenceOk returns a tuple with the LocalPreference field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayBGPFilterRulePayloadSet) HasLocalPreference added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadSet) HasLocalPreference() bool

HasLocalPreference returns a boolean if a field has been set.

func (UpdateGatewayBGPFilterRulePayloadSet) MarshalJSON added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayloadSet) SetLocalPreference added in v0.15.0

func (o *UpdateGatewayBGPFilterRulePayloadSet) SetLocalPreference(v int32)

SetLocalPreference gets a reference to the given int32 and assigns it to the LocalPreference field.

func (UpdateGatewayBGPFilterRulePayloadSet) ToMap added in v0.15.0

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

func (*UpdateGatewayBGPFilterRulePayloadSet) UnmarshalJSON added in v0.15.0

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

type UpdateGatewayConnectionPayload

type UpdateGatewayConnectionPayload struct {
	// A user-friendly name for the connection.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// This flag decides whether this connection should be enabled or disabled
	Enabled *bool `json:"enabled,omitempty"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels *map[string]string `json:"labels,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	LocalSubnets []string `json:"localSubnets,omitempty"`
	// Optional. Defaults to 0.0.0.0/0 for Route-based VPN configurations. Mandatory for Policy-based.
	RemoteSubnets []string `json:"remoteSubnets,omitempty"`
	// Optional. Use this for route-based VPN.
	StaticRoutes         []string            `json:"staticRoutes,omitempty"`
	Tunnel1              TunnelConfiguration `json:"tunnel1"`
	Tunnel2              TunnelConfiguration `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayConnectionPayload struct for UpdateGatewayConnectionPayload

func NewUpdateGatewayConnectionPayload

func NewUpdateGatewayConnectionPayload(displayName string, tunnel1 TunnelConfiguration, tunnel2 TunnelConfiguration) *UpdateGatewayConnectionPayload

NewUpdateGatewayConnectionPayload instantiates a new UpdateGatewayConnectionPayload 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 NewUpdateGatewayConnectionPayloadWithDefaults

func NewUpdateGatewayConnectionPayloadWithDefaults() *UpdateGatewayConnectionPayload

NewUpdateGatewayConnectionPayloadWithDefaults instantiates a new UpdateGatewayConnectionPayload 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 (*UpdateGatewayConnectionPayload) GetDisplayName

func (o *UpdateGatewayConnectionPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*UpdateGatewayConnectionPayload) GetDisplayNameOk

func (o *UpdateGatewayConnectionPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetEnabled

func (o *UpdateGatewayConnectionPayload) GetEnabled() bool

GetEnabled returns the Enabled field value if set, zero value otherwise.

func (*UpdateGatewayConnectionPayload) GetEnabledOk

func (o *UpdateGatewayConnectionPayload) GetEnabledOk() (*bool, bool)

GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetLabels added in v0.11.0

func (o *UpdateGatewayConnectionPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateGatewayConnectionPayload) GetLabelsOk added in v0.11.0

func (o *UpdateGatewayConnectionPayload) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetLocalSubnets

func (o *UpdateGatewayConnectionPayload) GetLocalSubnets() []string

GetLocalSubnets returns the LocalSubnets field value if set, zero value otherwise.

func (*UpdateGatewayConnectionPayload) GetLocalSubnetsOk

func (o *UpdateGatewayConnectionPayload) GetLocalSubnetsOk() ([]string, bool)

GetLocalSubnetsOk returns a tuple with the LocalSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetRemoteSubnets

func (o *UpdateGatewayConnectionPayload) GetRemoteSubnets() []string

GetRemoteSubnets returns the RemoteSubnets field value if set, zero value otherwise.

func (*UpdateGatewayConnectionPayload) GetRemoteSubnetsOk

func (o *UpdateGatewayConnectionPayload) GetRemoteSubnetsOk() ([]string, bool)

GetRemoteSubnetsOk returns a tuple with the RemoteSubnets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetStaticRoutes

func (o *UpdateGatewayConnectionPayload) GetStaticRoutes() []string

GetStaticRoutes returns the StaticRoutes field value if set, zero value otherwise.

func (*UpdateGatewayConnectionPayload) GetStaticRoutesOk

func (o *UpdateGatewayConnectionPayload) GetStaticRoutesOk() ([]string, bool)

GetStaticRoutesOk returns a tuple with the StaticRoutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetTunnel1

GetTunnel1 returns the Tunnel1 field value

func (*UpdateGatewayConnectionPayload) GetTunnel1Ok

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) GetTunnel2

GetTunnel2 returns the Tunnel2 field value

func (*UpdateGatewayConnectionPayload) GetTunnel2Ok

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (*UpdateGatewayConnectionPayload) HasEnabled

func (o *UpdateGatewayConnectionPayload) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

func (*UpdateGatewayConnectionPayload) HasLabels added in v0.11.0

func (o *UpdateGatewayConnectionPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateGatewayConnectionPayload) HasLocalSubnets

func (o *UpdateGatewayConnectionPayload) HasLocalSubnets() bool

HasLocalSubnets returns a boolean if a field has been set.

func (*UpdateGatewayConnectionPayload) HasRemoteSubnets

func (o *UpdateGatewayConnectionPayload) HasRemoteSubnets() bool

HasRemoteSubnets returns a boolean if a field has been set.

func (*UpdateGatewayConnectionPayload) HasStaticRoutes

func (o *UpdateGatewayConnectionPayload) HasStaticRoutes() bool

HasStaticRoutes returns a boolean if a field has been set.

func (UpdateGatewayConnectionPayload) MarshalJSON

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

func (*UpdateGatewayConnectionPayload) SetDisplayName

func (o *UpdateGatewayConnectionPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*UpdateGatewayConnectionPayload) SetEnabled

func (o *UpdateGatewayConnectionPayload) SetEnabled(v bool)

SetEnabled gets a reference to the given bool and assigns it to the Enabled field.

func (*UpdateGatewayConnectionPayload) SetLabels added in v0.11.0

func (o *UpdateGatewayConnectionPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateGatewayConnectionPayload) SetLocalSubnets

func (o *UpdateGatewayConnectionPayload) SetLocalSubnets(v []string)

SetLocalSubnets gets a reference to the given []string and assigns it to the LocalSubnets field.

func (*UpdateGatewayConnectionPayload) SetRemoteSubnets

func (o *UpdateGatewayConnectionPayload) SetRemoteSubnets(v []string)

SetRemoteSubnets gets a reference to the given []string and assigns it to the RemoteSubnets field.

func (*UpdateGatewayConnectionPayload) SetStaticRoutes

func (o *UpdateGatewayConnectionPayload) SetStaticRoutes(v []string)

SetStaticRoutes gets a reference to the given []string and assigns it to the StaticRoutes field.

func (*UpdateGatewayConnectionPayload) SetTunnel1

SetTunnel1 sets field value

func (*UpdateGatewayConnectionPayload) SetTunnel2

SetTunnel2 sets field value

func (UpdateGatewayConnectionPayload) ToMap

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

func (*UpdateGatewayConnectionPayload) UnmarshalJSON

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

type UpdateGatewayPayload

type UpdateGatewayPayload struct {
	AvailabilityZones UpdateGatewayPayloadAvailabilityZones `json:"availabilityZones"`
	Bgp               *BGPGatewayConfig                     `json:"bgp,omitempty"`
	// A user-friendly name for the VPN gateway.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9]([a-zA-Z0-9-]{0\\,61}[a-zA-Z0-9])?$"`
	// Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty.
	Labels        *map[string]string `json:"labels,omitempty"`
	NetworkConfig *NetworkConfig     `json:"networkConfig,omitempty"`
	// The service plan identifier.
	PlanId               string      `json:"planId"`
	RoutingType          RoutingType `json:"routingType"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayPayload struct for UpdateGatewayPayload

func NewUpdateGatewayPayload

func NewUpdateGatewayPayload(availabilityZones UpdateGatewayPayloadAvailabilityZones, displayName string, planId string, routingType RoutingType) *UpdateGatewayPayload

NewUpdateGatewayPayload instantiates a new UpdateGatewayPayload 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 NewUpdateGatewayPayloadWithDefaults

func NewUpdateGatewayPayloadWithDefaults() *UpdateGatewayPayload

NewUpdateGatewayPayloadWithDefaults instantiates a new UpdateGatewayPayload 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 (*UpdateGatewayPayload) GetAvailabilityZones

GetAvailabilityZones returns the AvailabilityZones field value

func (*UpdateGatewayPayload) GetAvailabilityZonesOk

func (o *UpdateGatewayPayload) GetAvailabilityZonesOk() (*UpdateGatewayPayloadAvailabilityZones, bool)

GetAvailabilityZonesOk returns a tuple with the AvailabilityZones field value and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetBgp

GetBgp returns the Bgp field value if set, zero value otherwise.

func (*UpdateGatewayPayload) GetBgpOk

func (o *UpdateGatewayPayload) GetBgpOk() (*BGPGatewayConfig, bool)

GetBgpOk returns a tuple with the Bgp field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetDisplayName

func (o *UpdateGatewayPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*UpdateGatewayPayload) GetDisplayNameOk

func (o *UpdateGatewayPayload) GetDisplayNameOk() (*string, bool)

GetDisplayNameOk returns a tuple with the DisplayName field value and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetLabels

func (o *UpdateGatewayPayload) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*UpdateGatewayPayload) GetLabelsOk

func (o *UpdateGatewayPayload) GetLabelsOk() (*map[string]string, bool)

GetLabelsOk returns a tuple with the Labels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetNetworkConfig added in v0.15.0

func (o *UpdateGatewayPayload) GetNetworkConfig() NetworkConfig

GetNetworkConfig returns the NetworkConfig field value if set, zero value otherwise.

func (*UpdateGatewayPayload) GetNetworkConfigOk added in v0.15.0

func (o *UpdateGatewayPayload) GetNetworkConfigOk() (*NetworkConfig, bool)

GetNetworkConfigOk returns a tuple with the NetworkConfig field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetPlanId

func (o *UpdateGatewayPayload) GetPlanId() string

GetPlanId returns the PlanId field value

func (*UpdateGatewayPayload) GetPlanIdOk

func (o *UpdateGatewayPayload) GetPlanIdOk() (*string, bool)

GetPlanIdOk returns a tuple with the PlanId field value and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) GetRoutingType

func (o *UpdateGatewayPayload) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*UpdateGatewayPayload) GetRoutingTypeOk

func (o *UpdateGatewayPayload) GetRoutingTypeOk() (*RoutingType, bool)

GetRoutingTypeOk returns a tuple with the RoutingType field value and a boolean to check if the value has been set.

func (*UpdateGatewayPayload) HasBgp

func (o *UpdateGatewayPayload) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*UpdateGatewayPayload) HasLabels

func (o *UpdateGatewayPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*UpdateGatewayPayload) HasNetworkConfig added in v0.15.0

func (o *UpdateGatewayPayload) HasNetworkConfig() bool

HasNetworkConfig returns a boolean if a field has been set.

func (UpdateGatewayPayload) MarshalJSON

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

func (*UpdateGatewayPayload) SetAvailabilityZones

SetAvailabilityZones sets field value

func (*UpdateGatewayPayload) SetBgp

SetBgp gets a reference to the given BGPGatewayConfig and assigns it to the Bgp field.

func (*UpdateGatewayPayload) SetDisplayName

func (o *UpdateGatewayPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*UpdateGatewayPayload) SetLabels

func (o *UpdateGatewayPayload) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*UpdateGatewayPayload) SetNetworkConfig added in v0.15.0

func (o *UpdateGatewayPayload) SetNetworkConfig(v NetworkConfig)

SetNetworkConfig gets a reference to the given NetworkConfig and assigns it to the NetworkConfig field.

func (*UpdateGatewayPayload) SetPlanId

func (o *UpdateGatewayPayload) SetPlanId(v string)

SetPlanId sets field value

func (*UpdateGatewayPayload) SetRoutingType

func (o *UpdateGatewayPayload) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (UpdateGatewayPayload) ToMap

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

func (*UpdateGatewayPayload) UnmarshalJSON

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

type UpdateGatewayPayloadAvailabilityZones

type UpdateGatewayPayloadAvailabilityZones struct {
	// Object that represents an availability zone.
	Tunnel1 string `json:"tunnel1"`
	// Object that represents an availability zone.
	Tunnel2              string `json:"tunnel2"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayPayloadAvailabilityZones struct for UpdateGatewayPayloadAvailabilityZones

func NewUpdateGatewayPayloadAvailabilityZones

func NewUpdateGatewayPayloadAvailabilityZones(tunnel1 string, tunnel2 string) *UpdateGatewayPayloadAvailabilityZones

NewUpdateGatewayPayloadAvailabilityZones instantiates a new UpdateGatewayPayloadAvailabilityZones 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 NewUpdateGatewayPayloadAvailabilityZonesWithDefaults

func NewUpdateGatewayPayloadAvailabilityZonesWithDefaults() *UpdateGatewayPayloadAvailabilityZones

NewUpdateGatewayPayloadAvailabilityZonesWithDefaults instantiates a new UpdateGatewayPayloadAvailabilityZones 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 (*UpdateGatewayPayloadAvailabilityZones) GetTunnel1

GetTunnel1 returns the Tunnel1 field value

func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok

func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok() (*string, bool)

GetTunnel1Ok returns a tuple with the Tunnel1 field value and a boolean to check if the value has been set.

func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel2

GetTunnel2 returns the Tunnel2 field value

func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok

func (o *UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok() (*string, bool)

GetTunnel2Ok returns a tuple with the Tunnel2 field value and a boolean to check if the value has been set.

func (UpdateGatewayPayloadAvailabilityZones) MarshalJSON

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

func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel1

SetTunnel1 sets field value

func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel2

SetTunnel2 sets field value

func (UpdateGatewayPayloadAvailabilityZones) ToMap

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

func (*UpdateGatewayPayloadAvailabilityZones) UnmarshalJSON

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

type VPNTunnels

type VPNTunnels struct {
	BgpStatus     NullableBGPStatus `json:"bgpStatus,omitempty"`
	InstanceState *GatewayStatus    `json:"instanceState,omitempty"`
	// The IPv4 address of the endpoint in the SNA.
	InternalNextHopIP *string         `json:"internalNextHopIP,omitempty"`
	Name              *VPNTunnelsName `json:"name,omitempty"`
	// The public IPv4 address of this endpoint.
	PublicIP             *string `json:"publicIP,omitempty"`
	AdditionalProperties map[string]interface{}
}

VPNTunnels Status of the underlying tunnel instances.

func NewVPNTunnels

func NewVPNTunnels() *VPNTunnels

NewVPNTunnels instantiates a new VPNTunnels 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 NewVPNTunnelsWithDefaults

func NewVPNTunnelsWithDefaults() *VPNTunnels

NewVPNTunnelsWithDefaults instantiates a new VPNTunnels 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 (*VPNTunnels) GetBgpStatus

func (o *VPNTunnels) GetBgpStatus() BGPStatus

GetBgpStatus returns the BgpStatus field value if set, zero value otherwise (both if not set or set to explicit null).

func (*VPNTunnels) GetBgpStatusOk

func (o *VPNTunnels) GetBgpStatusOk() (*BGPStatus, bool)

GetBgpStatusOk returns a tuple with the BgpStatus field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*VPNTunnels) GetInstanceState

func (o *VPNTunnels) GetInstanceState() GatewayStatus

GetInstanceState returns the InstanceState field value if set, zero value otherwise.

func (*VPNTunnels) GetInstanceStateOk

func (o *VPNTunnels) GetInstanceStateOk() (*GatewayStatus, bool)

GetInstanceStateOk returns a tuple with the InstanceState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VPNTunnels) GetInternalNextHopIP added in v0.10.0

func (o *VPNTunnels) GetInternalNextHopIP() string

GetInternalNextHopIP returns the InternalNextHopIP field value if set, zero value otherwise.

func (*VPNTunnels) GetInternalNextHopIPOk added in v0.10.0

func (o *VPNTunnels) GetInternalNextHopIPOk() (*string, bool)

GetInternalNextHopIPOk returns a tuple with the InternalNextHopIP field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VPNTunnels) GetName

func (o *VPNTunnels) GetName() VPNTunnelsName

GetName returns the Name field value if set, zero value otherwise.

func (*VPNTunnels) GetNameOk

func (o *VPNTunnels) GetNameOk() (*VPNTunnelsName, 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 (*VPNTunnels) GetPublicIP

func (o *VPNTunnels) GetPublicIP() string

GetPublicIP returns the PublicIP field value if set, zero value otherwise.

func (*VPNTunnels) GetPublicIPOk

func (o *VPNTunnels) GetPublicIPOk() (*string, bool)

GetPublicIPOk returns a tuple with the PublicIP field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VPNTunnels) HasBgpStatus

func (o *VPNTunnels) HasBgpStatus() bool

HasBgpStatus returns a boolean if a field has been set.

func (*VPNTunnels) HasInstanceState

func (o *VPNTunnels) HasInstanceState() bool

HasInstanceState returns a boolean if a field has been set.

func (*VPNTunnels) HasInternalNextHopIP added in v0.10.0

func (o *VPNTunnels) HasInternalNextHopIP() bool

HasInternalNextHopIP returns a boolean if a field has been set.

func (*VPNTunnels) HasName

func (o *VPNTunnels) HasName() bool

HasName returns a boolean if a field has been set.

func (*VPNTunnels) HasPublicIP

func (o *VPNTunnels) HasPublicIP() bool

HasPublicIP returns a boolean if a field has been set.

func (VPNTunnels) MarshalJSON

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

func (*VPNTunnels) SetBgpStatus

func (o *VPNTunnels) SetBgpStatus(v BGPStatus)

SetBgpStatus gets a reference to the given NullableBGPStatus and assigns it to the BgpStatus field.

func (*VPNTunnels) SetBgpStatusNil

func (o *VPNTunnels) SetBgpStatusNil()

SetBgpStatusNil sets the value for BgpStatus to be an explicit nil

func (*VPNTunnels) SetInstanceState

func (o *VPNTunnels) SetInstanceState(v GatewayStatus)

SetInstanceState gets a reference to the given GatewayStatus and assigns it to the InstanceState field.

func (*VPNTunnels) SetInternalNextHopIP added in v0.10.0

func (o *VPNTunnels) SetInternalNextHopIP(v string)

SetInternalNextHopIP gets a reference to the given string and assigns it to the InternalNextHopIP field.

func (*VPNTunnels) SetName

func (o *VPNTunnels) SetName(v VPNTunnelsName)

SetName gets a reference to the given VPNTunnelsName and assigns it to the Name field.

func (*VPNTunnels) SetPublicIP

func (o *VPNTunnels) SetPublicIP(v string)

SetPublicIP gets a reference to the given string and assigns it to the PublicIP field.

func (VPNTunnels) ToMap

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

func (*VPNTunnels) UnmarshalJSON

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

func (*VPNTunnels) UnsetBgpStatus

func (o *VPNTunnels) UnsetBgpStatus()

UnsetBgpStatus ensures that no value is present for BgpStatus, not even an explicit nil

type VPNTunnelsName added in v0.12.0

type VPNTunnelsName string

VPNTunnelsName the model 'VPNTunnelsName'

const (
	VPNTUNNELSNAME_TUNNEL1                  VPNTunnelsName = "tunnel1"
	VPNTUNNELSNAME_TUNNEL2                  VPNTunnelsName = "tunnel2"
	VPNTUNNELSNAME_UNKNOWN_DEFAULT_OPEN_API VPNTunnelsName = "unknown_default_open_api"
)

List of VPNTunnels_name

func NewVPNTunnelsNameFromValue added in v0.12.0

func NewVPNTunnelsNameFromValue(v string) (*VPNTunnelsName, error)

NewVPNTunnelsNameFromValue returns a pointer to a valid VPNTunnelsName for the value passed as argument, or an error if the value passed is not allowed by the enum

func (VPNTunnelsName) IsValid added in v0.12.0

func (v VPNTunnelsName) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (VPNTunnelsName) Ptr added in v0.12.0

func (v VPNTunnelsName) Ptr() *VPNTunnelsName

Ptr returns reference to VPNTunnels_name value

func (*VPNTunnelsName) UnmarshalJSON added in v0.12.0

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

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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