internalnetworks

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

README

Go API client for internalnetworks

Manage the internal networks in your organization.

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: 2.0.0
  • Package version: 1.0.0
  • Generator version: 7.21.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Import the package in a go file in your project and run go mod tidy:

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

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 internalnetworks.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), internalnetworks.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 internalnetworks.ContextOperationServerIndices and internalnetworks.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), internalnetworks.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), internalnetworks.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
InternalNetworksAPI CreateInternalNetwork Post /internalnetworks Create Internal Network
InternalNetworksAPI DeleteInternalNetwork Delete /internalnetworks/{internalNetworkId} Delete Internal Network
InternalNetworksAPI GetInternalNetwork Get /internalnetworks/{internalNetworkId} Get Internal Network
InternalNetworksAPI ListInternalNetworks Get /internalnetworks List Internal Networks
InternalNetworksAPI UpdateInternalNetwork Put /internalnetworks/{internalNetworkId} Update Internal Network

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

oauthFlow
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes:
  • deployments.internalnetworks:write: Write deployments internal networks
  • deployments.internalnetworks:read: Read deployments internal networks

Example

auth := context.WithValue(context.Background(), internalnetworks.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, internalnetworks.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")
)

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

APIClient manages communication with the Cisco Secure Acces Internal Networks API API v2.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 ApiCreateInternalNetworkRequest

type ApiCreateInternalNetworkRequest struct {
	ApiService *InternalNetworksAPIService
	// contains filtered or unexported fields
}

func (ApiCreateInternalNetworkRequest) CreateInternalNetworkRequest

func (r ApiCreateInternalNetworkRequest) CreateInternalNetworkRequest(createInternalNetworkRequest CreateInternalNetworkRequest) ApiCreateInternalNetworkRequest

A JSON object that defines the internal network.

func (ApiCreateInternalNetworkRequest) Execute

type ApiDeleteInternalNetworkRequest

type ApiDeleteInternalNetworkRequest struct {
	ApiService *InternalNetworksAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteInternalNetworkRequest) Execute

type ApiGetInternalNetworkRequest

type ApiGetInternalNetworkRequest struct {
	ApiService *InternalNetworksAPIService
	// contains filtered or unexported fields
}

func (ApiGetInternalNetworkRequest) Execute

type ApiListInternalNetworksRequest

type ApiListInternalNetworksRequest struct {
	ApiService *InternalNetworksAPIService
	// contains filtered or unexported fields
}

func (ApiListInternalNetworksRequest) Execute

func (ApiListInternalNetworksRequest) Limit

The number of records to return from the collection on the page.

func (ApiListInternalNetworksRequest) Name

internal network label

func (ApiListInternalNetworksRequest) Page

The number of a page in the collection.

type ApiUpdateInternalNetworkRequest

type ApiUpdateInternalNetworkRequest struct {
	ApiService *InternalNetworksAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateInternalNetworkRequest) CreateInternalNetworkRequest

func (r ApiUpdateInternalNetworkRequest) CreateInternalNetworkRequest(createInternalNetworkRequest CreateInternalNetworkRequest) ApiUpdateInternalNetworkRequest

A JSON object that defines the internal network.

func (ApiUpdateInternalNetworkRequest) Execute

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 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 CreateInternalNetworkRequest

type CreateInternalNetworkRequest struct {
	// The name of the internal network.
	Name string `json:"name"`
	// The IP (IPv4 or IPv6) address of the internal network.
	IpAddress string `json:"ipAddress"`
	// The length of the internal network's prefix. The prefix length is between 8 and 32.
	PrefixLength int64 `json:"prefixLength"`
	// The ID of the site, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	SiteId *int64 `json:"siteId,omitempty"`
	// The ID of the network, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	NetworkId *int64 `json:"networkId,omitempty"`
	// The ID of the network tunnel group ID, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	TunnelId             *int64 `json:"tunnelId,omitempty"`
	AdditionalProperties map[string]interface{}
}

CreateInternalNetworkRequest The properties of the internal network. Specify one of: `tunnelId`, `siteId`, or `networkId`. **Note:** Provide the ID of a Network Tunnel Group for the value of `tunnelId`.

func NewCreateInternalNetworkRequest

func NewCreateInternalNetworkRequest(name string, ipAddress string, prefixLength int64) *CreateInternalNetworkRequest

NewCreateInternalNetworkRequest instantiates a new CreateInternalNetworkRequest 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 NewCreateInternalNetworkRequestWithDefaults

func NewCreateInternalNetworkRequestWithDefaults() *CreateInternalNetworkRequest

NewCreateInternalNetworkRequestWithDefaults instantiates a new CreateInternalNetworkRequest 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 (*CreateInternalNetworkRequest) GetIpAddress

func (o *CreateInternalNetworkRequest) GetIpAddress() string

GetIpAddress returns the IpAddress field value

func (*CreateInternalNetworkRequest) GetIpAddressOk

func (o *CreateInternalNetworkRequest) GetIpAddressOk() (*string, bool)

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

func (*CreateInternalNetworkRequest) GetName

func (o *CreateInternalNetworkRequest) GetName() string

GetName returns the Name field value

func (*CreateInternalNetworkRequest) GetNameOk

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

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

func (*CreateInternalNetworkRequest) GetNetworkId

func (o *CreateInternalNetworkRequest) GetNetworkId() int64

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*CreateInternalNetworkRequest) GetNetworkIdOk

func (o *CreateInternalNetworkRequest) GetNetworkIdOk() (*int64, bool)

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

func (*CreateInternalNetworkRequest) GetPrefixLength

func (o *CreateInternalNetworkRequest) GetPrefixLength() int64

GetPrefixLength returns the PrefixLength field value

func (*CreateInternalNetworkRequest) GetPrefixLengthOk

func (o *CreateInternalNetworkRequest) GetPrefixLengthOk() (*int64, bool)

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

func (*CreateInternalNetworkRequest) GetSiteId

func (o *CreateInternalNetworkRequest) GetSiteId() int64

GetSiteId returns the SiteId field value if set, zero value otherwise.

func (*CreateInternalNetworkRequest) GetSiteIdOk

func (o *CreateInternalNetworkRequest) GetSiteIdOk() (*int64, bool)

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

func (*CreateInternalNetworkRequest) GetTunnelId

func (o *CreateInternalNetworkRequest) GetTunnelId() int64

GetTunnelId returns the TunnelId field value if set, zero value otherwise.

func (*CreateInternalNetworkRequest) GetTunnelIdOk

func (o *CreateInternalNetworkRequest) GetTunnelIdOk() (*int64, bool)

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

func (*CreateInternalNetworkRequest) HasNetworkId

func (o *CreateInternalNetworkRequest) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*CreateInternalNetworkRequest) HasSiteId

func (o *CreateInternalNetworkRequest) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (*CreateInternalNetworkRequest) HasTunnelId

func (o *CreateInternalNetworkRequest) HasTunnelId() bool

HasTunnelId returns a boolean if a field has been set.

func (CreateInternalNetworkRequest) MarshalJSON

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

func (*CreateInternalNetworkRequest) SetIpAddress

func (o *CreateInternalNetworkRequest) SetIpAddress(v string)

SetIpAddress sets field value

func (*CreateInternalNetworkRequest) SetName

func (o *CreateInternalNetworkRequest) SetName(v string)

SetName sets field value

func (*CreateInternalNetworkRequest) SetNetworkId

func (o *CreateInternalNetworkRequest) SetNetworkId(v int64)

SetNetworkId gets a reference to the given int64 and assigns it to the NetworkId field.

func (*CreateInternalNetworkRequest) SetPrefixLength

func (o *CreateInternalNetworkRequest) SetPrefixLength(v int64)

SetPrefixLength sets field value

func (*CreateInternalNetworkRequest) SetSiteId

func (o *CreateInternalNetworkRequest) SetSiteId(v int64)

SetSiteId gets a reference to the given int64 and assigns it to the SiteId field.

func (*CreateInternalNetworkRequest) SetTunnelId

func (o *CreateInternalNetworkRequest) SetTunnelId(v int64)

SetTunnelId gets a reference to the given int64 and assigns it to the TunnelId field.

func (CreateInternalNetworkRequest) ToMap

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

func (*CreateInternalNetworkRequest) UnmarshalJSON

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

type InternalNetworkObject struct {
	// The origin ID of the internal network.
	OriginId int64 `json:"originId"`
	// The name of the internal network.
	Name string `json:"name"`
	// The IP (IPv4 or IPv6) address of the internal network.
	IpAddress string `json:"ipAddress"`
	// The length of the internal network's prefix. The prefix length is between 8 and 32.
	PrefixLength int64 `json:"prefixLength"`
	// The name of the site that is associated with the internal network.
	SiteName *string `json:"siteName,omitempty"`
	// The ID of the site, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	SiteId *int64 `json:"siteId,omitempty"`
	// The name of the network that is associated with the internal network.
	NetworkName *string `json:"networkName,omitempty"`
	// The ID of the network, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	NetworkId *int64 `json:"networkId,omitempty"`
	// The name of the network tunnel group that is associated with the internal network.
	TunnelName *string `json:"tunnelName,omitempty"`
	// The ID of the network tunnel group ID, which is associated with the internal network. The internal network is associated with either a `siteId`, `networkId`, or `tunnelId`.
	TunnelId *int64 `json:"tunnelId,omitempty"`
	// The date and time (ISO8601 timestamp) when the internal network was created.
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date and time (ISO8601 timestamp) when the internal network was modified.
	ModifiedAt           *time.Time `json:"modifiedAt,omitempty"`
	AdditionalProperties map[string]interface{}
}

InternalNetworkObject The properties of the internal network.

func NewInternalNetworkObject

func NewInternalNetworkObject(originId int64, name string, ipAddress string, prefixLength int64) *InternalNetworkObject

NewInternalNetworkObject instantiates a new InternalNetworkObject 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 NewInternalNetworkObjectWithDefaults

func NewInternalNetworkObjectWithDefaults() *InternalNetworkObject

NewInternalNetworkObjectWithDefaults instantiates a new InternalNetworkObject 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 (*InternalNetworkObject) GetCreatedAt

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

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

func (*InternalNetworkObject) GetCreatedAtOk

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

func (o *InternalNetworkObject) GetIpAddress() string

GetIpAddress returns the IpAddress field value

func (*InternalNetworkObject) GetIpAddressOk

func (o *InternalNetworkObject) GetIpAddressOk() (*string, bool)

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

func (*InternalNetworkObject) GetModifiedAt

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

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

func (*InternalNetworkObject) GetModifiedAtOk

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

func (o *InternalNetworkObject) GetName() string

GetName returns the Name field value

func (*InternalNetworkObject) GetNameOk

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

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

func (*InternalNetworkObject) GetNetworkId

func (o *InternalNetworkObject) GetNetworkId() int64

GetNetworkId returns the NetworkId field value if set, zero value otherwise.

func (*InternalNetworkObject) GetNetworkIdOk

func (o *InternalNetworkObject) GetNetworkIdOk() (*int64, bool)

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

func (*InternalNetworkObject) GetNetworkName

func (o *InternalNetworkObject) GetNetworkName() string

GetNetworkName returns the NetworkName field value if set, zero value otherwise.

func (*InternalNetworkObject) GetNetworkNameOk

func (o *InternalNetworkObject) GetNetworkNameOk() (*string, bool)

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

func (*InternalNetworkObject) GetOriginId

func (o *InternalNetworkObject) GetOriginId() int64

GetOriginId returns the OriginId field value

func (*InternalNetworkObject) GetOriginIdOk

func (o *InternalNetworkObject) GetOriginIdOk() (*int64, bool)

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

func (*InternalNetworkObject) GetPrefixLength

func (o *InternalNetworkObject) GetPrefixLength() int64

GetPrefixLength returns the PrefixLength field value

func (*InternalNetworkObject) GetPrefixLengthOk

func (o *InternalNetworkObject) GetPrefixLengthOk() (*int64, bool)

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

func (*InternalNetworkObject) GetSiteId

func (o *InternalNetworkObject) GetSiteId() int64

GetSiteId returns the SiteId field value if set, zero value otherwise.

func (*InternalNetworkObject) GetSiteIdOk

func (o *InternalNetworkObject) GetSiteIdOk() (*int64, bool)

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

func (*InternalNetworkObject) GetSiteName

func (o *InternalNetworkObject) GetSiteName() string

GetSiteName returns the SiteName field value if set, zero value otherwise.

func (*InternalNetworkObject) GetSiteNameOk

func (o *InternalNetworkObject) GetSiteNameOk() (*string, bool)

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

func (*InternalNetworkObject) GetTunnelId

func (o *InternalNetworkObject) GetTunnelId() int64

GetTunnelId returns the TunnelId field value if set, zero value otherwise.

func (*InternalNetworkObject) GetTunnelIdOk

func (o *InternalNetworkObject) GetTunnelIdOk() (*int64, bool)

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

func (*InternalNetworkObject) GetTunnelName

func (o *InternalNetworkObject) GetTunnelName() string

GetTunnelName returns the TunnelName field value if set, zero value otherwise.

func (*InternalNetworkObject) GetTunnelNameOk

func (o *InternalNetworkObject) GetTunnelNameOk() (*string, bool)

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

func (*InternalNetworkObject) HasCreatedAt

func (o *InternalNetworkObject) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*InternalNetworkObject) HasModifiedAt

func (o *InternalNetworkObject) HasModifiedAt() bool

HasModifiedAt returns a boolean if a field has been set.

func (*InternalNetworkObject) HasNetworkId

func (o *InternalNetworkObject) HasNetworkId() bool

HasNetworkId returns a boolean if a field has been set.

func (*InternalNetworkObject) HasNetworkName

func (o *InternalNetworkObject) HasNetworkName() bool

HasNetworkName returns a boolean if a field has been set.

func (*InternalNetworkObject) HasSiteId

func (o *InternalNetworkObject) HasSiteId() bool

HasSiteId returns a boolean if a field has been set.

func (*InternalNetworkObject) HasSiteName

func (o *InternalNetworkObject) HasSiteName() bool

HasSiteName returns a boolean if a field has been set.

func (*InternalNetworkObject) HasTunnelId

func (o *InternalNetworkObject) HasTunnelId() bool

HasTunnelId returns a boolean if a field has been set.

func (*InternalNetworkObject) HasTunnelName

func (o *InternalNetworkObject) HasTunnelName() bool

HasTunnelName returns a boolean if a field has been set.

func (InternalNetworkObject) MarshalJSON

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

func (*InternalNetworkObject) SetCreatedAt

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

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

func (*InternalNetworkObject) SetIpAddress

func (o *InternalNetworkObject) SetIpAddress(v string)

SetIpAddress sets field value

func (*InternalNetworkObject) SetModifiedAt

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

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

func (*InternalNetworkObject) SetName

func (o *InternalNetworkObject) SetName(v string)

SetName sets field value

func (*InternalNetworkObject) SetNetworkId

func (o *InternalNetworkObject) SetNetworkId(v int64)

SetNetworkId gets a reference to the given int64 and assigns it to the NetworkId field.

func (*InternalNetworkObject) SetNetworkName

func (o *InternalNetworkObject) SetNetworkName(v string)

SetNetworkName gets a reference to the given string and assigns it to the NetworkName field.

func (*InternalNetworkObject) SetOriginId

func (o *InternalNetworkObject) SetOriginId(v int64)

SetOriginId sets field value

func (*InternalNetworkObject) SetPrefixLength

func (o *InternalNetworkObject) SetPrefixLength(v int64)

SetPrefixLength sets field value

func (*InternalNetworkObject) SetSiteId

func (o *InternalNetworkObject) SetSiteId(v int64)

SetSiteId gets a reference to the given int64 and assigns it to the SiteId field.

func (*InternalNetworkObject) SetSiteName

func (o *InternalNetworkObject) SetSiteName(v string)

SetSiteName gets a reference to the given string and assigns it to the SiteName field.

func (*InternalNetworkObject) SetTunnelId

func (o *InternalNetworkObject) SetTunnelId(v int64)

SetTunnelId gets a reference to the given int64 and assigns it to the TunnelId field.

func (*InternalNetworkObject) SetTunnelName

func (o *InternalNetworkObject) SetTunnelName(v string)

SetTunnelName gets a reference to the given string and assigns it to the TunnelName field.

func (InternalNetworkObject) ToMap

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

func (*InternalNetworkObject) UnmarshalJSON

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

type InternalNetworksAPIService

type InternalNetworksAPIService service

InternalNetworksAPIService InternalNetworksAPI service

func (*InternalNetworksAPIService) CreateInternalNetwork

CreateInternalNetwork Create Internal Network

Create an internal network.

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

func (*InternalNetworksAPIService) CreateInternalNetworkExecute

Execute executes the request

@return InternalNetworkObject

func (*InternalNetworksAPIService) DeleteInternalNetwork

func (a *InternalNetworksAPIService) DeleteInternalNetwork(ctx context.Context, internalNetworkId int64) ApiDeleteInternalNetworkRequest

DeleteInternalNetwork Delete Internal Network

Delete an internal network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param internalNetworkId The origin ID (originId) of the internal network.
@return ApiDeleteInternalNetworkRequest

func (*InternalNetworksAPIService) DeleteInternalNetworkExecute

func (a *InternalNetworksAPIService) DeleteInternalNetworkExecute(r ApiDeleteInternalNetworkRequest) (*http.Response, error)

Execute executes the request

func (*InternalNetworksAPIService) GetInternalNetwork

func (a *InternalNetworksAPIService) GetInternalNetwork(ctx context.Context, internalNetworkId int64) ApiGetInternalNetworkRequest

GetInternalNetwork Get Internal Network

Get an internal network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param internalNetworkId The origin ID (originId) of the internal network
@return ApiGetInternalNetworkRequest

func (*InternalNetworksAPIService) GetInternalNetworkExecute

Execute executes the request

@return InternalNetworkObject

func (*InternalNetworksAPIService) ListInternalNetworks

ListInternalNetworks List Internal Networks

List the internal networks.

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

func (*InternalNetworksAPIService) ListInternalNetworksExecute

Execute executes the request

@return []InternalNetworkObject

func (*InternalNetworksAPIService) UpdateInternalNetwork

func (a *InternalNetworksAPIService) UpdateInternalNetwork(ctx context.Context, internalNetworkId int64) ApiUpdateInternalNetworkRequest

UpdateInternalNetwork Update Internal Network

Update an internal network.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param internalNetworkId The origin ID (originId) of the internal network.
@return ApiUpdateInternalNetworkRequest

func (*InternalNetworksAPIService) UpdateInternalNetworkExecute

Execute executes the request

@return InternalNetworkObject

type ListInternalNetworks400Response

type ListInternalNetworks400Response struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error *string `json:"error,omitempty"`
	// Detailed error message
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListInternalNetworks400Response struct for ListInternalNetworks400Response

func NewListInternalNetworks400Response

func NewListInternalNetworks400Response() *ListInternalNetworks400Response

NewListInternalNetworks400Response instantiates a new ListInternalNetworks400Response 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 NewListInternalNetworks400ResponseWithDefaults

func NewListInternalNetworks400ResponseWithDefaults() *ListInternalNetworks400Response

NewListInternalNetworks400ResponseWithDefaults instantiates a new ListInternalNetworks400Response 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 (*ListInternalNetworks400Response) GetError

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

func (*ListInternalNetworks400Response) GetErrorOk

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

func (o *ListInternalNetworks400Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInternalNetworks400Response) GetMessageOk

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

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

func (*ListInternalNetworks400Response) GetStatusCode

func (o *ListInternalNetworks400Response) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ListInternalNetworks400Response) GetStatusCodeOk

func (o *ListInternalNetworks400Response) GetStatusCodeOk() (*int64, bool)

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

func (*ListInternalNetworks400Response) HasError

func (o *ListInternalNetworks400Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListInternalNetworks400Response) HasMessage

func (o *ListInternalNetworks400Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListInternalNetworks400Response) HasStatusCode

func (o *ListInternalNetworks400Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ListInternalNetworks400Response) MarshalJSON

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

func (*ListInternalNetworks400Response) SetError

func (o *ListInternalNetworks400Response) SetError(v string)

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

func (*ListInternalNetworks400Response) SetMessage

func (o *ListInternalNetworks400Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInternalNetworks400Response) SetStatusCode

func (o *ListInternalNetworks400Response) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ListInternalNetworks400Response) ToMap

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

func (*ListInternalNetworks400Response) UnmarshalJSON

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

type ListInternalNetworks401Response

type ListInternalNetworks401Response struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error *string `json:"error,omitempty"`
	// Detailed error message
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListInternalNetworks401Response struct for ListInternalNetworks401Response

func NewListInternalNetworks401Response

func NewListInternalNetworks401Response() *ListInternalNetworks401Response

NewListInternalNetworks401Response instantiates a new ListInternalNetworks401Response 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 NewListInternalNetworks401ResponseWithDefaults

func NewListInternalNetworks401ResponseWithDefaults() *ListInternalNetworks401Response

NewListInternalNetworks401ResponseWithDefaults instantiates a new ListInternalNetworks401Response 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 (*ListInternalNetworks401Response) GetError

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

func (*ListInternalNetworks401Response) GetErrorOk

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

func (o *ListInternalNetworks401Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInternalNetworks401Response) GetMessageOk

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

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

func (*ListInternalNetworks401Response) GetStatusCode

func (o *ListInternalNetworks401Response) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ListInternalNetworks401Response) GetStatusCodeOk

func (o *ListInternalNetworks401Response) GetStatusCodeOk() (*int64, bool)

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

func (*ListInternalNetworks401Response) HasError

func (o *ListInternalNetworks401Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListInternalNetworks401Response) HasMessage

func (o *ListInternalNetworks401Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListInternalNetworks401Response) HasStatusCode

func (o *ListInternalNetworks401Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ListInternalNetworks401Response) MarshalJSON

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

func (*ListInternalNetworks401Response) SetError

func (o *ListInternalNetworks401Response) SetError(v string)

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

func (*ListInternalNetworks401Response) SetMessage

func (o *ListInternalNetworks401Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInternalNetworks401Response) SetStatusCode

func (o *ListInternalNetworks401Response) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ListInternalNetworks401Response) ToMap

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

func (*ListInternalNetworks401Response) UnmarshalJSON

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

type ListInternalNetworks403Response

type ListInternalNetworks403Response struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error *string `json:"error,omitempty"`
	// Detailed error message
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListInternalNetworks403Response struct for ListInternalNetworks403Response

func NewListInternalNetworks403Response

func NewListInternalNetworks403Response() *ListInternalNetworks403Response

NewListInternalNetworks403Response instantiates a new ListInternalNetworks403Response 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 NewListInternalNetworks403ResponseWithDefaults

func NewListInternalNetworks403ResponseWithDefaults() *ListInternalNetworks403Response

NewListInternalNetworks403ResponseWithDefaults instantiates a new ListInternalNetworks403Response 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 (*ListInternalNetworks403Response) GetError

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

func (*ListInternalNetworks403Response) GetErrorOk

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

func (o *ListInternalNetworks403Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInternalNetworks403Response) GetMessageOk

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

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

func (*ListInternalNetworks403Response) GetStatusCode

func (o *ListInternalNetworks403Response) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ListInternalNetworks403Response) GetStatusCodeOk

func (o *ListInternalNetworks403Response) GetStatusCodeOk() (*int64, bool)

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

func (*ListInternalNetworks403Response) HasError

func (o *ListInternalNetworks403Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListInternalNetworks403Response) HasMessage

func (o *ListInternalNetworks403Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListInternalNetworks403Response) HasStatusCode

func (o *ListInternalNetworks403Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ListInternalNetworks403Response) MarshalJSON

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

func (*ListInternalNetworks403Response) SetError

func (o *ListInternalNetworks403Response) SetError(v string)

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

func (*ListInternalNetworks403Response) SetMessage

func (o *ListInternalNetworks403Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInternalNetworks403Response) SetStatusCode

func (o *ListInternalNetworks403Response) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ListInternalNetworks403Response) ToMap

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

func (*ListInternalNetworks403Response) UnmarshalJSON

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

type ListInternalNetworks404Response

type ListInternalNetworks404Response struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error *string `json:"error,omitempty"`
	// Detailed error message
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListInternalNetworks404Response struct for ListInternalNetworks404Response

func NewListInternalNetworks404Response

func NewListInternalNetworks404Response() *ListInternalNetworks404Response

NewListInternalNetworks404Response instantiates a new ListInternalNetworks404Response 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 NewListInternalNetworks404ResponseWithDefaults

func NewListInternalNetworks404ResponseWithDefaults() *ListInternalNetworks404Response

NewListInternalNetworks404ResponseWithDefaults instantiates a new ListInternalNetworks404Response 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 (*ListInternalNetworks404Response) GetError

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

func (*ListInternalNetworks404Response) GetErrorOk

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

func (o *ListInternalNetworks404Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInternalNetworks404Response) GetMessageOk

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

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

func (*ListInternalNetworks404Response) GetStatusCode

func (o *ListInternalNetworks404Response) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ListInternalNetworks404Response) GetStatusCodeOk

func (o *ListInternalNetworks404Response) GetStatusCodeOk() (*int64, bool)

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

func (*ListInternalNetworks404Response) HasError

func (o *ListInternalNetworks404Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListInternalNetworks404Response) HasMessage

func (o *ListInternalNetworks404Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListInternalNetworks404Response) HasStatusCode

func (o *ListInternalNetworks404Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ListInternalNetworks404Response) MarshalJSON

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

func (*ListInternalNetworks404Response) SetError

func (o *ListInternalNetworks404Response) SetError(v string)

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

func (*ListInternalNetworks404Response) SetMessage

func (o *ListInternalNetworks404Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInternalNetworks404Response) SetStatusCode

func (o *ListInternalNetworks404Response) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ListInternalNetworks404Response) ToMap

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

func (*ListInternalNetworks404Response) UnmarshalJSON

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

type ListInternalNetworks500Response

type ListInternalNetworks500Response struct {
	// HTTP status code
	StatusCode *int64 `json:"statusCode,omitempty"`
	// A brief description of the error
	Error *string `json:"error,omitempty"`
	// Detailed error message
	Message              *string `json:"message,omitempty"`
	AdditionalProperties map[string]interface{}
}

ListInternalNetworks500Response struct for ListInternalNetworks500Response

func NewListInternalNetworks500Response

func NewListInternalNetworks500Response() *ListInternalNetworks500Response

NewListInternalNetworks500Response instantiates a new ListInternalNetworks500Response 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 NewListInternalNetworks500ResponseWithDefaults

func NewListInternalNetworks500ResponseWithDefaults() *ListInternalNetworks500Response

NewListInternalNetworks500ResponseWithDefaults instantiates a new ListInternalNetworks500Response 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 (*ListInternalNetworks500Response) GetError

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

func (*ListInternalNetworks500Response) GetErrorOk

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

func (o *ListInternalNetworks500Response) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*ListInternalNetworks500Response) GetMessageOk

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

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

func (*ListInternalNetworks500Response) GetStatusCode

func (o *ListInternalNetworks500Response) GetStatusCode() int64

GetStatusCode returns the StatusCode field value if set, zero value otherwise.

func (*ListInternalNetworks500Response) GetStatusCodeOk

func (o *ListInternalNetworks500Response) GetStatusCodeOk() (*int64, bool)

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

func (*ListInternalNetworks500Response) HasError

func (o *ListInternalNetworks500Response) HasError() bool

HasError returns a boolean if a field has been set.

func (*ListInternalNetworks500Response) HasMessage

func (o *ListInternalNetworks500Response) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*ListInternalNetworks500Response) HasStatusCode

func (o *ListInternalNetworks500Response) HasStatusCode() bool

HasStatusCode returns a boolean if a field has been set.

func (ListInternalNetworks500Response) MarshalJSON

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

func (*ListInternalNetworks500Response) SetError

func (o *ListInternalNetworks500Response) SetError(v string)

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

func (*ListInternalNetworks500Response) SetMessage

func (o *ListInternalNetworks500Response) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*ListInternalNetworks500Response) SetStatusCode

func (o *ListInternalNetworks500Response) SetStatusCode(v int64)

SetStatusCode gets a reference to the given int64 and assigns it to the StatusCode field.

func (ListInternalNetworks500Response) ToMap

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

func (*ListInternalNetworks500Response) UnmarshalJSON

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

type MappedNullable

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

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 NullableCreateInternalNetworkRequest

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

func (NullableCreateInternalNetworkRequest) Get

func (NullableCreateInternalNetworkRequest) IsSet

func (NullableCreateInternalNetworkRequest) MarshalJSON

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

func (*NullableCreateInternalNetworkRequest) Set

func (*NullableCreateInternalNetworkRequest) UnmarshalJSON

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

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

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

func (NullableInternalNetworkObject) Get

func (NullableInternalNetworkObject) IsSet

func (NullableInternalNetworkObject) MarshalJSON

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

func (*NullableInternalNetworkObject) Set

func (*NullableInternalNetworkObject) UnmarshalJSON

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

func (*NullableInternalNetworkObject) Unset

func (v *NullableInternalNetworkObject) Unset()

type NullableListInternalNetworks400Response

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

func (NullableListInternalNetworks400Response) Get

func (NullableListInternalNetworks400Response) IsSet

func (NullableListInternalNetworks400Response) MarshalJSON

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

func (*NullableListInternalNetworks400Response) Set

func (*NullableListInternalNetworks400Response) UnmarshalJSON

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

func (*NullableListInternalNetworks400Response) Unset

type NullableListInternalNetworks401Response

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

func (NullableListInternalNetworks401Response) Get

func (NullableListInternalNetworks401Response) IsSet

func (NullableListInternalNetworks401Response) MarshalJSON

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

func (*NullableListInternalNetworks401Response) Set

func (*NullableListInternalNetworks401Response) UnmarshalJSON

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

func (*NullableListInternalNetworks401Response) Unset

type NullableListInternalNetworks403Response

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

func (NullableListInternalNetworks403Response) Get

func (NullableListInternalNetworks403Response) IsSet

func (NullableListInternalNetworks403Response) MarshalJSON

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

func (*NullableListInternalNetworks403Response) Set

func (*NullableListInternalNetworks403Response) UnmarshalJSON

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

func (*NullableListInternalNetworks403Response) Unset

type NullableListInternalNetworks404Response

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

func (NullableListInternalNetworks404Response) Get

func (NullableListInternalNetworks404Response) IsSet

func (NullableListInternalNetworks404Response) MarshalJSON

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

func (*NullableListInternalNetworks404Response) Set

func (*NullableListInternalNetworks404Response) UnmarshalJSON

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

func (*NullableListInternalNetworks404Response) Unset

type NullableListInternalNetworks500Response

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

func (NullableListInternalNetworks500Response) Get

func (NullableListInternalNetworks500Response) IsSet

func (NullableListInternalNetworks500Response) MarshalJSON

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

func (*NullableListInternalNetworks500Response) Set

func (*NullableListInternalNetworks500Response) UnmarshalJSON

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

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

Jump to

Keyboard shortcuts

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