ntg

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for ntg

Manage the Secure Access Network Tunnel Groups.

Overview

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

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import ntg "github.com/CiscoDevNet/go-ciscosecureaccess/ntg"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value ntg.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), ntg.ContextServerIndex, 1)
Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value ntg.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), ntg.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using ntg.ContextOperationServerIndices and ntg.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), ntg.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), ntg.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.sse.cisco.com/deployments/v2

Class Method HTTP request Description
NetworkTunnelGroupsAPI AddNetworkTunnelGroup Post /networktunnelgroups Create Network Tunnel Group
NetworkTunnelGroupsAPI DeleteNetworkTunnelGroup Delete /networktunnelgroups/{id} Delete Network Tunnel Group
NetworkTunnelGroupsAPI GetNetworkTunnelGroup Get /networktunnelgroups/{id} Get Network Tunnel Group
NetworkTunnelGroupsAPI ListNetworkTunnelGroups Get /networktunnelgroups List Network Tunnel Groups
NetworkTunnelGroupsAPI PatchNetworkTunnelGroup Patch /networktunnelgroups/{id} Update Network Tunnel Group
NetworkTunnelGroupsPeerStateAPI GetPeerState Get /networktunnelgroups/{id}/networktunnelhubs/{hub_id}/peers/{peer_id}/state Get Tunnel State for Network Tunnel Group and Hub
NetworkTunnelGroupsPeerStateAPI GetPeersState Get /networktunnelgroups/{id}/peers Get Peers States for Network Tunnel Group and Hub
NetworkTunnelGroupsRegionsAPI ListNetworkTunnelGroupRegions Get /regions List Regions for Network Tunnel Groups
NetworkTunnelGroupsStateAPI GetNetworkTunnelGroupBulkState Get /networktunnelgroupsstate List State of Network Tunnel Groups
NetworkTunnelGroupsStateAPI GetNetworkTunnelGroupState Get /networktunnelgroups/{id}/state Get State of Network Tunnel Group

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauthFlow
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • deployments.networktunnelgroups:read: Read network tunnel groups deployments
  • deployments.networktunnelgroups:write: Write network tunnel groups deployments
  • deployments.regions:read: Read regions for network tunnel groups deployments

Example

auth := context.WithValue(context.Background(), ntg.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, ntg.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

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 (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedDeviceTypeEnumValues = []DeviceType{
	"ASA",
	"FTD",
	"ISR",
	"Meraki MX",
	"Viptela cEdge",
	"Viptela vEdge",
	"other",
}

All allowed values of DeviceType enum

View Source
var AllowedStatusEnumValues = []Status{
	"connected",
	"disconnected",
	"warning",
}

All allowed values of Status 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 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 {
	NetworkTunnelGroupsAPI *NetworkTunnelGroupsAPIService

	NetworkTunnelGroupsPeerStateAPI *NetworkTunnelGroupsPeerStateAPIService

	NetworkTunnelGroupsRegionsAPI *NetworkTunnelGroupsRegionsAPIService

	NetworkTunnelGroupsStateAPI *NetworkTunnelGroupsStateAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Cisco Secure Access Network Tunnel Groups and Regions API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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() *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 APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

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 AddNetworkTunnelGroupRequest

type AddNetworkTunnelGroupRequest struct {
	// The name of the Network Tunnel Group. A Network Tunnel Group name is a sequence of 1–50 characters. The `name` field cannot have any special characters other than spaces and hyphens.
	Name string `json:"name"`
	// The name of the region that is used to get the primary and secondary data centers for the Hubs.
	Region       string                                   `json:"region"`
	DeviceType   *DeviceType                              `json:"deviceType,omitempty"`
	AuthIdPrefix AddNetworkTunnelGroupRequestAuthIdPrefix `json:"authIdPrefix"`
	// The passphrase for the primary and secondary tunnels. Provide a sequence of characters where the length of the passphrase is 16–64 characters. The passphrase must contain at least one upper and one lowercase letter as well as one numeral. The passphrase may not include special characters.
	Passphrase           string          `json:"passphrase"`
	Routing              *RoutingRequest `json:"routing,omitempty"`
	AdditionalProperties map[string]interface{}
}

AddNetworkTunnelGroupRequest Create the Network Tunnel Group with the specific properties.

func NewAddNetworkTunnelGroupRequest

func NewAddNetworkTunnelGroupRequest(name string, region string, authIdPrefix AddNetworkTunnelGroupRequestAuthIdPrefix, passphrase string) *AddNetworkTunnelGroupRequest

NewAddNetworkTunnelGroupRequest instantiates a new AddNetworkTunnelGroupRequest 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 NewAddNetworkTunnelGroupRequestWithDefaults

func NewAddNetworkTunnelGroupRequestWithDefaults() *AddNetworkTunnelGroupRequest

NewAddNetworkTunnelGroupRequestWithDefaults instantiates a new AddNetworkTunnelGroupRequest 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 (*AddNetworkTunnelGroupRequest) GetAuthIdPrefix

GetAuthIdPrefix returns the AuthIdPrefix field value

func (*AddNetworkTunnelGroupRequest) GetAuthIdPrefixOk

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

func (*AddNetworkTunnelGroupRequest) GetDeviceType

func (o *AddNetworkTunnelGroupRequest) GetDeviceType() DeviceType

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*AddNetworkTunnelGroupRequest) GetDeviceTypeOk

func (o *AddNetworkTunnelGroupRequest) GetDeviceTypeOk() (*DeviceType, bool)

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

func (*AddNetworkTunnelGroupRequest) GetName

func (o *AddNetworkTunnelGroupRequest) GetName() string

GetName returns the Name field value

func (*AddNetworkTunnelGroupRequest) GetNameOk

func (o *AddNetworkTunnelGroupRequest) GetNameOk() (*string, bool)

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

func (*AddNetworkTunnelGroupRequest) GetPassphrase

func (o *AddNetworkTunnelGroupRequest) GetPassphrase() string

GetPassphrase returns the Passphrase field value

func (*AddNetworkTunnelGroupRequest) GetPassphraseOk

func (o *AddNetworkTunnelGroupRequest) GetPassphraseOk() (*string, bool)

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

func (*AddNetworkTunnelGroupRequest) GetRegion

func (o *AddNetworkTunnelGroupRequest) GetRegion() string

GetRegion returns the Region field value

func (*AddNetworkTunnelGroupRequest) GetRegionOk

func (o *AddNetworkTunnelGroupRequest) GetRegionOk() (*string, bool)

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

func (*AddNetworkTunnelGroupRequest) GetRouting

GetRouting returns the Routing field value if set, zero value otherwise.

func (*AddNetworkTunnelGroupRequest) GetRoutingOk

func (o *AddNetworkTunnelGroupRequest) GetRoutingOk() (*RoutingRequest, bool)

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

func (*AddNetworkTunnelGroupRequest) HasDeviceType

func (o *AddNetworkTunnelGroupRequest) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*AddNetworkTunnelGroupRequest) HasRouting

func (o *AddNetworkTunnelGroupRequest) HasRouting() bool

HasRouting returns a boolean if a field has been set.

func (AddNetworkTunnelGroupRequest) MarshalJSON

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

func (*AddNetworkTunnelGroupRequest) SetAuthIdPrefix

SetAuthIdPrefix sets field value

func (*AddNetworkTunnelGroupRequest) SetDeviceType

func (o *AddNetworkTunnelGroupRequest) SetDeviceType(v DeviceType)

SetDeviceType gets a reference to the given DeviceType and assigns it to the DeviceType field.

func (*AddNetworkTunnelGroupRequest) SetName

func (o *AddNetworkTunnelGroupRequest) SetName(v string)

SetName sets field value

func (*AddNetworkTunnelGroupRequest) SetPassphrase

func (o *AddNetworkTunnelGroupRequest) SetPassphrase(v string)

SetPassphrase sets field value

func (*AddNetworkTunnelGroupRequest) SetRegion

func (o *AddNetworkTunnelGroupRequest) SetRegion(v string)

SetRegion sets field value

func (*AddNetworkTunnelGroupRequest) SetRouting

SetRouting gets a reference to the given RoutingRequest and assigns it to the Routing field.

func (AddNetworkTunnelGroupRequest) ToMap

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

func (*AddNetworkTunnelGroupRequest) UnmarshalJSON

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

type AddNetworkTunnelGroupRequestAuthIdPrefix

type AddNetworkTunnelGroupRequestAuthIdPrefix struct {
	ArrayOfString *[]string
	String        *string
}

AddNetworkTunnelGroupRequestAuthIdPrefix - An IP address or ID for the network tunnel. The value of `authIdPrefix` is used to generate the ID portion of the Pre-Shared Key (PSK). * If you provide an IP, then you should include two IP addresses. * If you provide a string, ensure that the string is a sequence of 8–100 characters. The string should not have any special characters besides the period(**.**), underscore(**_**), and dash(**-**) characters.

func ArrayOfStringAsAddNetworkTunnelGroupRequestAuthIdPrefix

func ArrayOfStringAsAddNetworkTunnelGroupRequestAuthIdPrefix(v *[]string) AddNetworkTunnelGroupRequestAuthIdPrefix

[]stringAsAddNetworkTunnelGroupRequestAuthIdPrefix is a convenience function that returns []string wrapped in AddNetworkTunnelGroupRequestAuthIdPrefix

func StringAsAddNetworkTunnelGroupRequestAuthIdPrefix

func StringAsAddNetworkTunnelGroupRequestAuthIdPrefix(v *string) AddNetworkTunnelGroupRequestAuthIdPrefix

stringAsAddNetworkTunnelGroupRequestAuthIdPrefix is a convenience function that returns string wrapped in AddNetworkTunnelGroupRequestAuthIdPrefix

func (*AddNetworkTunnelGroupRequestAuthIdPrefix) GetActualInstance

func (obj *AddNetworkTunnelGroupRequestAuthIdPrefix) GetActualInstance() interface{}

Get the actual instance

func (AddNetworkTunnelGroupRequestAuthIdPrefix) MarshalJSON

func (src AddNetworkTunnelGroupRequestAuthIdPrefix) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*AddNetworkTunnelGroupRequestAuthIdPrefix) UnmarshalJSON

func (dst *AddNetworkTunnelGroupRequestAuthIdPrefix) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ApiAddNetworkTunnelGroupRequest

type ApiAddNetworkTunnelGroupRequest struct {
	ApiService *NetworkTunnelGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiAddNetworkTunnelGroupRequest) AddNetworkTunnelGroupRequest

func (r ApiAddNetworkTunnelGroupRequest) AddNetworkTunnelGroupRequest(addNetworkTunnelGroupRequest AddNetworkTunnelGroupRequest) ApiAddNetworkTunnelGroupRequest

Create the Network Tunnel Group.

func (ApiAddNetworkTunnelGroupRequest) Execute

type ApiDeleteNetworkTunnelGroupRequest

type ApiDeleteNetworkTunnelGroupRequest struct {
	ApiService *NetworkTunnelGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteNetworkTunnelGroupRequest) Execute

type ApiGetNetworkTunnelGroupBulkStateRequest

type ApiGetNetworkTunnelGroupBulkStateRequest struct {
	ApiService *NetworkTunnelGroupsStateAPIService
	// contains filtered or unexported fields
}

func (ApiGetNetworkTunnelGroupBulkStateRequest) Execute

func (ApiGetNetworkTunnelGroupBulkStateRequest) Limit

An integer that represents the number of records to return in the response.

func (ApiGetNetworkTunnelGroupBulkStateRequest) Offset

An integer that represents the place to start reading in the collection. When the offset is `0`, the first page is returned from the collection. If the `limit` is 10, the `offset` for the next page is 10. The default value is 0.

func (ApiGetNetworkTunnelGroupBulkStateRequest) SortBy

Specify the field that will be used to sort the items from the collection in the response.

func (ApiGetNetworkTunnelGroupBulkStateRequest) SortOrder

Specify the sort order (ascending or descending) for the items in the response.

type ApiGetNetworkTunnelGroupRequest

type ApiGetNetworkTunnelGroupRequest struct {
	ApiService *NetworkTunnelGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiGetNetworkTunnelGroupRequest) Execute

type ApiGetNetworkTunnelGroupStateRequest

type ApiGetNetworkTunnelGroupStateRequest struct {
	ApiService *NetworkTunnelGroupsStateAPIService
	// contains filtered or unexported fields
}

func (ApiGetNetworkTunnelGroupStateRequest) Execute

type ApiGetPeerStateRequest

type ApiGetPeerStateRequest struct {
	ApiService *NetworkTunnelGroupsPeerStateAPIService
	// contains filtered or unexported fields
}

func (ApiGetPeerStateRequest) Execute

type ApiGetPeersStateRequest

type ApiGetPeersStateRequest struct {
	ApiService *NetworkTunnelGroupsPeerStateAPIService
	// contains filtered or unexported fields
}

func (ApiGetPeersStateRequest) Execute

func (ApiGetPeersStateRequest) Limit

An integer that represents the number of records to return in the response. The default value is 10.

func (ApiGetPeersStateRequest) Offset

An integer that represents the place to start reading in the collection. When the offset is `0`, the first page is returned from the collection. If the `limit` is 10, the `offset` for the next page is 10. The default value is 0.

func (ApiGetPeersStateRequest) SortBy

Specify the field that will be used to sort the items from the collection in the response.

func (ApiGetPeersStateRequest) SortOrder

Specify the sort order (ascending or descending) for the items in the response.

type ApiListNetworkTunnelGroupRegionsRequest

type ApiListNetworkTunnelGroupRegionsRequest struct {
	ApiService *NetworkTunnelGroupsRegionsAPIService
	// contains filtered or unexported fields
}

func (ApiListNetworkTunnelGroupRegionsRequest) Execute

func (ApiListNetworkTunnelGroupRegionsRequest) Filters

Filter the regions by one or more properties: `peerIP` or `latitude` and `longitude`. * **peerIP** - List the regions in ascending order based on the distance of the regions to the location of the given peer IP. You can only set a public IP for `peerIP`. If `latitude` and `longitude` are provided, `peerIP` is ignored. * **latitude** and **longitude** - List the regions in ascending order based on the distance of the regions from the provided coordinates. When included with a request, set both `latitude` and `longitude`. Specify the filters in the JSON format. Examples: ``` { \"peerIP\": \"25.123.22.10\" } ``` ``` { \"latitude\": \"39.0299604\", \"longitude\": \"39.0299604\" } ```

type ApiListNetworkTunnelGroupsRequest

type ApiListNetworkTunnelGroupsRequest struct {
	ApiService *NetworkTunnelGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiListNetworkTunnelGroupsRequest) Execute

func (ApiListNetworkTunnelGroupsRequest) Filters

Filter the network tunnel groups by one or more properties: * **name** - The name of a network tunnel group. The value of `name` is a sequence of case-insensitive characters. * **exactName** - The sequence of case-insensitive characters that exactly match the name of the network tunnel group. When `exactName` is included as a filter, the `name` filter is ignored. * **networkTunnelGroupIds** - The comma-separated list of network tunnel group IDs. * **exactAuthIdPrefix** - The case-sensitive value of the network tunnel hub auth ID prefix or the IP. * **region** - The region for the network tunnel group. The value of `region` is a sequence of case-insensitive characters. * **status** - The status of the network tunnel group. Valid values are \"connected\", \"disconnected\", and \"warning\". * **duplicateCIDRs** - List the network tunnel groups that have duplicate CIDRs. Provide the CIDRs and optionally provide the regional scope and region properties. If the regional scope is enabled, only duplicates in the same region are found. You can not use the `duplicateCIDRs` filter with any other filter. Specify the filters in the JSON format. Example: ``` { \"name\": \"Branch 1 Network Tunnel Group\", \"region\": \"us-east-1\" } ``` or Example: ``` { \"duplicateCIDRs\": { \"cidrs\": \"10.0.0.0/8,10.01.0.0/16\", \"regionalScope\": true, \"region\": \"us-east\" } }

func (ApiListNetworkTunnelGroupsRequest) IncludeStatuses

Specify whether to include the IPsec tunnel status field (`tunnelsStatus`) for each hub.

func (ApiListNetworkTunnelGroupsRequest) Limit

An integer that represents the number of records to return in the response. The default value is 10.

func (ApiListNetworkTunnelGroupsRequest) Offset

An integer that represents the place to start reading in the collection. When the offset is `0`, the first page is returned from the collection. If the `limit` is 10, the `offset` for the next page is 10. The default value is 0.

func (ApiListNetworkTunnelGroupsRequest) SortBy

Specify the field that will be used to sort the items from the collection in the response.

func (ApiListNetworkTunnelGroupsRequest) SortOrder

Specify the sort order (ascending or descending) for the items in the response.

type ApiPatchNetworkTunnelGroupRequest

type ApiPatchNetworkTunnelGroupRequest struct {
	ApiService *NetworkTunnelGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiPatchNetworkTunnelGroupRequest) Execute

func (ApiPatchNetworkTunnelGroupRequest) PatchNetworkTunnelGroupRequestInner

func (r ApiPatchNetworkTunnelGroupRequest) PatchNetworkTunnelGroupRequestInner(patchNetworkTunnelGroupRequestInner []PatchNetworkTunnelGroupRequestInner) ApiPatchNetworkTunnelGroupRequest

Update the properties of the Network Tunnel Group.

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Bgp

type Bgp struct {
	// The BGP autonomous system (AS) number.
	AsNumber *string `json:"asNumber,omitempty"`
	// The list of BGP peer IP addresses.
	PeerIPs []string `json:"peerIPs,omitempty"`
	// The range of BGP peer addresses.
	PeerRange            *string `json:"peerRange,omitempty"`
	AdditionalProperties map[string]interface{}
}

Bgp struct for Bgp

func NewBgp

func NewBgp() *Bgp

NewBgp instantiates a new Bgp 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 NewBgpWithDefaults

func NewBgpWithDefaults() *Bgp

NewBgpWithDefaults instantiates a new Bgp 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 (*Bgp) GetAsNumber

func (o *Bgp) GetAsNumber() string

GetAsNumber returns the AsNumber field value if set, zero value otherwise.

func (*Bgp) GetAsNumberOk

func (o *Bgp) GetAsNumberOk() (*string, bool)

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

func (*Bgp) GetPeerIPs

func (o *Bgp) GetPeerIPs() []string

GetPeerIPs returns the PeerIPs field value if set, zero value otherwise.

func (*Bgp) GetPeerIPsOk

func (o *Bgp) GetPeerIPsOk() ([]string, bool)

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

func (*Bgp) GetPeerRange

func (o *Bgp) GetPeerRange() string

GetPeerRange returns the PeerRange field value if set, zero value otherwise.

func (*Bgp) GetPeerRangeOk

func (o *Bgp) GetPeerRangeOk() (*string, bool)

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

func (*Bgp) HasAsNumber

func (o *Bgp) HasAsNumber() bool

HasAsNumber returns a boolean if a field has been set.

func (*Bgp) HasPeerIPs

func (o *Bgp) HasPeerIPs() bool

HasPeerIPs returns a boolean if a field has been set.

func (*Bgp) HasPeerRange

func (o *Bgp) HasPeerRange() bool

HasPeerRange returns a boolean if a field has been set.

func (Bgp) MarshalJSON

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

func (*Bgp) SetAsNumber

func (o *Bgp) SetAsNumber(v string)

SetAsNumber gets a reference to the given string and assigns it to the AsNumber field.

func (*Bgp) SetPeerIPs

func (o *Bgp) SetPeerIPs(v []string)

SetPeerIPs gets a reference to the given []string and assigns it to the PeerIPs field.

func (*Bgp) SetPeerRange

func (o *Bgp) SetPeerRange(v string)

SetPeerRange gets a reference to the given string and assigns it to the PeerRange field.

func (Bgp) ToMap

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

func (*Bgp) UnmarshalJSON

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

type BgpDataRequestObj

type BgpDataRequestObj struct {
	// The border gateway protocol (BGP) autonomous system (AS) number for private access network tunnels. Only required for the `bgp` routing type. Any other routing types except `bgp` are ignored. Specify an integer between 0–65536.
	AsNumber             string `json:"asNumber"`
	AdditionalProperties map[string]interface{}
}

BgpDataRequestObj The autonomous system (AS) number for the private access tunnels.

func NewBgpDataRequestObj

func NewBgpDataRequestObj(asNumber string) *BgpDataRequestObj

NewBgpDataRequestObj instantiates a new BgpDataRequestObj 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 NewBgpDataRequestObjWithDefaults

func NewBgpDataRequestObjWithDefaults() *BgpDataRequestObj

NewBgpDataRequestObjWithDefaults instantiates a new BgpDataRequestObj 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 (*BgpDataRequestObj) GetAsNumber

func (o *BgpDataRequestObj) GetAsNumber() string

GetAsNumber returns the AsNumber field value

func (*BgpDataRequestObj) GetAsNumberOk

func (o *BgpDataRequestObj) GetAsNumberOk() (*string, bool)

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

func (BgpDataRequestObj) MarshalJSON

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

func (*BgpDataRequestObj) SetAsNumber

func (o *BgpDataRequestObj) SetAsNumber(v string)

SetAsNumber sets field value

func (BgpDataRequestObj) ToMap

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

func (*BgpDataRequestObj) UnmarshalJSON

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

type BgpDataResponseObj

type BgpDataResponseObj struct {
	// The border gateway protocol (BGP) autonomous system (AS) number for private access network tunnels. Only required for the `bgp` routing type. Any other routing types except `bgp` are ignored. Specify an integer between 0–65536.
	AsNumber             string `json:"asNumber"`
	AdditionalProperties map[string]interface{}
}

BgpDataResponseObj The autonomous system (AS) number for the private access tunnels.

func NewBgpDataResponseObj

func NewBgpDataResponseObj(asNumber string) *BgpDataResponseObj

NewBgpDataResponseObj instantiates a new BgpDataResponseObj 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 NewBgpDataResponseObjWithDefaults

func NewBgpDataResponseObjWithDefaults() *BgpDataResponseObj

NewBgpDataResponseObjWithDefaults instantiates a new BgpDataResponseObj 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 (*BgpDataResponseObj) GetAsNumber

func (o *BgpDataResponseObj) GetAsNumber() string

GetAsNumber returns the AsNumber field value

func (*BgpDataResponseObj) GetAsNumberOk

func (o *BgpDataResponseObj) GetAsNumberOk() (*string, bool)

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

func (BgpDataResponseObj) MarshalJSON

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

func (*BgpDataResponseObj) SetAsNumber

func (o *BgpDataResponseObj) SetAsNumber(v string)

SetAsNumber sets field value

func (BgpDataResponseObj) ToMap

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

func (*BgpDataResponseObj) UnmarshalJSON

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

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type Datacenter

type Datacenter struct {
	// The name of the data center for the Hub.
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

Datacenter struct for Datacenter

func NewDatacenter

func NewDatacenter() *Datacenter

NewDatacenter instantiates a new Datacenter 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 NewDatacenterWithDefaults

func NewDatacenterWithDefaults() *Datacenter

NewDatacenterWithDefaults instantiates a new Datacenter 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 (*Datacenter) GetName

func (o *Datacenter) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Datacenter) GetNameOk

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

func (o *Datacenter) HasName() bool

HasName returns a boolean if a field has been set.

func (Datacenter) MarshalJSON

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

func (*Datacenter) SetName

func (o *Datacenter) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (Datacenter) ToMap

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

func (*Datacenter) UnmarshalJSON

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

type DatacenterWithIP

type DatacenterWithIP struct {
	// The name of the data center for the Hub.
	Name *string `json:"name,omitempty"`
	// The IP address of the data center for the Hub.
	Ip                   *string `json:"ip,omitempty"`
	AdditionalProperties map[string]interface{}
}

DatacenterWithIP struct for DatacenterWithIP

func NewDatacenterWithIP

func NewDatacenterWithIP() *DatacenterWithIP

NewDatacenterWithIP instantiates a new DatacenterWithIP 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 NewDatacenterWithIPWithDefaults

func NewDatacenterWithIPWithDefaults() *DatacenterWithIP

NewDatacenterWithIPWithDefaults instantiates a new DatacenterWithIP 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 (*DatacenterWithIP) GetIp

func (o *DatacenterWithIP) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*DatacenterWithIP) GetIpOk

func (o *DatacenterWithIP) GetIpOk() (*string, bool)

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

func (*DatacenterWithIP) GetName

func (o *DatacenterWithIP) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*DatacenterWithIP) GetNameOk

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

func (o *DatacenterWithIP) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*DatacenterWithIP) HasName

func (o *DatacenterWithIP) HasName() bool

HasName returns a boolean if a field has been set.

func (DatacenterWithIP) MarshalJSON

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

func (*DatacenterWithIP) SetIp

func (o *DatacenterWithIP) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*DatacenterWithIP) SetName

func (o *DatacenterWithIP) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (DatacenterWithIP) ToMap

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

func (*DatacenterWithIP) UnmarshalJSON

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

type DeviceType

type DeviceType string

DeviceType The type of device that establishes the network tunnel. The default value is `other`.

const (
	ASA            DeviceType = "ASA"
	FTD            DeviceType = "FTD"
	ISR            DeviceType = "ISR"
	MERAKI_MX      DeviceType = "Meraki MX"
	VIPTELA_C_EDGE DeviceType = "Viptela cEdge"
	VIPTELA_V_EDGE DeviceType = "Viptela vEdge"
	OTHER          DeviceType = "other"
)

List of deviceType

func NewDeviceTypeFromValue

func NewDeviceTypeFromValue(v string) (*DeviceType, error)

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

func (DeviceType) IsValid

func (v DeviceType) IsValid() bool

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

func (DeviceType) Ptr

func (v DeviceType) Ptr() *DeviceType

Ptr returns reference to deviceType value

func (*DeviceType) UnmarshalJSON

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

type Error400BulkStates

type Error400BulkStates struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string                             `json:"requestId,omitempty"`
	ValidationErrors     *Error400BulkStatesValidationErrors `json:"validationErrors,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400BulkStates struct for Error400BulkStates

func NewError400BulkStates

func NewError400BulkStates() *Error400BulkStates

NewError400BulkStates instantiates a new Error400BulkStates 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 NewError400BulkStatesWithDefaults

func NewError400BulkStatesWithDefaults() *Error400BulkStates

NewError400BulkStatesWithDefaults instantiates a new Error400BulkStates 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 (*Error400BulkStates) GetError

func (o *Error400BulkStates) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error400BulkStates) GetErrorOk

func (o *Error400BulkStates) GetErrorOk() (*string, bool)

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

func (*Error400BulkStates) GetRequestId

func (o *Error400BulkStates) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error400BulkStates) GetRequestIdOk

func (o *Error400BulkStates) GetRequestIdOk() (*string, bool)

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

func (*Error400BulkStates) GetValidationErrors

func (o *Error400BulkStates) GetValidationErrors() Error400BulkStatesValidationErrors

GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.

func (*Error400BulkStates) GetValidationErrorsOk

func (o *Error400BulkStates) GetValidationErrorsOk() (*Error400BulkStatesValidationErrors, bool)

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

func (*Error400BulkStates) HasError

func (o *Error400BulkStates) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error400BulkStates) HasRequestId

func (o *Error400BulkStates) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Error400BulkStates) HasValidationErrors

func (o *Error400BulkStates) HasValidationErrors() bool

HasValidationErrors returns a boolean if a field has been set.

func (Error400BulkStates) MarshalJSON

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

func (*Error400BulkStates) SetError

func (o *Error400BulkStates) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error400BulkStates) SetRequestId

func (o *Error400BulkStates) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*Error400BulkStates) SetValidationErrors

func (o *Error400BulkStates) SetValidationErrors(v Error400BulkStatesValidationErrors)

SetValidationErrors gets a reference to the given Error400BulkStatesValidationErrors and assigns it to the ValidationErrors field.

func (Error400BulkStates) ToMap

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

func (*Error400BulkStates) UnmarshalJSON

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

type Error400BulkStatesValidationErrors

type Error400BulkStatesValidationErrors struct {
	// Indicates the problem with the limit.
	Limit *string `json:"limit,omitempty"`
	// Indicates the problem with the offset.
	Offset *string `json:"offset,omitempty"`
	// Indicates the problem with the sortBy.
	SortBy *string `json:"sortBy,omitempty"`
	// Indicates the problem with the sortOrder.
	SortOrder            *string `json:"sortOrder,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400BulkStatesValidationErrors struct for Error400BulkStatesValidationErrors

func NewError400BulkStatesValidationErrors

func NewError400BulkStatesValidationErrors() *Error400BulkStatesValidationErrors

NewError400BulkStatesValidationErrors instantiates a new Error400BulkStatesValidationErrors 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 NewError400BulkStatesValidationErrorsWithDefaults

func NewError400BulkStatesValidationErrorsWithDefaults() *Error400BulkStatesValidationErrors

NewError400BulkStatesValidationErrorsWithDefaults instantiates a new Error400BulkStatesValidationErrors 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 (*Error400BulkStatesValidationErrors) GetLimit

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Error400BulkStatesValidationErrors) GetLimitOk

func (o *Error400BulkStatesValidationErrors) GetLimitOk() (*string, bool)

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

func (*Error400BulkStatesValidationErrors) GetOffset

GetOffset returns the Offset field value if set, zero value otherwise.

func (*Error400BulkStatesValidationErrors) GetOffsetOk

func (o *Error400BulkStatesValidationErrors) GetOffsetOk() (*string, bool)

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

func (*Error400BulkStatesValidationErrors) GetSortBy

GetSortBy returns the SortBy field value if set, zero value otherwise.

func (*Error400BulkStatesValidationErrors) GetSortByOk

func (o *Error400BulkStatesValidationErrors) GetSortByOk() (*string, bool)

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

func (*Error400BulkStatesValidationErrors) GetSortOrder

func (o *Error400BulkStatesValidationErrors) GetSortOrder() string

GetSortOrder returns the SortOrder field value if set, zero value otherwise.

func (*Error400BulkStatesValidationErrors) GetSortOrderOk

func (o *Error400BulkStatesValidationErrors) GetSortOrderOk() (*string, bool)

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

func (*Error400BulkStatesValidationErrors) HasLimit

HasLimit returns a boolean if a field has been set.

func (*Error400BulkStatesValidationErrors) HasOffset

HasOffset returns a boolean if a field has been set.

func (*Error400BulkStatesValidationErrors) HasSortBy

HasSortBy returns a boolean if a field has been set.

func (*Error400BulkStatesValidationErrors) HasSortOrder

func (o *Error400BulkStatesValidationErrors) HasSortOrder() bool

HasSortOrder returns a boolean if a field has been set.

func (Error400BulkStatesValidationErrors) MarshalJSON

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

func (*Error400BulkStatesValidationErrors) SetLimit

SetLimit gets a reference to the given string and assigns it to the Limit field.

func (*Error400BulkStatesValidationErrors) SetOffset

SetOffset gets a reference to the given string and assigns it to the Offset field.

func (*Error400BulkStatesValidationErrors) SetSortBy

SetSortBy gets a reference to the given string and assigns it to the SortBy field.

func (*Error400BulkStatesValidationErrors) SetSortOrder

func (o *Error400BulkStatesValidationErrors) SetSortOrder(v string)

SetSortOrder gets a reference to the given string and assigns it to the SortOrder field.

func (Error400BulkStatesValidationErrors) ToMap

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

func (*Error400BulkStatesValidationErrors) UnmarshalJSON

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

type Error400ListError

type Error400ListError struct {
	Error400ListOneOf *Error400ListOneOf
}

Error400ListError - struct for Error400ListError

func Error400ListOneOfAsError400ListError

func Error400ListOneOfAsError400ListError(v *Error400ListOneOf) Error400ListError

Error400ListOneOfAsError400ListError is a convenience function that returns Error400ListOneOf wrapped in Error400ListError

func (*Error400ListError) GetActualInstance

func (obj *Error400ListError) GetActualInstance() interface{}

Get the actual instance

func (Error400ListError) MarshalJSON

func (src Error400ListError) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Error400ListError) UnmarshalJSON

func (dst *Error400ListError) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Error400ListOneOf

type Error400ListOneOf struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string                      `json:"requestId,omitempty"`
	ValidationErrors     *Error400ListOneOfValidation `json:"validationErrors,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400ListOneOf struct for Error400ListOneOf

func NewError400ListOneOf

func NewError400ListOneOf() *Error400ListOneOf

NewError400ListOneOf instantiates a new Error400ListOneOf 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 NewError400ListOneOfWithDefaults

func NewError400ListOneOfWithDefaults() *Error400ListOneOf

NewError400ListOneOfWithDefaults instantiates a new Error400ListOneOf 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 (*Error400ListOneOf) GetError

func (o *Error400ListOneOf) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error400ListOneOf) GetErrorOk

func (o *Error400ListOneOf) GetErrorOk() (*string, bool)

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

func (*Error400ListOneOf) GetRequestId

func (o *Error400ListOneOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error400ListOneOf) GetRequestIdOk

func (o *Error400ListOneOf) GetRequestIdOk() (*string, bool)

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

func (*Error400ListOneOf) GetValidationErrors

func (o *Error400ListOneOf) GetValidationErrors() Error400ListOneOfValidation

GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.

func (*Error400ListOneOf) GetValidationErrorsOk

func (o *Error400ListOneOf) GetValidationErrorsOk() (*Error400ListOneOfValidation, bool)

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

func (*Error400ListOneOf) HasError

func (o *Error400ListOneOf) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error400ListOneOf) HasRequestId

func (o *Error400ListOneOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Error400ListOneOf) HasValidationErrors

func (o *Error400ListOneOf) HasValidationErrors() bool

HasValidationErrors returns a boolean if a field has been set.

func (Error400ListOneOf) MarshalJSON

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

func (*Error400ListOneOf) SetError

func (o *Error400ListOneOf) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error400ListOneOf) SetRequestId

func (o *Error400ListOneOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*Error400ListOneOf) SetValidationErrors

func (o *Error400ListOneOf) SetValidationErrors(v Error400ListOneOfValidation)

SetValidationErrors gets a reference to the given Error400ListOneOfValidation and assigns it to the ValidationErrors field.

func (Error400ListOneOf) ToMap

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

func (*Error400ListOneOf) UnmarshalJSON

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

type Error400ListOneOfValidation

type Error400ListOneOfValidation struct {
	// Indicates the problem with the limit.
	Limit *string `json:"limit,omitempty"`
	// Indicates the problem with the offset.
	Offset *string `json:"offset,omitempty"`
	// Indicates the problem with the sortBy.
	SortBy *string `json:"sortBy,omitempty"`
	// Indicates the problem with the sortOrder.
	AuthId               *string `json:"authId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400ListOneOfValidation struct for Error400ListOneOfValidation

func NewError400ListOneOfValidation

func NewError400ListOneOfValidation() *Error400ListOneOfValidation

NewError400ListOneOfValidation instantiates a new Error400ListOneOfValidation 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 NewError400ListOneOfValidationWithDefaults

func NewError400ListOneOfValidationWithDefaults() *Error400ListOneOfValidation

NewError400ListOneOfValidationWithDefaults instantiates a new Error400ListOneOfValidation 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 (*Error400ListOneOfValidation) GetAuthId

func (o *Error400ListOneOfValidation) GetAuthId() string

GetAuthId returns the AuthId field value if set, zero value otherwise.

func (*Error400ListOneOfValidation) GetAuthIdOk

func (o *Error400ListOneOfValidation) GetAuthIdOk() (*string, bool)

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

func (*Error400ListOneOfValidation) GetLimit

func (o *Error400ListOneOfValidation) GetLimit() string

GetLimit returns the Limit field value if set, zero value otherwise.

func (*Error400ListOneOfValidation) GetLimitOk

func (o *Error400ListOneOfValidation) GetLimitOk() (*string, bool)

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

func (*Error400ListOneOfValidation) GetOffset

func (o *Error400ListOneOfValidation) GetOffset() string

GetOffset returns the Offset field value if set, zero value otherwise.

func (*Error400ListOneOfValidation) GetOffsetOk

func (o *Error400ListOneOfValidation) GetOffsetOk() (*string, bool)

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

func (*Error400ListOneOfValidation) GetSortBy

func (o *Error400ListOneOfValidation) GetSortBy() string

GetSortBy returns the SortBy field value if set, zero value otherwise.

func (*Error400ListOneOfValidation) GetSortByOk

func (o *Error400ListOneOfValidation) GetSortByOk() (*string, bool)

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

func (*Error400ListOneOfValidation) HasAuthId

func (o *Error400ListOneOfValidation) HasAuthId() bool

HasAuthId returns a boolean if a field has been set.

func (*Error400ListOneOfValidation) HasLimit

func (o *Error400ListOneOfValidation) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*Error400ListOneOfValidation) HasOffset

func (o *Error400ListOneOfValidation) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*Error400ListOneOfValidation) HasSortBy

func (o *Error400ListOneOfValidation) HasSortBy() bool

HasSortBy returns a boolean if a field has been set.

func (Error400ListOneOfValidation) MarshalJSON

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

func (*Error400ListOneOfValidation) SetAuthId

func (o *Error400ListOneOfValidation) SetAuthId(v string)

SetAuthId gets a reference to the given string and assigns it to the AuthId field.

func (*Error400ListOneOfValidation) SetLimit

func (o *Error400ListOneOfValidation) SetLimit(v string)

SetLimit gets a reference to the given string and assigns it to the Limit field.

func (*Error400ListOneOfValidation) SetOffset

func (o *Error400ListOneOfValidation) SetOffset(v string)

SetOffset gets a reference to the given string and assigns it to the Offset field.

func (*Error400ListOneOfValidation) SetSortBy

func (o *Error400ListOneOfValidation) SetSortBy(v string)

SetSortBy gets a reference to the given string and assigns it to the SortBy field.

func (Error400ListOneOfValidation) ToMap

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

func (*Error400ListOneOfValidation) UnmarshalJSON

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

type Error400NTGIDError

type Error400NTGIDError struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400NTGIDError struct for Error400NTGIDError

func NewError400NTGIDError

func NewError400NTGIDError() *Error400NTGIDError

NewError400NTGIDError instantiates a new Error400NTGIDError 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 NewError400NTGIDErrorWithDefaults

func NewError400NTGIDErrorWithDefaults() *Error400NTGIDError

NewError400NTGIDErrorWithDefaults instantiates a new Error400NTGIDError 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 (*Error400NTGIDError) GetError

func (o *Error400NTGIDError) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error400NTGIDError) GetErrorOk

func (o *Error400NTGIDError) GetErrorOk() (*string, bool)

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

func (*Error400NTGIDError) GetRequestId

func (o *Error400NTGIDError) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error400NTGIDError) GetRequestIdOk

func (o *Error400NTGIDError) GetRequestIdOk() (*string, bool)

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

func (*Error400NTGIDError) HasError

func (o *Error400NTGIDError) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error400NTGIDError) HasRequestId

func (o *Error400NTGIDError) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error400NTGIDError) MarshalJSON

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

func (*Error400NTGIDError) SetError

func (o *Error400NTGIDError) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error400NTGIDError) SetRequestId

func (o *Error400NTGIDError) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error400NTGIDError) ToMap

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

func (*Error400NTGIDError) UnmarshalJSON

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

type Error400RegionsError

type Error400RegionsError struct {
	Error400RegionsOneOf *Error400RegionsOneOf
}

Error400RegionsError - struct for Error400RegionsError

func Error400RegionsOneOfAsError400RegionsError

func Error400RegionsOneOfAsError400RegionsError(v *Error400RegionsOneOf) Error400RegionsError

Error400RegionsOneOfAsError400RegionsError is a convenience function that returns Error400RegionsOneOf wrapped in Error400RegionsError

func (*Error400RegionsError) GetActualInstance

func (obj *Error400RegionsError) GetActualInstance() interface{}

Get the actual instance

func (Error400RegionsError) MarshalJSON

func (src Error400RegionsError) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Error400RegionsError) UnmarshalJSON

func (dst *Error400RegionsError) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Error400RegionsOneOf

type Error400RegionsOneOf struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string                               `json:"requestId,omitempty"`
	ValidationErrors     *Error400RegionsOneOfValidationErrors `json:"validationErrors,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400RegionsOneOf struct for Error400RegionsOneOf

func NewError400RegionsOneOf

func NewError400RegionsOneOf() *Error400RegionsOneOf

NewError400RegionsOneOf instantiates a new Error400RegionsOneOf 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 NewError400RegionsOneOfWithDefaults

func NewError400RegionsOneOfWithDefaults() *Error400RegionsOneOf

NewError400RegionsOneOfWithDefaults instantiates a new Error400RegionsOneOf 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 (*Error400RegionsOneOf) GetError

func (o *Error400RegionsOneOf) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error400RegionsOneOf) GetErrorOk

func (o *Error400RegionsOneOf) GetErrorOk() (*string, bool)

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

func (*Error400RegionsOneOf) GetRequestId

func (o *Error400RegionsOneOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error400RegionsOneOf) GetRequestIdOk

func (o *Error400RegionsOneOf) GetRequestIdOk() (*string, bool)

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

func (*Error400RegionsOneOf) GetValidationErrors

GetValidationErrors returns the ValidationErrors field value if set, zero value otherwise.

func (*Error400RegionsOneOf) GetValidationErrorsOk

func (o *Error400RegionsOneOf) GetValidationErrorsOk() (*Error400RegionsOneOfValidationErrors, bool)

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

func (*Error400RegionsOneOf) HasError

func (o *Error400RegionsOneOf) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error400RegionsOneOf) HasRequestId

func (o *Error400RegionsOneOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*Error400RegionsOneOf) HasValidationErrors

func (o *Error400RegionsOneOf) HasValidationErrors() bool

HasValidationErrors returns a boolean if a field has been set.

func (Error400RegionsOneOf) MarshalJSON

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

func (*Error400RegionsOneOf) SetError

func (o *Error400RegionsOneOf) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error400RegionsOneOf) SetRequestId

func (o *Error400RegionsOneOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*Error400RegionsOneOf) SetValidationErrors

SetValidationErrors gets a reference to the given Error400RegionsOneOfValidationErrors and assigns it to the ValidationErrors field.

func (Error400RegionsOneOf) ToMap

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

func (*Error400RegionsOneOf) UnmarshalJSON

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

type Error400RegionsOneOfValidationErrors

type Error400RegionsOneOfValidationErrors struct {
	// Indicates the problem with the peer IP in query param.
	PeerIP *string `json:"peerIP,omitempty"`
	// Indicates the problem with latitude.
	Latitude *string `json:"latitude,omitempty"`
	// Indicates the problem with longitude.
	Longitude            *string `json:"longitude,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400RegionsOneOfValidationErrors struct for Error400RegionsOneOfValidationErrors

func NewError400RegionsOneOfValidationErrors

func NewError400RegionsOneOfValidationErrors() *Error400RegionsOneOfValidationErrors

NewError400RegionsOneOfValidationErrors instantiates a new Error400RegionsOneOfValidationErrors 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 NewError400RegionsOneOfValidationErrorsWithDefaults

func NewError400RegionsOneOfValidationErrorsWithDefaults() *Error400RegionsOneOfValidationErrors

NewError400RegionsOneOfValidationErrorsWithDefaults instantiates a new Error400RegionsOneOfValidationErrors 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 (*Error400RegionsOneOfValidationErrors) GetLatitude

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*Error400RegionsOneOfValidationErrors) GetLatitudeOk

func (o *Error400RegionsOneOfValidationErrors) GetLatitudeOk() (*string, bool)

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

func (*Error400RegionsOneOfValidationErrors) GetLongitude

func (o *Error400RegionsOneOfValidationErrors) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*Error400RegionsOneOfValidationErrors) GetLongitudeOk

func (o *Error400RegionsOneOfValidationErrors) GetLongitudeOk() (*string, bool)

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

func (*Error400RegionsOneOfValidationErrors) GetPeerIP

GetPeerIP returns the PeerIP field value if set, zero value otherwise.

func (*Error400RegionsOneOfValidationErrors) GetPeerIPOk

func (o *Error400RegionsOneOfValidationErrors) GetPeerIPOk() (*string, bool)

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

func (*Error400RegionsOneOfValidationErrors) HasLatitude

func (o *Error400RegionsOneOfValidationErrors) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*Error400RegionsOneOfValidationErrors) HasLongitude

func (o *Error400RegionsOneOfValidationErrors) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*Error400RegionsOneOfValidationErrors) HasPeerIP

HasPeerIP returns a boolean if a field has been set.

func (Error400RegionsOneOfValidationErrors) MarshalJSON

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

func (*Error400RegionsOneOfValidationErrors) SetLatitude

func (o *Error400RegionsOneOfValidationErrors) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*Error400RegionsOneOfValidationErrors) SetLongitude

func (o *Error400RegionsOneOfValidationErrors) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*Error400RegionsOneOfValidationErrors) SetPeerIP

SetPeerIP gets a reference to the given string and assigns it to the PeerIP field.

func (Error400RegionsOneOfValidationErrors) ToMap

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

func (*Error400RegionsOneOfValidationErrors) UnmarshalJSON

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

type Error400ValidationError

type Error400ValidationError struct {
	Error400ValidationOneOf *Error400ValidationOneOf
}

Error400ValidationError - struct for Error400ValidationError

func Error400ValidationOneOfAsError400ValidationError

func Error400ValidationOneOfAsError400ValidationError(v *Error400ValidationOneOf) Error400ValidationError

Error400ValidationOneOfAsError400ValidationError is a convenience function that returns Error400ValidationOneOf wrapped in Error400ValidationError

func (*Error400ValidationError) GetActualInstance

func (obj *Error400ValidationError) GetActualInstance() interface{}

Get the actual instance

func (Error400ValidationError) MarshalJSON

func (src Error400ValidationError) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*Error400ValidationError) UnmarshalJSON

func (dst *Error400ValidationError) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type Error400ValidationOneOf

type Error400ValidationOneOf struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400ValidationOneOf struct for Error400ValidationOneOf

func NewError400ValidationOneOf

func NewError400ValidationOneOf() *Error400ValidationOneOf

NewError400ValidationOneOf instantiates a new Error400ValidationOneOf 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 NewError400ValidationOneOfWithDefaults

func NewError400ValidationOneOfWithDefaults() *Error400ValidationOneOf

NewError400ValidationOneOfWithDefaults instantiates a new Error400ValidationOneOf 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 (*Error400ValidationOneOf) GetError

func (o *Error400ValidationOneOf) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error400ValidationOneOf) GetErrorOk

func (o *Error400ValidationOneOf) GetErrorOk() (*string, bool)

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

func (*Error400ValidationOneOf) GetRequestId

func (o *Error400ValidationOneOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error400ValidationOneOf) GetRequestIdOk

func (o *Error400ValidationOneOf) GetRequestIdOk() (*string, bool)

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

func (*Error400ValidationOneOf) HasError

func (o *Error400ValidationOneOf) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error400ValidationOneOf) HasRequestId

func (o *Error400ValidationOneOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error400ValidationOneOf) MarshalJSON

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

func (*Error400ValidationOneOf) SetError

func (o *Error400ValidationOneOf) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error400ValidationOneOf) SetRequestId

func (o *Error400ValidationOneOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error400ValidationOneOf) ToMap

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

func (*Error400ValidationOneOf) UnmarshalJSON

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

type Error400ValidationOneOfValidationErrors

type Error400ValidationOneOfValidationErrors struct {
	// Indicates the problem with the tunnel name.
	Name *string `json:"name,omitempty"`
	// Indicates the problem with the region.
	Region *string `json:"region,omitempty"`
	// Indicates the problem with the device type.
	DeviceType *string `json:"deviceType,omitempty"`
	// Indicates the problem with the tunnel auth ID.
	AuthId *string `json:"authId,omitempty"`
	// Indicates the problem with the passphrase.
	Passphrase *string `json:"passphrase,omitempty"`
	// Indicates the problem with the routing.
	Routing              *string `json:"routing,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error400ValidationOneOfValidationErrors struct for Error400ValidationOneOfValidationErrors

func NewError400ValidationOneOfValidationErrors

func NewError400ValidationOneOfValidationErrors() *Error400ValidationOneOfValidationErrors

NewError400ValidationOneOfValidationErrors instantiates a new Error400ValidationOneOfValidationErrors 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 NewError400ValidationOneOfValidationErrorsWithDefaults

func NewError400ValidationOneOfValidationErrorsWithDefaults() *Error400ValidationOneOfValidationErrors

NewError400ValidationOneOfValidationErrorsWithDefaults instantiates a new Error400ValidationOneOfValidationErrors 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 (*Error400ValidationOneOfValidationErrors) GetAuthId

GetAuthId returns the AuthId field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetAuthIdOk

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

func (*Error400ValidationOneOfValidationErrors) GetDeviceType

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetDeviceTypeOk

func (o *Error400ValidationOneOfValidationErrors) GetDeviceTypeOk() (*string, bool)

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

func (*Error400ValidationOneOfValidationErrors) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetNameOk

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 (*Error400ValidationOneOfValidationErrors) GetPassphrase

GetPassphrase returns the Passphrase field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetPassphraseOk

func (o *Error400ValidationOneOfValidationErrors) GetPassphraseOk() (*string, bool)

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

func (*Error400ValidationOneOfValidationErrors) GetRegion

GetRegion returns the Region field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetRegionOk

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

func (*Error400ValidationOneOfValidationErrors) GetRouting

GetRouting returns the Routing field value if set, zero value otherwise.

func (*Error400ValidationOneOfValidationErrors) GetRoutingOk

func (o *Error400ValidationOneOfValidationErrors) GetRoutingOk() (*string, bool)

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

func (*Error400ValidationOneOfValidationErrors) HasAuthId

HasAuthId returns a boolean if a field has been set.

func (*Error400ValidationOneOfValidationErrors) HasDeviceType

func (o *Error400ValidationOneOfValidationErrors) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*Error400ValidationOneOfValidationErrors) HasName

HasName returns a boolean if a field has been set.

func (*Error400ValidationOneOfValidationErrors) HasPassphrase

func (o *Error400ValidationOneOfValidationErrors) HasPassphrase() bool

HasPassphrase returns a boolean if a field has been set.

func (*Error400ValidationOneOfValidationErrors) HasRegion

HasRegion returns a boolean if a field has been set.

func (*Error400ValidationOneOfValidationErrors) HasRouting

HasRouting returns a boolean if a field has been set.

func (Error400ValidationOneOfValidationErrors) MarshalJSON

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

func (*Error400ValidationOneOfValidationErrors) SetAuthId

SetAuthId gets a reference to the given string and assigns it to the AuthId field.

func (*Error400ValidationOneOfValidationErrors) SetDeviceType

func (o *Error400ValidationOneOfValidationErrors) SetDeviceType(v string)

SetDeviceType gets a reference to the given string and assigns it to the DeviceType field.

func (*Error400ValidationOneOfValidationErrors) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*Error400ValidationOneOfValidationErrors) SetPassphrase

func (o *Error400ValidationOneOfValidationErrors) SetPassphrase(v string)

SetPassphrase gets a reference to the given string and assigns it to the Passphrase field.

func (*Error400ValidationOneOfValidationErrors) SetRegion

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*Error400ValidationOneOfValidationErrors) SetRouting

SetRouting gets a reference to the given string and assigns it to the Routing field.

func (Error400ValidationOneOfValidationErrors) ToMap

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

func (*Error400ValidationOneOfValidationErrors) UnmarshalJSON

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

type Error401

type Error401 struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error401 struct for Error401

func NewError401

func NewError401() *Error401

NewError401 instantiates a new Error401 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 NewError401WithDefaults

func NewError401WithDefaults() *Error401

NewError401WithDefaults instantiates a new Error401 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 (*Error401) GetError

func (o *Error401) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error401) GetErrorOk

func (o *Error401) GetErrorOk() (*string, bool)

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

func (*Error401) GetRequestId

func (o *Error401) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error401) GetRequestIdOk

func (o *Error401) GetRequestIdOk() (*string, bool)

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

func (*Error401) HasError

func (o *Error401) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error401) HasRequestId

func (o *Error401) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error401) MarshalJSON

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

func (*Error401) SetError

func (o *Error401) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error401) SetRequestId

func (o *Error401) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error401) ToMap

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

func (*Error401) UnmarshalJSON

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

type Error403

type Error403 struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error403 struct for Error403

func NewError403

func NewError403() *Error403

NewError403 instantiates a new Error403 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 NewError403WithDefaults

func NewError403WithDefaults() *Error403

NewError403WithDefaults instantiates a new Error403 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 (*Error403) GetError

func (o *Error403) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error403) GetErrorOk

func (o *Error403) GetErrorOk() (*string, bool)

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

func (*Error403) GetRequestId

func (o *Error403) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error403) GetRequestIdOk

func (o *Error403) GetRequestIdOk() (*string, bool)

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

func (*Error403) HasError

func (o *Error403) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error403) HasRequestId

func (o *Error403) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error403) MarshalJSON

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

func (*Error403) SetError

func (o *Error403) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error403) SetRequestId

func (o *Error403) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error403) ToMap

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

func (*Error403) UnmarshalJSON

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

type Error404

type Error404 struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error404 struct for Error404

func NewError404

func NewError404() *Error404

NewError404 instantiates a new Error404 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 NewError404WithDefaults

func NewError404WithDefaults() *Error404

NewError404WithDefaults instantiates a new Error404 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 (*Error404) GetError

func (o *Error404) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error404) GetErrorOk

func (o *Error404) GetErrorOk() (*string, bool)

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

func (*Error404) GetRequestId

func (o *Error404) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error404) GetRequestIdOk

func (o *Error404) GetRequestIdOk() (*string, bool)

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

func (*Error404) HasError

func (o *Error404) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error404) HasRequestId

func (o *Error404) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error404) MarshalJSON

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

func (*Error404) SetError

func (o *Error404) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error404) SetRequestId

func (o *Error404) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error404) ToMap

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

func (*Error404) UnmarshalJSON

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

type Error409

type Error409 struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error409 struct for Error409

func NewError409

func NewError409() *Error409

NewError409 instantiates a new Error409 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 NewError409WithDefaults

func NewError409WithDefaults() *Error409

NewError409WithDefaults instantiates a new Error409 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 (*Error409) GetError

func (o *Error409) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error409) GetErrorOk

func (o *Error409) GetErrorOk() (*string, bool)

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

func (*Error409) GetRequestId

func (o *Error409) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error409) GetRequestIdOk

func (o *Error409) GetRequestIdOk() (*string, bool)

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

func (*Error409) HasError

func (o *Error409) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error409) HasRequestId

func (o *Error409) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error409) MarshalJSON

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

func (*Error409) SetError

func (o *Error409) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error409) SetRequestId

func (o *Error409) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error409) ToMap

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

func (*Error409) UnmarshalJSON

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

type Error500

type Error500 struct {
	// Error message explaining the reason for failure.
	Error *string `json:"error,omitempty"`
	// The ID of the request.
	RequestId            *string `json:"requestId,omitempty"`
	AdditionalProperties map[string]interface{}
}

Error500 struct for Error500

func NewError500

func NewError500() *Error500

NewError500 instantiates a new Error500 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 NewError500WithDefaults

func NewError500WithDefaults() *Error500

NewError500WithDefaults instantiates a new Error500 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 (*Error500) GetError

func (o *Error500) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*Error500) GetErrorOk

func (o *Error500) GetErrorOk() (*string, bool)

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

func (*Error500) GetRequestId

func (o *Error500) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*Error500) GetRequestIdOk

func (o *Error500) GetRequestIdOk() (*string, bool)

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

func (*Error500) HasError

func (o *Error500) HasError() bool

HasError returns a boolean if a field has been set.

func (*Error500) HasRequestId

func (o *Error500) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (Error500) MarshalJSON

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

func (*Error500) SetError

func (o *Error500) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*Error500) SetRequestId

func (o *Error500) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (Error500) ToMap

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

func (*Error500) UnmarshalJSON

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

type FiltersNTGsObject

type FiltersNTGsObject struct {
	// The name of a Network Tunnel Group. The value of `name` is a sequence of case-insensitive characters.
	Name *string `json:"name,omitempty"`
	// The sequence of case-insensitive characters that exactly match the name of the Network Tunnel Group. When `exactName` is included as a filter, `name` is ignored.
	ExactName *string `json:"exactName,omitempty"`
	// The region for the Network Tunnel Group. The value of `region` is a sequence of case-insensitive characters.
	Region *string `json:"region,omitempty"`
	// The comma-separated list of Network Tunnel Group IDs.
	NetworkTunnelGroupIds *string `json:"networkTunnelGroupIds,omitempty"`
	// The case-sensitive value of the auth ID prefix (`authIdPrefix`) or IP for the network tunnel Hub.
	ExactAuthIdPrefix *string `json:"exactAuthIdPrefix,omitempty"`
	Status            *Status `json:"status,omitempty"`
	// List the network tunnel groups that have duplicate CIDRs. Provide the CIDRs and optionally provide the regional scope and region properties. If the regional scope is enabled, only duplicates in the same region are found. You can not use the `duplicateCIDRs` filter with any other filter.
	DuplicateCIDRs       *string `json:"duplicateCIDRs,omitempty"`
	AdditionalProperties map[string]interface{}
}

FiltersNTGsObject The filters for the Network Tunnel Groups.

func NewFiltersNTGsObject

func NewFiltersNTGsObject() *FiltersNTGsObject

NewFiltersNTGsObject instantiates a new FiltersNTGsObject 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 NewFiltersNTGsObjectWithDefaults

func NewFiltersNTGsObjectWithDefaults() *FiltersNTGsObject

NewFiltersNTGsObjectWithDefaults instantiates a new FiltersNTGsObject 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 (*FiltersNTGsObject) GetDuplicateCIDRs

func (o *FiltersNTGsObject) GetDuplicateCIDRs() string

GetDuplicateCIDRs returns the DuplicateCIDRs field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetDuplicateCIDRsOk

func (o *FiltersNTGsObject) GetDuplicateCIDRsOk() (*string, bool)

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

func (*FiltersNTGsObject) GetExactAuthIdPrefix

func (o *FiltersNTGsObject) GetExactAuthIdPrefix() string

GetExactAuthIdPrefix returns the ExactAuthIdPrefix field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetExactAuthIdPrefixOk

func (o *FiltersNTGsObject) GetExactAuthIdPrefixOk() (*string, bool)

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

func (*FiltersNTGsObject) GetExactName

func (o *FiltersNTGsObject) GetExactName() string

GetExactName returns the ExactName field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetExactNameOk

func (o *FiltersNTGsObject) GetExactNameOk() (*string, bool)

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

func (*FiltersNTGsObject) GetName

func (o *FiltersNTGsObject) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetNameOk

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

func (o *FiltersNTGsObject) GetNetworkTunnelGroupIds() string

GetNetworkTunnelGroupIds returns the NetworkTunnelGroupIds field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetNetworkTunnelGroupIdsOk

func (o *FiltersNTGsObject) GetNetworkTunnelGroupIdsOk() (*string, bool)

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

func (*FiltersNTGsObject) GetRegion

func (o *FiltersNTGsObject) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetRegionOk

func (o *FiltersNTGsObject) GetRegionOk() (*string, bool)

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

func (*FiltersNTGsObject) GetStatus

func (o *FiltersNTGsObject) GetStatus() Status

GetStatus returns the Status field value if set, zero value otherwise.

func (*FiltersNTGsObject) GetStatusOk

func (o *FiltersNTGsObject) GetStatusOk() (*Status, bool)

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

func (*FiltersNTGsObject) HasDuplicateCIDRs

func (o *FiltersNTGsObject) HasDuplicateCIDRs() bool

HasDuplicateCIDRs returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasExactAuthIdPrefix

func (o *FiltersNTGsObject) HasExactAuthIdPrefix() bool

HasExactAuthIdPrefix returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasExactName

func (o *FiltersNTGsObject) HasExactName() bool

HasExactName returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasName

func (o *FiltersNTGsObject) HasName() bool

HasName returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasNetworkTunnelGroupIds

func (o *FiltersNTGsObject) HasNetworkTunnelGroupIds() bool

HasNetworkTunnelGroupIds returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasRegion

func (o *FiltersNTGsObject) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*FiltersNTGsObject) HasStatus

func (o *FiltersNTGsObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FiltersNTGsObject) MarshalJSON

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

func (*FiltersNTGsObject) SetDuplicateCIDRs

func (o *FiltersNTGsObject) SetDuplicateCIDRs(v string)

SetDuplicateCIDRs gets a reference to the given string and assigns it to the DuplicateCIDRs field.

func (*FiltersNTGsObject) SetExactAuthIdPrefix

func (o *FiltersNTGsObject) SetExactAuthIdPrefix(v string)

SetExactAuthIdPrefix gets a reference to the given string and assigns it to the ExactAuthIdPrefix field.

func (*FiltersNTGsObject) SetExactName

func (o *FiltersNTGsObject) SetExactName(v string)

SetExactName gets a reference to the given string and assigns it to the ExactName field.

func (*FiltersNTGsObject) SetName

func (o *FiltersNTGsObject) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*FiltersNTGsObject) SetNetworkTunnelGroupIds

func (o *FiltersNTGsObject) SetNetworkTunnelGroupIds(v string)

SetNetworkTunnelGroupIds gets a reference to the given string and assigns it to the NetworkTunnelGroupIds field.

func (*FiltersNTGsObject) SetRegion

func (o *FiltersNTGsObject) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*FiltersNTGsObject) SetStatus

func (o *FiltersNTGsObject) SetStatus(v Status)

SetStatus gets a reference to the given Status and assigns it to the Status field.

func (FiltersNTGsObject) ToMap

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

func (*FiltersNTGsObject) UnmarshalJSON

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

type FiltersRegionsObject

type FiltersRegionsObject struct {
	// Provide the public IP address of a peer (tunnel). List the regions sorted in ascending order and based on the regional distances from the geolocation of the provided peer IP. Only a public IP is allowed as the value of `peerIP`. `peerIP` is ignored if you provide `latitude` and `longitude`.</br> **Note:** If you set the `latitude` and `longitude` filters, the `peerIP` filter is ignored.
	PeerIP *string `json:"peerIP,omitempty"`
	// List the regions in ascending order based on the distance of the regions from the provided coordinates. **Note:** Set both the `latitude` and `longitude` filters together.
	Latitude *string `json:"latitude,omitempty"`
	// List the regions in ascending order based on the distance of the regions from the provided coordinates.
	Longitude *string `json:"longitude,omitempty"`
	// Specify either all regions or only the regions that can accept new tunnels. Set the value of the `status` filter as `all` or `available`. The default value is `available`.
	Status               *string `json:"status,omitempty"`
	AdditionalProperties map[string]interface{}
}

FiltersRegionsObject The filters for the regions of the Network Tunnel Groups. You can set either the `peerIP` filter or both the `latitude` and `longitude` filters.

func NewFiltersRegionsObject

func NewFiltersRegionsObject() *FiltersRegionsObject

NewFiltersRegionsObject instantiates a new FiltersRegionsObject 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 NewFiltersRegionsObjectWithDefaults

func NewFiltersRegionsObjectWithDefaults() *FiltersRegionsObject

NewFiltersRegionsObjectWithDefaults instantiates a new FiltersRegionsObject 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 (*FiltersRegionsObject) GetLatitude

func (o *FiltersRegionsObject) GetLatitude() string

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*FiltersRegionsObject) GetLatitudeOk

func (o *FiltersRegionsObject) GetLatitudeOk() (*string, bool)

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

func (*FiltersRegionsObject) GetLongitude

func (o *FiltersRegionsObject) GetLongitude() string

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*FiltersRegionsObject) GetLongitudeOk

func (o *FiltersRegionsObject) GetLongitudeOk() (*string, bool)

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

func (*FiltersRegionsObject) GetPeerIP

func (o *FiltersRegionsObject) GetPeerIP() string

GetPeerIP returns the PeerIP field value if set, zero value otherwise.

func (*FiltersRegionsObject) GetPeerIPOk

func (o *FiltersRegionsObject) GetPeerIPOk() (*string, bool)

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

func (*FiltersRegionsObject) GetStatus

func (o *FiltersRegionsObject) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*FiltersRegionsObject) GetStatusOk

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

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

func (*FiltersRegionsObject) HasLatitude

func (o *FiltersRegionsObject) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*FiltersRegionsObject) HasLongitude

func (o *FiltersRegionsObject) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*FiltersRegionsObject) HasPeerIP

func (o *FiltersRegionsObject) HasPeerIP() bool

HasPeerIP returns a boolean if a field has been set.

func (*FiltersRegionsObject) HasStatus

func (o *FiltersRegionsObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (FiltersRegionsObject) MarshalJSON

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

func (*FiltersRegionsObject) SetLatitude

func (o *FiltersRegionsObject) SetLatitude(v string)

SetLatitude gets a reference to the given string and assigns it to the Latitude field.

func (*FiltersRegionsObject) SetLongitude

func (o *FiltersRegionsObject) SetLongitude(v string)

SetLongitude gets a reference to the given string and assigns it to the Longitude field.

func (*FiltersRegionsObject) SetPeerIP

func (o *FiltersRegionsObject) SetPeerIP(v string)

SetPeerIP gets a reference to the given string and assigns it to the PeerIP field.

func (*FiltersRegionsObject) SetStatus

func (o *FiltersRegionsObject) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (FiltersRegionsObject) ToMap

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

func (*FiltersRegionsObject) UnmarshalJSON

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HubState

type HubState struct {
	// The date and time (UTC time, with milliseconds) when the state event record was generated.
	Time time.Time `json:"time"`
	// The high-level status of the Hub: * UP - The hub is active. * DOWN - The hub is inactive. * UNKNOWN - The current status is unknown and pending updated information.
	Status               string `json:"status"`
	AdditionalProperties map[string]interface{}
}

HubState The properties of a Hub for the Network Tunnel Group.

func NewHubState

func NewHubState(time time.Time, status string) *HubState

NewHubState instantiates a new HubState 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 NewHubStateWithDefaults

func NewHubStateWithDefaults() *HubState

NewHubStateWithDefaults instantiates a new HubState 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 (*HubState) GetStatus

func (o *HubState) GetStatus() string

GetStatus returns the Status field value

func (*HubState) GetStatusOk

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

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

func (*HubState) GetTime

func (o *HubState) GetTime() time.Time

GetTime returns the Time field value

func (*HubState) GetTimeOk

func (o *HubState) GetTimeOk() (*time.Time, bool)

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

func (HubState) MarshalJSON

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

func (*HubState) SetStatus

func (o *HubState) SetStatus(v string)

SetStatus sets field value

func (*HubState) SetTime

func (o *HubState) SetTime(v time.Time)

SetTime sets field value

func (HubState) ToMap

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

func (*HubState) UnmarshalJSON

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

type HubStatus

type HubStatus struct {
	// The status of the hub.
	Status *string `json:"status,omitempty"`
	// The date and time (timestamp) when the hub status was last reported.
	Time                 *time.Time `json:"time,omitempty"`
	AdditionalProperties map[string]interface{}
}

HubStatus The properties of a Hub for the Network Tunnel Group.

func NewHubStatus

func NewHubStatus() *HubStatus

NewHubStatus instantiates a new HubStatus 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 NewHubStatusWithDefaults

func NewHubStatusWithDefaults() *HubStatus

NewHubStatusWithDefaults instantiates a new HubStatus 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 (*HubStatus) GetStatus

func (o *HubStatus) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HubStatus) GetStatusOk

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

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

func (*HubStatus) GetTime

func (o *HubStatus) GetTime() time.Time

GetTime returns the Time field value if set, zero value otherwise.

func (*HubStatus) GetTimeOk

func (o *HubStatus) GetTimeOk() (*time.Time, bool)

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

func (*HubStatus) HasStatus

func (o *HubStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HubStatus) HasTime

func (o *HubStatus) HasTime() bool

HasTime returns a boolean if a field has been set.

func (HubStatus) MarshalJSON

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

func (*HubStatus) SetStatus

func (o *HubStatus) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*HubStatus) SetTime

func (o *HubStatus) SetTime(v time.Time)

SetTime gets a reference to the given time.Time and assigns it to the Time field.

func (HubStatus) ToMap

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

func (*HubStatus) UnmarshalJSON

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

type HubsInner

type HubsInner struct {
	// The ID of the Hub.
	Id *int64 `json:"id,omitempty"`
	// Specifies whether the Hub is a primary data center.
	IsPrimary  *bool       `json:"isPrimary,omitempty"`
	Datacenter *Datacenter `json:"datacenter,omitempty"`
	// An IP address or email used to authenticate the tunnel.
	AuthId *string    `json:"authId,omitempty"`
	Status *HubStatus `json:"status,omitempty"`
	// The number of tunnels in the hub.
	TunnelsCount         *int64 `json:"tunnelsCount,omitempty"`
	AdditionalProperties map[string]interface{}
}

HubsInner The properties of the Hub.

func NewHubsInner

func NewHubsInner() *HubsInner

NewHubsInner instantiates a new HubsInner 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 NewHubsInnerWithDefaults

func NewHubsInnerWithDefaults() *HubsInner

NewHubsInnerWithDefaults instantiates a new HubsInner 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 (*HubsInner) GetAuthId

func (o *HubsInner) GetAuthId() string

GetAuthId returns the AuthId field value if set, zero value otherwise.

func (*HubsInner) GetAuthIdOk

func (o *HubsInner) GetAuthIdOk() (*string, bool)

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

func (*HubsInner) GetDatacenter

func (o *HubsInner) GetDatacenter() Datacenter

GetDatacenter returns the Datacenter field value if set, zero value otherwise.

func (*HubsInner) GetDatacenterOk

func (o *HubsInner) GetDatacenterOk() (*Datacenter, bool)

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

func (*HubsInner) GetId

func (o *HubsInner) GetId() int64

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

func (*HubsInner) GetIdOk

func (o *HubsInner) GetIdOk() (*int64, bool)

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

func (*HubsInner) GetIsPrimary

func (o *HubsInner) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*HubsInner) GetIsPrimaryOk

func (o *HubsInner) GetIsPrimaryOk() (*bool, bool)

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

func (*HubsInner) GetStatus

func (o *HubsInner) GetStatus() HubStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*HubsInner) GetStatusOk

func (o *HubsInner) GetStatusOk() (*HubStatus, bool)

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

func (*HubsInner) GetTunnelsCount

func (o *HubsInner) GetTunnelsCount() int64

GetTunnelsCount returns the TunnelsCount field value if set, zero value otherwise.

func (*HubsInner) GetTunnelsCountOk

func (o *HubsInner) GetTunnelsCountOk() (*int64, bool)

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

func (*HubsInner) HasAuthId

func (o *HubsInner) HasAuthId() bool

HasAuthId returns a boolean if a field has been set.

func (*HubsInner) HasDatacenter

func (o *HubsInner) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

func (*HubsInner) HasId

func (o *HubsInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*HubsInner) HasIsPrimary

func (o *HubsInner) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*HubsInner) HasStatus

func (o *HubsInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HubsInner) HasTunnelsCount

func (o *HubsInner) HasTunnelsCount() bool

HasTunnelsCount returns a boolean if a field has been set.

func (HubsInner) MarshalJSON

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

func (*HubsInner) SetAuthId

func (o *HubsInner) SetAuthId(v string)

SetAuthId gets a reference to the given string and assigns it to the AuthId field.

func (*HubsInner) SetDatacenter

func (o *HubsInner) SetDatacenter(v Datacenter)

SetDatacenter gets a reference to the given Datacenter and assigns it to the Datacenter field.

func (*HubsInner) SetId

func (o *HubsInner) SetId(v int64)

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

func (*HubsInner) SetIsPrimary

func (o *HubsInner) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*HubsInner) SetStatus

func (o *HubsInner) SetStatus(v HubStatus)

SetStatus gets a reference to the given HubStatus and assigns it to the Status field.

func (*HubsInner) SetTunnelsCount

func (o *HubsInner) SetTunnelsCount(v int64)

SetTunnelsCount gets a reference to the given int64 and assigns it to the TunnelsCount field.

func (HubsInner) ToMap

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

func (*HubsInner) UnmarshalJSON

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

type HubsWithIPInner

type HubsWithIPInner struct {
	// The ID of the Hub.
	Id *int64 `json:"id,omitempty"`
	// Specifies whether the Hub is a primary data center.
	IsPrimary  *bool             `json:"isPrimary,omitempty"`
	Datacenter *DatacenterWithIP `json:"datacenter,omitempty"`
	// An IP address or email used to authenticate the tunnel.
	AuthId *string   `json:"authId,omitempty"`
	Status *HubState `json:"status,omitempty"`
	// The number of tunnels in the hub.
	TunnelsCount         *int64 `json:"tunnelsCount,omitempty"`
	AdditionalProperties map[string]interface{}
}

HubsWithIPInner The properties of the Hub.

func NewHubsWithIPInner

func NewHubsWithIPInner() *HubsWithIPInner

NewHubsWithIPInner instantiates a new HubsWithIPInner 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 NewHubsWithIPInnerWithDefaults

func NewHubsWithIPInnerWithDefaults() *HubsWithIPInner

NewHubsWithIPInnerWithDefaults instantiates a new HubsWithIPInner 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 (*HubsWithIPInner) GetAuthId

func (o *HubsWithIPInner) GetAuthId() string

GetAuthId returns the AuthId field value if set, zero value otherwise.

func (*HubsWithIPInner) GetAuthIdOk

func (o *HubsWithIPInner) GetAuthIdOk() (*string, bool)

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

func (*HubsWithIPInner) GetDatacenter

func (o *HubsWithIPInner) GetDatacenter() DatacenterWithIP

GetDatacenter returns the Datacenter field value if set, zero value otherwise.

func (*HubsWithIPInner) GetDatacenterOk

func (o *HubsWithIPInner) GetDatacenterOk() (*DatacenterWithIP, bool)

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

func (*HubsWithIPInner) GetId

func (o *HubsWithIPInner) GetId() int64

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

func (*HubsWithIPInner) GetIdOk

func (o *HubsWithIPInner) GetIdOk() (*int64, bool)

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

func (*HubsWithIPInner) GetIsPrimary

func (o *HubsWithIPInner) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*HubsWithIPInner) GetIsPrimaryOk

func (o *HubsWithIPInner) GetIsPrimaryOk() (*bool, bool)

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

func (*HubsWithIPInner) GetStatus

func (o *HubsWithIPInner) GetStatus() HubState

GetStatus returns the Status field value if set, zero value otherwise.

func (*HubsWithIPInner) GetStatusOk

func (o *HubsWithIPInner) GetStatusOk() (*HubState, bool)

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

func (*HubsWithIPInner) GetTunnelsCount

func (o *HubsWithIPInner) GetTunnelsCount() int64

GetTunnelsCount returns the TunnelsCount field value if set, zero value otherwise.

func (*HubsWithIPInner) GetTunnelsCountOk

func (o *HubsWithIPInner) GetTunnelsCountOk() (*int64, bool)

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

func (*HubsWithIPInner) HasAuthId

func (o *HubsWithIPInner) HasAuthId() bool

HasAuthId returns a boolean if a field has been set.

func (*HubsWithIPInner) HasDatacenter

func (o *HubsWithIPInner) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

func (*HubsWithIPInner) HasId

func (o *HubsWithIPInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*HubsWithIPInner) HasIsPrimary

func (o *HubsWithIPInner) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*HubsWithIPInner) HasStatus

func (o *HubsWithIPInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HubsWithIPInner) HasTunnelsCount

func (o *HubsWithIPInner) HasTunnelsCount() bool

HasTunnelsCount returns a boolean if a field has been set.

func (HubsWithIPInner) MarshalJSON

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

func (*HubsWithIPInner) SetAuthId

func (o *HubsWithIPInner) SetAuthId(v string)

SetAuthId gets a reference to the given string and assigns it to the AuthId field.

func (*HubsWithIPInner) SetDatacenter

func (o *HubsWithIPInner) SetDatacenter(v DatacenterWithIP)

SetDatacenter gets a reference to the given DatacenterWithIP and assigns it to the Datacenter field.

func (*HubsWithIPInner) SetId

func (o *HubsWithIPInner) SetId(v int64)

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

func (*HubsWithIPInner) SetIsPrimary

func (o *HubsWithIPInner) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*HubsWithIPInner) SetStatus

func (o *HubsWithIPInner) SetStatus(v HubState)

SetStatus gets a reference to the given HubState and assigns it to the Status field.

func (*HubsWithIPInner) SetTunnelsCount

func (o *HubsWithIPInner) SetTunnelsCount(v int64)

SetTunnelsCount gets a reference to the given int64 and assigns it to the TunnelsCount field.

func (HubsWithIPInner) ToMap

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

func (*HubsWithIPInner) UnmarshalJSON

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

type HubsWithStateInner

type HubsWithStateInner struct {
	// The ID of the Hub.
	Id *int64 `json:"id,omitempty"`
	// Specifies whether the Hub is a primary data center.
	IsPrimary  *bool                         `json:"isPrimary,omitempty"`
	Datacenter *HubsWithStateInnerDatacenter `json:"datacenter,omitempty"`
	Status     *HubState                     `json:"status,omitempty"`
	// The list of the states for the Network Tunnels. The maximum number of items in the list of tunnel states is 10.
	TunnelsStatus        []TunnelState `json:"tunnelsStatus,omitempty"`
	AdditionalProperties map[string]interface{}
}

HubsWithStateInner The properties of the Hub.

func NewHubsWithStateInner

func NewHubsWithStateInner() *HubsWithStateInner

NewHubsWithStateInner instantiates a new HubsWithStateInner 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 NewHubsWithStateInnerWithDefaults

func NewHubsWithStateInnerWithDefaults() *HubsWithStateInner

NewHubsWithStateInnerWithDefaults instantiates a new HubsWithStateInner 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 (*HubsWithStateInner) GetDatacenter

GetDatacenter returns the Datacenter field value if set, zero value otherwise.

func (*HubsWithStateInner) GetDatacenterOk

func (o *HubsWithStateInner) GetDatacenterOk() (*HubsWithStateInnerDatacenter, bool)

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

func (*HubsWithStateInner) GetId

func (o *HubsWithStateInner) GetId() int64

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

func (*HubsWithStateInner) GetIdOk

func (o *HubsWithStateInner) GetIdOk() (*int64, bool)

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

func (*HubsWithStateInner) GetIsPrimary

func (o *HubsWithStateInner) GetIsPrimary() bool

GetIsPrimary returns the IsPrimary field value if set, zero value otherwise.

func (*HubsWithStateInner) GetIsPrimaryOk

func (o *HubsWithStateInner) GetIsPrimaryOk() (*bool, bool)

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

func (*HubsWithStateInner) GetStatus

func (o *HubsWithStateInner) GetStatus() HubState

GetStatus returns the Status field value if set, zero value otherwise.

func (*HubsWithStateInner) GetStatusOk

func (o *HubsWithStateInner) GetStatusOk() (*HubState, bool)

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

func (*HubsWithStateInner) GetTunnelsStatus

func (o *HubsWithStateInner) GetTunnelsStatus() []TunnelState

GetTunnelsStatus returns the TunnelsStatus field value if set, zero value otherwise.

func (*HubsWithStateInner) GetTunnelsStatusOk

func (o *HubsWithStateInner) GetTunnelsStatusOk() ([]TunnelState, bool)

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

func (*HubsWithStateInner) HasDatacenter

func (o *HubsWithStateInner) HasDatacenter() bool

HasDatacenter returns a boolean if a field has been set.

func (*HubsWithStateInner) HasId

func (o *HubsWithStateInner) HasId() bool

HasId returns a boolean if a field has been set.

func (*HubsWithStateInner) HasIsPrimary

func (o *HubsWithStateInner) HasIsPrimary() bool

HasIsPrimary returns a boolean if a field has been set.

func (*HubsWithStateInner) HasStatus

func (o *HubsWithStateInner) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*HubsWithStateInner) HasTunnelsStatus

func (o *HubsWithStateInner) HasTunnelsStatus() bool

HasTunnelsStatus returns a boolean if a field has been set.

func (HubsWithStateInner) MarshalJSON

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

func (*HubsWithStateInner) SetDatacenter

SetDatacenter gets a reference to the given HubsWithStateInnerDatacenter and assigns it to the Datacenter field.

func (*HubsWithStateInner) SetId

func (o *HubsWithStateInner) SetId(v int64)

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

func (*HubsWithStateInner) SetIsPrimary

func (o *HubsWithStateInner) SetIsPrimary(v bool)

SetIsPrimary gets a reference to the given bool and assigns it to the IsPrimary field.

func (*HubsWithStateInner) SetStatus

func (o *HubsWithStateInner) SetStatus(v HubState)

SetStatus gets a reference to the given HubState and assigns it to the Status field.

func (*HubsWithStateInner) SetTunnelsStatus

func (o *HubsWithStateInner) SetTunnelsStatus(v []TunnelState)

SetTunnelsStatus gets a reference to the given []TunnelState and assigns it to the TunnelsStatus field.

func (HubsWithStateInner) ToMap

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

func (*HubsWithStateInner) UnmarshalJSON

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

type HubsWithStateInnerDatacenter

type HubsWithStateInnerDatacenter struct {
	// The name of the data center for the Hub.
	Name                 *string `json:"name,omitempty"`
	AdditionalProperties map[string]interface{}
}

HubsWithStateInnerDatacenter struct for HubsWithStateInnerDatacenter

func NewHubsWithStateInnerDatacenter

func NewHubsWithStateInnerDatacenter() *HubsWithStateInnerDatacenter

NewHubsWithStateInnerDatacenter instantiates a new HubsWithStateInnerDatacenter 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 NewHubsWithStateInnerDatacenterWithDefaults

func NewHubsWithStateInnerDatacenterWithDefaults() *HubsWithStateInnerDatacenter

NewHubsWithStateInnerDatacenterWithDefaults instantiates a new HubsWithStateInnerDatacenter 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 (*HubsWithStateInnerDatacenter) GetName

func (o *HubsWithStateInnerDatacenter) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*HubsWithStateInnerDatacenter) GetNameOk

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

func (o *HubsWithStateInnerDatacenter) HasName() bool

HasName returns a boolean if a field has been set.

func (HubsWithStateInnerDatacenter) MarshalJSON

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

func (*HubsWithStateInnerDatacenter) SetName

func (o *HubsWithStateInnerDatacenter) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (HubsWithStateInnerDatacenter) ToMap

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

func (*HubsWithStateInnerDatacenter) UnmarshalJSON

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

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NetworkTunnelGroupBulkStateResponse

type NetworkTunnelGroupBulkStateResponse struct {
	// An integer that represents the place to start reading in the collection.
	Offset *int64 `json:"offset,omitempty"`
	// The number of items returned in the response.
	Limit *int64 `json:"limit,omitempty"`
	// The total number of items read from the collection.
	Total *int64 `json:"total,omitempty"`
	// The list of the Network Tunnel Groups in the organization.
	Data                 []NetworkTunnelGroupStateResponse `json:"data,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTunnelGroupBulkStateResponse The information about the Network Tunnel Groups and Hubs in the organization.

func NewNetworkTunnelGroupBulkStateResponse

func NewNetworkTunnelGroupBulkStateResponse() *NetworkTunnelGroupBulkStateResponse

NewNetworkTunnelGroupBulkStateResponse instantiates a new NetworkTunnelGroupBulkStateResponse 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 NewNetworkTunnelGroupBulkStateResponseWithDefaults

func NewNetworkTunnelGroupBulkStateResponseWithDefaults() *NetworkTunnelGroupBulkStateResponse

NewNetworkTunnelGroupBulkStateResponseWithDefaults instantiates a new NetworkTunnelGroupBulkStateResponse 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 (*NetworkTunnelGroupBulkStateResponse) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*NetworkTunnelGroupBulkStateResponse) GetDataOk

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

func (*NetworkTunnelGroupBulkStateResponse) GetLimit

GetLimit returns the Limit field value if set, zero value otherwise.

func (*NetworkTunnelGroupBulkStateResponse) GetLimitOk

func (o *NetworkTunnelGroupBulkStateResponse) GetLimitOk() (*int64, bool)

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

func (*NetworkTunnelGroupBulkStateResponse) GetOffset

GetOffset returns the Offset field value if set, zero value otherwise.

func (*NetworkTunnelGroupBulkStateResponse) GetOffsetOk

func (o *NetworkTunnelGroupBulkStateResponse) GetOffsetOk() (*int64, bool)

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

func (*NetworkTunnelGroupBulkStateResponse) GetTotal

GetTotal returns the Total field value if set, zero value otherwise.

func (*NetworkTunnelGroupBulkStateResponse) GetTotalOk

func (o *NetworkTunnelGroupBulkStateResponse) GetTotalOk() (*int64, bool)

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

func (*NetworkTunnelGroupBulkStateResponse) HasData

HasData returns a boolean if a field has been set.

func (*NetworkTunnelGroupBulkStateResponse) HasLimit

HasLimit returns a boolean if a field has been set.

func (*NetworkTunnelGroupBulkStateResponse) HasOffset

HasOffset returns a boolean if a field has been set.

func (*NetworkTunnelGroupBulkStateResponse) HasTotal

HasTotal returns a boolean if a field has been set.

func (NetworkTunnelGroupBulkStateResponse) MarshalJSON

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

func (*NetworkTunnelGroupBulkStateResponse) SetData

SetData gets a reference to the given []NetworkTunnelGroupStateResponse and assigns it to the Data field.

func (*NetworkTunnelGroupBulkStateResponse) SetLimit

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*NetworkTunnelGroupBulkStateResponse) SetOffset

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*NetworkTunnelGroupBulkStateResponse) SetTotal

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (NetworkTunnelGroupBulkStateResponse) ToMap

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

func (*NetworkTunnelGroupBulkStateResponse) UnmarshalJSON

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

type NetworkTunnelGroupListResponse

type NetworkTunnelGroupListResponse struct {
	// The ID of the Network Tunnel Group.
	Id *int64 `json:"id,omitempty"`
	// The name of the Network Tunnel Group. A Network Tunnel Group name is a sequence of 1–50 characters. The `name` field cannot have any special characters other than spaces and hyphens.
	Name *string `json:"name,omitempty"`
	// The ID of the organization.
	OrganizationId *int64      `json:"organizationId,omitempty"`
	DeviceType     *DeviceType `json:"deviceType,omitempty"`
	// The name of the region that is used to get the primary and secondary data centers for the Hubs.
	Region *string `json:"region,omitempty"`
	Status *Status `json:"status,omitempty"`
	// The list of Hubs for a Network Tunnel Group. Only one Hub is the primary data center.
	Hubs    []HubsInner      `json:"hubs,omitempty"`
	Routing *RoutingResponse `json:"routing,omitempty"`
	// The date and time (timestamp) when the network tunnel group was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date and time of the last update (timestamp) for the network tunnel group.
	ModifiedAt           *time.Time `json:"modifiedAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTunnelGroupListResponse The properties of the Network Tunnel Group in the organization.

func NewNetworkTunnelGroupListResponse

func NewNetworkTunnelGroupListResponse() *NetworkTunnelGroupListResponse

NewNetworkTunnelGroupListResponse instantiates a new NetworkTunnelGroupListResponse 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 NewNetworkTunnelGroupListResponseWithDefaults

func NewNetworkTunnelGroupListResponseWithDefaults() *NetworkTunnelGroupListResponse

NewNetworkTunnelGroupListResponseWithDefaults instantiates a new NetworkTunnelGroupListResponse 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 (*NetworkTunnelGroupListResponse) GetCreatedAt

func (o *NetworkTunnelGroupListResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetCreatedAtOk

func (o *NetworkTunnelGroupListResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*NetworkTunnelGroupListResponse) GetDeviceType

func (o *NetworkTunnelGroupListResponse) GetDeviceType() DeviceType

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetDeviceTypeOk

func (o *NetworkTunnelGroupListResponse) GetDeviceTypeOk() (*DeviceType, bool)

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

func (*NetworkTunnelGroupListResponse) GetHubs

GetHubs returns the Hubs field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetHubsOk

func (o *NetworkTunnelGroupListResponse) GetHubsOk() ([]HubsInner, bool)

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

func (*NetworkTunnelGroupListResponse) GetId

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

func (*NetworkTunnelGroupListResponse) GetIdOk

func (o *NetworkTunnelGroupListResponse) GetIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupListResponse) GetModifiedAt

func (o *NetworkTunnelGroupListResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetModifiedAtOk

func (o *NetworkTunnelGroupListResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*NetworkTunnelGroupListResponse) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetNameOk

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

func (o *NetworkTunnelGroupListResponse) GetOrganizationId() int64

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetOrganizationIdOk

func (o *NetworkTunnelGroupListResponse) GetOrganizationIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupListResponse) GetRegion

func (o *NetworkTunnelGroupListResponse) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetRegionOk

func (o *NetworkTunnelGroupListResponse) GetRegionOk() (*string, bool)

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

func (*NetworkTunnelGroupListResponse) GetRouting

GetRouting returns the Routing field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetRoutingOk

func (o *NetworkTunnelGroupListResponse) GetRoutingOk() (*RoutingResponse, bool)

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

func (*NetworkTunnelGroupListResponse) GetStatus

func (o *NetworkTunnelGroupListResponse) GetStatus() Status

GetStatus returns the Status field value if set, zero value otherwise.

func (*NetworkTunnelGroupListResponse) GetStatusOk

func (o *NetworkTunnelGroupListResponse) GetStatusOk() (*Status, bool)

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

func (*NetworkTunnelGroupListResponse) HasCreatedAt

func (o *NetworkTunnelGroupListResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasDeviceType

func (o *NetworkTunnelGroupListResponse) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasHubs

func (o *NetworkTunnelGroupListResponse) HasHubs() bool

HasHubs returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasId

HasId returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasModifiedAt

func (o *NetworkTunnelGroupListResponse) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasName

func (o *NetworkTunnelGroupListResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasOrganizationId

func (o *NetworkTunnelGroupListResponse) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasRegion

func (o *NetworkTunnelGroupListResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasRouting

func (o *NetworkTunnelGroupListResponse) HasRouting() bool

HasRouting returns a boolean if a field has been set.

func (*NetworkTunnelGroupListResponse) HasStatus

func (o *NetworkTunnelGroupListResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NetworkTunnelGroupListResponse) MarshalJSON

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

func (*NetworkTunnelGroupListResponse) SetCreatedAt

func (o *NetworkTunnelGroupListResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTunnelGroupListResponse) SetDeviceType

func (o *NetworkTunnelGroupListResponse) SetDeviceType(v DeviceType)

SetDeviceType gets a reference to the given DeviceType and assigns it to the DeviceType field.

func (*NetworkTunnelGroupListResponse) SetHubs

func (o *NetworkTunnelGroupListResponse) SetHubs(v []HubsInner)

SetHubs gets a reference to the given []HubsInner and assigns it to the Hubs field.

func (*NetworkTunnelGroupListResponse) SetId

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

func (*NetworkTunnelGroupListResponse) SetModifiedAt

func (o *NetworkTunnelGroupListResponse) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*NetworkTunnelGroupListResponse) SetName

func (o *NetworkTunnelGroupListResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTunnelGroupListResponse) SetOrganizationId

func (o *NetworkTunnelGroupListResponse) SetOrganizationId(v int64)

SetOrganizationId gets a reference to the given int64 and assigns it to the OrganizationId field.

func (*NetworkTunnelGroupListResponse) SetRegion

func (o *NetworkTunnelGroupListResponse) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*NetworkTunnelGroupListResponse) SetRouting

SetRouting gets a reference to the given RoutingResponse and assigns it to the Routing field.

func (*NetworkTunnelGroupListResponse) SetStatus

func (o *NetworkTunnelGroupListResponse) SetStatus(v Status)

SetStatus gets a reference to the given Status and assigns it to the Status field.

func (NetworkTunnelGroupListResponse) ToMap

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

func (*NetworkTunnelGroupListResponse) UnmarshalJSON

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

type NetworkTunnelGroupResponse

type NetworkTunnelGroupResponse struct {
	// The ID of the Network Tunnel Group.
	Id *int64 `json:"id,omitempty"`
	// The name of the Network Tunnel Group. A Network Tunnel Group name is a sequence of 1–50 characters. The `name` field cannot have any special characters other than spaces and hyphens.
	Name *string `json:"name,omitempty"`
	// The ID of the organization.
	OrganizationId *int64      `json:"organizationId,omitempty"`
	DeviceType     *DeviceType `json:"deviceType,omitempty"`
	// The name of the region that is used to get the primary and secondary data centers for the Hubs.
	Region *string `json:"region,omitempty"`
	Status *Status `json:"status,omitempty"`
	// The list of Hubs for a Network Tunnel Group. Only one Hub is the primary data center.
	Hubs    []HubsWithIPInner `json:"hubs,omitempty"`
	Routing *RoutingResponse  `json:"routing,omitempty"`
	// The date and time (timestamp) when the network tunnel group was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date and time of the last update (timestamp) for the network tunnel group.
	ModifiedAt           *time.Time `json:"modifiedAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTunnelGroupResponse The properties of the Network Tunnel Group in the organization.

func NewNetworkTunnelGroupResponse

func NewNetworkTunnelGroupResponse() *NetworkTunnelGroupResponse

NewNetworkTunnelGroupResponse instantiates a new NetworkTunnelGroupResponse 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 NewNetworkTunnelGroupResponseWithDefaults

func NewNetworkTunnelGroupResponseWithDefaults() *NetworkTunnelGroupResponse

NewNetworkTunnelGroupResponseWithDefaults instantiates a new NetworkTunnelGroupResponse 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 (*NetworkTunnelGroupResponse) GetCreatedAt

func (o *NetworkTunnelGroupResponse) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetCreatedAtOk

func (o *NetworkTunnelGroupResponse) GetCreatedAtOk() (*time.Time, bool)

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

func (*NetworkTunnelGroupResponse) GetDeviceType

func (o *NetworkTunnelGroupResponse) GetDeviceType() DeviceType

GetDeviceType returns the DeviceType field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetDeviceTypeOk

func (o *NetworkTunnelGroupResponse) GetDeviceTypeOk() (*DeviceType, bool)

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

func (*NetworkTunnelGroupResponse) GetHubs

GetHubs returns the Hubs field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetHubsOk

func (o *NetworkTunnelGroupResponse) GetHubsOk() ([]HubsWithIPInner, bool)

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

func (*NetworkTunnelGroupResponse) GetId

func (o *NetworkTunnelGroupResponse) GetId() int64

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

func (*NetworkTunnelGroupResponse) GetIdOk

func (o *NetworkTunnelGroupResponse) GetIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupResponse) GetModifiedAt

func (o *NetworkTunnelGroupResponse) GetModifiedAt() time.Time

GetModifiedAt returns the ModifiedAt field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetModifiedAtOk

func (o *NetworkTunnelGroupResponse) GetModifiedAtOk() (*time.Time, bool)

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

func (*NetworkTunnelGroupResponse) GetName

func (o *NetworkTunnelGroupResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetNameOk

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

func (o *NetworkTunnelGroupResponse) GetOrganizationId() int64

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetOrganizationIdOk

func (o *NetworkTunnelGroupResponse) GetOrganizationIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupResponse) GetRegion

func (o *NetworkTunnelGroupResponse) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetRegionOk

func (o *NetworkTunnelGroupResponse) GetRegionOk() (*string, bool)

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

func (*NetworkTunnelGroupResponse) GetRouting

GetRouting returns the Routing field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetRoutingOk

func (o *NetworkTunnelGroupResponse) GetRoutingOk() (*RoutingResponse, bool)

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

func (*NetworkTunnelGroupResponse) GetStatus

func (o *NetworkTunnelGroupResponse) GetStatus() Status

GetStatus returns the Status field value if set, zero value otherwise.

func (*NetworkTunnelGroupResponse) GetStatusOk

func (o *NetworkTunnelGroupResponse) GetStatusOk() (*Status, bool)

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

func (*NetworkTunnelGroupResponse) HasCreatedAt

func (o *NetworkTunnelGroupResponse) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasDeviceType

func (o *NetworkTunnelGroupResponse) HasDeviceType() bool

HasDeviceType returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasHubs

func (o *NetworkTunnelGroupResponse) HasHubs() bool

HasHubs returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasId

func (o *NetworkTunnelGroupResponse) HasId() bool

HasId returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasModifiedAt

func (o *NetworkTunnelGroupResponse) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasName

func (o *NetworkTunnelGroupResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasOrganizationId

func (o *NetworkTunnelGroupResponse) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasRegion

func (o *NetworkTunnelGroupResponse) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasRouting

func (o *NetworkTunnelGroupResponse) HasRouting() bool

HasRouting returns a boolean if a field has been set.

func (*NetworkTunnelGroupResponse) HasStatus

func (o *NetworkTunnelGroupResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NetworkTunnelGroupResponse) MarshalJSON

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

func (*NetworkTunnelGroupResponse) SetCreatedAt

func (o *NetworkTunnelGroupResponse) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*NetworkTunnelGroupResponse) SetDeviceType

func (o *NetworkTunnelGroupResponse) SetDeviceType(v DeviceType)

SetDeviceType gets a reference to the given DeviceType and assigns it to the DeviceType field.

func (*NetworkTunnelGroupResponse) SetHubs

SetHubs gets a reference to the given []HubsWithIPInner and assigns it to the Hubs field.

func (*NetworkTunnelGroupResponse) SetId

func (o *NetworkTunnelGroupResponse) SetId(v int64)

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

func (*NetworkTunnelGroupResponse) SetModifiedAt

func (o *NetworkTunnelGroupResponse) SetModifiedAt(v time.Time)

SetModifiedAt gets a reference to the given time.Time and assigns it to the ModifiedAt field.

func (*NetworkTunnelGroupResponse) SetName

func (o *NetworkTunnelGroupResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTunnelGroupResponse) SetOrganizationId

func (o *NetworkTunnelGroupResponse) SetOrganizationId(v int64)

SetOrganizationId gets a reference to the given int64 and assigns it to the OrganizationId field.

func (*NetworkTunnelGroupResponse) SetRegion

func (o *NetworkTunnelGroupResponse) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*NetworkTunnelGroupResponse) SetRouting

SetRouting gets a reference to the given RoutingResponse and assigns it to the Routing field.

func (*NetworkTunnelGroupResponse) SetStatus

func (o *NetworkTunnelGroupResponse) SetStatus(v Status)

SetStatus gets a reference to the given Status and assigns it to the Status field.

func (NetworkTunnelGroupResponse) ToMap

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

func (*NetworkTunnelGroupResponse) UnmarshalJSON

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

type NetworkTunnelGroupStateResponse

type NetworkTunnelGroupStateResponse struct {
	// The ID of the Network Tunnel Group.
	Id *int64 `json:"id,omitempty"`
	// The name of the Network Tunnel Group. A Network Tunnel Group name is a sequence of 1–50 characters. The `name` field cannot have any special characters other than spaces and hyphens.
	Name *string `json:"name,omitempty"`
	// The ID of the organization.
	OrganizationId *int64  `json:"organizationId,omitempty"`
	Status         *Status `json:"status,omitempty"`
	// The list of Hubs for a Network Tunnel Group. Only one Hub is the primary data center.
	Hubs                 []HubsWithStateInner `json:"hubs,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTunnelGroupStateResponse The status information for the Network Tunnel Group.

func NewNetworkTunnelGroupStateResponse

func NewNetworkTunnelGroupStateResponse() *NetworkTunnelGroupStateResponse

NewNetworkTunnelGroupStateResponse instantiates a new NetworkTunnelGroupStateResponse 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 NewNetworkTunnelGroupStateResponseWithDefaults

func NewNetworkTunnelGroupStateResponseWithDefaults() *NetworkTunnelGroupStateResponse

NewNetworkTunnelGroupStateResponseWithDefaults instantiates a new NetworkTunnelGroupStateResponse 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 (*NetworkTunnelGroupStateResponse) GetHubs

GetHubs returns the Hubs field value if set, zero value otherwise.

func (*NetworkTunnelGroupStateResponse) GetHubsOk

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

func (*NetworkTunnelGroupStateResponse) GetId

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

func (*NetworkTunnelGroupStateResponse) GetIdOk

func (o *NetworkTunnelGroupStateResponse) GetIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupStateResponse) GetName

GetName returns the Name field value if set, zero value otherwise.

func (*NetworkTunnelGroupStateResponse) GetNameOk

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

func (o *NetworkTunnelGroupStateResponse) GetOrganizationId() int64

GetOrganizationId returns the OrganizationId field value if set, zero value otherwise.

func (*NetworkTunnelGroupStateResponse) GetOrganizationIdOk

func (o *NetworkTunnelGroupStateResponse) GetOrganizationIdOk() (*int64, bool)

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

func (*NetworkTunnelGroupStateResponse) GetStatus

func (o *NetworkTunnelGroupStateResponse) GetStatus() Status

GetStatus returns the Status field value if set, zero value otherwise.

func (*NetworkTunnelGroupStateResponse) GetStatusOk

func (o *NetworkTunnelGroupStateResponse) GetStatusOk() (*Status, bool)

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

func (*NetworkTunnelGroupStateResponse) HasHubs

HasHubs returns a boolean if a field has been set.

func (*NetworkTunnelGroupStateResponse) HasId

HasId returns a boolean if a field has been set.

func (*NetworkTunnelGroupStateResponse) HasName

HasName returns a boolean if a field has been set.

func (*NetworkTunnelGroupStateResponse) HasOrganizationId

func (o *NetworkTunnelGroupStateResponse) HasOrganizationId() bool

HasOrganizationId returns a boolean if a field has been set.

func (*NetworkTunnelGroupStateResponse) HasStatus

func (o *NetworkTunnelGroupStateResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NetworkTunnelGroupStateResponse) MarshalJSON

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

func (*NetworkTunnelGroupStateResponse) SetHubs

SetHubs gets a reference to the given []HubsWithStateInner and assigns it to the Hubs field.

func (*NetworkTunnelGroupStateResponse) SetId

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

func (*NetworkTunnelGroupStateResponse) SetName

SetName gets a reference to the given string and assigns it to the Name field.

func (*NetworkTunnelGroupStateResponse) SetOrganizationId

func (o *NetworkTunnelGroupStateResponse) SetOrganizationId(v int64)

SetOrganizationId gets a reference to the given int64 and assigns it to the OrganizationId field.

func (*NetworkTunnelGroupStateResponse) SetStatus

func (o *NetworkTunnelGroupStateResponse) SetStatus(v Status)

SetStatus gets a reference to the given Status and assigns it to the Status field.

func (NetworkTunnelGroupStateResponse) ToMap

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

func (*NetworkTunnelGroupStateResponse) UnmarshalJSON

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

type NetworkTunnelGroupsAPIService

type NetworkTunnelGroupsAPIService service

NetworkTunnelGroupsAPIService NetworkTunnelGroupsAPI service

func (*NetworkTunnelGroupsAPIService) AddNetworkTunnelGroup

AddNetworkTunnelGroup Create Network Tunnel Group

Create a Network Tunnel Group in the organization.

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

func (*NetworkTunnelGroupsAPIService) AddNetworkTunnelGroupExecute

Execute executes the request

@return NetworkTunnelGroupResponse

func (*NetworkTunnelGroupsAPIService) DeleteNetworkTunnelGroup

DeleteNetworkTunnelGroup Delete Network Tunnel Group

Delete a Network Tunnel Group in the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@return ApiDeleteNetworkTunnelGroupRequest

func (*NetworkTunnelGroupsAPIService) DeleteNetworkTunnelGroupExecute

func (a *NetworkTunnelGroupsAPIService) DeleteNetworkTunnelGroupExecute(r ApiDeleteNetworkTunnelGroupRequest) (*http.Response, error)

Execute executes the request

func (*NetworkTunnelGroupsAPIService) GetNetworkTunnelGroup

GetNetworkTunnelGroup Get Network Tunnel Group

Get a Network Tunnel Group in the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@return ApiGetNetworkTunnelGroupRequest

func (*NetworkTunnelGroupsAPIService) GetNetworkTunnelGroupExecute

Execute executes the request

@return NetworkTunnelGroupResponse

func (*NetworkTunnelGroupsAPIService) ListNetworkTunnelGroups

ListNetworkTunnelGroups List Network Tunnel Groups

List the Network Tunnel Groups in the organization. If you enable the `includeStatuses` query parameter on your API request, then the `tunnelsStatus` field is included in the response. The maximum number of items in a hub's list of tunnel states (`tunnelsStatus`) is 10.

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

func (*NetworkTunnelGroupsAPIService) ListNetworkTunnelGroupsExecute

Execute executes the request

@return NetworkTunnelGroupsList

func (*NetworkTunnelGroupsAPIService) PatchNetworkTunnelGroup

PatchNetworkTunnelGroup Update Network Tunnel Group

Update a Network Tunnel Group in the organization.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@return ApiPatchNetworkTunnelGroupRequest

func (*NetworkTunnelGroupsAPIService) PatchNetworkTunnelGroupExecute

Execute executes the request

@return NetworkTunnelGroupResponse

type NetworkTunnelGroupsList

type NetworkTunnelGroupsList struct {
	// The list of Network Tunnel Groups.
	Data []NetworkTunnelGroupListResponse `json:"data,omitempty"`
	// An integer that represents the place to start reading in the collection.
	Offset *int64 `json:"offset,omitempty"`
	// The number of records returned on a page.
	Limit *int64 `json:"limit,omitempty"`
	// The total number of records returned.
	Total                *int64 `json:"total,omitempty"`
	AdditionalProperties map[string]interface{}
}

NetworkTunnelGroupsList List the Network Tunnel Groups in the organization.

func NewNetworkTunnelGroupsList

func NewNetworkTunnelGroupsList() *NetworkTunnelGroupsList

NewNetworkTunnelGroupsList instantiates a new NetworkTunnelGroupsList 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 NewNetworkTunnelGroupsListWithDefaults

func NewNetworkTunnelGroupsListWithDefaults() *NetworkTunnelGroupsList

NewNetworkTunnelGroupsListWithDefaults instantiates a new NetworkTunnelGroupsList 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 (*NetworkTunnelGroupsList) GetData

GetData returns the Data field value if set, zero value otherwise.

func (*NetworkTunnelGroupsList) GetDataOk

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

func (*NetworkTunnelGroupsList) GetLimit

func (o *NetworkTunnelGroupsList) GetLimit() int64

GetLimit returns the Limit field value if set, zero value otherwise.

func (*NetworkTunnelGroupsList) GetLimitOk

func (o *NetworkTunnelGroupsList) GetLimitOk() (*int64, bool)

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

func (*NetworkTunnelGroupsList) GetOffset

func (o *NetworkTunnelGroupsList) GetOffset() int64

GetOffset returns the Offset field value if set, zero value otherwise.

func (*NetworkTunnelGroupsList) GetOffsetOk

func (o *NetworkTunnelGroupsList) GetOffsetOk() (*int64, bool)

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

func (*NetworkTunnelGroupsList) GetTotal

func (o *NetworkTunnelGroupsList) GetTotal() int64

GetTotal returns the Total field value if set, zero value otherwise.

func (*NetworkTunnelGroupsList) GetTotalOk

func (o *NetworkTunnelGroupsList) GetTotalOk() (*int64, bool)

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

func (*NetworkTunnelGroupsList) HasData

func (o *NetworkTunnelGroupsList) HasData() bool

HasData returns a boolean if a field has been set.

func (*NetworkTunnelGroupsList) HasLimit

func (o *NetworkTunnelGroupsList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (*NetworkTunnelGroupsList) HasOffset

func (o *NetworkTunnelGroupsList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*NetworkTunnelGroupsList) HasTotal

func (o *NetworkTunnelGroupsList) HasTotal() bool

HasTotal returns a boolean if a field has been set.

func (NetworkTunnelGroupsList) MarshalJSON

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

func (*NetworkTunnelGroupsList) SetData

SetData gets a reference to the given []NetworkTunnelGroupListResponse and assigns it to the Data field.

func (*NetworkTunnelGroupsList) SetLimit

func (o *NetworkTunnelGroupsList) SetLimit(v int64)

SetLimit gets a reference to the given int64 and assigns it to the Limit field.

func (*NetworkTunnelGroupsList) SetOffset

func (o *NetworkTunnelGroupsList) SetOffset(v int64)

SetOffset gets a reference to the given int64 and assigns it to the Offset field.

func (*NetworkTunnelGroupsList) SetTotal

func (o *NetworkTunnelGroupsList) SetTotal(v int64)

SetTotal gets a reference to the given int64 and assigns it to the Total field.

func (NetworkTunnelGroupsList) ToMap

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

func (*NetworkTunnelGroupsList) UnmarshalJSON

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

type NetworkTunnelGroupsPeerStateAPIService

type NetworkTunnelGroupsPeerStateAPIService service

NetworkTunnelGroupsPeerStateAPIService NetworkTunnelGroupsPeerStateAPI service

func (*NetworkTunnelGroupsPeerStateAPIService) GetPeerState

GetPeerState Get Tunnel State for Network Tunnel Group and Hub

Get the state of a peer (tunnel) within an organization's Network Tunnel Group and Hub.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@param hubId The ID of the Network Tunnel Hub.
@param peerId The ID of the peer (tunnel).
@return ApiGetPeerStateRequest

func (*NetworkTunnelGroupsPeerStateAPIService) GetPeerStateExecute

Execute executes the request

@return TunnelState

func (*NetworkTunnelGroupsPeerStateAPIService) GetPeersState

GetPeersState Get Peers States for Network Tunnel Group and Hub

Get the state of all peers (tunnels) within an organization's Network Tunnel Group and Hub.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@return ApiGetPeersStateRequest

func (*NetworkTunnelGroupsPeerStateAPIService) GetPeersStateExecute

Execute executes the request

@return []TunnelState

type NetworkTunnelGroupsRegionsAPIService

type NetworkTunnelGroupsRegionsAPIService service

NetworkTunnelGroupsRegionsAPIService NetworkTunnelGroupsRegionsAPI service

func (*NetworkTunnelGroupsRegionsAPIService) ListNetworkTunnelGroupRegions

ListNetworkTunnelGroupRegions List Regions for Network Tunnel Groups

List the available regions for the Network Tunnel Groups.

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

func (*NetworkTunnelGroupsRegionsAPIService) ListNetworkTunnelGroupRegionsExecute

Execute executes the request

@return RegionList

type NetworkTunnelGroupsStateAPIService

type NetworkTunnelGroupsStateAPIService service

NetworkTunnelGroupsStateAPIService NetworkTunnelGroupsStateAPI service

func (*NetworkTunnelGroupsStateAPIService) GetNetworkTunnelGroupBulkState

GetNetworkTunnelGroupBulkState List State of Network Tunnel Groups

Get the state for each Network Tunnel Group in the organization. The maximum number of items in a hub's list of tunnel states (`tunnelsStatus`) is 10.

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

func (*NetworkTunnelGroupsStateAPIService) GetNetworkTunnelGroupBulkStateExecute

Execute executes the request

@return NetworkTunnelGroupBulkStateResponse

func (*NetworkTunnelGroupsStateAPIService) GetNetworkTunnelGroupState

GetNetworkTunnelGroupState Get State of Network Tunnel Group

Get the status information for the Network Tunnel Group in the organization. The maximum number of items in a hub's list of tunnel states (`tunnelsStatus`) is 10.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param id The ID of the Network Tunnel Group.
@return ApiGetNetworkTunnelGroupStateRequest

func (*NetworkTunnelGroupsStateAPIService) GetNetworkTunnelGroupStateExecute

Execute executes the request

@return NetworkTunnelGroupStateResponse

type NullableAddNetworkTunnelGroupRequest

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

func (NullableAddNetworkTunnelGroupRequest) Get

func (NullableAddNetworkTunnelGroupRequest) IsSet

func (NullableAddNetworkTunnelGroupRequest) MarshalJSON

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

func (*NullableAddNetworkTunnelGroupRequest) Set

func (*NullableAddNetworkTunnelGroupRequest) UnmarshalJSON

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

func (*NullableAddNetworkTunnelGroupRequest) Unset

type NullableAddNetworkTunnelGroupRequestAuthIdPrefix

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

func (NullableAddNetworkTunnelGroupRequestAuthIdPrefix) Get

func (NullableAddNetworkTunnelGroupRequestAuthIdPrefix) IsSet

func (NullableAddNetworkTunnelGroupRequestAuthIdPrefix) MarshalJSON

func (*NullableAddNetworkTunnelGroupRequestAuthIdPrefix) Set

func (*NullableAddNetworkTunnelGroupRequestAuthIdPrefix) UnmarshalJSON

func (*NullableAddNetworkTunnelGroupRequestAuthIdPrefix) Unset

type NullableBgp

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

func NewNullableBgp

func NewNullableBgp(val *Bgp) *NullableBgp

func (NullableBgp) Get

func (v NullableBgp) Get() *Bgp

func (NullableBgp) IsSet

func (v NullableBgp) IsSet() bool

func (NullableBgp) MarshalJSON

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

func (*NullableBgp) Set

func (v *NullableBgp) Set(val *Bgp)

func (*NullableBgp) UnmarshalJSON

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

func (*NullableBgp) Unset

func (v *NullableBgp) Unset()

type NullableBgpDataRequestObj

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

func NewNullableBgpDataRequestObj

func NewNullableBgpDataRequestObj(val *BgpDataRequestObj) *NullableBgpDataRequestObj

func (NullableBgpDataRequestObj) Get

func (NullableBgpDataRequestObj) IsSet

func (v NullableBgpDataRequestObj) IsSet() bool

func (NullableBgpDataRequestObj) MarshalJSON

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

func (*NullableBgpDataRequestObj) Set

func (*NullableBgpDataRequestObj) UnmarshalJSON

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

func (*NullableBgpDataRequestObj) Unset

func (v *NullableBgpDataRequestObj) Unset()

type NullableBgpDataResponseObj

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

func NewNullableBgpDataResponseObj

func NewNullableBgpDataResponseObj(val *BgpDataResponseObj) *NullableBgpDataResponseObj

func (NullableBgpDataResponseObj) Get

func (NullableBgpDataResponseObj) IsSet

func (v NullableBgpDataResponseObj) IsSet() bool

func (NullableBgpDataResponseObj) MarshalJSON

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

func (*NullableBgpDataResponseObj) Set

func (*NullableBgpDataResponseObj) UnmarshalJSON

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

func (*NullableBgpDataResponseObj) Unset

func (v *NullableBgpDataResponseObj) 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 NullableDatacenter

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

func NewNullableDatacenter

func NewNullableDatacenter(val *Datacenter) *NullableDatacenter

func (NullableDatacenter) Get

func (v NullableDatacenter) Get() *Datacenter

func (NullableDatacenter) IsSet

func (v NullableDatacenter) IsSet() bool

func (NullableDatacenter) MarshalJSON

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

func (*NullableDatacenter) Set

func (v *NullableDatacenter) Set(val *Datacenter)

func (*NullableDatacenter) UnmarshalJSON

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

func (*NullableDatacenter) Unset

func (v *NullableDatacenter) Unset()

type NullableDatacenterWithIP

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

func NewNullableDatacenterWithIP

func NewNullableDatacenterWithIP(val *DatacenterWithIP) *NullableDatacenterWithIP

func (NullableDatacenterWithIP) Get

func (NullableDatacenterWithIP) IsSet

func (v NullableDatacenterWithIP) IsSet() bool

func (NullableDatacenterWithIP) MarshalJSON

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

func (*NullableDatacenterWithIP) Set

func (*NullableDatacenterWithIP) UnmarshalJSON

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

func (*NullableDatacenterWithIP) Unset

func (v *NullableDatacenterWithIP) Unset()

type NullableDeviceType

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

func NewNullableDeviceType

func NewNullableDeviceType(val *DeviceType) *NullableDeviceType

func (NullableDeviceType) Get

func (v NullableDeviceType) Get() *DeviceType

func (NullableDeviceType) IsSet

func (v NullableDeviceType) IsSet() bool

func (NullableDeviceType) MarshalJSON

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

func (*NullableDeviceType) Set

func (v *NullableDeviceType) Set(val *DeviceType)

func (*NullableDeviceType) UnmarshalJSON

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

func (*NullableDeviceType) Unset

func (v *NullableDeviceType) Unset()

type NullableError400BulkStates

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

func NewNullableError400BulkStates

func NewNullableError400BulkStates(val *Error400BulkStates) *NullableError400BulkStates

func (NullableError400BulkStates) Get

func (NullableError400BulkStates) IsSet

func (v NullableError400BulkStates) IsSet() bool

func (NullableError400BulkStates) MarshalJSON

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

func (*NullableError400BulkStates) Set

func (*NullableError400BulkStates) UnmarshalJSON

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

func (*NullableError400BulkStates) Unset

func (v *NullableError400BulkStates) Unset()

type NullableError400BulkStatesValidationErrors

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

func (NullableError400BulkStatesValidationErrors) Get

func (NullableError400BulkStatesValidationErrors) IsSet

func (NullableError400BulkStatesValidationErrors) MarshalJSON

func (*NullableError400BulkStatesValidationErrors) Set

func (*NullableError400BulkStatesValidationErrors) UnmarshalJSON

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

func (*NullableError400BulkStatesValidationErrors) Unset

type NullableError400ListError

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

func NewNullableError400ListError

func NewNullableError400ListError(val *Error400ListError) *NullableError400ListError

func (NullableError400ListError) Get

func (NullableError400ListError) IsSet

func (v NullableError400ListError) IsSet() bool

func (NullableError400ListError) MarshalJSON

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

func (*NullableError400ListError) Set

func (*NullableError400ListError) UnmarshalJSON

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

func (*NullableError400ListError) Unset

func (v *NullableError400ListError) Unset()

type NullableError400ListOneOf

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

func NewNullableError400ListOneOf

func NewNullableError400ListOneOf(val *Error400ListOneOf) *NullableError400ListOneOf

func (NullableError400ListOneOf) Get

func (NullableError400ListOneOf) IsSet

func (v NullableError400ListOneOf) IsSet() bool

func (NullableError400ListOneOf) MarshalJSON

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

func (*NullableError400ListOneOf) Set

func (*NullableError400ListOneOf) UnmarshalJSON

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

func (*NullableError400ListOneOf) Unset

func (v *NullableError400ListOneOf) Unset()

type NullableError400ListOneOfValidation

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

func (NullableError400ListOneOfValidation) Get

func (NullableError400ListOneOfValidation) IsSet

func (NullableError400ListOneOfValidation) MarshalJSON

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

func (*NullableError400ListOneOfValidation) Set

func (*NullableError400ListOneOfValidation) UnmarshalJSON

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

func (*NullableError400ListOneOfValidation) Unset

type NullableError400NTGIDError

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

func NewNullableError400NTGIDError

func NewNullableError400NTGIDError(val *Error400NTGIDError) *NullableError400NTGIDError

func (NullableError400NTGIDError) Get

func (NullableError400NTGIDError) IsSet

func (v NullableError400NTGIDError) IsSet() bool

func (NullableError400NTGIDError) MarshalJSON

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

func (*NullableError400NTGIDError) Set

func (*NullableError400NTGIDError) UnmarshalJSON

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

func (*NullableError400NTGIDError) Unset

func (v *NullableError400NTGIDError) Unset()

type NullableError400RegionsError

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

func NewNullableError400RegionsError

func NewNullableError400RegionsError(val *Error400RegionsError) *NullableError400RegionsError

func (NullableError400RegionsError) Get

func (NullableError400RegionsError) IsSet

func (NullableError400RegionsError) MarshalJSON

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

func (*NullableError400RegionsError) Set

func (*NullableError400RegionsError) UnmarshalJSON

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

func (*NullableError400RegionsError) Unset

func (v *NullableError400RegionsError) Unset()

type NullableError400RegionsOneOf

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

func NewNullableError400RegionsOneOf

func NewNullableError400RegionsOneOf(val *Error400RegionsOneOf) *NullableError400RegionsOneOf

func (NullableError400RegionsOneOf) Get

func (NullableError400RegionsOneOf) IsSet

func (NullableError400RegionsOneOf) MarshalJSON

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

func (*NullableError400RegionsOneOf) Set

func (*NullableError400RegionsOneOf) UnmarshalJSON

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

func (*NullableError400RegionsOneOf) Unset

func (v *NullableError400RegionsOneOf) Unset()

type NullableError400RegionsOneOfValidationErrors

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

func (NullableError400RegionsOneOfValidationErrors) Get

func (NullableError400RegionsOneOfValidationErrors) IsSet

func (NullableError400RegionsOneOfValidationErrors) MarshalJSON

func (*NullableError400RegionsOneOfValidationErrors) Set

func (*NullableError400RegionsOneOfValidationErrors) UnmarshalJSON

func (*NullableError400RegionsOneOfValidationErrors) Unset

type NullableError400ValidationError

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

func (NullableError400ValidationError) Get

func (NullableError400ValidationError) IsSet

func (NullableError400ValidationError) MarshalJSON

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

func (*NullableError400ValidationError) Set

func (*NullableError400ValidationError) UnmarshalJSON

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

func (*NullableError400ValidationError) Unset

type NullableError400ValidationOneOf

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

func (NullableError400ValidationOneOf) Get

func (NullableError400ValidationOneOf) IsSet

func (NullableError400ValidationOneOf) MarshalJSON

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

func (*NullableError400ValidationOneOf) Set

func (*NullableError400ValidationOneOf) UnmarshalJSON

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

func (*NullableError400ValidationOneOf) Unset

type NullableError400ValidationOneOfValidationErrors

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

func (NullableError400ValidationOneOfValidationErrors) Get

func (NullableError400ValidationOneOfValidationErrors) IsSet

func (NullableError400ValidationOneOfValidationErrors) MarshalJSON

func (*NullableError400ValidationOneOfValidationErrors) Set

func (*NullableError400ValidationOneOfValidationErrors) UnmarshalJSON

func (*NullableError400ValidationOneOfValidationErrors) Unset

type NullableError401

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

func NewNullableError401

func NewNullableError401(val *Error401) *NullableError401

func (NullableError401) Get

func (v NullableError401) Get() *Error401

func (NullableError401) IsSet

func (v NullableError401) IsSet() bool

func (NullableError401) MarshalJSON

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

func (*NullableError401) Set

func (v *NullableError401) Set(val *Error401)

func (*NullableError401) UnmarshalJSON

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

func (*NullableError401) Unset

func (v *NullableError401) Unset()

type NullableError403

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

func NewNullableError403

func NewNullableError403(val *Error403) *NullableError403

func (NullableError403) Get

func (v NullableError403) Get() *Error403

func (NullableError403) IsSet

func (v NullableError403) IsSet() bool

func (NullableError403) MarshalJSON

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

func (*NullableError403) Set

func (v *NullableError403) Set(val *Error403)

func (*NullableError403) UnmarshalJSON

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

func (*NullableError403) Unset

func (v *NullableError403) Unset()

type NullableError404

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

func NewNullableError404

func NewNullableError404(val *Error404) *NullableError404

func (NullableError404) Get

func (v NullableError404) Get() *Error404

func (NullableError404) IsSet

func (v NullableError404) IsSet() bool

func (NullableError404) MarshalJSON

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

func (*NullableError404) Set

func (v *NullableError404) Set(val *Error404)

func (*NullableError404) UnmarshalJSON

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

func (*NullableError404) Unset

func (v *NullableError404) Unset()

type NullableError409

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

func NewNullableError409

func NewNullableError409(val *Error409) *NullableError409

func (NullableError409) Get

func (v NullableError409) Get() *Error409

func (NullableError409) IsSet

func (v NullableError409) IsSet() bool

func (NullableError409) MarshalJSON

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

func (*NullableError409) Set

func (v *NullableError409) Set(val *Error409)

func (*NullableError409) UnmarshalJSON

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

func (*NullableError409) Unset

func (v *NullableError409) Unset()

type NullableError500

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

func NewNullableError500

func NewNullableError500(val *Error500) *NullableError500

func (NullableError500) Get

func (v NullableError500) Get() *Error500

func (NullableError500) IsSet

func (v NullableError500) IsSet() bool

func (NullableError500) MarshalJSON

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

func (*NullableError500) Set

func (v *NullableError500) Set(val *Error500)

func (*NullableError500) UnmarshalJSON

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

func (*NullableError500) Unset

func (v *NullableError500) Unset()

type NullableFiltersNTGsObject

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

func NewNullableFiltersNTGsObject

func NewNullableFiltersNTGsObject(val *FiltersNTGsObject) *NullableFiltersNTGsObject

func (NullableFiltersNTGsObject) Get

func (NullableFiltersNTGsObject) IsSet

func (v NullableFiltersNTGsObject) IsSet() bool

func (NullableFiltersNTGsObject) MarshalJSON

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

func (*NullableFiltersNTGsObject) Set

func (*NullableFiltersNTGsObject) UnmarshalJSON

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

func (*NullableFiltersNTGsObject) Unset

func (v *NullableFiltersNTGsObject) Unset()

type NullableFiltersRegionsObject

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

func NewNullableFiltersRegionsObject

func NewNullableFiltersRegionsObject(val *FiltersRegionsObject) *NullableFiltersRegionsObject

func (NullableFiltersRegionsObject) Get

func (NullableFiltersRegionsObject) IsSet

func (NullableFiltersRegionsObject) MarshalJSON

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

func (*NullableFiltersRegionsObject) Set

func (*NullableFiltersRegionsObject) UnmarshalJSON

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

func (*NullableFiltersRegionsObject) Unset

func (v *NullableFiltersRegionsObject) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableHubState

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

func NewNullableHubState

func NewNullableHubState(val *HubState) *NullableHubState

func (NullableHubState) Get

func (v NullableHubState) Get() *HubState

func (NullableHubState) IsSet

func (v NullableHubState) IsSet() bool

func (NullableHubState) MarshalJSON

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

func (*NullableHubState) Set

func (v *NullableHubState) Set(val *HubState)

func (*NullableHubState) UnmarshalJSON

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

func (*NullableHubState) Unset

func (v *NullableHubState) Unset()

type NullableHubStatus

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

func NewNullableHubStatus

func NewNullableHubStatus(val *HubStatus) *NullableHubStatus

func (NullableHubStatus) Get

func (v NullableHubStatus) Get() *HubStatus

func (NullableHubStatus) IsSet

func (v NullableHubStatus) IsSet() bool

func (NullableHubStatus) MarshalJSON

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

func (*NullableHubStatus) Set

func (v *NullableHubStatus) Set(val *HubStatus)

func (*NullableHubStatus) UnmarshalJSON

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

func (*NullableHubStatus) Unset

func (v *NullableHubStatus) Unset()

type NullableHubsInner

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

func NewNullableHubsInner

func NewNullableHubsInner(val *HubsInner) *NullableHubsInner

func (NullableHubsInner) Get

func (v NullableHubsInner) Get() *HubsInner

func (NullableHubsInner) IsSet

func (v NullableHubsInner) IsSet() bool

func (NullableHubsInner) MarshalJSON

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

func (*NullableHubsInner) Set

func (v *NullableHubsInner) Set(val *HubsInner)

func (*NullableHubsInner) UnmarshalJSON

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

func (*NullableHubsInner) Unset

func (v *NullableHubsInner) Unset()

type NullableHubsWithIPInner

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

func NewNullableHubsWithIPInner

func NewNullableHubsWithIPInner(val *HubsWithIPInner) *NullableHubsWithIPInner

func (NullableHubsWithIPInner) Get

func (NullableHubsWithIPInner) IsSet

func (v NullableHubsWithIPInner) IsSet() bool

func (NullableHubsWithIPInner) MarshalJSON

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

func (*NullableHubsWithIPInner) Set

func (*NullableHubsWithIPInner) UnmarshalJSON

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

func (*NullableHubsWithIPInner) Unset

func (v *NullableHubsWithIPInner) Unset()

type NullableHubsWithStateInner

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

func NewNullableHubsWithStateInner

func NewNullableHubsWithStateInner(val *HubsWithStateInner) *NullableHubsWithStateInner

func (NullableHubsWithStateInner) Get

func (NullableHubsWithStateInner) IsSet

func (v NullableHubsWithStateInner) IsSet() bool

func (NullableHubsWithStateInner) MarshalJSON

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

func (*NullableHubsWithStateInner) Set

func (*NullableHubsWithStateInner) UnmarshalJSON

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

func (*NullableHubsWithStateInner) Unset

func (v *NullableHubsWithStateInner) Unset()

type NullableHubsWithStateInnerDatacenter

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

func (NullableHubsWithStateInnerDatacenter) Get

func (NullableHubsWithStateInnerDatacenter) IsSet

func (NullableHubsWithStateInnerDatacenter) MarshalJSON

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

func (*NullableHubsWithStateInnerDatacenter) Set

func (*NullableHubsWithStateInnerDatacenter) UnmarshalJSON

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

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

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

func (NullableNetworkTunnelGroupBulkStateResponse) Get

func (NullableNetworkTunnelGroupBulkStateResponse) IsSet

func (NullableNetworkTunnelGroupBulkStateResponse) MarshalJSON

func (*NullableNetworkTunnelGroupBulkStateResponse) Set

func (*NullableNetworkTunnelGroupBulkStateResponse) UnmarshalJSON

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

func (*NullableNetworkTunnelGroupBulkStateResponse) Unset

type NullableNetworkTunnelGroupListResponse

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

func (NullableNetworkTunnelGroupListResponse) Get

func (NullableNetworkTunnelGroupListResponse) IsSet

func (NullableNetworkTunnelGroupListResponse) MarshalJSON

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

func (*NullableNetworkTunnelGroupListResponse) Set

func (*NullableNetworkTunnelGroupListResponse) UnmarshalJSON

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

func (*NullableNetworkTunnelGroupListResponse) Unset

type NullableNetworkTunnelGroupResponse

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

func (NullableNetworkTunnelGroupResponse) Get

func (NullableNetworkTunnelGroupResponse) IsSet

func (NullableNetworkTunnelGroupResponse) MarshalJSON

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

func (*NullableNetworkTunnelGroupResponse) Set

func (*NullableNetworkTunnelGroupResponse) UnmarshalJSON

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

func (*NullableNetworkTunnelGroupResponse) Unset

type NullableNetworkTunnelGroupStateResponse

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

func (NullableNetworkTunnelGroupStateResponse) Get

func (NullableNetworkTunnelGroupStateResponse) IsSet

func (NullableNetworkTunnelGroupStateResponse) MarshalJSON

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

func (*NullableNetworkTunnelGroupStateResponse) Set

func (*NullableNetworkTunnelGroupStateResponse) UnmarshalJSON

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

func (*NullableNetworkTunnelGroupStateResponse) Unset

type NullableNetworkTunnelGroupsList

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

func (NullableNetworkTunnelGroupsList) Get

func (NullableNetworkTunnelGroupsList) IsSet

func (NullableNetworkTunnelGroupsList) MarshalJSON

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

func (*NullableNetworkTunnelGroupsList) Set

func (*NullableNetworkTunnelGroupsList) UnmarshalJSON

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

func (*NullableNetworkTunnelGroupsList) Unset

type NullablePatchNetworkTunnelGroupRequestInner

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

func (NullablePatchNetworkTunnelGroupRequestInner) Get

func (NullablePatchNetworkTunnelGroupRequestInner) IsSet

func (NullablePatchNetworkTunnelGroupRequestInner) MarshalJSON

func (*NullablePatchNetworkTunnelGroupRequestInner) Set

func (*NullablePatchNetworkTunnelGroupRequestInner) UnmarshalJSON

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

func (*NullablePatchNetworkTunnelGroupRequestInner) Unset

type NullablePatchNetworkTunnelGroupRequestInnerValue

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

func (NullablePatchNetworkTunnelGroupRequestInnerValue) Get

func (NullablePatchNetworkTunnelGroupRequestInnerValue) IsSet

func (NullablePatchNetworkTunnelGroupRequestInnerValue) MarshalJSON

func (*NullablePatchNetworkTunnelGroupRequestInnerValue) Set

func (*NullablePatchNetworkTunnelGroupRequestInnerValue) UnmarshalJSON

func (*NullablePatchNetworkTunnelGroupRequestInnerValue) Unset

type NullableRegionList

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

func NewNullableRegionList

func NewNullableRegionList(val *RegionList) *NullableRegionList

func (NullableRegionList) Get

func (v NullableRegionList) Get() *RegionList

func (NullableRegionList) IsSet

func (v NullableRegionList) IsSet() bool

func (NullableRegionList) MarshalJSON

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

func (*NullableRegionList) Set

func (v *NullableRegionList) Set(val *RegionList)

func (*NullableRegionList) UnmarshalJSON

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

func (*NullableRegionList) Unset

func (v *NullableRegionList) Unset()

type NullableRegionListRegionsInner

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

func (NullableRegionListRegionsInner) Get

func (NullableRegionListRegionsInner) IsSet

func (NullableRegionListRegionsInner) MarshalJSON

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

func (*NullableRegionListRegionsInner) Set

func (*NullableRegionListRegionsInner) UnmarshalJSON

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

func (*NullableRegionListRegionsInner) Unset

func (v *NullableRegionListRegionsInner) Unset()

type NullableRoutingRequest

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

func NewNullableRoutingRequest

func NewNullableRoutingRequest(val *RoutingRequest) *NullableRoutingRequest

func (NullableRoutingRequest) Get

func (NullableRoutingRequest) IsSet

func (v NullableRoutingRequest) IsSet() bool

func (NullableRoutingRequest) MarshalJSON

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

func (*NullableRoutingRequest) Set

func (*NullableRoutingRequest) UnmarshalJSON

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

func (*NullableRoutingRequest) Unset

func (v *NullableRoutingRequest) Unset()

type NullableRoutingRequestData

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

func NewNullableRoutingRequestData

func NewNullableRoutingRequestData(val *RoutingRequestData) *NullableRoutingRequestData

func (NullableRoutingRequestData) Get

func (NullableRoutingRequestData) IsSet

func (v NullableRoutingRequestData) IsSet() bool

func (NullableRoutingRequestData) MarshalJSON

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

func (*NullableRoutingRequestData) Set

func (*NullableRoutingRequestData) UnmarshalJSON

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

func (*NullableRoutingRequestData) Unset

func (v *NullableRoutingRequestData) Unset()

type NullableRoutingResponse

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

func NewNullableRoutingResponse

func NewNullableRoutingResponse(val *RoutingResponse) *NullableRoutingResponse

func (NullableRoutingResponse) Get

func (NullableRoutingResponse) IsSet

func (v NullableRoutingResponse) IsSet() bool

func (NullableRoutingResponse) MarshalJSON

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

func (*NullableRoutingResponse) Set

func (*NullableRoutingResponse) UnmarshalJSON

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

func (*NullableRoutingResponse) Unset

func (v *NullableRoutingResponse) Unset()

type NullableRoutingResponseData

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

func NewNullableRoutingResponseData

func NewNullableRoutingResponseData(val *RoutingResponseData) *NullableRoutingResponseData

func (NullableRoutingResponseData) Get

func (NullableRoutingResponseData) IsSet

func (NullableRoutingResponseData) MarshalJSON

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

func (*NullableRoutingResponseData) Set

func (*NullableRoutingResponseData) UnmarshalJSON

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

func (*NullableRoutingResponseData) Unset

func (v *NullableRoutingResponseData) Unset()

type NullableStaticDataRequestObj

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

func NewNullableStaticDataRequestObj

func NewNullableStaticDataRequestObj(val *StaticDataRequestObj) *NullableStaticDataRequestObj

func (NullableStaticDataRequestObj) Get

func (NullableStaticDataRequestObj) IsSet

func (NullableStaticDataRequestObj) MarshalJSON

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

func (*NullableStaticDataRequestObj) Set

func (*NullableStaticDataRequestObj) UnmarshalJSON

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

func (*NullableStaticDataRequestObj) Unset

func (v *NullableStaticDataRequestObj) Unset()

type NullableStaticDataResponseObj

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

func (NullableStaticDataResponseObj) Get

func (NullableStaticDataResponseObj) IsSet

func (NullableStaticDataResponseObj) MarshalJSON

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

func (*NullableStaticDataResponseObj) Set

func (*NullableStaticDataResponseObj) UnmarshalJSON

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

func (*NullableStaticDataResponseObj) Unset

func (v *NullableStaticDataResponseObj) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

func (v *NullableStatus) 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 NullableTunnelDataState

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

func NewNullableTunnelDataState

func NewNullableTunnelDataState(val *TunnelDataState) *NullableTunnelDataState

func (NullableTunnelDataState) Get

func (NullableTunnelDataState) IsSet

func (v NullableTunnelDataState) IsSet() bool

func (NullableTunnelDataState) MarshalJSON

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

func (*NullableTunnelDataState) Set

func (*NullableTunnelDataState) UnmarshalJSON

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

func (*NullableTunnelDataState) Unset

func (v *NullableTunnelDataState) Unset()

type NullableTunnelIKEState

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

func NewNullableTunnelIKEState

func NewNullableTunnelIKEState(val *TunnelIKEState) *NullableTunnelIKEState

func (NullableTunnelIKEState) Get

func (NullableTunnelIKEState) IsSet

func (v NullableTunnelIKEState) IsSet() bool

func (NullableTunnelIKEState) MarshalJSON

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

func (*NullableTunnelIKEState) Set

func (*NullableTunnelIKEState) UnmarshalJSON

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

func (*NullableTunnelIKEState) Unset

func (v *NullableTunnelIKEState) Unset()

type NullableTunnelIPSecState

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

func NewNullableTunnelIPSecState

func NewNullableTunnelIPSecState(val *TunnelIPSecState) *NullableTunnelIPSecState

func (NullableTunnelIPSecState) Get

func (NullableTunnelIPSecState) IsSet

func (v NullableTunnelIPSecState) IsSet() bool

func (NullableTunnelIPSecState) MarshalJSON

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

func (*NullableTunnelIPSecState) Set

func (*NullableTunnelIPSecState) UnmarshalJSON

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

func (*NullableTunnelIPSecState) Unset

func (v *NullableTunnelIPSecState) Unset()

type NullableTunnelRoutingStats

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

func NewNullableTunnelRoutingStats

func NewNullableTunnelRoutingStats(val *TunnelRoutingStats) *NullableTunnelRoutingStats

func (NullableTunnelRoutingStats) Get

func (NullableTunnelRoutingStats) IsSet

func (v NullableTunnelRoutingStats) IsSet() bool

func (NullableTunnelRoutingStats) MarshalJSON

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

func (*NullableTunnelRoutingStats) Set

func (*NullableTunnelRoutingStats) UnmarshalJSON

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

func (*NullableTunnelRoutingStats) Unset

func (v *NullableTunnelRoutingStats) Unset()

type NullableTunnelRoutingStatsClientRouteStats

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

func (NullableTunnelRoutingStatsClientRouteStats) Get

func (NullableTunnelRoutingStatsClientRouteStats) IsSet

func (NullableTunnelRoutingStatsClientRouteStats) MarshalJSON

func (*NullableTunnelRoutingStatsClientRouteStats) Set

func (*NullableTunnelRoutingStatsClientRouteStats) UnmarshalJSON

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

func (*NullableTunnelRoutingStatsClientRouteStats) Unset

type NullableTunnelRoutingStatsClientRouteStatsStatsInner

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

func (NullableTunnelRoutingStatsClientRouteStatsStatsInner) Get

func (NullableTunnelRoutingStatsClientRouteStatsStatsInner) IsSet

func (NullableTunnelRoutingStatsClientRouteStatsStatsInner) MarshalJSON

func (*NullableTunnelRoutingStatsClientRouteStatsStatsInner) Set

func (*NullableTunnelRoutingStatsClientRouteStatsStatsInner) UnmarshalJSON

func (*NullableTunnelRoutingStatsClientRouteStatsStatsInner) Unset

type NullableTunnelRoutingStatsCloudRouteStats

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

func (NullableTunnelRoutingStatsCloudRouteStats) Get

func (NullableTunnelRoutingStatsCloudRouteStats) IsSet

func (NullableTunnelRoutingStatsCloudRouteStats) MarshalJSON

func (*NullableTunnelRoutingStatsCloudRouteStats) Set

func (*NullableTunnelRoutingStatsCloudRouteStats) UnmarshalJSON

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

func (*NullableTunnelRoutingStatsCloudRouteStats) Unset

type NullableTunnelRoutingStatsCloudRouteStatsStatsInner

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

func (NullableTunnelRoutingStatsCloudRouteStatsStatsInner) Get

func (NullableTunnelRoutingStatsCloudRouteStatsStatsInner) IsSet

func (NullableTunnelRoutingStatsCloudRouteStatsStatsInner) MarshalJSON

func (*NullableTunnelRoutingStatsCloudRouteStatsStatsInner) Set

func (*NullableTunnelRoutingStatsCloudRouteStatsStatsInner) UnmarshalJSON

func (*NullableTunnelRoutingStatsCloudRouteStatsStatsInner) Unset

type NullableTunnelState

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

func NewNullableTunnelState

func NewNullableTunnelState(val *TunnelState) *NullableTunnelState

func (NullableTunnelState) Get

func (NullableTunnelState) IsSet

func (v NullableTunnelState) IsSet() bool

func (NullableTunnelState) MarshalJSON

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

func (*NullableTunnelState) Set

func (v *NullableTunnelState) Set(val *TunnelState)

func (*NullableTunnelState) UnmarshalJSON

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

func (*NullableTunnelState) Unset

func (v *NullableTunnelState) Unset()

type PatchNetworkTunnelGroupRequestInner

type PatchNetworkTunnelGroupRequestInner struct {
	// The operation that needs to be done. The only available operation is `replace`.
	Op string `json:"op"`
	// The path of the property that needs to be updated. Available paths are `/name`, `/authIdPrefix`, `/passphrase`, `/region`, and `/routing`.
	Path                 string                                   `json:"path"`
	Value                PatchNetworkTunnelGroupRequestInnerValue `json:"value"`
	AdditionalProperties map[string]interface{}
}

PatchNetworkTunnelGroupRequestInner The properties of the Network Tunnel Group.

func NewPatchNetworkTunnelGroupRequestInner

func NewPatchNetworkTunnelGroupRequestInner(op string, path string, value PatchNetworkTunnelGroupRequestInnerValue) *PatchNetworkTunnelGroupRequestInner

NewPatchNetworkTunnelGroupRequestInner instantiates a new PatchNetworkTunnelGroupRequestInner 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 NewPatchNetworkTunnelGroupRequestInnerWithDefaults

func NewPatchNetworkTunnelGroupRequestInnerWithDefaults() *PatchNetworkTunnelGroupRequestInner

NewPatchNetworkTunnelGroupRequestInnerWithDefaults instantiates a new PatchNetworkTunnelGroupRequestInner 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 (*PatchNetworkTunnelGroupRequestInner) GetOp

GetOp returns the Op field value

func (*PatchNetworkTunnelGroupRequestInner) GetOpOk

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

func (*PatchNetworkTunnelGroupRequestInner) GetPath

GetPath returns the Path field value

func (*PatchNetworkTunnelGroupRequestInner) GetPathOk

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

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

func (*PatchNetworkTunnelGroupRequestInner) GetValue

GetValue returns the Value field value

func (*PatchNetworkTunnelGroupRequestInner) GetValueOk

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

func (PatchNetworkTunnelGroupRequestInner) MarshalJSON

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

func (*PatchNetworkTunnelGroupRequestInner) SetOp

SetOp sets field value

func (*PatchNetworkTunnelGroupRequestInner) SetPath

SetPath sets field value

func (*PatchNetworkTunnelGroupRequestInner) SetValue

SetValue sets field value

func (PatchNetworkTunnelGroupRequestInner) ToMap

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

func (*PatchNetworkTunnelGroupRequestInner) UnmarshalJSON

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

type PatchNetworkTunnelGroupRequestInnerValue

type PatchNetworkTunnelGroupRequestInnerValue struct {
	RoutingRequest *RoutingRequest
	String         *string
}

PatchNetworkTunnelGroupRequestInnerValue - struct for PatchNetworkTunnelGroupRequestInnerValue

func RoutingRequestAsPatchNetworkTunnelGroupRequestInnerValue

func RoutingRequestAsPatchNetworkTunnelGroupRequestInnerValue(v *RoutingRequest) PatchNetworkTunnelGroupRequestInnerValue

RoutingRequestAsPatchNetworkTunnelGroupRequestInnerValue is a convenience function that returns RoutingRequest wrapped in PatchNetworkTunnelGroupRequestInnerValue

func StringAsPatchNetworkTunnelGroupRequestInnerValue

func StringAsPatchNetworkTunnelGroupRequestInnerValue(v *string) PatchNetworkTunnelGroupRequestInnerValue

stringAsPatchNetworkTunnelGroupRequestInnerValue is a convenience function that returns string wrapped in PatchNetworkTunnelGroupRequestInnerValue

func (*PatchNetworkTunnelGroupRequestInnerValue) GetActualInstance

func (obj *PatchNetworkTunnelGroupRequestInnerValue) GetActualInstance() interface{}

Get the actual instance

func (PatchNetworkTunnelGroupRequestInnerValue) MarshalJSON

func (src PatchNetworkTunnelGroupRequestInnerValue) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*PatchNetworkTunnelGroupRequestInnerValue) UnmarshalJSON

func (dst *PatchNetworkTunnelGroupRequestInnerValue) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RegionList

type RegionList struct {
	// The list of regions for the Network Tunnel Groups.
	Regions              []RegionListRegionsInner `json:"regions,omitempty"`
	Bgp                  *Bgp                     `json:"bgp,omitempty"`
	AdditionalProperties map[string]interface{}
}

RegionList The list of regions associated with the tunnel.

func NewRegionList

func NewRegionList() *RegionList

NewRegionList instantiates a new RegionList 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 NewRegionListWithDefaults

func NewRegionListWithDefaults() *RegionList

NewRegionListWithDefaults instantiates a new RegionList 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 (*RegionList) GetBgp

func (o *RegionList) GetBgp() Bgp

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

func (*RegionList) GetBgpOk

func (o *RegionList) GetBgpOk() (*Bgp, 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 (*RegionList) GetRegions

func (o *RegionList) GetRegions() []RegionListRegionsInner

GetRegions returns the Regions field value if set, zero value otherwise.

func (*RegionList) GetRegionsOk

func (o *RegionList) GetRegionsOk() ([]RegionListRegionsInner, bool)

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

func (*RegionList) HasBgp

func (o *RegionList) HasBgp() bool

HasBgp returns a boolean if a field has been set.

func (*RegionList) HasRegions

func (o *RegionList) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (RegionList) MarshalJSON

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

func (*RegionList) SetBgp

func (o *RegionList) SetBgp(v Bgp)

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

func (*RegionList) SetRegions

func (o *RegionList) SetRegions(v []RegionListRegionsInner)

SetRegions gets a reference to the given []RegionListRegionsInner and assigns it to the Regions field.

func (RegionList) ToMap

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

func (*RegionList) UnmarshalJSON

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

type RegionListRegionsInner

type RegionListRegionsInner struct {
	// The name of a region.
	Name string `json:"name"`
	// The ID of a region.
	Region string `json:"region"`
	// The country and location of a region.
	Description string `json:"description"`
	// The continent where the region is located.
	Continent            string `json:"continent"`
	AdditionalProperties map[string]interface{}
}

RegionListRegionsInner The properties of the region.

func NewRegionListRegionsInner

func NewRegionListRegionsInner(name string, region string, description string, continent string) *RegionListRegionsInner

NewRegionListRegionsInner instantiates a new RegionListRegionsInner 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 NewRegionListRegionsInnerWithDefaults

func NewRegionListRegionsInnerWithDefaults() *RegionListRegionsInner

NewRegionListRegionsInnerWithDefaults instantiates a new RegionListRegionsInner 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 (*RegionListRegionsInner) GetContinent

func (o *RegionListRegionsInner) GetContinent() string

GetContinent returns the Continent field value

func (*RegionListRegionsInner) GetContinentOk

func (o *RegionListRegionsInner) GetContinentOk() (*string, bool)

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

func (*RegionListRegionsInner) GetDescription

func (o *RegionListRegionsInner) GetDescription() string

GetDescription returns the Description field value

func (*RegionListRegionsInner) GetDescriptionOk

func (o *RegionListRegionsInner) GetDescriptionOk() (*string, bool)

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

func (*RegionListRegionsInner) GetName

func (o *RegionListRegionsInner) GetName() string

GetName returns the Name field value

func (*RegionListRegionsInner) GetNameOk

func (o *RegionListRegionsInner) GetNameOk() (*string, bool)

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

func (*RegionListRegionsInner) GetRegion

func (o *RegionListRegionsInner) GetRegion() string

GetRegion returns the Region field value

func (*RegionListRegionsInner) GetRegionOk

func (o *RegionListRegionsInner) GetRegionOk() (*string, bool)

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

func (RegionListRegionsInner) MarshalJSON

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

func (*RegionListRegionsInner) SetContinent

func (o *RegionListRegionsInner) SetContinent(v string)

SetContinent sets field value

func (*RegionListRegionsInner) SetDescription

func (o *RegionListRegionsInner) SetDescription(v string)

SetDescription sets field value

func (*RegionListRegionsInner) SetName

func (o *RegionListRegionsInner) SetName(v string)

SetName sets field value

func (*RegionListRegionsInner) SetRegion

func (o *RegionListRegionsInner) SetRegion(v string)

SetRegion sets field value

func (RegionListRegionsInner) ToMap

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

func (*RegionListRegionsInner) UnmarshalJSON

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

type RoutingRequest

type RoutingRequest struct {
	// The type of the route.
	Type                 string             `json:"type"`
	Data                 RoutingRequestData `json:"data"`
	AdditionalProperties map[string]interface{}
}

RoutingRequest The routing information for the network tunnel. The `nat` routing type is used when the tunnels in your organization connect to network spaces with overlapping IP address spaces. If the routing type is `nat`, then set the `data` field to null or an empty string. If the routing type is `bgp`, then set the `data` field with the `asNumber` field. If the routing type is `static`, then set the `data` field with the `networkCIDRs` field.

func NewRoutingRequest

func NewRoutingRequest(type_ string, data RoutingRequestData) *RoutingRequest

NewRoutingRequest instantiates a new RoutingRequest 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 NewRoutingRequestWithDefaults

func NewRoutingRequestWithDefaults() *RoutingRequest

NewRoutingRequestWithDefaults instantiates a new RoutingRequest 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 (*RoutingRequest) GetData

func (o *RoutingRequest) GetData() RoutingRequestData

GetData returns the Data field value

func (*RoutingRequest) GetDataOk

func (o *RoutingRequest) GetDataOk() (*RoutingRequestData, bool)

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

func (*RoutingRequest) GetType

func (o *RoutingRequest) GetType() string

GetType returns the Type field value

func (*RoutingRequest) GetTypeOk

func (o *RoutingRequest) GetTypeOk() (*string, bool)

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

func (RoutingRequest) MarshalJSON

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

func (*RoutingRequest) SetData

func (o *RoutingRequest) SetData(v RoutingRequestData)

SetData sets field value

func (*RoutingRequest) SetType

func (o *RoutingRequest) SetType(v string)

SetType sets field value

func (RoutingRequest) ToMap

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

func (*RoutingRequest) UnmarshalJSON

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

type RoutingRequestData

type RoutingRequestData struct {
	BgpDataRequestObj    *BgpDataRequestObj
	StaticDataRequestObj *StaticDataRequestObj
	String               *string
}

RoutingRequestData - The list of network CIDR addresses or the autonomous system (AS) number.

func BgpDataRequestObjAsRoutingRequestData

func BgpDataRequestObjAsRoutingRequestData(v *BgpDataRequestObj) RoutingRequestData

BgpDataRequestObjAsRoutingRequestData is a convenience function that returns BgpDataRequestObj wrapped in RoutingRequestData

func StaticDataRequestObjAsRoutingRequestData

func StaticDataRequestObjAsRoutingRequestData(v *StaticDataRequestObj) RoutingRequestData

StaticDataRequestObjAsRoutingRequestData is a convenience function that returns StaticDataRequestObj wrapped in RoutingRequestData

func StringAsRoutingRequestData

func StringAsRoutingRequestData(v *string) RoutingRequestData

stringAsRoutingRequestData is a convenience function that returns string wrapped in RoutingRequestData

func (*RoutingRequestData) GetActualInstance

func (obj *RoutingRequestData) GetActualInstance() interface{}

Get the actual instance

func (RoutingRequestData) MarshalJSON

func (src RoutingRequestData) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RoutingRequestData) UnmarshalJSON

func (dst *RoutingRequestData) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type RoutingResponse

type RoutingResponse struct {
	// The type of the route.
	Type                 string              `json:"type"`
	Data                 RoutingResponseData `json:"data"`
	AdditionalProperties map[string]interface{}
}

RoutingResponse The routing information for the network tunnel. If the routing type is `nat`, then the `data` field is empty. If the routing type is `bgp`, then `data` includes the `asNumber` field. If the routing type is `static`, then `data` includes the `networkCIDRs` field.

func NewRoutingResponse

func NewRoutingResponse(type_ string, data RoutingResponseData) *RoutingResponse

NewRoutingResponse instantiates a new RoutingResponse 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 NewRoutingResponseWithDefaults

func NewRoutingResponseWithDefaults() *RoutingResponse

NewRoutingResponseWithDefaults instantiates a new RoutingResponse 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 (*RoutingResponse) GetData

func (o *RoutingResponse) GetData() RoutingResponseData

GetData returns the Data field value

func (*RoutingResponse) GetDataOk

func (o *RoutingResponse) GetDataOk() (*RoutingResponseData, bool)

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

func (*RoutingResponse) GetType

func (o *RoutingResponse) GetType() string

GetType returns the Type field value

func (*RoutingResponse) GetTypeOk

func (o *RoutingResponse) GetTypeOk() (*string, bool)

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

func (RoutingResponse) MarshalJSON

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

func (*RoutingResponse) SetData

func (o *RoutingResponse) SetData(v RoutingResponseData)

SetData sets field value

func (*RoutingResponse) SetType

func (o *RoutingResponse) SetType(v string)

SetType sets field value

func (RoutingResponse) ToMap

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

func (*RoutingResponse) UnmarshalJSON

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

type RoutingResponseData

type RoutingResponseData struct {
	BgpDataResponseObj    *BgpDataResponseObj
	StaticDataResponseObj *StaticDataResponseObj
	String                *string
}

RoutingResponseData - The list of network CIDR addresses or the autonomous system (AS) number.

func BgpDataResponseObjAsRoutingResponseData

func BgpDataResponseObjAsRoutingResponseData(v *BgpDataResponseObj) RoutingResponseData

BgpDataResponseObjAsRoutingResponseData is a convenience function that returns BgpDataResponseObj wrapped in RoutingResponseData

func StaticDataResponseObjAsRoutingResponseData

func StaticDataResponseObjAsRoutingResponseData(v *StaticDataResponseObj) RoutingResponseData

StaticDataResponseObjAsRoutingResponseData is a convenience function that returns StaticDataResponseObj wrapped in RoutingResponseData

func StringAsRoutingResponseData

func StringAsRoutingResponseData(v *string) RoutingResponseData

stringAsRoutingResponseData is a convenience function that returns string wrapped in RoutingResponseData

func (*RoutingResponseData) GetActualInstance

func (obj *RoutingResponseData) GetActualInstance() interface{}

Get the actual instance

func (RoutingResponseData) MarshalJSON

func (src RoutingResponseData) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*RoutingResponseData) UnmarshalJSON

func (dst *RoutingResponseData) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StaticDataRequestObj

type StaticDataRequestObj struct {
	// The public and private address ranges that are used internally by your organization.
	NetworkCIDRs         []string `json:"networkCIDRs"`
	AdditionalProperties map[string]interface{}
}

StaticDataRequestObj The list of network CIDRs.

func NewStaticDataRequestObj

func NewStaticDataRequestObj(networkCIDRs []string) *StaticDataRequestObj

NewStaticDataRequestObj instantiates a new StaticDataRequestObj 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 NewStaticDataRequestObjWithDefaults

func NewStaticDataRequestObjWithDefaults() *StaticDataRequestObj

NewStaticDataRequestObjWithDefaults instantiates a new StaticDataRequestObj 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 (*StaticDataRequestObj) GetNetworkCIDRs

func (o *StaticDataRequestObj) GetNetworkCIDRs() []string

GetNetworkCIDRs returns the NetworkCIDRs field value

func (*StaticDataRequestObj) GetNetworkCIDRsOk

func (o *StaticDataRequestObj) GetNetworkCIDRsOk() ([]string, bool)

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

func (StaticDataRequestObj) MarshalJSON

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

func (*StaticDataRequestObj) SetNetworkCIDRs

func (o *StaticDataRequestObj) SetNetworkCIDRs(v []string)

SetNetworkCIDRs sets field value

func (StaticDataRequestObj) ToMap

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

func (*StaticDataRequestObj) UnmarshalJSON

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

type StaticDataResponseObj

type StaticDataResponseObj struct {
	// The public and private address ranges that are used internally by your organization.
	NetworkCIDRs         []string `json:"networkCIDRs"`
	AdditionalProperties map[string]interface{}
}

StaticDataResponseObj The list of network CIDRs.

func NewStaticDataResponseObj

func NewStaticDataResponseObj(networkCIDRs []string) *StaticDataResponseObj

NewStaticDataResponseObj instantiates a new StaticDataResponseObj 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 NewStaticDataResponseObjWithDefaults

func NewStaticDataResponseObjWithDefaults() *StaticDataResponseObj

NewStaticDataResponseObjWithDefaults instantiates a new StaticDataResponseObj 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 (*StaticDataResponseObj) GetNetworkCIDRs

func (o *StaticDataResponseObj) GetNetworkCIDRs() []string

GetNetworkCIDRs returns the NetworkCIDRs field value

func (*StaticDataResponseObj) GetNetworkCIDRsOk

func (o *StaticDataResponseObj) GetNetworkCIDRsOk() ([]string, bool)

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

func (StaticDataResponseObj) MarshalJSON

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

func (*StaticDataResponseObj) SetNetworkCIDRs

func (o *StaticDataResponseObj) SetNetworkCIDRs(v []string)

SetNetworkCIDRs sets field value

func (StaticDataResponseObj) ToMap

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

func (*StaticDataResponseObj) UnmarshalJSON

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

type Status

type Status string

Status The status of the Network Tunnel Group.

const (
	CONNECTED    Status = "connected"
	DISCONNECTED Status = "disconnected"
	WARNING      Status = "warning"
)

List of status

func NewStatusFromValue

func NewStatusFromValue(v string) (*Status, error)

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

func (Status) IsValid

func (v Status) IsValid() bool

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

func (Status) Ptr

func (v Status) Ptr() *Status

Ptr returns reference to status value

func (*Status) UnmarshalJSON

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

type TunnelDataState

type TunnelDataState struct {
	// The number of processed input packets (tunnel ingress).
	PacketsIn *string `json:"packetsIn,omitempty"`
	// The number of processed input bytes (tunnel ingress).
	BytesIn *string `json:"bytesIn,omitempty"`
	// The seconds since the last inbound packet (the time that the tunnel is idle).
	IdleTimeIn *string `json:"idleTimeIn,omitempty"`
	// The number of processed output packets (tunnel egress).
	PacketsOut *string `json:"packetsOut,omitempty"`
	// The number of processed output bytes (tunnel egress).
	BytesOut *string `json:"bytesOut,omitempty"`
	// The seconds since the last outbound packet (the time that the tunnel is idle).
	IdleTimeOut *string `json:"idleTimeOut,omitempty"`
	// The time when the packet and byte counters were initialized to 0.
	Initialized          *string `json:"initialized,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelDataState The properties of the state of the tunnel.

func NewTunnelDataState

func NewTunnelDataState() *TunnelDataState

NewTunnelDataState instantiates a new TunnelDataState 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 NewTunnelDataStateWithDefaults

func NewTunnelDataStateWithDefaults() *TunnelDataState

NewTunnelDataStateWithDefaults instantiates a new TunnelDataState 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 (*TunnelDataState) GetBytesIn

func (o *TunnelDataState) GetBytesIn() string

GetBytesIn returns the BytesIn field value if set, zero value otherwise.

func (*TunnelDataState) GetBytesInOk

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

func (o *TunnelDataState) GetBytesOut() string

GetBytesOut returns the BytesOut field value if set, zero value otherwise.

func (*TunnelDataState) GetBytesOutOk

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

func (o *TunnelDataState) GetIdleTimeIn() string

GetIdleTimeIn returns the IdleTimeIn field value if set, zero value otherwise.

func (*TunnelDataState) GetIdleTimeInOk

func (o *TunnelDataState) GetIdleTimeInOk() (*string, bool)

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

func (*TunnelDataState) GetIdleTimeOut

func (o *TunnelDataState) GetIdleTimeOut() string

GetIdleTimeOut returns the IdleTimeOut field value if set, zero value otherwise.

func (*TunnelDataState) GetIdleTimeOutOk

func (o *TunnelDataState) GetIdleTimeOutOk() (*string, bool)

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

func (*TunnelDataState) GetInitialized

func (o *TunnelDataState) GetInitialized() string

GetInitialized returns the Initialized field value if set, zero value otherwise.

func (*TunnelDataState) GetInitializedOk

func (o *TunnelDataState) GetInitializedOk() (*string, bool)

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

func (*TunnelDataState) GetPacketsIn

func (o *TunnelDataState) GetPacketsIn() string

GetPacketsIn returns the PacketsIn field value if set, zero value otherwise.

func (*TunnelDataState) GetPacketsInOk

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

func (o *TunnelDataState) GetPacketsOut() string

GetPacketsOut returns the PacketsOut field value if set, zero value otherwise.

func (*TunnelDataState) GetPacketsOutOk

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

func (o *TunnelDataState) HasBytesIn() bool

HasBytesIn returns a boolean if a field has been set.

func (*TunnelDataState) HasBytesOut

func (o *TunnelDataState) HasBytesOut() bool

HasBytesOut returns a boolean if a field has been set.

func (*TunnelDataState) HasIdleTimeIn

func (o *TunnelDataState) HasIdleTimeIn() bool

HasIdleTimeIn returns a boolean if a field has been set.

func (*TunnelDataState) HasIdleTimeOut

func (o *TunnelDataState) HasIdleTimeOut() bool

HasIdleTimeOut returns a boolean if a field has been set.

func (*TunnelDataState) HasInitialized

func (o *TunnelDataState) HasInitialized() bool

HasInitialized returns a boolean if a field has been set.

func (*TunnelDataState) HasPacketsIn

func (o *TunnelDataState) HasPacketsIn() bool

HasPacketsIn returns a boolean if a field has been set.

func (*TunnelDataState) HasPacketsOut

func (o *TunnelDataState) HasPacketsOut() bool

HasPacketsOut returns a boolean if a field has been set.

func (TunnelDataState) MarshalJSON

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

func (*TunnelDataState) SetBytesIn

func (o *TunnelDataState) SetBytesIn(v string)

SetBytesIn gets a reference to the given string and assigns it to the BytesIn field.

func (*TunnelDataState) SetBytesOut

func (o *TunnelDataState) SetBytesOut(v string)

SetBytesOut gets a reference to the given string and assigns it to the BytesOut field.

func (*TunnelDataState) SetIdleTimeIn

func (o *TunnelDataState) SetIdleTimeIn(v string)

SetIdleTimeIn gets a reference to the given string and assigns it to the IdleTimeIn field.

func (*TunnelDataState) SetIdleTimeOut

func (o *TunnelDataState) SetIdleTimeOut(v string)

SetIdleTimeOut gets a reference to the given string and assigns it to the IdleTimeOut field.

func (*TunnelDataState) SetInitialized

func (o *TunnelDataState) SetInitialized(v string)

SetInitialized gets a reference to the given string and assigns it to the Initialized field.

func (*TunnelDataState) SetPacketsIn

func (o *TunnelDataState) SetPacketsIn(v string)

SetPacketsIn gets a reference to the given string and assigns it to the PacketsIn field.

func (*TunnelDataState) SetPacketsOut

func (o *TunnelDataState) SetPacketsOut(v string)

SetPacketsOut gets a reference to the given string and assigns it to the PacketsOut field.

func (TunnelDataState) ToMap

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

func (*TunnelDataState) UnmarshalJSON

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

type TunnelIKEState

type TunnelIKEState struct {
	// Established state age in seconds.
	Age *string `json:"age,omitempty"`
	// IKE Diffie-Hellman group.
	DhGroup *string `json:"dhGroup,omitempty"`
	// IKE pseudo random function.
	PrfAlgo *string `json:"prfAlgo,omitempty"`
	// IKE encryption algorithm.
	EncAlgo *string `json:"encAlgo,omitempty"`
	// Hex encoded initiator SPI / cookie.
	InitiatorSpi *string `json:"initiatorSpi,omitempty"`
	// Hex encoded responder SPI / cookie.
	ResponderSpi         *string `json:"responderSpi,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelIKEState The IKE session state of the Network Tunnel.

func NewTunnelIKEState

func NewTunnelIKEState() *TunnelIKEState

NewTunnelIKEState instantiates a new TunnelIKEState 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 NewTunnelIKEStateWithDefaults

func NewTunnelIKEStateWithDefaults() *TunnelIKEState

NewTunnelIKEStateWithDefaults instantiates a new TunnelIKEState 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 (*TunnelIKEState) GetAge

func (o *TunnelIKEState) GetAge() string

GetAge returns the Age field value if set, zero value otherwise.

func (*TunnelIKEState) GetAgeOk

func (o *TunnelIKEState) GetAgeOk() (*string, bool)

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

func (*TunnelIKEState) GetDhGroup

func (o *TunnelIKEState) GetDhGroup() string

GetDhGroup returns the DhGroup field value if set, zero value otherwise.

func (*TunnelIKEState) GetDhGroupOk

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

func (o *TunnelIKEState) GetEncAlgo() string

GetEncAlgo returns the EncAlgo field value if set, zero value otherwise.

func (*TunnelIKEState) GetEncAlgoOk

func (o *TunnelIKEState) GetEncAlgoOk() (*string, bool)

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

func (*TunnelIKEState) GetInitiatorSpi

func (o *TunnelIKEState) GetInitiatorSpi() string

GetInitiatorSpi returns the InitiatorSpi field value if set, zero value otherwise.

func (*TunnelIKEState) GetInitiatorSpiOk

func (o *TunnelIKEState) GetInitiatorSpiOk() (*string, bool)

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

func (*TunnelIKEState) GetPrfAlgo

func (o *TunnelIKEState) GetPrfAlgo() string

GetPrfAlgo returns the PrfAlgo field value if set, zero value otherwise.

func (*TunnelIKEState) GetPrfAlgoOk

func (o *TunnelIKEState) GetPrfAlgoOk() (*string, bool)

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

func (*TunnelIKEState) GetResponderSpi

func (o *TunnelIKEState) GetResponderSpi() string

GetResponderSpi returns the ResponderSpi field value if set, zero value otherwise.

func (*TunnelIKEState) GetResponderSpiOk

func (o *TunnelIKEState) GetResponderSpiOk() (*string, bool)

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

func (*TunnelIKEState) HasAge

func (o *TunnelIKEState) HasAge() bool

HasAge returns a boolean if a field has been set.

func (*TunnelIKEState) HasDhGroup

func (o *TunnelIKEState) HasDhGroup() bool

HasDhGroup returns a boolean if a field has been set.

func (*TunnelIKEState) HasEncAlgo

func (o *TunnelIKEState) HasEncAlgo() bool

HasEncAlgo returns a boolean if a field has been set.

func (*TunnelIKEState) HasInitiatorSpi

func (o *TunnelIKEState) HasInitiatorSpi() bool

HasInitiatorSpi returns a boolean if a field has been set.

func (*TunnelIKEState) HasPrfAlgo

func (o *TunnelIKEState) HasPrfAlgo() bool

HasPrfAlgo returns a boolean if a field has been set.

func (*TunnelIKEState) HasResponderSpi

func (o *TunnelIKEState) HasResponderSpi() bool

HasResponderSpi returns a boolean if a field has been set.

func (TunnelIKEState) MarshalJSON

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

func (*TunnelIKEState) SetAge

func (o *TunnelIKEState) SetAge(v string)

SetAge gets a reference to the given string and assigns it to the Age field.

func (*TunnelIKEState) SetDhGroup

func (o *TunnelIKEState) SetDhGroup(v string)

SetDhGroup gets a reference to the given string and assigns it to the DhGroup field.

func (*TunnelIKEState) SetEncAlgo

func (o *TunnelIKEState) SetEncAlgo(v string)

SetEncAlgo gets a reference to the given string and assigns it to the EncAlgo field.

func (*TunnelIKEState) SetInitiatorSpi

func (o *TunnelIKEState) SetInitiatorSpi(v string)

SetInitiatorSpi gets a reference to the given string and assigns it to the InitiatorSpi field.

func (*TunnelIKEState) SetPrfAlgo

func (o *TunnelIKEState) SetPrfAlgo(v string)

SetPrfAlgo gets a reference to the given string and assigns it to the PrfAlgo field.

func (*TunnelIKEState) SetResponderSpi

func (o *TunnelIKEState) SetResponderSpi(v string)

SetResponderSpi gets a reference to the given string and assigns it to the ResponderSpi field.

func (TunnelIKEState) ToMap

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

func (*TunnelIKEState) UnmarshalJSON

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

type TunnelIPSecState

type TunnelIPSecState struct {
	// The installed state age in seconds.
	Age *string `json:"age,omitempty"`
	// The ESP or AH integrity algorithm name.
	IntegrityAlgo *string `json:"integrityAlgo,omitempty"`
	// The ESP encryption algorithm name.
	EncAlgo *string `json:"encAlgo,omitempty"`
	// The ESP encryption key size (optional field, not available with NULL encryption).
	EncKeySize *string `json:"encKeySize,omitempty"`
	// The Hex encoded inbound SPI.
	SpiIn *string `json:"spiIn,omitempty"`
	// The Hex encoded outbound SPI.
	SpiOut *string `json:"spiOut,omitempty"`
	// The peer traffic selectors.
	PeerSelectors        []string `json:"peerSelectors,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelIPSecState The IPsec session state and configuration information for the network tunnel.

func NewTunnelIPSecState

func NewTunnelIPSecState() *TunnelIPSecState

NewTunnelIPSecState instantiates a new TunnelIPSecState 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 NewTunnelIPSecStateWithDefaults

func NewTunnelIPSecStateWithDefaults() *TunnelIPSecState

NewTunnelIPSecStateWithDefaults instantiates a new TunnelIPSecState 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 (*TunnelIPSecState) GetAge

func (o *TunnelIPSecState) GetAge() string

GetAge returns the Age field value if set, zero value otherwise.

func (*TunnelIPSecState) GetAgeOk

func (o *TunnelIPSecState) GetAgeOk() (*string, bool)

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

func (*TunnelIPSecState) GetEncAlgo

func (o *TunnelIPSecState) GetEncAlgo() string

GetEncAlgo returns the EncAlgo field value if set, zero value otherwise.

func (*TunnelIPSecState) GetEncAlgoOk

func (o *TunnelIPSecState) GetEncAlgoOk() (*string, bool)

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

func (*TunnelIPSecState) GetEncKeySize

func (o *TunnelIPSecState) GetEncKeySize() string

GetEncKeySize returns the EncKeySize field value if set, zero value otherwise.

func (*TunnelIPSecState) GetEncKeySizeOk

func (o *TunnelIPSecState) GetEncKeySizeOk() (*string, bool)

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

func (*TunnelIPSecState) GetIntegrityAlgo

func (o *TunnelIPSecState) GetIntegrityAlgo() string

GetIntegrityAlgo returns the IntegrityAlgo field value if set, zero value otherwise.

func (*TunnelIPSecState) GetIntegrityAlgoOk

func (o *TunnelIPSecState) GetIntegrityAlgoOk() (*string, bool)

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

func (*TunnelIPSecState) GetPeerSelectors

func (o *TunnelIPSecState) GetPeerSelectors() []string

GetPeerSelectors returns the PeerSelectors field value if set, zero value otherwise.

func (*TunnelIPSecState) GetPeerSelectorsOk

func (o *TunnelIPSecState) GetPeerSelectorsOk() ([]string, bool)

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

func (*TunnelIPSecState) GetSpiIn

func (o *TunnelIPSecState) GetSpiIn() string

GetSpiIn returns the SpiIn field value if set, zero value otherwise.

func (*TunnelIPSecState) GetSpiInOk

func (o *TunnelIPSecState) GetSpiInOk() (*string, bool)

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

func (*TunnelIPSecState) GetSpiOut

func (o *TunnelIPSecState) GetSpiOut() string

GetSpiOut returns the SpiOut field value if set, zero value otherwise.

func (*TunnelIPSecState) GetSpiOutOk

func (o *TunnelIPSecState) GetSpiOutOk() (*string, bool)

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

func (*TunnelIPSecState) HasAge

func (o *TunnelIPSecState) HasAge() bool

HasAge returns a boolean if a field has been set.

func (*TunnelIPSecState) HasEncAlgo

func (o *TunnelIPSecState) HasEncAlgo() bool

HasEncAlgo returns a boolean if a field has been set.

func (*TunnelIPSecState) HasEncKeySize

func (o *TunnelIPSecState) HasEncKeySize() bool

HasEncKeySize returns a boolean if a field has been set.

func (*TunnelIPSecState) HasIntegrityAlgo

func (o *TunnelIPSecState) HasIntegrityAlgo() bool

HasIntegrityAlgo returns a boolean if a field has been set.

func (*TunnelIPSecState) HasPeerSelectors

func (o *TunnelIPSecState) HasPeerSelectors() bool

HasPeerSelectors returns a boolean if a field has been set.

func (*TunnelIPSecState) HasSpiIn

func (o *TunnelIPSecState) HasSpiIn() bool

HasSpiIn returns a boolean if a field has been set.

func (*TunnelIPSecState) HasSpiOut

func (o *TunnelIPSecState) HasSpiOut() bool

HasSpiOut returns a boolean if a field has been set.

func (TunnelIPSecState) MarshalJSON

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

func (*TunnelIPSecState) SetAge

func (o *TunnelIPSecState) SetAge(v string)

SetAge gets a reference to the given string and assigns it to the Age field.

func (*TunnelIPSecState) SetEncAlgo

func (o *TunnelIPSecState) SetEncAlgo(v string)

SetEncAlgo gets a reference to the given string and assigns it to the EncAlgo field.

func (*TunnelIPSecState) SetEncKeySize

func (o *TunnelIPSecState) SetEncKeySize(v string)

SetEncKeySize gets a reference to the given string and assigns it to the EncKeySize field.

func (*TunnelIPSecState) SetIntegrityAlgo

func (o *TunnelIPSecState) SetIntegrityAlgo(v string)

SetIntegrityAlgo gets a reference to the given string and assigns it to the IntegrityAlgo field.

func (*TunnelIPSecState) SetPeerSelectors

func (o *TunnelIPSecState) SetPeerSelectors(v []string)

SetPeerSelectors gets a reference to the given []string and assigns it to the PeerSelectors field.

func (*TunnelIPSecState) SetSpiIn

func (o *TunnelIPSecState) SetSpiIn(v string)

SetSpiIn gets a reference to the given string and assigns it to the SpiIn field.

func (*TunnelIPSecState) SetSpiOut

func (o *TunnelIPSecState) SetSpiOut(v string)

SetSpiOut gets a reference to the given string and assigns it to the SpiOut field.

func (TunnelIPSecState) ToMap

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

func (*TunnelIPSecState) UnmarshalJSON

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

type TunnelRoutingStats

type TunnelRoutingStats struct {
	ClientRouteStats     *TunnelRoutingStatsClientRouteStats `json:"clientRouteStats,omitempty"`
	CloudRouteStats      *TunnelRoutingStatsCloudRouteStats  `json:"cloudRouteStats,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelRoutingStats The routing statistics for a peer (tunnel).

func NewTunnelRoutingStats

func NewTunnelRoutingStats() *TunnelRoutingStats

NewTunnelRoutingStats instantiates a new TunnelRoutingStats 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 NewTunnelRoutingStatsWithDefaults

func NewTunnelRoutingStatsWithDefaults() *TunnelRoutingStats

NewTunnelRoutingStatsWithDefaults instantiates a new TunnelRoutingStats 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 (*TunnelRoutingStats) GetClientRouteStats

func (o *TunnelRoutingStats) GetClientRouteStats() TunnelRoutingStatsClientRouteStats

GetClientRouteStats returns the ClientRouteStats field value if set, zero value otherwise.

func (*TunnelRoutingStats) GetClientRouteStatsOk

func (o *TunnelRoutingStats) GetClientRouteStatsOk() (*TunnelRoutingStatsClientRouteStats, bool)

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

func (*TunnelRoutingStats) GetCloudRouteStats

func (o *TunnelRoutingStats) GetCloudRouteStats() TunnelRoutingStatsCloudRouteStats

GetCloudRouteStats returns the CloudRouteStats field value if set, zero value otherwise.

func (*TunnelRoutingStats) GetCloudRouteStatsOk

func (o *TunnelRoutingStats) GetCloudRouteStatsOk() (*TunnelRoutingStatsCloudRouteStats, bool)

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

func (*TunnelRoutingStats) HasClientRouteStats

func (o *TunnelRoutingStats) HasClientRouteStats() bool

HasClientRouteStats returns a boolean if a field has been set.

func (*TunnelRoutingStats) HasCloudRouteStats

func (o *TunnelRoutingStats) HasCloudRouteStats() bool

HasCloudRouteStats returns a boolean if a field has been set.

func (TunnelRoutingStats) MarshalJSON

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

func (*TunnelRoutingStats) SetClientRouteStats

func (o *TunnelRoutingStats) SetClientRouteStats(v TunnelRoutingStatsClientRouteStats)

SetClientRouteStats gets a reference to the given TunnelRoutingStatsClientRouteStats and assigns it to the ClientRouteStats field.

func (*TunnelRoutingStats) SetCloudRouteStats

func (o *TunnelRoutingStats) SetCloudRouteStats(v TunnelRoutingStatsCloudRouteStats)

SetCloudRouteStats gets a reference to the given TunnelRoutingStatsCloudRouteStats and assigns it to the CloudRouteStats field.

func (TunnelRoutingStats) ToMap

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

func (*TunnelRoutingStats) UnmarshalJSON

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

type TunnelRoutingStatsClientRouteStats

type TunnelRoutingStatsClientRouteStats struct {
	// Indicates whether the routing statistics for the client route are truncated.
	IsClipped *bool `json:"isClipped,omitempty"`
	// The list of the client routing statistics.
	Stats                []TunnelRoutingStatsClientRouteStatsStatsInner `json:"stats,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelRoutingStatsClientRouteStats The properties of the client routing statistics.

func NewTunnelRoutingStatsClientRouteStats

func NewTunnelRoutingStatsClientRouteStats() *TunnelRoutingStatsClientRouteStats

NewTunnelRoutingStatsClientRouteStats instantiates a new TunnelRoutingStatsClientRouteStats 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 NewTunnelRoutingStatsClientRouteStatsWithDefaults

func NewTunnelRoutingStatsClientRouteStatsWithDefaults() *TunnelRoutingStatsClientRouteStats

NewTunnelRoutingStatsClientRouteStatsWithDefaults instantiates a new TunnelRoutingStatsClientRouteStats 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 (*TunnelRoutingStatsClientRouteStats) GetIsClipped

func (o *TunnelRoutingStatsClientRouteStats) GetIsClipped() bool

GetIsClipped returns the IsClipped field value if set, zero value otherwise.

func (*TunnelRoutingStatsClientRouteStats) GetIsClippedOk

func (o *TunnelRoutingStatsClientRouteStats) GetIsClippedOk() (*bool, bool)

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

func (*TunnelRoutingStatsClientRouteStats) GetStats

GetStats returns the Stats field value if set, zero value otherwise.

func (*TunnelRoutingStatsClientRouteStats) GetStatsOk

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

func (*TunnelRoutingStatsClientRouteStats) HasIsClipped

func (o *TunnelRoutingStatsClientRouteStats) HasIsClipped() bool

HasIsClipped returns a boolean if a field has been set.

func (*TunnelRoutingStatsClientRouteStats) HasStats

HasStats returns a boolean if a field has been set.

func (TunnelRoutingStatsClientRouteStats) MarshalJSON

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

func (*TunnelRoutingStatsClientRouteStats) SetIsClipped

func (o *TunnelRoutingStatsClientRouteStats) SetIsClipped(v bool)

SetIsClipped gets a reference to the given bool and assigns it to the IsClipped field.

func (*TunnelRoutingStatsClientRouteStats) SetStats

SetStats gets a reference to the given []TunnelRoutingStatsClientRouteStatsStatsInner and assigns it to the Stats field.

func (TunnelRoutingStatsClientRouteStats) ToMap

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

func (*TunnelRoutingStatsClientRouteStats) UnmarshalJSON

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

type TunnelRoutingStatsClientRouteStatsStatsInner

type TunnelRoutingStatsClientRouteStatsStatsInner struct {
	// The client routing CIDR address.
	Cidr *string `json:"cidr,omitempty"`
	// The origin of the client routing.
	Origin *string `json:"origin,omitempty"`
	// The priority of the client routing.
	Priority             *int64 `json:"priority,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelRoutingStatsClientRouteStatsStatsInner The properties of the client routing statistics.

func NewTunnelRoutingStatsClientRouteStatsStatsInner

func NewTunnelRoutingStatsClientRouteStatsStatsInner() *TunnelRoutingStatsClientRouteStatsStatsInner

NewTunnelRoutingStatsClientRouteStatsStatsInner instantiates a new TunnelRoutingStatsClientRouteStatsStatsInner 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 NewTunnelRoutingStatsClientRouteStatsStatsInnerWithDefaults

func NewTunnelRoutingStatsClientRouteStatsStatsInnerWithDefaults() *TunnelRoutingStatsClientRouteStatsStatsInner

NewTunnelRoutingStatsClientRouteStatsStatsInnerWithDefaults instantiates a new TunnelRoutingStatsClientRouteStatsStatsInner 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 (*TunnelRoutingStatsClientRouteStatsStatsInner) GetCidr

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) GetCidrOk

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

func (*TunnelRoutingStatsClientRouteStatsStatsInner) GetOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) GetOriginOk

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

func (*TunnelRoutingStatsClientRouteStatsStatsInner) GetPriority

GetPriority returns the Priority field value if set, zero value otherwise.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) GetPriorityOk

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

func (*TunnelRoutingStatsClientRouteStatsStatsInner) HasCidr

HasCidr returns a boolean if a field has been set.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) HasOrigin

HasOrigin returns a boolean if a field has been set.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) HasPriority

HasPriority returns a boolean if a field has been set.

func (TunnelRoutingStatsClientRouteStatsStatsInner) MarshalJSON

func (*TunnelRoutingStatsClientRouteStatsStatsInner) SetCidr

SetCidr gets a reference to the given string and assigns it to the Cidr field.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) SetOrigin

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*TunnelRoutingStatsClientRouteStatsStatsInner) SetPriority

SetPriority gets a reference to the given int64 and assigns it to the Priority field.

func (TunnelRoutingStatsClientRouteStatsStatsInner) ToMap

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

func (*TunnelRoutingStatsClientRouteStatsStatsInner) UnmarshalJSON

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

type TunnelRoutingStatsCloudRouteStats

type TunnelRoutingStatsCloudRouteStats struct {
	// Indicates whether cloud route stats array has been truncated
	IsClipped *bool `json:"isClipped,omitempty"`
	// The list of the cloud routing statistics.
	Stats                []TunnelRoutingStatsCloudRouteStatsStatsInner `json:"stats,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelRoutingStatsCloudRouteStats The properites of the cloud routing statistics.

func NewTunnelRoutingStatsCloudRouteStats

func NewTunnelRoutingStatsCloudRouteStats() *TunnelRoutingStatsCloudRouteStats

NewTunnelRoutingStatsCloudRouteStats instantiates a new TunnelRoutingStatsCloudRouteStats 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 NewTunnelRoutingStatsCloudRouteStatsWithDefaults

func NewTunnelRoutingStatsCloudRouteStatsWithDefaults() *TunnelRoutingStatsCloudRouteStats

NewTunnelRoutingStatsCloudRouteStatsWithDefaults instantiates a new TunnelRoutingStatsCloudRouteStats 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 (*TunnelRoutingStatsCloudRouteStats) GetIsClipped

func (o *TunnelRoutingStatsCloudRouteStats) GetIsClipped() bool

GetIsClipped returns the IsClipped field value if set, zero value otherwise.

func (*TunnelRoutingStatsCloudRouteStats) GetIsClippedOk

func (o *TunnelRoutingStatsCloudRouteStats) GetIsClippedOk() (*bool, bool)

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

func (*TunnelRoutingStatsCloudRouteStats) GetStats

GetStats returns the Stats field value if set, zero value otherwise.

func (*TunnelRoutingStatsCloudRouteStats) GetStatsOk

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

func (*TunnelRoutingStatsCloudRouteStats) HasIsClipped

func (o *TunnelRoutingStatsCloudRouteStats) HasIsClipped() bool

HasIsClipped returns a boolean if a field has been set.

func (*TunnelRoutingStatsCloudRouteStats) HasStats

HasStats returns a boolean if a field has been set.

func (TunnelRoutingStatsCloudRouteStats) MarshalJSON

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

func (*TunnelRoutingStatsCloudRouteStats) SetIsClipped

func (o *TunnelRoutingStatsCloudRouteStats) SetIsClipped(v bool)

SetIsClipped gets a reference to the given bool and assigns it to the IsClipped field.

func (*TunnelRoutingStatsCloudRouteStats) SetStats

SetStats gets a reference to the given []TunnelRoutingStatsCloudRouteStatsStatsInner and assigns it to the Stats field.

func (TunnelRoutingStatsCloudRouteStats) ToMap

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

func (*TunnelRoutingStatsCloudRouteStats) UnmarshalJSON

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

type TunnelRoutingStatsCloudRouteStatsStatsInner

type TunnelRoutingStatsCloudRouteStatsStatsInner struct {
	// The cloud routing CIDR address.
	Cidr *string `json:"cidr,omitempty"`
	// The origin of the cloud routing.
	Origin *string `json:"origin,omitempty"`
	// The priority of the cloud routing.
	Priority             *int64 `json:"priority,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelRoutingStatsCloudRouteStatsStatsInner The properties of the cloud routing statistics.

func NewTunnelRoutingStatsCloudRouteStatsStatsInner

func NewTunnelRoutingStatsCloudRouteStatsStatsInner() *TunnelRoutingStatsCloudRouteStatsStatsInner

NewTunnelRoutingStatsCloudRouteStatsStatsInner instantiates a new TunnelRoutingStatsCloudRouteStatsStatsInner 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 NewTunnelRoutingStatsCloudRouteStatsStatsInnerWithDefaults

func NewTunnelRoutingStatsCloudRouteStatsStatsInnerWithDefaults() *TunnelRoutingStatsCloudRouteStatsStatsInner

NewTunnelRoutingStatsCloudRouteStatsStatsInnerWithDefaults instantiates a new TunnelRoutingStatsCloudRouteStatsStatsInner 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 (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetCidr

GetCidr returns the Cidr field value if set, zero value otherwise.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetCidrOk

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

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetOrigin

GetOrigin returns the Origin field value if set, zero value otherwise.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetOriginOk

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

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetPriority

GetPriority returns the Priority field value if set, zero value otherwise.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) GetPriorityOk

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

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) HasCidr

HasCidr returns a boolean if a field has been set.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) HasOrigin

HasOrigin returns a boolean if a field has been set.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) HasPriority

HasPriority returns a boolean if a field has been set.

func (TunnelRoutingStatsCloudRouteStatsStatsInner) MarshalJSON

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) SetCidr

SetCidr gets a reference to the given string and assigns it to the Cidr field.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) SetOrigin

SetOrigin gets a reference to the given string and assigns it to the Origin field.

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) SetPriority

SetPriority gets a reference to the given int64 and assigns it to the Priority field.

func (TunnelRoutingStatsCloudRouteStatsStatsInner) ToMap

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

func (*TunnelRoutingStatsCloudRouteStatsStatsInner) UnmarshalJSON

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

type TunnelState

type TunnelState struct {
	// The date and time (UTC time with milliseconds) when the state event record was generated.
	Time *time.Time `json:"time,omitempty"`
	// The high-level status of the tunnel: * UP - The tunnel is active. * DOWN - The tunnel is inactive. * FAILED - The tunnel is in a failed state. * UNKNOWN - The current status is unknown and pending updated information.
	Status *string `json:"status,omitempty"`
	// The domain name of the data center.
	Dc *string `json:"dc,omitempty"`
	// The name of the data center.
	DcName *string `json:"dcName,omitempty"`
	// The city and country, or regional location of the data center.
	DcDesc *string `json:"dcDesc,omitempty"`
	// IKE SA State: * CREATED * CONNECTING * ESTABLISHED * PASSIVE * REKEYING * REKEYED * DELETING * DESTROYING
	IkeState *string `json:"ikeState,omitempty"`
	// IPsec state: * CREATED * ROUTED * INSTALLING * INSTALLED * UPDATING * REKEYING * REKEYED * RETRYING * DELETING * DELETED * DESTROYING
	IpsecState *string `json:"ipsecState,omitempty"`
	// The IKE ID of the remote peer.
	PeerId *string `json:"peerId,omitempty"`
	// The IP address of the remote peer.
	PeerIp *string `json:"peerIp,omitempty"`
	// The port of the remote peer.
	PeerPort *string `json:"peerPort,omitempty"`
	// The public IP address assigned to an endpoint device (for example: ISR, Viptela).
	LocalIp *string `json:"localIp,omitempty"`
	// The port on the device.
	LocalPort            *string             `json:"localPort,omitempty"`
	Ike                  *TunnelIKEState     `json:"ike,omitempty"`
	Ipsec                *TunnelIPSecState   `json:"ipsec,omitempty"`
	Data                 *TunnelDataState    `json:"data,omitempty"`
	RoutingStats         *TunnelRoutingStats `json:"routingStats,omitempty"`
	AdditionalProperties map[string]interface{}
}

TunnelState The status information of the established Network Tunnel.

func NewTunnelState

func NewTunnelState() *TunnelState

NewTunnelState instantiates a new TunnelState 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 NewTunnelStateWithDefaults

func NewTunnelStateWithDefaults() *TunnelState

NewTunnelStateWithDefaults instantiates a new TunnelState 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 (*TunnelState) GetData

func (o *TunnelState) GetData() TunnelDataState

GetData returns the Data field value if set, zero value otherwise.

func (*TunnelState) GetDataOk

func (o *TunnelState) GetDataOk() (*TunnelDataState, bool)

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

func (*TunnelState) GetDc

func (o *TunnelState) GetDc() string

GetDc returns the Dc field value if set, zero value otherwise.

func (*TunnelState) GetDcDesc

func (o *TunnelState) GetDcDesc() string

GetDcDesc returns the DcDesc field value if set, zero value otherwise.

func (*TunnelState) GetDcDescOk

func (o *TunnelState) GetDcDescOk() (*string, bool)

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

func (*TunnelState) GetDcName

func (o *TunnelState) GetDcName() string

GetDcName returns the DcName field value if set, zero value otherwise.

func (*TunnelState) GetDcNameOk

func (o *TunnelState) GetDcNameOk() (*string, bool)

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

func (*TunnelState) GetDcOk

func (o *TunnelState) GetDcOk() (*string, bool)

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

func (*TunnelState) GetIke

func (o *TunnelState) GetIke() TunnelIKEState

GetIke returns the Ike field value if set, zero value otherwise.

func (*TunnelState) GetIkeOk

func (o *TunnelState) GetIkeOk() (*TunnelIKEState, bool)

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

func (*TunnelState) GetIkeState

func (o *TunnelState) GetIkeState() string

GetIkeState returns the IkeState field value if set, zero value otherwise.

func (*TunnelState) GetIkeStateOk

func (o *TunnelState) GetIkeStateOk() (*string, bool)

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

func (*TunnelState) GetIpsec

func (o *TunnelState) GetIpsec() TunnelIPSecState

GetIpsec returns the Ipsec field value if set, zero value otherwise.

func (*TunnelState) GetIpsecOk

func (o *TunnelState) GetIpsecOk() (*TunnelIPSecState, bool)

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

func (*TunnelState) GetIpsecState

func (o *TunnelState) GetIpsecState() string

GetIpsecState returns the IpsecState field value if set, zero value otherwise.

func (*TunnelState) GetIpsecStateOk

func (o *TunnelState) GetIpsecStateOk() (*string, bool)

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

func (*TunnelState) GetLocalIp

func (o *TunnelState) GetLocalIp() string

GetLocalIp returns the LocalIp field value if set, zero value otherwise.

func (*TunnelState) GetLocalIpOk

func (o *TunnelState) GetLocalIpOk() (*string, bool)

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

func (*TunnelState) GetLocalPort

func (o *TunnelState) GetLocalPort() string

GetLocalPort returns the LocalPort field value if set, zero value otherwise.

func (*TunnelState) GetLocalPortOk

func (o *TunnelState) GetLocalPortOk() (*string, bool)

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

func (*TunnelState) GetPeerId

func (o *TunnelState) GetPeerId() string

GetPeerId returns the PeerId field value if set, zero value otherwise.

func (*TunnelState) GetPeerIdOk

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

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

func (*TunnelState) GetPeerIp

func (o *TunnelState) GetPeerIp() string

GetPeerIp returns the PeerIp field value if set, zero value otherwise.

func (*TunnelState) GetPeerIpOk

func (o *TunnelState) GetPeerIpOk() (*string, bool)

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

func (*TunnelState) GetPeerPort

func (o *TunnelState) GetPeerPort() string

GetPeerPort returns the PeerPort field value if set, zero value otherwise.

func (*TunnelState) GetPeerPortOk

func (o *TunnelState) GetPeerPortOk() (*string, bool)

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

func (*TunnelState) GetRoutingStats

func (o *TunnelState) GetRoutingStats() TunnelRoutingStats

GetRoutingStats returns the RoutingStats field value if set, zero value otherwise.

func (*TunnelState) GetRoutingStatsOk

func (o *TunnelState) GetRoutingStatsOk() (*TunnelRoutingStats, bool)

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

func (*TunnelState) GetStatus

func (o *TunnelState) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*TunnelState) GetStatusOk

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

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

func (*TunnelState) GetTime

func (o *TunnelState) GetTime() time.Time

GetTime returns the Time field value if set, zero value otherwise.

func (*TunnelState) GetTimeOk

func (o *TunnelState) GetTimeOk() (*time.Time, bool)

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

func (*TunnelState) HasData

func (o *TunnelState) HasData() bool

HasData returns a boolean if a field has been set.

func (*TunnelState) HasDc

func (o *TunnelState) HasDc() bool

HasDc returns a boolean if a field has been set.

func (*TunnelState) HasDcDesc

func (o *TunnelState) HasDcDesc() bool

HasDcDesc returns a boolean if a field has been set.

func (*TunnelState) HasDcName

func (o *TunnelState) HasDcName() bool

HasDcName returns a boolean if a field has been set.

func (*TunnelState) HasIke

func (o *TunnelState) HasIke() bool

HasIke returns a boolean if a field has been set.

func (*TunnelState) HasIkeState

func (o *TunnelState) HasIkeState() bool

HasIkeState returns a boolean if a field has been set.

func (*TunnelState) HasIpsec

func (o *TunnelState) HasIpsec() bool

HasIpsec returns a boolean if a field has been set.

func (*TunnelState) HasIpsecState

func (o *TunnelState) HasIpsecState() bool

HasIpsecState returns a boolean if a field has been set.

func (*TunnelState) HasLocalIp

func (o *TunnelState) HasLocalIp() bool

HasLocalIp returns a boolean if a field has been set.

func (*TunnelState) HasLocalPort

func (o *TunnelState) HasLocalPort() bool

HasLocalPort returns a boolean if a field has been set.

func (*TunnelState) HasPeerId

func (o *TunnelState) HasPeerId() bool

HasPeerId returns a boolean if a field has been set.

func (*TunnelState) HasPeerIp

func (o *TunnelState) HasPeerIp() bool

HasPeerIp returns a boolean if a field has been set.

func (*TunnelState) HasPeerPort

func (o *TunnelState) HasPeerPort() bool

HasPeerPort returns a boolean if a field has been set.

func (*TunnelState) HasRoutingStats

func (o *TunnelState) HasRoutingStats() bool

HasRoutingStats returns a boolean if a field has been set.

func (*TunnelState) HasStatus

func (o *TunnelState) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*TunnelState) HasTime

func (o *TunnelState) HasTime() bool

HasTime returns a boolean if a field has been set.

func (TunnelState) MarshalJSON

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

func (*TunnelState) SetData

func (o *TunnelState) SetData(v TunnelDataState)

SetData gets a reference to the given TunnelDataState and assigns it to the Data field.

func (*TunnelState) SetDc

func (o *TunnelState) SetDc(v string)

SetDc gets a reference to the given string and assigns it to the Dc field.

func (*TunnelState) SetDcDesc

func (o *TunnelState) SetDcDesc(v string)

SetDcDesc gets a reference to the given string and assigns it to the DcDesc field.

func (*TunnelState) SetDcName

func (o *TunnelState) SetDcName(v string)

SetDcName gets a reference to the given string and assigns it to the DcName field.

func (*TunnelState) SetIke

func (o *TunnelState) SetIke(v TunnelIKEState)

SetIke gets a reference to the given TunnelIKEState and assigns it to the Ike field.

func (*TunnelState) SetIkeState

func (o *TunnelState) SetIkeState(v string)

SetIkeState gets a reference to the given string and assigns it to the IkeState field.

func (*TunnelState) SetIpsec

func (o *TunnelState) SetIpsec(v TunnelIPSecState)

SetIpsec gets a reference to the given TunnelIPSecState and assigns it to the Ipsec field.

func (*TunnelState) SetIpsecState

func (o *TunnelState) SetIpsecState(v string)

SetIpsecState gets a reference to the given string and assigns it to the IpsecState field.

func (*TunnelState) SetLocalIp

func (o *TunnelState) SetLocalIp(v string)

SetLocalIp gets a reference to the given string and assigns it to the LocalIp field.

func (*TunnelState) SetLocalPort

func (o *TunnelState) SetLocalPort(v string)

SetLocalPort gets a reference to the given string and assigns it to the LocalPort field.

func (*TunnelState) SetPeerId

func (o *TunnelState) SetPeerId(v string)

SetPeerId gets a reference to the given string and assigns it to the PeerId field.

func (*TunnelState) SetPeerIp

func (o *TunnelState) SetPeerIp(v string)

SetPeerIp gets a reference to the given string and assigns it to the PeerIp field.

func (*TunnelState) SetPeerPort

func (o *TunnelState) SetPeerPort(v string)

SetPeerPort gets a reference to the given string and assigns it to the PeerPort field.

func (*TunnelState) SetRoutingStats

func (o *TunnelState) SetRoutingStats(v TunnelRoutingStats)

SetRoutingStats gets a reference to the given TunnelRoutingStats and assigns it to the RoutingStats field.

func (*TunnelState) SetStatus

func (o *TunnelState) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*TunnelState) SetTime

func (o *TunnelState) SetTime(v time.Time)

SetTime gets a reference to the given time.Time and assigns it to the Time field.

func (TunnelState) ToMap

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

func (*TunnelState) UnmarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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