v1beta1api

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 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",
	"unknown_default_open_api",
}

All allowed values of APIErrorDetailReason 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",
	"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 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 v1beta1 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.

const (
	APIERRORDETAILREASON_INVALID_FIELD            APIErrorDetailReason = "INVALID_FIELD"
	APIERRORDETAILREASON_INVALID_PATH_PARAMETER   APIErrorDetailReason = "INVALID_PATH_PARAMETER"
	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 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 added in v0.7.0

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

func (ApiCreateGatewayRequest) CreateGatewayPayload added in v0.7.0

func (r ApiCreateGatewayRequest) CreateGatewayPayload(createGatewayPayload CreateGatewayPayload) ApiCreateGatewayRequest

func (ApiCreateGatewayRequest) Execute added in v0.7.0

type ApiDeleteGatewayConnectionRequest

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

func (ApiDeleteGatewayConnectionRequest) Execute

type ApiDeleteGatewayRequest added in v0.7.0

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

func (ApiDeleteGatewayRequest) Execute added in v0.7.0

func (r ApiDeleteGatewayRequest) Execute() error

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 added in v0.7.0

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

func (ApiGetGatewayRequest) Execute added in v0.7.0

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

type ApiGetGatewayStatusRequest added in v0.7.0

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

func (ApiGetGatewayStatusRequest) Execute added in v0.7.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 added in v0.7.0

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

func (ApiListGatewaysRequest) Execute added in v0.7.0

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

func (ApiListGatewaysRequest) LabelSelector added in v0.7.0

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 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 added in v0.7.0

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

func (ApiUpdateGatewayRequest) Execute added in v0.7.0

func (ApiUpdateGatewayRequest) UpdateGatewayPayload added in v0.7.0

func (r ApiUpdateGatewayRequest) UpdateGatewayPayload(updateGatewayPayload UpdateGatewayPayload) ApiUpdateGatewayRequest

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 {
	// ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996).
	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) 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) MarshalJSON

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

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)

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 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 added in v0.7.0

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"`
	// The service plan identifier.
	PlanId               string      `json:"planId"`
	RoutingType          RoutingType `json:"routingType"`
	AdditionalProperties map[string]interface{}
}

CreateGatewayPayload struct for CreateGatewayPayload

func NewCreateGatewayPayload added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

GetAvailabilityZones returns the AvailabilityZones field value

func (*CreateGatewayPayload) GetAvailabilityZonesOk added in v0.7.0

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 added in v0.7.0

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

func (*CreateGatewayPayload) GetBgpOk added in v0.7.0

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 added in v0.7.0

func (o *CreateGatewayPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateGatewayPayload) GetDisplayNameOk added in v0.7.0

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 added in v0.7.0

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

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

func (*CreateGatewayPayload) GetLabelsOk added in v0.7.0

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) GetPlanId added in v0.7.0

func (o *CreateGatewayPayload) GetPlanId() string

GetPlanId returns the PlanId field value

func (*CreateGatewayPayload) GetPlanIdOk added in v0.7.0

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 added in v0.7.0

func (o *CreateGatewayPayload) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*CreateGatewayPayload) GetRoutingTypeOk added in v0.7.0

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 added in v0.7.0

func (o *CreateGatewayPayload) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*CreateGatewayPayload) HasLabels added in v0.7.0

func (o *CreateGatewayPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (CreateGatewayPayload) MarshalJSON added in v0.7.0

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

func (*CreateGatewayPayload) SetAvailabilityZones added in v0.7.0

SetAvailabilityZones sets field value

func (*CreateGatewayPayload) SetBgp added in v0.7.0

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

func (*CreateGatewayPayload) SetDisplayName added in v0.7.0

func (o *CreateGatewayPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateGatewayPayload) SetLabels added in v0.7.0

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) SetPlanId added in v0.7.0

func (o *CreateGatewayPayload) SetPlanId(v string)

SetPlanId sets field value

func (*CreateGatewayPayload) SetRoutingType added in v0.7.0

func (o *CreateGatewayPayload) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (CreateGatewayPayload) ToMap added in v0.7.0

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

func (*CreateGatewayPayload) UnmarshalJSON added in v0.7.0

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

type CreateGatewayPayloadAvailabilityZones added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

GetTunnel1 returns the Tunnel1 field value

func (*CreateGatewayPayloadAvailabilityZones) GetTunnel1Ok added in v0.7.0

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 added in v0.7.0

GetTunnel2 returns the Tunnel2 field value

func (*CreateGatewayPayloadAvailabilityZones) GetTunnel2Ok added in v0.7.0

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 added in v0.7.0

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

func (*CreateGatewayPayloadAvailabilityZones) SetTunnel1 added in v0.7.0

SetTunnel1 sets field value

func (*CreateGatewayPayloadAvailabilityZones) SetTunnel2 added in v0.7.0

SetTunnel2 sets field value

func (CreateGatewayPayloadAvailabilityZones) ToMap added in v0.7.0

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

func (*CreateGatewayPayloadAvailabilityZones) UnmarshalJSON added in v0.7.0

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)

	/*
		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

	/*
		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)

	/*
		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)

	/*
		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)

	/*
		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 added in v0.7.0

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) 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 added in v0.7.0

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

Execute executes the request

@return GatewayResponse

func (*DefaultAPIService) DeleteGateway added in v0.7.0

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) 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 added in v0.7.0

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

Execute executes the request

func (*DefaultAPIService) GetGateway added in v0.7.0

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) 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 added in v0.7.0

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

Execute executes the request

@return GatewayResponse

func (*DefaultAPIService) GetGatewayStatus added in v0.7.0

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 added in v0.7.0

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

Execute executes the request

@return GatewayStatusResponse

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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) 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 added in v0.7.0

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)
	// 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
	// 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)
	// 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)
	// 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)
	// 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 added in v0.7.0

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

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 added in v0.7.0

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 added in v0.7.0

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

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 added in v0.7.0

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 added in v0.7.0

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

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 added in v0.7.0

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 added in v0.7.0

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

func (DefaultAPIServiceMock) GetGatewayStatusExecute added in v0.7.0

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) 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 added in v0.7.0

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

func (DefaultAPIServiceMock) ListGatewaysExecute added in v0.7.0

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 added in v0.7.0

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

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 added in v0.7.0

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"`
	// 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) 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) 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) 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"`
	// 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) 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) 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) 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"`
	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) 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) 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) 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 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 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 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 added in v0.7.0

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

func NewNullableCreateGatewayPayload added in v0.7.0

func NewNullableCreateGatewayPayload(val *CreateGatewayPayload) *NullableCreateGatewayPayload

func (NullableCreateGatewayPayload) Get added in v0.7.0

func (NullableCreateGatewayPayload) IsSet added in v0.7.0

func (NullableCreateGatewayPayload) MarshalJSON added in v0.7.0

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

func (*NullableCreateGatewayPayload) Set added in v0.7.0

func (*NullableCreateGatewayPayload) UnmarshalJSON added in v0.7.0

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

func (*NullableCreateGatewayPayload) Unset added in v0.7.0

func (v *NullableCreateGatewayPayload) Unset()

type NullableCreateGatewayPayloadAvailabilityZones added in v0.7.0

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

func (NullableCreateGatewayPayloadAvailabilityZones) Get added in v0.7.0

func (NullableCreateGatewayPayloadAvailabilityZones) IsSet added in v0.7.0

func (NullableCreateGatewayPayloadAvailabilityZones) MarshalJSON added in v0.7.0

func (*NullableCreateGatewayPayloadAvailabilityZones) Set added in v0.7.0

func (*NullableCreateGatewayPayloadAvailabilityZones) UnmarshalJSON added in v0.7.0

func (*NullableCreateGatewayPayloadAvailabilityZones) Unset added in v0.7.0

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 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 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 added in v0.7.0

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

func NewNullableUpdateGatewayPayload added in v0.7.0

func NewNullableUpdateGatewayPayload(val *UpdateGatewayPayload) *NullableUpdateGatewayPayload

func (NullableUpdateGatewayPayload) Get added in v0.7.0

func (NullableUpdateGatewayPayload) IsSet added in v0.7.0

func (NullableUpdateGatewayPayload) MarshalJSON added in v0.7.0

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

func (*NullableUpdateGatewayPayload) Set added in v0.7.0

func (*NullableUpdateGatewayPayload) UnmarshalJSON added in v0.7.0

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

func (*NullableUpdateGatewayPayload) Unset added in v0.7.0

func (v *NullableUpdateGatewayPayload) Unset()

type NullableUpdateGatewayPayloadAvailabilityZones added in v0.7.0

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

func (NullableUpdateGatewayPayloadAvailabilityZones) Get added in v0.7.0

func (NullableUpdateGatewayPayloadAvailabilityZones) IsSet added in v0.7.0

func (NullableUpdateGatewayPayloadAvailabilityZones) MarshalJSON added in v0.7.0

func (*NullableUpdateGatewayPayloadAvailabilityZones) Set added in v0.7.0

func (*NullableUpdateGatewayPayloadAvailabilityZones) UnmarshalJSON added in v0.7.0

func (*NullableUpdateGatewayPayloadAvailabilityZones) Unset added in v0.7.0

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"`
	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_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 the model 'RoutingType'

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"`
	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"`
	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 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 added in v0.7.0

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"`
	// The service plan identifier.
	PlanId               string      `json:"planId"`
	RoutingType          RoutingType `json:"routingType"`
	AdditionalProperties map[string]interface{}
}

UpdateGatewayPayload struct for UpdateGatewayPayload

func NewUpdateGatewayPayload added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

GetAvailabilityZones returns the AvailabilityZones field value

func (*UpdateGatewayPayload) GetAvailabilityZonesOk added in v0.7.0

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 added in v0.7.0

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

func (*UpdateGatewayPayload) GetBgpOk added in v0.7.0

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 added in v0.7.0

func (o *UpdateGatewayPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*UpdateGatewayPayload) GetDisplayNameOk added in v0.7.0

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 added in v0.7.0

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

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

func (*UpdateGatewayPayload) GetLabelsOk added in v0.7.0

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) GetPlanId added in v0.7.0

func (o *UpdateGatewayPayload) GetPlanId() string

GetPlanId returns the PlanId field value

func (*UpdateGatewayPayload) GetPlanIdOk added in v0.7.0

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 added in v0.7.0

func (o *UpdateGatewayPayload) GetRoutingType() RoutingType

GetRoutingType returns the RoutingType field value

func (*UpdateGatewayPayload) GetRoutingTypeOk added in v0.7.0

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 added in v0.7.0

func (o *UpdateGatewayPayload) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*UpdateGatewayPayload) HasLabels added in v0.7.0

func (o *UpdateGatewayPayload) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (UpdateGatewayPayload) MarshalJSON added in v0.7.0

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

func (*UpdateGatewayPayload) SetAvailabilityZones added in v0.7.0

SetAvailabilityZones sets field value

func (*UpdateGatewayPayload) SetBgp added in v0.7.0

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

func (*UpdateGatewayPayload) SetDisplayName added in v0.7.0

func (o *UpdateGatewayPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*UpdateGatewayPayload) SetLabels added in v0.7.0

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) SetPlanId added in v0.7.0

func (o *UpdateGatewayPayload) SetPlanId(v string)

SetPlanId sets field value

func (*UpdateGatewayPayload) SetRoutingType added in v0.7.0

func (o *UpdateGatewayPayload) SetRoutingType(v RoutingType)

SetRoutingType sets field value

func (UpdateGatewayPayload) ToMap added in v0.7.0

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

func (*UpdateGatewayPayload) UnmarshalJSON added in v0.7.0

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

type UpdateGatewayPayloadAvailabilityZones added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

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 added in v0.7.0

GetTunnel1 returns the Tunnel1 field value

func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel1Ok added in v0.7.0

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 added in v0.7.0

GetTunnel2 returns the Tunnel2 field value

func (*UpdateGatewayPayloadAvailabilityZones) GetTunnel2Ok added in v0.7.0

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 added in v0.7.0

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

func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel1 added in v0.7.0

SetTunnel1 sets field value

func (*UpdateGatewayPayloadAvailabilityZones) SetTunnel2 added in v0.7.0

SetTunnel2 sets field value

func (UpdateGatewayPayloadAvailabilityZones) ToMap added in v0.7.0

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

func (*UpdateGatewayPayloadAvailabilityZones) UnmarshalJSON added in v0.7.0

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

Jump to

Keyboard shortcuts

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