ionoscloud

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 2

README

Go API client for ionoscloud

API Gateway is an application that acts as a "front door" for backend services and APIs, handling client requests and routing them to the appropriate backend.

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: 0.0.1
  • Package version: 1.1.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/net/context

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

import ionoscloud "github.com/ionos-cloud/sdk-go-api-gateway"

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

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://apigateway.de-txl.ionos.com

Class Method HTTP request Description
APIGatewaysApi ApigatewaysDelete Delete /gateways/{apigatewayId} Delete Gateway
APIGatewaysApi ApigatewaysFindById Get /gateways/{apigatewayId} Retrieve Gateway
APIGatewaysApi ApigatewaysGet Get /gateways Retrieve all Apigateways
APIGatewaysApi ApigatewaysPost Post /gateways Create Gateway
APIGatewaysApi ApigatewaysPut Put /gateways/{apigatewayId} Ensure Gateway
RoutesApi ApigatewaysRoutesDelete Delete /gateways/{apigatewayId}/routes/{routeId} Delete Route
RoutesApi ApigatewaysRoutesFindById Get /gateways/{apigatewayId}/routes/{routeId} Retrieve Route
RoutesApi ApigatewaysRoutesGet Get /gateways/{apigatewayId}/routes Retrieve all Routes
RoutesApi ApigatewaysRoutesPost Post /gateways/{apigatewayId}/routes Create Route
RoutesApi ApigatewaysRoutesPut Put /gateways/{apigatewayId}/routes/{routeId} Ensure Route

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: HTTP Bearer token authentication

Example

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

View Source
const (
	RequestStatusQueued  = "QUEUED"
	RequestStatusRunning = "RUNNING"
	RequestStatusFailed  = "FAILED"
	RequestStatusDone    = "DONE"

	Version = "1.1.0"
)
View Source
const (
	IonosUsernameEnvVar   = "IONOS_USERNAME"
	IonosPasswordEnvVar   = "IONOS_PASSWORD"
	IonosTokenEnvVar      = "IONOS_TOKEN"
	IonosApiUrlEnvVar     = "IONOS_API_URL"
	IonosPinnedCertEnvVar = "IONOS_PINNED_CERT"
	IonosLogLevelEnvVar   = "IONOS_LOG_LEVEL"
	DefaultIonosServerUrl = "https://apigateway.de-txl.ionos.com"
	DefaultIonosBasePath  = ""
)

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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 (
	IonosServerUrls = []string{
		"https://apigateway.de-txl.ionos.com",
	}
)
View Source
var LogLevelMap = map[string]LogLevel{
	"off":   Off,
	"debug": Debug,
	"trace": Trace,
}

Functions

func AddPinnedCert

func AddPinnedCert(transport *http.Transport, pkFingerprint string)

AddPinnedCert - enables pinning of the sha256 public fingerprint to the http client's transport

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 - returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 - returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 - returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt - returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 - returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 - returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString - returns a pointer to given string value.

func PtrTime

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

PtrTime - returns a pointer to given Time value.

func SliceToValueDefault

func SliceToValueDefault[T any](ptrSlice *[]T) []T

func ToBool

func ToBool(ptr *bool) bool

ToBool - returns the value of the bool pointer passed in

func ToBoolDefault

func ToBoolDefault(ptr *bool) bool

ToBoolDefault - returns the value of the bool pointer passed in, or false if the pointer is nil

func ToBoolSlice

func ToBoolSlice(ptrSlice *[]bool) []bool

ToBoolSlice - returns a bool slice of the pointer passed in

func ToByte

func ToByte(ptr *byte) byte

ToByte - returns the value of the byte pointer passed in

func ToByteDefault

func ToByteDefault(ptr *byte) byte

ToByteDefault - returns the value of the byte pointer passed in, or 0 if the pointer is nil

func ToByteSlice

func ToByteSlice(ptrSlice *[]byte) []byte

ToByteSlice - returns a byte slice of the pointer passed in

func ToFloat32

func ToFloat32(ptr *float32) float32

ToFloat32 - returns the value of the float32 pointer passed in

func ToFloat32Default

func ToFloat32Default(ptr *float32) float32

ToFloat32Default - returns the value of the float32 pointer passed in, or 0 if the pointer is nil

func ToFloat32Slice

func ToFloat32Slice(ptrSlice *[]float32) []float32

ToFloat32Slice - returns a float32 slice of the pointer passed in

func ToFloat64

func ToFloat64(ptr *float64) float64

ToFloat64 - returns the value of the float64 pointer passed in

func ToFloat64Default

func ToFloat64Default(ptr *float64) float64

ToFloat64Default - returns the value of the float64 pointer passed in, or 0 if the pointer is nil

func ToFloat64Slice

func ToFloat64Slice(ptrSlice *[]float64) []float64

ToFloat64Slice - returns a float64 slice of the pointer passed in

func ToInt

func ToInt(ptr *int) int

ToInt - returns the value of the int pointer passed in

func ToInt16

func ToInt16(ptr *int16) int16

ToInt16 - returns the value of the int16 pointer passed in

func ToInt16Default

func ToInt16Default(ptr *int16) int16

ToInt16Default - returns the value of the int16 pointer passed in, or 0 if the pointer is nil

func ToInt16Slice

func ToInt16Slice(ptrSlice *[]int16) []int16

ToInt16Slice - returns a int16 slice of the pointer passed in

func ToInt32

func ToInt32(ptr *int32) int32

ToInt32 - returns the value of the int32 pointer passed in

func ToInt32Default

func ToInt32Default(ptr *int32) int32

ToInt32Default - returns the value of the int32 pointer passed in, or 0 if the pointer is nil

func ToInt32Slice

func ToInt32Slice(ptrSlice *[]int32) []int32

ToInt32Slice - returns a int32 slice of the pointer passed in

func ToInt64

func ToInt64(ptr *int64) int64

ToInt64 - returns the value of the int64 pointer passed in

func ToInt64Default

func ToInt64Default(ptr *int64) int64

ToInt64Default - returns the value of the int64 pointer passed in, or 0 if the pointer is nil

func ToInt64Slice

func ToInt64Slice(ptrSlice *[]int64) []int64

ToInt64Slice - returns a int64 slice of the pointer passed in

func ToInt8

func ToInt8(ptr *int8) int8

ToInt8 - returns the value of the int8 pointer passed in

func ToInt8Default

func ToInt8Default(ptr *int8) int8

ToInt8Default - returns the value of the int8 pointer passed in, or 0 if the pointer is nil

func ToInt8Slice

func ToInt8Slice(ptrSlice *[]int8) []int8

ToInt8Slice - returns a int8 slice of the pointer passed in

func ToIntDefault

func ToIntDefault(ptr *int) int

ToIntDefault - returns the value of the int pointer passed in, or 0 if the pointer is nil

func ToIntSlice

func ToIntSlice(ptrSlice *[]int) []int

ToIntSlice - returns a int slice of the pointer passed in

func ToPtr

func ToPtr[T any](v T) *T

ToPtr - returns a pointer to the given value.

func ToString

func ToString(ptr *string) string

ToString - returns the value of the string pointer passed in

func ToStringDefault

func ToStringDefault(ptr *string) string

ToStringDefault - returns the value of the string pointer passed in, or "" if the pointer is nil

func ToStringSlice

func ToStringSlice(ptrSlice *[]string) []string

ToStringSlice - returns a string slice of the pointer passed in

func ToTime

func ToTime(ptr *time.Time) time.Time

ToTime - returns the value of the Time pointer passed in

func ToTimeDefault

func ToTimeDefault(ptr *time.Time) time.Time

ToTimeDefault - returns the value of the Time pointer passed in, or 0001-01-01 00:00:00 +0000 UTC if the pointer is nil

func ToTimeSlice

func ToTimeSlice(ptrSlice *[]time.Time) []time.Time

ToTimeSlice - returns a Time slice of the pointer passed in

func ToUint

func ToUint(ptr *uint) uint

ToUint - returns the value of the uint pointer passed in

func ToUint16

func ToUint16(ptr *uint16) uint16

ToUint16 - returns the value of the uint16 pointer passed in

func ToUint16Default

func ToUint16Default(ptr *uint16) uint16

ToUint16Default - returns the value of the uint16 pointer passed in, or 0 if the pointer is nil

func ToUint16Slice

func ToUint16Slice(ptrSlice *[]uint16) []uint16

ToUint16Slice - returns a uint16 slice of the pointer passed in

func ToUint32

func ToUint32(ptr *uint32) uint32

ToUint32 - returns the value of the uint32 pointer passed in

func ToUint32Default

func ToUint32Default(ptr *uint32) uint32

ToUint32Default - returns the value of the uint32 pointer passed in, or 0 if the pointer is nil

func ToUint32Slice

func ToUint32Slice(ptrSlice *[]uint32) []uint32

ToUint32Slice - returns a uint32 slice of the pointer passed in

func ToUint64

func ToUint64(ptr *uint64) uint64

ToUint64 - returns the value of the uint64 pointer passed in

func ToUint64Default

func ToUint64Default(ptr *uint64) uint64

ToUint64Default - returns the value of the uint64 pointer passed in, or 0 if the pointer is nil

func ToUint64Slice

func ToUint64Slice(ptrSlice *[]uint64) []uint64

ToUint64Slice - returns a uint63 slice of the pointer passed in

func ToUint8

func ToUint8(ptr *uint8) uint8

ToUint8 -returns the value of the uint8 pointer passed in

func ToUint8Default

func ToUint8Default(ptr *uint8) uint8

ToUint8Default - returns the value of the uint8 pointer passed in, or 0 if the pointer is nil

func ToUint8Slice

func ToUint8Slice(ptrSlice *[]uint8) []uint8

ToUint8Slice - returns a uint8 slice of the pointer passed in

func ToUintDefault

func ToUintDefault(ptr *uint) uint

ToUintDefault - returns the value of the uint pointer passed in, or 0 if the pointer is nil

func ToUintSlice

func ToUintSlice(ptrSlice *[]uint) []uint

ToUintSlice - returns a uint slice of the pointer passed in

func ToValue

func ToValue[T any](ptr *T) T

ToValue - returns the value of the pointer passed in

func ToValueDefault

func ToValueDefault[T any](ptr *T) T

ToValueDefault - returns the value of the pointer passed in, or the default type value if the pointer is nil

Types

type APIClient

type APIClient struct {
	APIGatewaysApi *APIGatewaysApiService

	RoutesApi *RoutesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the IONOS Cloud - API Gateway API v0.0.1 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 APIGatewaysApiService

type APIGatewaysApiService service

APIGatewaysApiService APIGatewaysApi service

func (*APIGatewaysApiService) ApigatewaysDelete

func (a *APIGatewaysApiService) ApigatewaysDelete(ctx _context.Context, apigatewayId string) ApiApigatewaysDeleteRequest

* ApigatewaysDelete Delete Gateway * Deletes the specified Gateway. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @return ApiApigatewaysDeleteRequest

func (*APIGatewaysApiService) ApigatewaysDeleteExecute

func (a *APIGatewaysApiService) ApigatewaysDeleteExecute(r ApiApigatewaysDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*APIGatewaysApiService) ApigatewaysFindById

func (a *APIGatewaysApiService) ApigatewaysFindById(ctx _context.Context, apigatewayId string) ApiApigatewaysFindByIdRequest

* ApigatewaysFindById Retrieve Gateway * Returns the Gateway by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @return ApiApigatewaysFindByIdRequest

func (*APIGatewaysApiService) ApigatewaysFindByIdExecute

* Execute executes the request * @return GatewayRead

func (*APIGatewaysApiService) ApigatewaysGet

  • ApigatewaysGet Retrieve all Apigateways
  • This endpoint enables retrieving all Apigateways using

pagination and optional filters.

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

func (*APIGatewaysApiService) ApigatewaysGetExecute

* Execute executes the request * @return GatewayReadList

func (*APIGatewaysApiService) ApigatewaysPost

  • ApigatewaysPost Create Gateway
  • Creates a new Gateway.

The full Gateway needs to be provided to create the object. Optional data will be filled with defaults or left empty.

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

func (*APIGatewaysApiService) ApigatewaysPostExecute

* Execute executes the request * @return GatewayRead

func (*APIGatewaysApiService) ApigatewaysPut

func (a *APIGatewaysApiService) ApigatewaysPut(ctx _context.Context, apigatewayId string) ApiApigatewaysPutRequest
  • ApigatewaysPut Ensure Gateway
  • Ensures that the Gateway with the provided ID is created or modified.

The full Gateway needs to be provided to ensure (either update or create) the Gateway. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apigatewayId The ID (UUID) of the Gateway.
  • @return ApiApigatewaysPutRequest

func (*APIGatewaysApiService) ApigatewaysPutExecute

* Execute executes the request * @return GatewayRead

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"`
	// RequestTime is the time duration from the moment the APIClient sends
	// the HTTP request to the moment it receives an HTTP response.
	RequestTime time.Duration `json:"duration,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.

func (*APIResponse) HttpNotFound

func (resp *APIResponse) HttpNotFound() bool

HttpNotFound - returns true if a 404 status code was returned returns false for nil APIResponse values

func (*APIResponse) LogInfo

func (resp *APIResponse) LogInfo()

LogInfo - logs APIResponse values like RequestTime, Operation and StatusCode does not print anything for nil APIResponse values

type ApiApigatewaysDeleteRequest

type ApiApigatewaysDeleteRequest struct {
	ApiService *APIGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysDeleteRequest) Execute

type ApiApigatewaysFindByIdRequest

type ApiApigatewaysFindByIdRequest struct {
	ApiService *APIGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysFindByIdRequest) Execute

type ApiApigatewaysGetRequest

type ApiApigatewaysGetRequest struct {
	ApiService *APIGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysGetRequest) Execute

func (ApiApigatewaysGetRequest) Limit

func (ApiApigatewaysGetRequest) Offset

func (ApiApigatewaysGetRequest) OrderBy

type ApiApigatewaysPostRequest

type ApiApigatewaysPostRequest struct {
	ApiService *APIGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysPostRequest) Execute

func (ApiApigatewaysPostRequest) GatewayCreate

func (r ApiApigatewaysPostRequest) GatewayCreate(gatewayCreate GatewayCreate) ApiApigatewaysPostRequest

type ApiApigatewaysPutRequest

type ApiApigatewaysPutRequest struct {
	ApiService *APIGatewaysApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysPutRequest) Execute

func (ApiApigatewaysPutRequest) GatewayEnsure

func (r ApiApigatewaysPutRequest) GatewayEnsure(gatewayEnsure GatewayEnsure) ApiApigatewaysPutRequest

type ApiApigatewaysRoutesDeleteRequest

type ApiApigatewaysRoutesDeleteRequest struct {
	ApiService *RoutesApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysRoutesDeleteRequest) Execute

type ApiApigatewaysRoutesFindByIdRequest

type ApiApigatewaysRoutesFindByIdRequest struct {
	ApiService *RoutesApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysRoutesFindByIdRequest) Execute

type ApiApigatewaysRoutesGetRequest

type ApiApigatewaysRoutesGetRequest struct {
	ApiService *RoutesApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysRoutesGetRequest) Execute

func (ApiApigatewaysRoutesGetRequest) Limit

func (ApiApigatewaysRoutesGetRequest) Offset

func (ApiApigatewaysRoutesGetRequest) OrderBy

type ApiApigatewaysRoutesPostRequest

type ApiApigatewaysRoutesPostRequest struct {
	ApiService *RoutesApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysRoutesPostRequest) Execute

func (ApiApigatewaysRoutesPostRequest) RouteCreate

type ApiApigatewaysRoutesPutRequest

type ApiApigatewaysRoutesPutRequest struct {
	ApiService *RoutesApiService
	// contains filtered or unexported fields
}

func (ApiApigatewaysRoutesPutRequest) Execute

func (ApiApigatewaysRoutesPutRequest) RouteEnsure

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"`
	DefaultQueryParams url.Values        `json:"defaultQueryParams,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
	LogLevel           LogLevel
	Logger             Logger
	Username           string        `json:"username,omitempty"`
	Password           string        `json:"password,omitempty"`
	Token              string        `json:"token,omitempty"`
	MaxRetries         int           `json:"maxRetries,omitempty"`
	WaitTime           time.Duration `json:"waitTime,omitempty"`
	MaxWaitTime        time.Duration `json:"maxWaitTime,omitempty"`
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration(username, password, token, hostUrl string) *Configuration

NewConfiguration returns a new Configuration object

func NewConfigurationFromEnv

func NewConfigurationFromEnv() *Configuration

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) AddDefaultQueryParam

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

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 Error

type Error struct {
	// The HTTP status code of the operation.
	HttpStatus *int32 `json:"httpStatus,omitempty"`
	// A list of error messages.
	Messages *[]ErrorMessages `json:"messages,omitempty"`
}

Error The Error object is used to represent an error response from the API.

func NewError

func NewError() *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetHttpStatus

func (o *Error) GetHttpStatus() *int32

GetHttpStatus returns the HttpStatus field value If the value is explicit nil, the zero value for int32 will be returned

func (*Error) GetHttpStatusOk

func (o *Error) GetHttpStatusOk() (*int32, bool)

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

func (*Error) GetMessages

func (o *Error) GetMessages() *[]ErrorMessages

GetMessages returns the Messages field value If the value is explicit nil, the zero value for []ErrorMessages will be returned

func (*Error) GetMessagesOk

func (o *Error) GetMessagesOk() (*[]ErrorMessages, bool)

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

func (*Error) HasHttpStatus

func (o *Error) HasHttpStatus() bool

HasHttpStatus returns a boolean if a field has been set.

func (*Error) HasMessages

func (o *Error) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (Error) MarshalJSON

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

func (*Error) SetHttpStatus

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus sets field value

func (*Error) SetMessages

func (o *Error) SetMessages(v []ErrorMessages)

SetMessages sets field value

type ErrorMessages

type ErrorMessages struct {
	// Application internal error code
	ErrorCode *string `json:"errorCode,omitempty"`
	// A human readable explanation specific to this occurrence of the problem.
	Message *string `json:"message,omitempty"`
}

ErrorMessages struct for ErrorMessages

func NewErrorMessages

func NewErrorMessages() *ErrorMessages

NewErrorMessages instantiates a new ErrorMessages 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 NewErrorMessagesWithDefaults

func NewErrorMessagesWithDefaults() *ErrorMessages

NewErrorMessagesWithDefaults instantiates a new ErrorMessages 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 (*ErrorMessages) GetErrorCode

func (o *ErrorMessages) GetErrorCode() *string

GetErrorCode returns the ErrorCode field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessages) GetErrorCodeOk

func (o *ErrorMessages) GetErrorCodeOk() (*string, bool)

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

func (*ErrorMessages) GetMessage

func (o *ErrorMessages) GetMessage() *string

GetMessage returns the Message field value If the value is explicit nil, the zero value for string will be returned

func (*ErrorMessages) GetMessageOk

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

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

func (*ErrorMessages) HasErrorCode

func (o *ErrorMessages) HasErrorCode() bool

HasErrorCode returns a boolean if a field has been set.

func (*ErrorMessages) HasMessage

func (o *ErrorMessages) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ErrorMessages) MarshalJSON

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

func (*ErrorMessages) SetErrorCode

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode sets field value

func (*ErrorMessages) SetMessage

func (o *ErrorMessages) SetMessage(v string)

SetMessage sets field value

type Gateway

type Gateway struct {
	Name *string `json:"name"`
	// This field enables or disables the collection and reporting of logs for observability of this instance.
	Logs *bool `json:"logs,omitempty"`
	// This field enables or disables the collection and reporting of metrics for observability of this instance.
	Metrics       *bool                   `json:"metrics,omitempty"`
	CustomDomains *[]GatewayCustomDomains `json:"customDomains,omitempty"`
}

Gateway An API gateway consists of the generic rules and configurations of an API Gateway.

func NewGateway

func NewGateway(name string) *Gateway

NewGateway instantiates a new Gateway object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewGatewayWithDefaults

func NewGatewayWithDefaults() *Gateway

NewGatewayWithDefaults instantiates a new Gateway object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*Gateway) GetCustomDomains

func (o *Gateway) GetCustomDomains() *[]GatewayCustomDomains

GetCustomDomains returns the CustomDomains field value If the value is explicit nil, the zero value for []GatewayCustomDomains will be returned

func (*Gateway) GetCustomDomainsOk

func (o *Gateway) GetCustomDomainsOk() (*[]GatewayCustomDomains, bool)

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

func (*Gateway) GetLogs

func (o *Gateway) GetLogs() *bool

GetLogs returns the Logs field value If the value is explicit nil, the zero value for bool will be returned

func (*Gateway) GetLogsOk

func (o *Gateway) GetLogsOk() (*bool, bool)

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

func (*Gateway) GetMetrics

func (o *Gateway) GetMetrics() *bool

GetMetrics returns the Metrics field value If the value is explicit nil, the zero value for bool will be returned

func (*Gateway) GetMetricsOk

func (o *Gateway) GetMetricsOk() (*bool, bool)

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

func (*Gateway) GetName

func (o *Gateway) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Gateway) GetNameOk

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

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

func (*Gateway) HasCustomDomains

func (o *Gateway) HasCustomDomains() bool

HasCustomDomains returns a boolean if a field has been set.

func (*Gateway) HasLogs

func (o *Gateway) HasLogs() bool

HasLogs returns a boolean if a field has been set.

func (*Gateway) HasMetrics

func (o *Gateway) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*Gateway) HasName

func (o *Gateway) HasName() bool

HasName returns a boolean if a field has been set.

func (Gateway) MarshalJSON

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

func (*Gateway) SetCustomDomains

func (o *Gateway) SetCustomDomains(v []GatewayCustomDomains)

SetCustomDomains sets field value

func (*Gateway) SetLogs

func (o *Gateway) SetLogs(v bool)

SetLogs sets field value

func (*Gateway) SetMetrics

func (o *Gateway) SetMetrics(v bool)

SetMetrics sets field value

func (*Gateway) SetName

func (o *Gateway) SetName(v string)

SetName sets field value

type GatewayCreate

type GatewayCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Gateway                `json:"properties"`
}

GatewayCreate struct for GatewayCreate

func NewGatewayCreate

func NewGatewayCreate(properties Gateway) *GatewayCreate

NewGatewayCreate instantiates a new GatewayCreate 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 NewGatewayCreateWithDefaults

func NewGatewayCreateWithDefaults() *GatewayCreate

NewGatewayCreateWithDefaults instantiates a new GatewayCreate 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 (*GatewayCreate) GetMetadata

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

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*GatewayCreate) GetMetadataOk

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

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

func (*GatewayCreate) GetProperties

func (o *GatewayCreate) GetProperties() *Gateway

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned

func (*GatewayCreate) GetPropertiesOk

func (o *GatewayCreate) GetPropertiesOk() (*Gateway, bool)

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

func (*GatewayCreate) HasMetadata

func (o *GatewayCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GatewayCreate) HasProperties

func (o *GatewayCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (GatewayCreate) MarshalJSON

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

func (*GatewayCreate) SetMetadata

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

SetMetadata sets field value

func (*GatewayCreate) SetProperties

func (o *GatewayCreate) SetProperties(v Gateway)

SetProperties sets field value

type GatewayCustomDomains

type GatewayCustomDomains struct {
	// The domain name of the distribution.
	Name *string `json:"name,omitempty"`
	// The ID of the certificate to use for the distribution.
	CertificateId *string `json:"certificateId,omitempty"`
}

GatewayCustomDomains The custom domain that the API Gateway instance should listen on.

func NewGatewayCustomDomains

func NewGatewayCustomDomains() *GatewayCustomDomains

NewGatewayCustomDomains instantiates a new GatewayCustomDomains 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 NewGatewayCustomDomainsWithDefaults

func NewGatewayCustomDomainsWithDefaults() *GatewayCustomDomains

NewGatewayCustomDomainsWithDefaults instantiates a new GatewayCustomDomains 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 (*GatewayCustomDomains) GetCertificateId

func (o *GatewayCustomDomains) GetCertificateId() *string

GetCertificateId returns the CertificateId field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayCustomDomains) GetCertificateIdOk

func (o *GatewayCustomDomains) GetCertificateIdOk() (*string, bool)

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

func (*GatewayCustomDomains) GetName

func (o *GatewayCustomDomains) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayCustomDomains) GetNameOk

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

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

func (*GatewayCustomDomains) HasCertificateId

func (o *GatewayCustomDomains) HasCertificateId() bool

HasCertificateId returns a boolean if a field has been set.

func (*GatewayCustomDomains) HasName

func (o *GatewayCustomDomains) HasName() bool

HasName returns a boolean if a field has been set.

func (GatewayCustomDomains) MarshalJSON

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

func (*GatewayCustomDomains) SetCertificateId

func (o *GatewayCustomDomains) SetCertificateId(v string)

SetCertificateId sets field value

func (*GatewayCustomDomains) SetName

func (o *GatewayCustomDomains) SetName(v string)

SetName sets field value

type GatewayEnsure

type GatewayEnsure struct {
	// The ID (UUID) of the Gateway.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Gateway                `json:"properties"`
}

GatewayEnsure struct for GatewayEnsure

func NewGatewayEnsure

func NewGatewayEnsure(id string, properties Gateway) *GatewayEnsure

NewGatewayEnsure instantiates a new GatewayEnsure 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 NewGatewayEnsureWithDefaults

func NewGatewayEnsureWithDefaults() *GatewayEnsure

NewGatewayEnsureWithDefaults instantiates a new GatewayEnsure 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 (*GatewayEnsure) GetId

func (o *GatewayEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayEnsure) GetIdOk

func (o *GatewayEnsure) GetIdOk() (*string, bool)

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

func (*GatewayEnsure) GetMetadata

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

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*GatewayEnsure) GetMetadataOk

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

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

func (*GatewayEnsure) GetProperties

func (o *GatewayEnsure) GetProperties() *Gateway

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned

func (*GatewayEnsure) GetPropertiesOk

func (o *GatewayEnsure) GetPropertiesOk() (*Gateway, bool)

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

func (*GatewayEnsure) HasId

func (o *GatewayEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayEnsure) HasMetadata

func (o *GatewayEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GatewayEnsure) HasProperties

func (o *GatewayEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (GatewayEnsure) MarshalJSON

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

func (*GatewayEnsure) SetId

func (o *GatewayEnsure) SetId(v string)

SetId sets field value

func (*GatewayEnsure) SetMetadata

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

SetMetadata sets field value

func (*GatewayEnsure) SetProperties

func (o *GatewayEnsure) SetProperties(v Gateway)

SetProperties sets field value

type GatewayRead

type GatewayRead struct {
	// The ID (UUID) of the Gateway.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Gateway.
	Href       *string               `json:"href"`
	Metadata   *MetadataWithEndpoint `json:"metadata"`
	Properties *Gateway              `json:"properties"`
}

GatewayRead struct for GatewayRead

func NewGatewayRead

func NewGatewayRead(id string, type_ string, href string, metadata MetadataWithEndpoint, properties Gateway) *GatewayRead

NewGatewayRead instantiates a new GatewayRead 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 NewGatewayReadWithDefaults

func NewGatewayReadWithDefaults() *GatewayRead

NewGatewayReadWithDefaults instantiates a new GatewayRead 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 (*GatewayRead) GetHref

func (o *GatewayRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayRead) GetHrefOk

func (o *GatewayRead) GetHrefOk() (*string, bool)

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

func (*GatewayRead) GetId

func (o *GatewayRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayRead) GetIdOk

func (o *GatewayRead) GetIdOk() (*string, bool)

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

func (*GatewayRead) GetMetadata

func (o *GatewayRead) GetMetadata() *MetadataWithEndpoint

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithEndpoint will be returned

func (*GatewayRead) GetMetadataOk

func (o *GatewayRead) GetMetadataOk() (*MetadataWithEndpoint, bool)

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

func (*GatewayRead) GetProperties

func (o *GatewayRead) GetProperties() *Gateway

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Gateway will be returned

func (*GatewayRead) GetPropertiesOk

func (o *GatewayRead) GetPropertiesOk() (*Gateway, bool)

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

func (*GatewayRead) GetType

func (o *GatewayRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayRead) GetTypeOk

func (o *GatewayRead) GetTypeOk() (*string, bool)

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

func (*GatewayRead) HasHref

func (o *GatewayRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GatewayRead) HasId

func (o *GatewayRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayRead) HasMetadata

func (o *GatewayRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GatewayRead) HasProperties

func (o *GatewayRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*GatewayRead) HasType

func (o *GatewayRead) HasType() bool

HasType returns a boolean if a field has been set.

func (GatewayRead) MarshalJSON

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

func (*GatewayRead) SetHref

func (o *GatewayRead) SetHref(v string)

SetHref sets field value

func (*GatewayRead) SetId

func (o *GatewayRead) SetId(v string)

SetId sets field value

func (*GatewayRead) SetMetadata

func (o *GatewayRead) SetMetadata(v MetadataWithEndpoint)

SetMetadata sets field value

func (*GatewayRead) SetProperties

func (o *GatewayRead) SetProperties(v Gateway)

SetProperties sets field value

func (*GatewayRead) SetType

func (o *GatewayRead) SetType(v string)

SetType sets field value

type GatewayReadList

type GatewayReadList struct {
	// ID of the Gateway.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Gateway.
	Href *string `json:"href"`
	// The list of Gateway resources.
	Items *[]GatewayRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

GatewayReadList struct for GatewayReadList

func NewGatewayReadList

func NewGatewayReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *GatewayReadList

NewGatewayReadList instantiates a new GatewayReadList 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 NewGatewayReadListWithDefaults

func NewGatewayReadListWithDefaults() *GatewayReadList

NewGatewayReadListWithDefaults instantiates a new GatewayReadList 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 (*GatewayReadList) GetHref

func (o *GatewayReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadList) GetHrefOk

func (o *GatewayReadList) GetHrefOk() (*string, bool)

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

func (*GatewayReadList) GetId

func (o *GatewayReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadList) GetIdOk

func (o *GatewayReadList) GetIdOk() (*string, bool)

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

func (*GatewayReadList) GetItems

func (o *GatewayReadList) GetItems() *[]GatewayRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []GatewayRead will be returned

func (*GatewayReadList) GetItemsOk

func (o *GatewayReadList) GetItemsOk() (*[]GatewayRead, bool)

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

func (*GatewayReadList) GetLimit

func (o *GatewayReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*GatewayReadList) GetLimitOk

func (o *GatewayReadList) GetLimitOk() (*int32, bool)

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

func (o *GatewayReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*GatewayReadList) GetLinksOk

func (o *GatewayReadList) GetLinksOk() (*Links, bool)

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

func (*GatewayReadList) GetOffset

func (o *GatewayReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*GatewayReadList) GetOffsetOk

func (o *GatewayReadList) GetOffsetOk() (*int32, bool)

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

func (*GatewayReadList) GetType

func (o *GatewayReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadList) GetTypeOk

func (o *GatewayReadList) GetTypeOk() (*string, bool)

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

func (*GatewayReadList) HasHref

func (o *GatewayReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GatewayReadList) HasId

func (o *GatewayReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayReadList) HasItems

func (o *GatewayReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GatewayReadList) HasLimit

func (o *GatewayReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *GatewayReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*GatewayReadList) HasOffset

func (o *GatewayReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*GatewayReadList) HasType

func (o *GatewayReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (GatewayReadList) MarshalJSON

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

func (*GatewayReadList) SetHref

func (o *GatewayReadList) SetHref(v string)

SetHref sets field value

func (*GatewayReadList) SetId

func (o *GatewayReadList) SetId(v string)

SetId sets field value

func (*GatewayReadList) SetItems

func (o *GatewayReadList) SetItems(v []GatewayRead)

SetItems sets field value

func (*GatewayReadList) SetLimit

func (o *GatewayReadList) SetLimit(v int32)

SetLimit sets field value

func (o *GatewayReadList) SetLinks(v Links)

SetLinks sets field value

func (*GatewayReadList) SetOffset

func (o *GatewayReadList) SetOffset(v int32)

SetOffset sets field value

func (*GatewayReadList) SetType

func (o *GatewayReadList) SetType(v string)

SetType sets field value

type GatewayReadListAllOf

type GatewayReadListAllOf struct {
	// ID of the Gateway.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Gateway.
	Href *string `json:"href"`
	// The list of Gateway resources.
	Items *[]GatewayRead `json:"items,omitempty"`
}

GatewayReadListAllOf struct for GatewayReadListAllOf

func NewGatewayReadListAllOf

func NewGatewayReadListAllOf(id string, type_ string, href string) *GatewayReadListAllOf

NewGatewayReadListAllOf instantiates a new GatewayReadListAllOf 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 NewGatewayReadListAllOfWithDefaults

func NewGatewayReadListAllOfWithDefaults() *GatewayReadListAllOf

NewGatewayReadListAllOfWithDefaults instantiates a new GatewayReadListAllOf 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 (*GatewayReadListAllOf) GetHref

func (o *GatewayReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadListAllOf) GetHrefOk

func (o *GatewayReadListAllOf) GetHrefOk() (*string, bool)

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

func (*GatewayReadListAllOf) GetId

func (o *GatewayReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadListAllOf) GetIdOk

func (o *GatewayReadListAllOf) GetIdOk() (*string, bool)

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

func (*GatewayReadListAllOf) GetItems

func (o *GatewayReadListAllOf) GetItems() *[]GatewayRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []GatewayRead will be returned

func (*GatewayReadListAllOf) GetItemsOk

func (o *GatewayReadListAllOf) GetItemsOk() (*[]GatewayRead, bool)

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

func (*GatewayReadListAllOf) GetType

func (o *GatewayReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*GatewayReadListAllOf) GetTypeOk

func (o *GatewayReadListAllOf) GetTypeOk() (*string, bool)

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

func (*GatewayReadListAllOf) HasHref

func (o *GatewayReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*GatewayReadListAllOf) HasId

func (o *GatewayReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*GatewayReadListAllOf) HasItems

func (o *GatewayReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*GatewayReadListAllOf) HasType

func (o *GatewayReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (GatewayReadListAllOf) MarshalJSON

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

func (*GatewayReadListAllOf) SetHref

func (o *GatewayReadListAllOf) SetHref(v string)

SetHref sets field value

func (*GatewayReadListAllOf) SetId

func (o *GatewayReadListAllOf) SetId(v string)

SetId sets field value

func (*GatewayReadListAllOf) SetItems

func (o *GatewayReadListAllOf) SetItems(v []GatewayRead)

SetItems sets field value

func (*GatewayReadListAllOf) SetType

func (o *GatewayReadListAllOf) SetType(v string)

SetType sets field value

type GenericOpenAPIError

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

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

func NewGenericOpenAPIError

func NewGenericOpenAPIError(message string, body []byte, model interface{}, statusCode int) *GenericOpenAPIError

NewGenericOpenAPIError - constructor for GenericOpenAPIError

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

func (*GenericOpenAPIError) SetBody

func (e *GenericOpenAPIError) SetBody(body []byte)

SetBody sets the raw body of the error

func (*GenericOpenAPIError) SetError

func (e *GenericOpenAPIError) SetError(error string)

SetError sets the error string

func (*GenericOpenAPIError) SetModel

func (e *GenericOpenAPIError) SetModel(model interface{})

SetModel sets the model of the error

func (*GenericOpenAPIError) SetStatusCode

func (e *GenericOpenAPIError) SetStatusCode(statusCode int)

SetStatusCode sets the status code of the error

func (GenericOpenAPIError) StatusCode

func (e GenericOpenAPIError) StatusCode() int

StatusCode returns the status code of the error

type IonosTime

type IonosTime struct {
	time.Time
}

func (*IonosTime) UnmarshalJSON

func (t *IonosTime) UnmarshalJSON(data []byte) error
type Links struct {
	// URL (with offset and limit parameters) of the previous page; only present if offset is greater than 0.
	Prev *string `json:"prev,omitempty"`
	// URL (with offset and limit parameters) of the current page.
	Self *string `json:"self,omitempty"`
	// URL (with offset and limit parameters) of the next page; only present if offset + limit is less than the total number of elements.
	Next *string `json:"next,omitempty"`
}

Links URLs to navigate the different pages. As of now we always only return a single page.

func NewLinks() *Links

NewLinks instantiates a new Links 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 NewLinksWithDefaults

func NewLinksWithDefaults() *Links

NewLinksWithDefaults instantiates a new Links 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 (*Links) GetNext

func (o *Links) GetNext() *string

GetNext returns the Next field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetNextOk

func (o *Links) GetNextOk() (*string, bool)

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

func (*Links) GetPrev

func (o *Links) GetPrev() *string

GetPrev returns the Prev field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetPrevOk

func (o *Links) GetPrevOk() (*string, bool)

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

func (*Links) GetSelf

func (o *Links) GetSelf() *string

GetSelf returns the Self field value If the value is explicit nil, the zero value for string will be returned

func (*Links) GetSelfOk

func (o *Links) GetSelfOk() (*string, bool)

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

func (*Links) HasNext

func (o *Links) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*Links) HasPrev

func (o *Links) HasPrev() bool

HasPrev returns a boolean if a field has been set.

func (*Links) HasSelf

func (o *Links) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (Links) MarshalJSON

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

func (*Links) SetNext

func (o *Links) SetNext(v string)

SetNext sets field value

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev sets field value

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf sets field value

type LogLevel

type LogLevel uint
const (
	Off LogLevel = 0x100 * iota
	Debug
	// Trace We recommend you only set this field for debugging purposes.
	// Disable it in your production environments because it can log sensitive data.
	// It logs the full request and response without encryption, even for an HTTPS call.
	// Verbose request and response logging can also significantly impact your application's performance.
	Trace
)

func (*LogLevel) Get

func (l *LogLevel) Get() LogLevel

func (*LogLevel) Satisfies

func (l *LogLevel) Satisfies(v LogLevel) bool

Satisfies returns true if this LogLevel is at least high enough for v

type Logger

type Logger interface {
	Printf(format string, args ...interface{})
}

func NewDefaultLogger

func NewDefaultLogger() Logger

type Metadata

type Metadata struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
}

Metadata Metadata of the resource.

func NewMetadata

func NewMetadata() *Metadata

NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults

func NewMetadataWithDefaults() *Metadata

NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreatedBy

func (o *Metadata) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByOk

func (o *Metadata) GetCreatedByOk() (*string, bool)

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

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetCreatedByUserIdOk

func (o *Metadata) GetCreatedByUserIdOk() (*string, bool)

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

func (*Metadata) GetCreatedDate

func (o *Metadata) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetCreatedDateOk

func (o *Metadata) GetCreatedDateOk() (*time.Time, bool)

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

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByOk

func (o *Metadata) GetLastModifiedByOk() (*string, bool)

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

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetLastModifiedByUserIdOk

func (o *Metadata) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*Metadata) GetLastModifiedDate

func (o *Metadata) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*Metadata) GetLastModifiedDateOk

func (o *Metadata) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*Metadata) GetResourceURN

func (o *Metadata) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*Metadata) GetResourceURNOk

func (o *Metadata) GetResourceURNOk() (*string, bool)

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

func (*Metadata) HasCreatedBy

func (o *Metadata) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*Metadata) HasCreatedByUserId

func (o *Metadata) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*Metadata) HasCreatedDate

func (o *Metadata) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedBy

func (o *Metadata) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedByUserId

func (o *Metadata) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*Metadata) HasLastModifiedDate

func (o *Metadata) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*Metadata) HasResourceURN

func (o *Metadata) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (Metadata) MarshalJSON

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

func (*Metadata) SetCreatedBy

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*Metadata) SetCreatedDate

func (o *Metadata) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*Metadata) SetLastModifiedDate

func (o *Metadata) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*Metadata) SetResourceURN

func (o *Metadata) SetResourceURN(v string)

SetResourceURN sets field value

type MetadataWithEndpoint

type MetadataWithEndpoint struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
	// The public endpoint of the API Gateway instance.
	PublicEndpoint *string `json:"publicEndpoint"`
}

MetadataWithEndpoint struct for MetadataWithEndpoint

func NewMetadataWithEndpoint

func NewMetadataWithEndpoint(status string, publicEndpoint string) *MetadataWithEndpoint

NewMetadataWithEndpoint instantiates a new MetadataWithEndpoint 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 NewMetadataWithEndpointWithDefaults

func NewMetadataWithEndpointWithDefaults() *MetadataWithEndpoint

NewMetadataWithEndpointWithDefaults instantiates a new MetadataWithEndpoint 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 (*MetadataWithEndpoint) GetCreatedBy

func (o *MetadataWithEndpoint) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetCreatedByOk

func (o *MetadataWithEndpoint) GetCreatedByOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetCreatedByUserId

func (o *MetadataWithEndpoint) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetCreatedByUserIdOk

func (o *MetadataWithEndpoint) GetCreatedByUserIdOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetCreatedDate

func (o *MetadataWithEndpoint) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataWithEndpoint) GetCreatedDateOk

func (o *MetadataWithEndpoint) GetCreatedDateOk() (*time.Time, bool)

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

func (*MetadataWithEndpoint) GetLastModifiedBy

func (o *MetadataWithEndpoint) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetLastModifiedByOk

func (o *MetadataWithEndpoint) GetLastModifiedByOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetLastModifiedByUserId

func (o *MetadataWithEndpoint) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetLastModifiedByUserIdOk

func (o *MetadataWithEndpoint) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetLastModifiedDate

func (o *MetadataWithEndpoint) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataWithEndpoint) GetLastModifiedDateOk

func (o *MetadataWithEndpoint) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*MetadataWithEndpoint) GetPublicEndpoint

func (o *MetadataWithEndpoint) GetPublicEndpoint() *string

GetPublicEndpoint returns the PublicEndpoint field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetPublicEndpointOk

func (o *MetadataWithEndpoint) GetPublicEndpointOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetResourceURN

func (o *MetadataWithEndpoint) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetResourceURNOk

func (o *MetadataWithEndpoint) GetResourceURNOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetStatus

func (o *MetadataWithEndpoint) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetStatusMessage

func (o *MetadataWithEndpoint) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpoint) GetStatusMessageOk

func (o *MetadataWithEndpoint) GetStatusMessageOk() (*string, bool)

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

func (*MetadataWithEndpoint) GetStatusOk

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

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

func (*MetadataWithEndpoint) HasCreatedBy

func (o *MetadataWithEndpoint) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasCreatedByUserId

func (o *MetadataWithEndpoint) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasCreatedDate

func (o *MetadataWithEndpoint) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasLastModifiedBy

func (o *MetadataWithEndpoint) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasLastModifiedByUserId

func (o *MetadataWithEndpoint) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasLastModifiedDate

func (o *MetadataWithEndpoint) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasPublicEndpoint

func (o *MetadataWithEndpoint) HasPublicEndpoint() bool

HasPublicEndpoint returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasResourceURN

func (o *MetadataWithEndpoint) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasStatus

func (o *MetadataWithEndpoint) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithEndpoint) HasStatusMessage

func (o *MetadataWithEndpoint) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithEndpoint) MarshalJSON

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

func (*MetadataWithEndpoint) SetCreatedBy

func (o *MetadataWithEndpoint) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithEndpoint) SetCreatedByUserId

func (o *MetadataWithEndpoint) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithEndpoint) SetCreatedDate

func (o *MetadataWithEndpoint) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*MetadataWithEndpoint) SetLastModifiedBy

func (o *MetadataWithEndpoint) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithEndpoint) SetLastModifiedByUserId

func (o *MetadataWithEndpoint) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithEndpoint) SetLastModifiedDate

func (o *MetadataWithEndpoint) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*MetadataWithEndpoint) SetPublicEndpoint

func (o *MetadataWithEndpoint) SetPublicEndpoint(v string)

SetPublicEndpoint sets field value

func (*MetadataWithEndpoint) SetResourceURN

func (o *MetadataWithEndpoint) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithEndpoint) SetStatus

func (o *MetadataWithEndpoint) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithEndpoint) SetStatusMessage

func (o *MetadataWithEndpoint) SetStatusMessage(v string)

SetStatusMessage sets field value

type MetadataWithEndpointAllOf

type MetadataWithEndpointAllOf struct {
	// The public endpoint of the API Gateway instance.
	PublicEndpoint *string `json:"publicEndpoint"`
}

MetadataWithEndpointAllOf struct for MetadataWithEndpointAllOf

func NewMetadataWithEndpointAllOf

func NewMetadataWithEndpointAllOf(publicEndpoint string) *MetadataWithEndpointAllOf

NewMetadataWithEndpointAllOf instantiates a new MetadataWithEndpointAllOf 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 NewMetadataWithEndpointAllOfWithDefaults

func NewMetadataWithEndpointAllOfWithDefaults() *MetadataWithEndpointAllOf

NewMetadataWithEndpointAllOfWithDefaults instantiates a new MetadataWithEndpointAllOf 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 (*MetadataWithEndpointAllOf) GetPublicEndpoint

func (o *MetadataWithEndpointAllOf) GetPublicEndpoint() *string

GetPublicEndpoint returns the PublicEndpoint field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithEndpointAllOf) GetPublicEndpointOk

func (o *MetadataWithEndpointAllOf) GetPublicEndpointOk() (*string, bool)

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

func (*MetadataWithEndpointAllOf) HasPublicEndpoint

func (o *MetadataWithEndpointAllOf) HasPublicEndpoint() bool

HasPublicEndpoint returns a boolean if a field has been set.

func (MetadataWithEndpointAllOf) MarshalJSON

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

func (*MetadataWithEndpointAllOf) SetPublicEndpoint

func (o *MetadataWithEndpointAllOf) SetPublicEndpoint(v string)

SetPublicEndpoint sets field value

type MetadataWithStatus

type MetadataWithStatus struct {
	// The ISO 8601 creation timestamp.
	CreatedDate *IonosTime `json:"createdDate,omitempty"`
	// Unique name of the identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// Unique id of the identity that created the resource.
	CreatedByUserId *string `json:"createdByUserId,omitempty"`
	// The ISO 8601 modified timestamp.
	LastModifiedDate *IonosTime `json:"lastModifiedDate,omitempty"`
	// Unique name of the identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// Unique id of the identity that last modified the resource.
	LastModifiedByUserId *string `json:"lastModifiedByUserId,omitempty"`
	// Unique name of the resource.
	ResourceURN *string `json:"resourceURN,omitempty"`
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
}

MetadataWithStatus struct for MetadataWithStatus

func NewMetadataWithStatus

func NewMetadataWithStatus(status string) *MetadataWithStatus

NewMetadataWithStatus instantiates a new MetadataWithStatus 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 NewMetadataWithStatusWithDefaults

func NewMetadataWithStatusWithDefaults() *MetadataWithStatus

NewMetadataWithStatusWithDefaults instantiates a new MetadataWithStatus 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 (*MetadataWithStatus) GetCreatedBy

func (o *MetadataWithStatus) GetCreatedBy() *string

GetCreatedBy returns the CreatedBy field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetCreatedByOk

func (o *MetadataWithStatus) GetCreatedByOk() (*string, bool)

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

func (*MetadataWithStatus) GetCreatedByUserId

func (o *MetadataWithStatus) GetCreatedByUserId() *string

GetCreatedByUserId returns the CreatedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetCreatedByUserIdOk

func (o *MetadataWithStatus) GetCreatedByUserIdOk() (*string, bool)

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

func (*MetadataWithStatus) GetCreatedDate

func (o *MetadataWithStatus) GetCreatedDate() *time.Time

GetCreatedDate returns the CreatedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataWithStatus) GetCreatedDateOk

func (o *MetadataWithStatus) GetCreatedDateOk() (*time.Time, bool)

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

func (*MetadataWithStatus) GetLastModifiedBy

func (o *MetadataWithStatus) GetLastModifiedBy() *string

GetLastModifiedBy returns the LastModifiedBy field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetLastModifiedByOk

func (o *MetadataWithStatus) GetLastModifiedByOk() (*string, bool)

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

func (*MetadataWithStatus) GetLastModifiedByUserId

func (o *MetadataWithStatus) GetLastModifiedByUserId() *string

GetLastModifiedByUserId returns the LastModifiedByUserId field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetLastModifiedByUserIdOk

func (o *MetadataWithStatus) GetLastModifiedByUserIdOk() (*string, bool)

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

func (*MetadataWithStatus) GetLastModifiedDate

func (o *MetadataWithStatus) GetLastModifiedDate() *time.Time

GetLastModifiedDate returns the LastModifiedDate field value If the value is explicit nil, the zero value for time.Time will be returned

func (*MetadataWithStatus) GetLastModifiedDateOk

func (o *MetadataWithStatus) GetLastModifiedDateOk() (*time.Time, bool)

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

func (*MetadataWithStatus) GetResourceURN

func (o *MetadataWithStatus) GetResourceURN() *string

GetResourceURN returns the ResourceURN field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetResourceURNOk

func (o *MetadataWithStatus) GetResourceURNOk() (*string, bool)

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

func (*MetadataWithStatus) GetStatus

func (o *MetadataWithStatus) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetStatusMessage

func (o *MetadataWithStatus) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatus) GetStatusMessageOk

func (o *MetadataWithStatus) GetStatusMessageOk() (*string, bool)

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

func (*MetadataWithStatus) GetStatusOk

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

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

func (*MetadataWithStatus) HasCreatedBy

func (o *MetadataWithStatus) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedByUserId

func (o *MetadataWithStatus) HasCreatedByUserId() bool

HasCreatedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasCreatedDate

func (o *MetadataWithStatus) HasCreatedDate() bool

HasCreatedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedBy

func (o *MetadataWithStatus) HasLastModifiedBy() bool

HasLastModifiedBy returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedByUserId

func (o *MetadataWithStatus) HasLastModifiedByUserId() bool

HasLastModifiedByUserId returns a boolean if a field has been set.

func (*MetadataWithStatus) HasLastModifiedDate

func (o *MetadataWithStatus) HasLastModifiedDate() bool

HasLastModifiedDate returns a boolean if a field has been set.

func (*MetadataWithStatus) HasResourceURN

func (o *MetadataWithStatus) HasResourceURN() bool

HasResourceURN returns a boolean if a field has been set.

func (*MetadataWithStatus) HasStatus

func (o *MetadataWithStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithStatus) HasStatusMessage

func (o *MetadataWithStatus) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithStatus) MarshalJSON

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

func (*MetadataWithStatus) SetCreatedBy

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy sets field value

func (*MetadataWithStatus) SetCreatedByUserId

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId sets field value

func (*MetadataWithStatus) SetCreatedDate

func (o *MetadataWithStatus) SetCreatedDate(v time.Time)

SetCreatedDate sets field value

func (*MetadataWithStatus) SetLastModifiedBy

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy sets field value

func (*MetadataWithStatus) SetLastModifiedByUserId

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId sets field value

func (*MetadataWithStatus) SetLastModifiedDate

func (o *MetadataWithStatus) SetLastModifiedDate(v time.Time)

SetLastModifiedDate sets field value

func (*MetadataWithStatus) SetResourceURN

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN sets field value

func (*MetadataWithStatus) SetStatus

func (o *MetadataWithStatus) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatus) SetStatusMessage

func (o *MetadataWithStatus) SetStatusMessage(v string)

SetStatusMessage sets field value

type MetadataWithStatusAllOf

type MetadataWithStatusAllOf struct {
	// The status of the object. The status can be: * `AVAILABLE` - resource exists and is healthy. * `PROVISIONING` - resource is being created or updated. * `DESTROYING` - delete command was issued, the resource is being deleted. * `FAILED` - resource failed, details in `failureMessage`.
	Status *string `json:"status"`
	// The message of the failure if the status is `FAILED`.
	StatusMessage *string `json:"statusMessage,omitempty"`
}

MetadataWithStatusAllOf struct for MetadataWithStatusAllOf

func NewMetadataWithStatusAllOf

func NewMetadataWithStatusAllOf(status string) *MetadataWithStatusAllOf

NewMetadataWithStatusAllOf instantiates a new MetadataWithStatusAllOf 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 NewMetadataWithStatusAllOfWithDefaults

func NewMetadataWithStatusAllOfWithDefaults() *MetadataWithStatusAllOf

NewMetadataWithStatusAllOfWithDefaults instantiates a new MetadataWithStatusAllOf 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 (*MetadataWithStatusAllOf) GetStatus

func (o *MetadataWithStatusAllOf) GetStatus() *string

GetStatus returns the Status field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatusAllOf) GetStatusMessage

func (o *MetadataWithStatusAllOf) GetStatusMessage() *string

GetStatusMessage returns the StatusMessage field value If the value is explicit nil, the zero value for string will be returned

func (*MetadataWithStatusAllOf) GetStatusMessageOk

func (o *MetadataWithStatusAllOf) GetStatusMessageOk() (*string, bool)

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

func (*MetadataWithStatusAllOf) GetStatusOk

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

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

func (*MetadataWithStatusAllOf) HasStatus

func (o *MetadataWithStatusAllOf) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MetadataWithStatusAllOf) HasStatusMessage

func (o *MetadataWithStatusAllOf) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (MetadataWithStatusAllOf) MarshalJSON

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

func (*MetadataWithStatusAllOf) SetStatus

func (o *MetadataWithStatusAllOf) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatusAllOf) SetStatusMessage

func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)

SetStatusMessage sets field value

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 NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableErrorMessages

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

func NewNullableErrorMessages

func NewNullableErrorMessages(val *ErrorMessages) *NullableErrorMessages

func (NullableErrorMessages) Get

func (NullableErrorMessages) IsSet

func (v NullableErrorMessages) IsSet() bool

func (NullableErrorMessages) MarshalJSON

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

func (*NullableErrorMessages) Set

func (v *NullableErrorMessages) Set(val *ErrorMessages)

func (*NullableErrorMessages) UnmarshalJSON

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

func (*NullableErrorMessages) Unset

func (v *NullableErrorMessages) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableGateway

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

func NewNullableGateway

func NewNullableGateway(val *Gateway) *NullableGateway

func (NullableGateway) Get

func (v NullableGateway) Get() *Gateway

func (NullableGateway) IsSet

func (v NullableGateway) IsSet() bool

func (NullableGateway) MarshalJSON

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

func (*NullableGateway) Set

func (v *NullableGateway) Set(val *Gateway)

func (*NullableGateway) UnmarshalJSON

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

func (*NullableGateway) Unset

func (v *NullableGateway) Unset()

type NullableGatewayCreate

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

func NewNullableGatewayCreate

func NewNullableGatewayCreate(val *GatewayCreate) *NullableGatewayCreate

func (NullableGatewayCreate) Get

func (NullableGatewayCreate) IsSet

func (v NullableGatewayCreate) IsSet() bool

func (NullableGatewayCreate) MarshalJSON

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

func (*NullableGatewayCreate) Set

func (v *NullableGatewayCreate) Set(val *GatewayCreate)

func (*NullableGatewayCreate) UnmarshalJSON

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

func (*NullableGatewayCreate) Unset

func (v *NullableGatewayCreate) Unset()

type NullableGatewayCustomDomains

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

func NewNullableGatewayCustomDomains

func NewNullableGatewayCustomDomains(val *GatewayCustomDomains) *NullableGatewayCustomDomains

func (NullableGatewayCustomDomains) Get

func (NullableGatewayCustomDomains) IsSet

func (NullableGatewayCustomDomains) MarshalJSON

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

func (*NullableGatewayCustomDomains) Set

func (*NullableGatewayCustomDomains) UnmarshalJSON

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

func (*NullableGatewayCustomDomains) Unset

func (v *NullableGatewayCustomDomains) Unset()

type NullableGatewayEnsure

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

func NewNullableGatewayEnsure

func NewNullableGatewayEnsure(val *GatewayEnsure) *NullableGatewayEnsure

func (NullableGatewayEnsure) Get

func (NullableGatewayEnsure) IsSet

func (v NullableGatewayEnsure) IsSet() bool

func (NullableGatewayEnsure) MarshalJSON

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

func (*NullableGatewayEnsure) Set

func (v *NullableGatewayEnsure) Set(val *GatewayEnsure)

func (*NullableGatewayEnsure) UnmarshalJSON

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

func (*NullableGatewayEnsure) Unset

func (v *NullableGatewayEnsure) Unset()

type NullableGatewayRead

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

func NewNullableGatewayRead

func NewNullableGatewayRead(val *GatewayRead) *NullableGatewayRead

func (NullableGatewayRead) Get

func (NullableGatewayRead) IsSet

func (v NullableGatewayRead) IsSet() bool

func (NullableGatewayRead) MarshalJSON

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

func (*NullableGatewayRead) Set

func (v *NullableGatewayRead) Set(val *GatewayRead)

func (*NullableGatewayRead) UnmarshalJSON

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

func (*NullableGatewayRead) Unset

func (v *NullableGatewayRead) Unset()

type NullableGatewayReadList

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

func NewNullableGatewayReadList

func NewNullableGatewayReadList(val *GatewayReadList) *NullableGatewayReadList

func (NullableGatewayReadList) Get

func (NullableGatewayReadList) IsSet

func (v NullableGatewayReadList) IsSet() bool

func (NullableGatewayReadList) MarshalJSON

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

func (*NullableGatewayReadList) Set

func (*NullableGatewayReadList) UnmarshalJSON

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

func (*NullableGatewayReadList) Unset

func (v *NullableGatewayReadList) Unset()

type NullableGatewayReadListAllOf

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

func NewNullableGatewayReadListAllOf

func NewNullableGatewayReadListAllOf(val *GatewayReadListAllOf) *NullableGatewayReadListAllOf

func (NullableGatewayReadListAllOf) Get

func (NullableGatewayReadListAllOf) IsSet

func (NullableGatewayReadListAllOf) MarshalJSON

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

func (*NullableGatewayReadListAllOf) Set

func (*NullableGatewayReadListAllOf) UnmarshalJSON

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

func (*NullableGatewayReadListAllOf) Unset

func (v *NullableGatewayReadListAllOf) 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 NullableLinks struct {
	// contains filtered or unexported fields
}
func NewNullableLinks(val *Links) *NullableLinks

func (NullableLinks) Get

func (v NullableLinks) Get() *Links

func (NullableLinks) IsSet

func (v NullableLinks) IsSet() bool

func (NullableLinks) MarshalJSON

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

func (*NullableLinks) Set

func (v *NullableLinks) Set(val *Links)

func (*NullableLinks) UnmarshalJSON

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

func (*NullableLinks) Unset

func (v *NullableLinks) Unset()

type NullableMetadata

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

func NewNullableMetadata

func NewNullableMetadata(val *Metadata) *NullableMetadata

func (NullableMetadata) Get

func (v NullableMetadata) Get() *Metadata

func (NullableMetadata) IsSet

func (v NullableMetadata) IsSet() bool

func (NullableMetadata) MarshalJSON

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

func (*NullableMetadata) Set

func (v *NullableMetadata) Set(val *Metadata)

func (*NullableMetadata) UnmarshalJSON

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

func (*NullableMetadata) Unset

func (v *NullableMetadata) Unset()

type NullableMetadataWithEndpoint

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

func NewNullableMetadataWithEndpoint

func NewNullableMetadataWithEndpoint(val *MetadataWithEndpoint) *NullableMetadataWithEndpoint

func (NullableMetadataWithEndpoint) Get

func (NullableMetadataWithEndpoint) IsSet

func (NullableMetadataWithEndpoint) MarshalJSON

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

func (*NullableMetadataWithEndpoint) Set

func (*NullableMetadataWithEndpoint) UnmarshalJSON

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

func (*NullableMetadataWithEndpoint) Unset

func (v *NullableMetadataWithEndpoint) Unset()

type NullableMetadataWithEndpointAllOf

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

func (NullableMetadataWithEndpointAllOf) Get

func (NullableMetadataWithEndpointAllOf) IsSet

func (NullableMetadataWithEndpointAllOf) MarshalJSON

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

func (*NullableMetadataWithEndpointAllOf) Set

func (*NullableMetadataWithEndpointAllOf) UnmarshalJSON

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

func (*NullableMetadataWithEndpointAllOf) Unset

type NullableMetadataWithStatus

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

func NewNullableMetadataWithStatus

func NewNullableMetadataWithStatus(val *MetadataWithStatus) *NullableMetadataWithStatus

func (NullableMetadataWithStatus) Get

func (NullableMetadataWithStatus) IsSet

func (v NullableMetadataWithStatus) IsSet() bool

func (NullableMetadataWithStatus) MarshalJSON

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

func (*NullableMetadataWithStatus) Set

func (*NullableMetadataWithStatus) UnmarshalJSON

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

func (*NullableMetadataWithStatus) Unset

func (v *NullableMetadataWithStatus) Unset()

type NullableMetadataWithStatusAllOf

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

func (NullableMetadataWithStatusAllOf) Get

func (NullableMetadataWithStatusAllOf) IsSet

func (NullableMetadataWithStatusAllOf) MarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Set

func (*NullableMetadataWithStatusAllOf) UnmarshalJSON

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

func (*NullableMetadataWithStatusAllOf) Unset

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullableRoute

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

func NewNullableRoute

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON

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

func (*NullableRoute) Set

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON

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

func (*NullableRoute) Unset

func (v *NullableRoute) Unset()

type NullableRouteCreate

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

func NewNullableRouteCreate

func NewNullableRouteCreate(val *RouteCreate) *NullableRouteCreate

func (NullableRouteCreate) Get

func (NullableRouteCreate) IsSet

func (v NullableRouteCreate) IsSet() bool

func (NullableRouteCreate) MarshalJSON

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

func (*NullableRouteCreate) Set

func (v *NullableRouteCreate) Set(val *RouteCreate)

func (*NullableRouteCreate) UnmarshalJSON

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

func (*NullableRouteCreate) Unset

func (v *NullableRouteCreate) Unset()

type NullableRouteEnsure

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

func NewNullableRouteEnsure

func NewNullableRouteEnsure(val *RouteEnsure) *NullableRouteEnsure

func (NullableRouteEnsure) Get

func (NullableRouteEnsure) IsSet

func (v NullableRouteEnsure) IsSet() bool

func (NullableRouteEnsure) MarshalJSON

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

func (*NullableRouteEnsure) Set

func (v *NullableRouteEnsure) Set(val *RouteEnsure)

func (*NullableRouteEnsure) UnmarshalJSON

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

func (*NullableRouteEnsure) Unset

func (v *NullableRouteEnsure) Unset()

type NullableRouteRead

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

func NewNullableRouteRead

func NewNullableRouteRead(val *RouteRead) *NullableRouteRead

func (NullableRouteRead) Get

func (v NullableRouteRead) Get() *RouteRead

func (NullableRouteRead) IsSet

func (v NullableRouteRead) IsSet() bool

func (NullableRouteRead) MarshalJSON

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

func (*NullableRouteRead) Set

func (v *NullableRouteRead) Set(val *RouteRead)

func (*NullableRouteRead) UnmarshalJSON

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

func (*NullableRouteRead) Unset

func (v *NullableRouteRead) Unset()

type NullableRouteReadList

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

func NewNullableRouteReadList

func NewNullableRouteReadList(val *RouteReadList) *NullableRouteReadList

func (NullableRouteReadList) Get

func (NullableRouteReadList) IsSet

func (v NullableRouteReadList) IsSet() bool

func (NullableRouteReadList) MarshalJSON

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

func (*NullableRouteReadList) Set

func (v *NullableRouteReadList) Set(val *RouteReadList)

func (*NullableRouteReadList) UnmarshalJSON

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

func (*NullableRouteReadList) Unset

func (v *NullableRouteReadList) Unset()

type NullableRouteReadListAllOf

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

func NewNullableRouteReadListAllOf

func NewNullableRouteReadListAllOf(val *RouteReadListAllOf) *NullableRouteReadListAllOf

func (NullableRouteReadListAllOf) Get

func (NullableRouteReadListAllOf) IsSet

func (v NullableRouteReadListAllOf) IsSet() bool

func (NullableRouteReadListAllOf) MarshalJSON

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

func (*NullableRouteReadListAllOf) Set

func (*NullableRouteReadListAllOf) UnmarshalJSON

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

func (*NullableRouteReadListAllOf) Unset

func (v *NullableRouteReadListAllOf) Unset()

type NullableRouteUpstreams

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

func NewNullableRouteUpstreams

func NewNullableRouteUpstreams(val *RouteUpstreams) *NullableRouteUpstreams

func (NullableRouteUpstreams) Get

func (NullableRouteUpstreams) IsSet

func (v NullableRouteUpstreams) IsSet() bool

func (NullableRouteUpstreams) MarshalJSON

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

func (*NullableRouteUpstreams) Set

func (*NullableRouteUpstreams) UnmarshalJSON

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

func (*NullableRouteUpstreams) Unset

func (v *NullableRouteUpstreams) 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 Pagination

type Pagination struct {
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

Pagination Pagination information. The offset and limit parameters are used to navigate the list of elements. The _links object contains URLs to navigate the different pages.

func NewPagination

func NewPagination(offset int32, limit int32, links Links) *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetLimit

func (o *Pagination) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*Pagination) GetLimitOk

func (o *Pagination) GetLimitOk() (*int32, bool)

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

func (o *Pagination) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*Pagination) GetLinksOk

func (o *Pagination) GetLinksOk() (*Links, bool)

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

func (*Pagination) GetOffset

func (o *Pagination) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*Pagination) GetOffsetOk

func (o *Pagination) GetOffsetOk() (*int32, bool)

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

func (*Pagination) HasLimit

func (o *Pagination) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *Pagination) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*Pagination) HasOffset

func (o *Pagination) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (Pagination) MarshalJSON

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

func (*Pagination) SetLimit

func (o *Pagination) SetLimit(v int32)

SetLimit sets field value

func (o *Pagination) SetLinks(v Links)

SetLinks sets field value

func (*Pagination) SetOffset

func (o *Pagination) SetOffset(v int32)

SetOffset sets field value

type Route

type Route struct {
	// The name of the route.
	Name *string `json:"name"`
	// This field specifies the protocol used by the ingress to route traffic to the backend service.
	Type *string `json:"type"`
	// The paths that the route should match.
	Paths *[]string `json:"paths"`
	// The HTTP methods that the route should match.
	Methods *[]string `json:"methods"`
	// To enable websocket support.
	Websocket *bool             `json:"websocket,omitempty"`
	Upstreams *[]RouteUpstreams `json:"upstreams"`
}

Route A route is a rule that maps an incoming request to a specific backend service.

func NewRoute

func NewRoute(name string, type_ string, paths []string, methods []string, upstreams []RouteUpstreams) *Route

NewRoute instantiates a new Route 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 NewRouteWithDefaults

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route 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 (*Route) GetMethods

func (o *Route) GetMethods() *[]string

GetMethods returns the Methods field value If the value is explicit nil, the zero value for []string will be returned

func (*Route) GetMethodsOk

func (o *Route) GetMethodsOk() (*[]string, bool)

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

func (*Route) GetName

func (o *Route) GetName() *string

GetName returns the Name field value If the value is explicit nil, the zero value for string will be returned

func (*Route) GetNameOk

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

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

func (*Route) GetPaths

func (o *Route) GetPaths() *[]string

GetPaths returns the Paths field value If the value is explicit nil, the zero value for []string will be returned

func (*Route) GetPathsOk

func (o *Route) GetPathsOk() (*[]string, bool)

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

func (*Route) GetType

func (o *Route) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*Route) GetTypeOk

func (o *Route) GetTypeOk() (*string, bool)

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

func (*Route) GetUpstreams

func (o *Route) GetUpstreams() *[]RouteUpstreams

GetUpstreams returns the Upstreams field value If the value is explicit nil, the zero value for []RouteUpstreams will be returned

func (*Route) GetUpstreamsOk

func (o *Route) GetUpstreamsOk() (*[]RouteUpstreams, bool)

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

func (*Route) GetWebsocket

func (o *Route) GetWebsocket() *bool

GetWebsocket returns the Websocket field value If the value is explicit nil, the zero value for bool will be returned

func (*Route) GetWebsocketOk

func (o *Route) GetWebsocketOk() (*bool, bool)

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

func (*Route) HasMethods

func (o *Route) HasMethods() bool

HasMethods returns a boolean if a field has been set.

func (*Route) HasName

func (o *Route) HasName() bool

HasName returns a boolean if a field has been set.

func (*Route) HasPaths

func (o *Route) HasPaths() bool

HasPaths returns a boolean if a field has been set.

func (*Route) HasType

func (o *Route) HasType() bool

HasType returns a boolean if a field has been set.

func (*Route) HasUpstreams

func (o *Route) HasUpstreams() bool

HasUpstreams returns a boolean if a field has been set.

func (*Route) HasWebsocket

func (o *Route) HasWebsocket() bool

HasWebsocket returns a boolean if a field has been set.

func (Route) MarshalJSON

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

func (*Route) SetMethods

func (o *Route) SetMethods(v []string)

SetMethods sets field value

func (*Route) SetName

func (o *Route) SetName(v string)

SetName sets field value

func (*Route) SetPaths

func (o *Route) SetPaths(v []string)

SetPaths sets field value

func (*Route) SetType

func (o *Route) SetType(v string)

SetType sets field value

func (*Route) SetUpstreams

func (o *Route) SetUpstreams(v []RouteUpstreams)

SetUpstreams sets field value

func (*Route) SetWebsocket

func (o *Route) SetWebsocket(v bool)

SetWebsocket sets field value

type RouteCreate

type RouteCreate struct {
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Route                  `json:"properties"`
}

RouteCreate struct for RouteCreate

func NewRouteCreate

func NewRouteCreate(properties Route) *RouteCreate

NewRouteCreate instantiates a new RouteCreate 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 NewRouteCreateWithDefaults

func NewRouteCreateWithDefaults() *RouteCreate

NewRouteCreateWithDefaults instantiates a new RouteCreate 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 (*RouteCreate) GetMetadata

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

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*RouteCreate) GetMetadataOk

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

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

func (*RouteCreate) GetProperties

func (o *RouteCreate) GetProperties() *Route

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned

func (*RouteCreate) GetPropertiesOk

func (o *RouteCreate) GetPropertiesOk() (*Route, bool)

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

func (*RouteCreate) HasMetadata

func (o *RouteCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RouteCreate) HasProperties

func (o *RouteCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (RouteCreate) MarshalJSON

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

func (*RouteCreate) SetMetadata

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

SetMetadata sets field value

func (*RouteCreate) SetProperties

func (o *RouteCreate) SetProperties(v Route)

SetProperties sets field value

type RouteEnsure

type RouteEnsure struct {
	// The ID (UUID) of the Route.
	Id *string `json:"id"`
	// Metadata
	Metadata   *map[string]interface{} `json:"metadata,omitempty"`
	Properties *Route                  `json:"properties"`
}

RouteEnsure struct for RouteEnsure

func NewRouteEnsure

func NewRouteEnsure(id string, properties Route) *RouteEnsure

NewRouteEnsure instantiates a new RouteEnsure 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 NewRouteEnsureWithDefaults

func NewRouteEnsureWithDefaults() *RouteEnsure

NewRouteEnsureWithDefaults instantiates a new RouteEnsure 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 (*RouteEnsure) GetId

func (o *RouteEnsure) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RouteEnsure) GetIdOk

func (o *RouteEnsure) GetIdOk() (*string, bool)

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

func (*RouteEnsure) GetMetadata

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

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for map[string]interface{} will be returned

func (*RouteEnsure) GetMetadataOk

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

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

func (*RouteEnsure) GetProperties

func (o *RouteEnsure) GetProperties() *Route

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned

func (*RouteEnsure) GetPropertiesOk

func (o *RouteEnsure) GetPropertiesOk() (*Route, bool)

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

func (*RouteEnsure) HasId

func (o *RouteEnsure) HasId() bool

HasId returns a boolean if a field has been set.

func (*RouteEnsure) HasMetadata

func (o *RouteEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RouteEnsure) HasProperties

func (o *RouteEnsure) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (RouteEnsure) MarshalJSON

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

func (*RouteEnsure) SetId

func (o *RouteEnsure) SetId(v string)

SetId sets field value

func (*RouteEnsure) SetMetadata

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

SetMetadata sets field value

func (*RouteEnsure) SetProperties

func (o *RouteEnsure) SetProperties(v Route)

SetProperties sets field value

type RouteRead

type RouteRead struct {
	// The ID (UUID) of the Route.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Route.
	Href       *string               `json:"href"`
	Metadata   *MetadataWithEndpoint `json:"metadata"`
	Properties *Route                `json:"properties"`
}

RouteRead struct for RouteRead

func NewRouteRead

func NewRouteRead(id string, type_ string, href string, metadata MetadataWithEndpoint, properties Route) *RouteRead

NewRouteRead instantiates a new RouteRead 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 NewRouteReadWithDefaults

func NewRouteReadWithDefaults() *RouteRead

NewRouteReadWithDefaults instantiates a new RouteRead 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 (*RouteRead) GetHref

func (o *RouteRead) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RouteRead) GetHrefOk

func (o *RouteRead) GetHrefOk() (*string, bool)

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

func (*RouteRead) GetId

func (o *RouteRead) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RouteRead) GetIdOk

func (o *RouteRead) GetIdOk() (*string, bool)

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

func (*RouteRead) GetMetadata

func (o *RouteRead) GetMetadata() *MetadataWithEndpoint

GetMetadata returns the Metadata field value If the value is explicit nil, the zero value for MetadataWithEndpoint will be returned

func (*RouteRead) GetMetadataOk

func (o *RouteRead) GetMetadataOk() (*MetadataWithEndpoint, bool)

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

func (*RouteRead) GetProperties

func (o *RouteRead) GetProperties() *Route

GetProperties returns the Properties field value If the value is explicit nil, the zero value for Route will be returned

func (*RouteRead) GetPropertiesOk

func (o *RouteRead) GetPropertiesOk() (*Route, bool)

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

func (*RouteRead) GetType

func (o *RouteRead) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RouteRead) GetTypeOk

func (o *RouteRead) GetTypeOk() (*string, bool)

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

func (*RouteRead) HasHref

func (o *RouteRead) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RouteRead) HasId

func (o *RouteRead) HasId() bool

HasId returns a boolean if a field has been set.

func (*RouteRead) HasMetadata

func (o *RouteRead) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RouteRead) HasProperties

func (o *RouteRead) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*RouteRead) HasType

func (o *RouteRead) HasType() bool

HasType returns a boolean if a field has been set.

func (RouteRead) MarshalJSON

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

func (*RouteRead) SetHref

func (o *RouteRead) SetHref(v string)

SetHref sets field value

func (*RouteRead) SetId

func (o *RouteRead) SetId(v string)

SetId sets field value

func (*RouteRead) SetMetadata

func (o *RouteRead) SetMetadata(v MetadataWithEndpoint)

SetMetadata sets field value

func (*RouteRead) SetProperties

func (o *RouteRead) SetProperties(v Route)

SetProperties sets field value

func (*RouteRead) SetType

func (o *RouteRead) SetType(v string)

SetType sets field value

type RouteReadList

type RouteReadList struct {
	// ID of the Route.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Route.
	Href *string `json:"href"`
	// The list of Route resources.
	Items *[]RouteRead `json:"items,omitempty"`
	// The offset specified in the request (if none was specified, the default offset is 0).
	Offset *int32 `json:"offset"`
	// The limit specified in the request (if none was specified, use the endpoint's default pagination limit).
	Limit *int32 `json:"limit"`
	Links *Links `json:"_links"`
}

RouteReadList struct for RouteReadList

func NewRouteReadList

func NewRouteReadList(id string, type_ string, href string, offset int32, limit int32, links Links) *RouteReadList

NewRouteReadList instantiates a new RouteReadList 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 NewRouteReadListWithDefaults

func NewRouteReadListWithDefaults() *RouteReadList

NewRouteReadListWithDefaults instantiates a new RouteReadList 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 (*RouteReadList) GetHref

func (o *RouteReadList) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadList) GetHrefOk

func (o *RouteReadList) GetHrefOk() (*string, bool)

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

func (*RouteReadList) GetId

func (o *RouteReadList) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadList) GetIdOk

func (o *RouteReadList) GetIdOk() (*string, bool)

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

func (*RouteReadList) GetItems

func (o *RouteReadList) GetItems() *[]RouteRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []RouteRead will be returned

func (*RouteReadList) GetItemsOk

func (o *RouteReadList) GetItemsOk() (*[]RouteRead, bool)

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

func (*RouteReadList) GetLimit

func (o *RouteReadList) GetLimit() *int32

GetLimit returns the Limit field value If the value is explicit nil, the zero value for int32 will be returned

func (*RouteReadList) GetLimitOk

func (o *RouteReadList) GetLimitOk() (*int32, bool)

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

func (o *RouteReadList) GetLinks() *Links

GetLinks returns the Links field value If the value is explicit nil, the zero value for Links will be returned

func (*RouteReadList) GetLinksOk

func (o *RouteReadList) GetLinksOk() (*Links, bool)

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

func (*RouteReadList) GetOffset

func (o *RouteReadList) GetOffset() *int32

GetOffset returns the Offset field value If the value is explicit nil, the zero value for int32 will be returned

func (*RouteReadList) GetOffsetOk

func (o *RouteReadList) GetOffsetOk() (*int32, bool)

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

func (*RouteReadList) GetType

func (o *RouteReadList) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadList) GetTypeOk

func (o *RouteReadList) GetTypeOk() (*string, bool)

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

func (*RouteReadList) HasHref

func (o *RouteReadList) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RouteReadList) HasId

func (o *RouteReadList) HasId() bool

HasId returns a boolean if a field has been set.

func (*RouteReadList) HasItems

func (o *RouteReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RouteReadList) HasLimit

func (o *RouteReadList) HasLimit() bool

HasLimit returns a boolean if a field has been set.

func (o *RouteReadList) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*RouteReadList) HasOffset

func (o *RouteReadList) HasOffset() bool

HasOffset returns a boolean if a field has been set.

func (*RouteReadList) HasType

func (o *RouteReadList) HasType() bool

HasType returns a boolean if a field has been set.

func (RouteReadList) MarshalJSON

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

func (*RouteReadList) SetHref

func (o *RouteReadList) SetHref(v string)

SetHref sets field value

func (*RouteReadList) SetId

func (o *RouteReadList) SetId(v string)

SetId sets field value

func (*RouteReadList) SetItems

func (o *RouteReadList) SetItems(v []RouteRead)

SetItems sets field value

func (*RouteReadList) SetLimit

func (o *RouteReadList) SetLimit(v int32)

SetLimit sets field value

func (o *RouteReadList) SetLinks(v Links)

SetLinks sets field value

func (*RouteReadList) SetOffset

func (o *RouteReadList) SetOffset(v int32)

SetOffset sets field value

func (*RouteReadList) SetType

func (o *RouteReadList) SetType(v string)

SetType sets field value

type RouteReadListAllOf

type RouteReadListAllOf struct {
	// ID of the Route.
	Id *string `json:"id"`
	// The type of the resource.
	Type *string `json:"type"`
	// The URL of the Route.
	Href *string `json:"href"`
	// The list of Route resources.
	Items *[]RouteRead `json:"items,omitempty"`
}

RouteReadListAllOf struct for RouteReadListAllOf

func NewRouteReadListAllOf

func NewRouteReadListAllOf(id string, type_ string, href string) *RouteReadListAllOf

NewRouteReadListAllOf instantiates a new RouteReadListAllOf 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 NewRouteReadListAllOfWithDefaults

func NewRouteReadListAllOfWithDefaults() *RouteReadListAllOf

NewRouteReadListAllOfWithDefaults instantiates a new RouteReadListAllOf 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 (*RouteReadListAllOf) GetHref

func (o *RouteReadListAllOf) GetHref() *string

GetHref returns the Href field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadListAllOf) GetHrefOk

func (o *RouteReadListAllOf) GetHrefOk() (*string, bool)

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

func (*RouteReadListAllOf) GetId

func (o *RouteReadListAllOf) GetId() *string

GetId returns the Id field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadListAllOf) GetIdOk

func (o *RouteReadListAllOf) GetIdOk() (*string, bool)

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

func (*RouteReadListAllOf) GetItems

func (o *RouteReadListAllOf) GetItems() *[]RouteRead

GetItems returns the Items field value If the value is explicit nil, the zero value for []RouteRead will be returned

func (*RouteReadListAllOf) GetItemsOk

func (o *RouteReadListAllOf) GetItemsOk() (*[]RouteRead, bool)

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

func (*RouteReadListAllOf) GetType

func (o *RouteReadListAllOf) GetType() *string

GetType returns the Type field value If the value is explicit nil, the zero value for string will be returned

func (*RouteReadListAllOf) GetTypeOk

func (o *RouteReadListAllOf) GetTypeOk() (*string, bool)

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

func (*RouteReadListAllOf) HasHref

func (o *RouteReadListAllOf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (*RouteReadListAllOf) HasId

func (o *RouteReadListAllOf) HasId() bool

HasId returns a boolean if a field has been set.

func (*RouteReadListAllOf) HasItems

func (o *RouteReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

func (*RouteReadListAllOf) HasType

func (o *RouteReadListAllOf) HasType() bool

HasType returns a boolean if a field has been set.

func (RouteReadListAllOf) MarshalJSON

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

func (*RouteReadListAllOf) SetHref

func (o *RouteReadListAllOf) SetHref(v string)

SetHref sets field value

func (*RouteReadListAllOf) SetId

func (o *RouteReadListAllOf) SetId(v string)

SetId sets field value

func (*RouteReadListAllOf) SetItems

func (o *RouteReadListAllOf) SetItems(v []RouteRead)

SetItems sets field value

func (*RouteReadListAllOf) SetType

func (o *RouteReadListAllOf) SetType(v string)

SetType sets field value

type RouteUpstreams

type RouteUpstreams struct {
	// The target URL of the upstream.
	Scheme *string `json:"scheme"`
	// The load balancer algorithm.
	Loadbalancer *string `json:"loadbalancer"`
	// The host of the upstream.
	Host *string `json:"host"`
	// The port of the upstream.
	Port *int32 `json:"port"`
	// Weight with which to split traffic to the upstream.
	Weight *int32 `json:"weight,omitempty"`
}

RouteUpstreams struct for RouteUpstreams

func NewRouteUpstreams

func NewRouteUpstreams(scheme string, loadbalancer string, host string, port int32) *RouteUpstreams

NewRouteUpstreams instantiates a new RouteUpstreams 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 NewRouteUpstreamsWithDefaults

func NewRouteUpstreamsWithDefaults() *RouteUpstreams

NewRouteUpstreamsWithDefaults instantiates a new RouteUpstreams 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 (*RouteUpstreams) GetHost

func (o *RouteUpstreams) GetHost() *string

GetHost returns the Host field value If the value is explicit nil, the zero value for string will be returned

func (*RouteUpstreams) GetHostOk

func (o *RouteUpstreams) GetHostOk() (*string, bool)

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

func (*RouteUpstreams) GetLoadbalancer

func (o *RouteUpstreams) GetLoadbalancer() *string

GetLoadbalancer returns the Loadbalancer field value If the value is explicit nil, the zero value for string will be returned

func (*RouteUpstreams) GetLoadbalancerOk

func (o *RouteUpstreams) GetLoadbalancerOk() (*string, bool)

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

func (*RouteUpstreams) GetPort

func (o *RouteUpstreams) GetPort() *int32

GetPort returns the Port field value If the value is explicit nil, the zero value for int32 will be returned

func (*RouteUpstreams) GetPortOk

func (o *RouteUpstreams) GetPortOk() (*int32, bool)

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

func (*RouteUpstreams) GetScheme

func (o *RouteUpstreams) GetScheme() *string

GetScheme returns the Scheme field value If the value is explicit nil, the zero value for string will be returned

func (*RouteUpstreams) GetSchemeOk

func (o *RouteUpstreams) GetSchemeOk() (*string, bool)

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

func (*RouteUpstreams) GetWeight

func (o *RouteUpstreams) GetWeight() *int32

GetWeight returns the Weight field value If the value is explicit nil, the zero value for int32 will be returned

func (*RouteUpstreams) GetWeightOk

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

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

func (*RouteUpstreams) HasHost

func (o *RouteUpstreams) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*RouteUpstreams) HasLoadbalancer

func (o *RouteUpstreams) HasLoadbalancer() bool

HasLoadbalancer returns a boolean if a field has been set.

func (*RouteUpstreams) HasPort

func (o *RouteUpstreams) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*RouteUpstreams) HasScheme

func (o *RouteUpstreams) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*RouteUpstreams) HasWeight

func (o *RouteUpstreams) HasWeight() bool

HasWeight returns a boolean if a field has been set.

func (RouteUpstreams) MarshalJSON

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

func (*RouteUpstreams) SetHost

func (o *RouteUpstreams) SetHost(v string)

SetHost sets field value

func (*RouteUpstreams) SetLoadbalancer

func (o *RouteUpstreams) SetLoadbalancer(v string)

SetLoadbalancer sets field value

func (*RouteUpstreams) SetPort

func (o *RouteUpstreams) SetPort(v int32)

SetPort sets field value

func (*RouteUpstreams) SetScheme

func (o *RouteUpstreams) SetScheme(v string)

SetScheme sets field value

func (*RouteUpstreams) SetWeight

func (o *RouteUpstreams) SetWeight(v int32)

SetWeight sets field value

type RoutesApiService

type RoutesApiService service

RoutesApiService RoutesApi service

func (*RoutesApiService) ApigatewaysRoutesDelete

func (a *RoutesApiService) ApigatewaysRoutesDelete(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesDeleteRequest

* ApigatewaysRoutesDelete Delete Route * Deletes the specified Route. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @param routeId The ID (UUID) of the Route. * @return ApiApigatewaysRoutesDeleteRequest

func (*RoutesApiService) ApigatewaysRoutesDeleteExecute

func (a *RoutesApiService) ApigatewaysRoutesDeleteExecute(r ApiApigatewaysRoutesDeleteRequest) (*APIResponse, error)

* Execute executes the request

func (*RoutesApiService) ApigatewaysRoutesFindById

func (a *RoutesApiService) ApigatewaysRoutesFindById(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesFindByIdRequest

* ApigatewaysRoutesFindById Retrieve Route * Returns the Route by ID. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param apigatewayId The ID (UUID) of the Gateway. * @param routeId The ID (UUID) of the Route. * @return ApiApigatewaysRoutesFindByIdRequest

func (*RoutesApiService) ApigatewaysRoutesFindByIdExecute

func (a *RoutesApiService) ApigatewaysRoutesFindByIdExecute(r ApiApigatewaysRoutesFindByIdRequest) (RouteRead, *APIResponse, error)

* Execute executes the request * @return RouteRead

func (*RoutesApiService) ApigatewaysRoutesGet

func (a *RoutesApiService) ApigatewaysRoutesGet(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesGetRequest
  • ApigatewaysRoutesGet Retrieve all Routes
  • This endpoint enables retrieving all Routes using

pagination and optional filters.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apigatewayId The ID (UUID) of the Gateway.
  • @return ApiApigatewaysRoutesGetRequest

func (*RoutesApiService) ApigatewaysRoutesGetExecute

func (a *RoutesApiService) ApigatewaysRoutesGetExecute(r ApiApigatewaysRoutesGetRequest) (RouteReadList, *APIResponse, error)

* Execute executes the request * @return RouteReadList

func (*RoutesApiService) ApigatewaysRoutesPost

func (a *RoutesApiService) ApigatewaysRoutesPost(ctx _context.Context, apigatewayId string) ApiApigatewaysRoutesPostRequest
  • ApigatewaysRoutesPost Create Route
  • Creates a new Route.

The full Route needs to be provided to create the object. Optional data will be filled with defaults or left empty.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apigatewayId The ID (UUID) of the Gateway.
  • @return ApiApigatewaysRoutesPostRequest

func (*RoutesApiService) ApigatewaysRoutesPostExecute

func (a *RoutesApiService) ApigatewaysRoutesPostExecute(r ApiApigatewaysRoutesPostRequest) (RouteRead, *APIResponse, error)

* Execute executes the request * @return RouteRead

func (*RoutesApiService) ApigatewaysRoutesPut

func (a *RoutesApiService) ApigatewaysRoutesPut(ctx _context.Context, apigatewayId string, routeId string) ApiApigatewaysRoutesPutRequest
  • ApigatewaysRoutesPut Ensure Route
  • Ensures that the Route with the provided ID is created or modified.

The full Route needs to be provided to ensure (either update or create) the Route. Non present data will only be filled with defaults or left empty, but not take previous values into consideration.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apigatewayId The ID (UUID) of the Gateway.
  • @param routeId The ID (UUID) of the Route.
  • @return ApiApigatewaysRoutesPutRequest

func (*RoutesApiService) ApigatewaysRoutesPutExecute

func (a *RoutesApiService) ApigatewaysRoutesPutExecute(r ApiApigatewaysRoutesPutRequest) (RouteRead, *APIResponse, error)

* Execute executes the request * @return RouteRead

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 TLSDial

type TLSDial func(ctx context.Context, network, addr string) (net.Conn, error)

TLSDial can be assigned to a http.Transport's DialTLS field.

Jump to

Keyboard shortcuts

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