apigateway

package module
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

README

Go API client for apigateway

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

The IONOS Cloud SDK for GO provides you with access to the IONOS Cloud API. The client library supports both simple and complex requests. It is designed for developers who are building applications in GO . The SDK for GO wraps the IONOS Cloud API. All API operations are performed over SSL and authenticated using your IONOS Cloud portal credentials. The API can be accessed within an instance running in IONOS Cloud or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.

Installing

Use go get to retrieve the SDK to add it to your GOPATH workspace, or project's Go module dependencies.
go get github.com/ionos-cloud/sdk-go-bundle/products/apigateway.git

To update the SDK use go get -u to retrieve the latest version of the SDK.

go get -u github.com/ionos-cloud/sdk-go-bundle/products/apigateway.git
Go Modules

If you are using Go modules, your go get will default to the latest tagged release version of the SDK. To get a specific release version of the SDK use @ in your go get command.

To get the latest SDK repository, use @latest.

go get github.com/ionos-cloud/sdk-go-bundle/products/apigateway@latest

Environment Variables

Environment Variable Description
IONOS_USERNAME Specify the username used to login, to authenticate against the IONOS Cloud API
IONOS_PASSWORD Specify the password used to login, to authenticate against the IONOS Cloud API
IONOS_TOKEN Specify the token used to login, if a token is being used instead of username and password
IONOS_API_URL Specify the API URL. It will overwrite the API endpoint default value api.ionos.com. Note: the host URL does not contain the /cloudapi/v6 path, so it should not be included in the IONOS_API_URL environment variable
IONOS_LOG_LEVEL Specify the Log Level used to log messages. Possible values: Off, Debug, Trace
IONOS_PINNED_CERT Specify the SHA-256 public fingerprint here, enables certificate pinning

⚠️ Note: To overwrite the api endpoint - api.ionos.com, the environment variable IONOS_API_URL can be set, and used with NewConfigurationFromEnv() function.

Examples

Examples for creating resources using the Go SDK can be found here

Authentication

All available server URLs are:

By default, https://apigateway.de-txl.ionos.com is used, however this can be overriden at authentication, either by setting the IONOS_API_URL environment variable or by specifying the hostUrl parameter when initializing the sdk client.

Basic Authentication
  • Type: HTTP basic authentication

Example

import (
	"context"
	"fmt"
	"github.com/ionos-cloud/sdk-go-bundle/shared"
	apigateway "github.com/ionos-cloud/sdk-go-bundle/products/apigateway"
	"log"
)

func basicAuthExample() error {
	cfg := shared.NewConfiguration("username_here", "pwd_here", "", "hostUrl_here")
	cfg.LogLevel = Trace
	apiClient := apigateway.NewAPIClient(cfg)
	return nil
}
Token Authentication

There are 2 ways to generate your token:

Generate token using sdk for auth:
    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        apigateway "github.com/ionos-cloud/sdk-go-bundle/products/apigateway"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_USERNAME and IONOS_PASSWORD as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        jwt, _, err := auth.TokensApi.TokensGenerate(context.Background()).Execute()
        if err != nil {
            return fmt.Errorf("error occurred while generating token (%w)", err)
        }
        if !jwt.HasToken() {
            return fmt.Errorf("could not generate token")
        }
        cfg := shared.NewConfiguration("", "", *jwt.GetToken(), "hostUrl_here")
        cfg.LogLevel = Trace
        apiClient := apigateway.NewAPIClient(cfg)
        return nil
    }
Generate token using ionosctl:

Install ionosctl as explained here Run commands to login and generate your token.

    ionosctl login
    ionosctl token generate
    export IONOS_TOKEN="insert_here_token_saved_from_generate_command"

Save the generated token and use it to authenticate:

    import (
        "context"
        "fmt"
        "github.com/ionos-cloud/sdk-go-bundle/products/auth"
         apigateway "github.com/ionos-cloud/sdk-go-bundle/products/apigateway"
        "log"
    )

    func TokenAuthExample() error {
        //note: to use NewConfigurationFromEnv(), you need to previously set IONOS_TOKEN as env variables
        authClient := auth.NewAPIClient(authApi.NewConfigurationFromEnv())
        cfg.LogLevel = Trace
        apiClient := apigateway.NewAPIClient(cfg)
        return nil
    }

Certificate pinning:

You can enable certificate pinning if you want to bypass the normal certificate checking procedure, by doing the following:

Set env variable IONOS_PINNED_CERT=<insert_sha256_public_fingerprint_here>

You can get the sha256 fingerprint most easily from the browser by inspecting the certificate.

Depth

Many of the List or Get operations will accept an optional depth argument. Setting this to a value between 0 and 5 affects the amount of data that is returned. The details returned vary depending on the resource being queried, but it generally follows this pattern. By default, the SDK sets the depth argument to the maximum value.

Depth Description
0 Only direct properties are included. Children are not included.
1 Direct properties and children's references are returned.
2 Direct properties and children's properties are returned.
3 Direct properties, children's properties, and descendants' references are returned.
4 Direct properties, children's properties, and descendants' properties are returned.
5 Returns all available properties.
Changing the base URL

Base URL for the HTTP operation can be changed by using the following function:

requestProperties.SetURL("https://api.ionos.com/cloudapi/v6")

Debugging

You can inject any logger that implements Printf as a logger instead of using the default sdk logger. There are log levels that you can set: Off, Debug and Trace. Off - does not show any logs Debug - regular logs, no sensitive information 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.

package main

    import (
        apigateway "github.com/ionos-cloud/sdk-go-bundle/products/apigateway"
        "github.com/ionos-cloud/sdk-go-bundle/shared"
        "github.com/sirupsen/logrus"
    )

func main() {
    // create your configuration. replace username, password, token and url with correct values, or use NewConfigurationFromEnv()
    // if you have set your env variables as explained above
    cfg := shared.NewConfiguration("username", "password", "token", "hostUrl")
    // enable request and response logging. this is the most verbose loglevel
    shared.SdkLogLevel = Trace
    // inject your own logger that implements Printf
    shared.SdkLogger = logrus.New()
    // create you api client with the configuration
    apiClient := apigateway.NewAPIClient(cfg)
}

Documentation for API Endpoints

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

API Endpoints table
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

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

API models list

[Back to API list] [Back to Model list]

Documentation

Index

Constants

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

	Version = "products/apigateway/v2.0.1"
)

Variables

This section is empty.

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 DeepCopy added in v2.0.1

func DeepCopy(cfg *shared.Configuration) (*shared.Configuration, error)

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func IsZero

func IsZero(v interface{}) bool

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 *shared.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() *shared.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) (*shared.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 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 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 set, zero value otherwise.

func (*Error) GetHttpStatusOk

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

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

func (*Error) GetMessages

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

GetMessages returns the Messages field value if set, zero value otherwise.

func (*Error) GetMessagesOk

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

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

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

func (o *Error) SetHttpStatus(v int32)

SetHttpStatus gets a reference to the given int32 and assigns it to the HttpStatus field.

func (*Error) SetMessages

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

SetMessages gets a reference to the given []ErrorMessages and assigns it to the Messages field.

func (Error) ToMap

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

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 set, zero value otherwise.

func (*ErrorMessages) GetErrorCodeOk

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

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

func (*ErrorMessages) GetMessage

func (o *ErrorMessages) GetMessage() string

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

func (*ErrorMessages) GetMessageOk

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

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

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

func (o *ErrorMessages) SetErrorCode(v string)

SetErrorCode gets a reference to the given string and assigns it to the ErrorCode field.

func (*ErrorMessages) SetMessage

func (o *ErrorMessages) SetMessage(v string)

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

func (ErrorMessages) ToMap

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

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 set, zero value otherwise.

func (*Gateway) GetCustomDomainsOk

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

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

func (*Gateway) GetLogs

func (o *Gateway) GetLogs() bool

GetLogs returns the Logs field value if set, zero value otherwise.

func (*Gateway) GetLogsOk

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

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

func (*Gateway) GetMetrics

func (o *Gateway) GetMetrics() bool

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*Gateway) GetMetricsOk

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

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

func (*Gateway) GetName

func (o *Gateway) GetName() string

GetName returns the Name field value

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.

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

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

SetCustomDomains gets a reference to the given []GatewayCustomDomains and assigns it to the CustomDomains field.

func (*Gateway) SetLogs

func (o *Gateway) SetLogs(v bool)

SetLogs gets a reference to the given bool and assigns it to the Logs field.

func (*Gateway) SetMetrics

func (o *Gateway) SetMetrics(v bool)

SetMetrics gets a reference to the given bool and assigns it to the Metrics field.

func (*Gateway) SetName

func (o *Gateway) SetName(v string)

SetName sets field value

func (Gateway) ToMap

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

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 set, zero value otherwise.

func (*GatewayCreate) GetMetadataOk

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

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

func (*GatewayCreate) GetProperties

func (o *GatewayCreate) GetProperties() Gateway

GetProperties returns the Properties field value

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.

func (*GatewayCreate) HasMetadata

func (o *GatewayCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*GatewayCreate) SetMetadata

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

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

func (*GatewayCreate) SetProperties

func (o *GatewayCreate) SetProperties(v Gateway)

SetProperties sets field value

func (GatewayCreate) ToMap

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

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 set, zero value otherwise.

func (*GatewayCustomDomains) GetCertificateIdOk

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

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

func (*GatewayCustomDomains) GetName

func (o *GatewayCustomDomains) GetName() string

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

func (*GatewayCustomDomains) GetNameOk

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

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

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

func (o *GatewayCustomDomains) SetCertificateId(v string)

SetCertificateId gets a reference to the given string and assigns it to the CertificateId field.

func (*GatewayCustomDomains) SetName

func (o *GatewayCustomDomains) SetName(v string)

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

func (GatewayCustomDomains) ToMap

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

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

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.

func (*GatewayEnsure) GetMetadata

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

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

func (*GatewayEnsure) GetMetadataOk

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

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

func (*GatewayEnsure) GetProperties

func (o *GatewayEnsure) GetProperties() Gateway

GetProperties returns the Properties field value

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.

func (*GatewayEnsure) HasMetadata

func (o *GatewayEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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 gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*GatewayEnsure) SetProperties

func (o *GatewayEnsure) SetProperties(v Gateway)

SetProperties sets field value

func (GatewayEnsure) ToMap

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

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

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.

func (*GatewayRead) GetId

func (o *GatewayRead) GetId() string

GetId returns the Id field value

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.

func (*GatewayRead) GetMetadata

func (o *GatewayRead) GetMetadata() MetadataWithEndpoint

GetMetadata returns the Metadata field value

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.

func (*GatewayRead) GetProperties

func (o *GatewayRead) GetProperties() Gateway

GetProperties returns the Properties field value

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.

func (*GatewayRead) GetType

func (o *GatewayRead) GetType() string

GetType returns the Type field value

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.

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

func (GatewayRead) ToMap

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

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

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.

func (*GatewayReadList) GetId

func (o *GatewayReadList) GetId() string

GetId returns the Id field value

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.

func (*GatewayReadList) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*GatewayReadList) GetItemsOk

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

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

func (*GatewayReadList) GetLimit

func (o *GatewayReadList) GetLimit() int32

GetLimit returns the Limit field value

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.

func (o *GatewayReadList) GetLinks() Links

GetLinks returns the Links field value

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.

func (*GatewayReadList) GetOffset

func (o *GatewayReadList) GetOffset() int32

GetOffset returns the Offset field value

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.

func (*GatewayReadList) GetType

func (o *GatewayReadList) GetType() string

GetType returns the Type field value

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.

func (*GatewayReadList) HasItems

func (o *GatewayReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []GatewayRead and assigns it to the Items field.

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

func (GatewayReadList) ToMap

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

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

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.

func (*GatewayReadListAllOf) GetId

func (o *GatewayReadListAllOf) GetId() string

GetId returns the Id field value

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.

func (*GatewayReadListAllOf) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*GatewayReadListAllOf) GetItemsOk

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

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

func (*GatewayReadListAllOf) GetType

func (o *GatewayReadListAllOf) GetType() string

GetType returns the Type field value

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.

func (*GatewayReadListAllOf) HasItems

func (o *GatewayReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []GatewayRead and assigns it to the Items field.

func (*GatewayReadListAllOf) SetType

func (o *GatewayReadListAllOf) SetType(v string)

SetType sets field value

func (GatewayReadListAllOf) ToMap

func (o GatewayReadListAllOf) ToMap() (map[string]interface{}, 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 set, zero value otherwise.

func (*Links) GetNextOk

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

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

func (*Links) GetPrev

func (o *Links) GetPrev() string

GetPrev returns the Prev field value if set, zero value otherwise.

func (*Links) GetPrevOk

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

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

func (*Links) GetSelf

func (o *Links) GetSelf() string

GetSelf returns the Self field value if set, zero value otherwise.

func (*Links) GetSelfOk

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

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

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

func (o *Links) SetNext(v string)

SetNext gets a reference to the given string and assigns it to the Next field.

func (*Links) SetPrev

func (o *Links) SetPrev(v string)

SetPrev gets a reference to the given string and assigns it to the Prev field.

func (*Links) SetSelf

func (o *Links) SetSelf(v string)

SetSelf gets a reference to the given string and assigns it to the Self field.

func (Links) ToMap

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

type MappedNullable

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

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 set, zero value otherwise.

func (*Metadata) GetCreatedByOk

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

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

func (*Metadata) GetCreatedByUserId

func (o *Metadata) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*Metadata) GetCreatedByUserIdOk

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

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

func (*Metadata) GetCreatedDate

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*Metadata) GetCreatedDateOk

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

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

func (*Metadata) GetLastModifiedBy

func (o *Metadata) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByOk

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

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

func (*Metadata) GetLastModifiedByUserId

func (o *Metadata) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedByUserIdOk

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

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

func (*Metadata) GetLastModifiedDate

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*Metadata) GetLastModifiedDateOk

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

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

func (*Metadata) GetResourceURN

func (o *Metadata) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*Metadata) GetResourceURNOk

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

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

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

func (o *Metadata) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*Metadata) SetCreatedByUserId

func (o *Metadata) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*Metadata) SetCreatedDate

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

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

func (*Metadata) SetLastModifiedBy

func (o *Metadata) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*Metadata) SetLastModifiedByUserId

func (o *Metadata) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*Metadata) SetLastModifiedDate

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

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

func (*Metadata) SetResourceURN

func (o *Metadata) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (Metadata) ToMap

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

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 set, zero value otherwise.

func (*MetadataWithEndpoint) GetCreatedByOk

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

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

func (*MetadataWithEndpoint) GetCreatedByUserId

func (o *MetadataWithEndpoint) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetCreatedByUserIdOk

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

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

func (*MetadataWithEndpoint) GetCreatedDate

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetCreatedDateOk

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

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

func (*MetadataWithEndpoint) GetLastModifiedBy

func (o *MetadataWithEndpoint) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetLastModifiedByOk

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

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

func (*MetadataWithEndpoint) GetLastModifiedByUserId

func (o *MetadataWithEndpoint) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetLastModifiedByUserIdOk

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

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

func (*MetadataWithEndpoint) GetLastModifiedDate

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetLastModifiedDateOk

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

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

func (*MetadataWithEndpoint) GetPublicEndpoint

func (o *MetadataWithEndpoint) GetPublicEndpoint() string

GetPublicEndpoint returns the PublicEndpoint field value

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.

func (*MetadataWithEndpoint) GetResourceURN

func (o *MetadataWithEndpoint) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetResourceURNOk

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

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

func (*MetadataWithEndpoint) GetStatus

func (o *MetadataWithEndpoint) GetStatus() string

GetStatus returns the Status field value

func (*MetadataWithEndpoint) GetStatusMessage

func (o *MetadataWithEndpoint) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithEndpoint) GetStatusMessageOk

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

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

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.

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

func (o *MetadataWithEndpoint) HasResourceURN() bool

HasResourceURN 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) SetCreatedBy

func (o *MetadataWithEndpoint) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithEndpoint) SetCreatedByUserId

func (o *MetadataWithEndpoint) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithEndpoint) SetCreatedDate

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

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

func (*MetadataWithEndpoint) SetLastModifiedBy

func (o *MetadataWithEndpoint) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithEndpoint) SetLastModifiedByUserId

func (o *MetadataWithEndpoint) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithEndpoint) SetLastModifiedDate

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

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

func (*MetadataWithEndpoint) SetPublicEndpoint

func (o *MetadataWithEndpoint) SetPublicEndpoint(v string)

SetPublicEndpoint sets field value

func (*MetadataWithEndpoint) SetResourceURN

func (o *MetadataWithEndpoint) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithEndpoint) SetStatus

func (o *MetadataWithEndpoint) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithEndpoint) SetStatusMessage

func (o *MetadataWithEndpoint) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithEndpoint) ToMap

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

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

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.

func (*MetadataWithEndpointAllOf) SetPublicEndpoint

func (o *MetadataWithEndpointAllOf) SetPublicEndpoint(v string)

SetPublicEndpoint sets field value

func (MetadataWithEndpointAllOf) ToMap

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

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 set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByOk

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

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

func (*MetadataWithStatus) GetCreatedByUserId

func (o *MetadataWithStatus) GetCreatedByUserId() string

GetCreatedByUserId returns the CreatedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedByUserIdOk

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

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

func (*MetadataWithStatus) GetCreatedDate

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

GetCreatedDate returns the CreatedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetCreatedDateOk

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

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

func (*MetadataWithStatus) GetLastModifiedBy

func (o *MetadataWithStatus) GetLastModifiedBy() string

GetLastModifiedBy returns the LastModifiedBy field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByOk

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

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

func (*MetadataWithStatus) GetLastModifiedByUserId

func (o *MetadataWithStatus) GetLastModifiedByUserId() string

GetLastModifiedByUserId returns the LastModifiedByUserId field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedByUserIdOk

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

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

func (*MetadataWithStatus) GetLastModifiedDate

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

GetLastModifiedDate returns the LastModifiedDate field value if set, zero value otherwise.

func (*MetadataWithStatus) GetLastModifiedDateOk

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

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

func (*MetadataWithStatus) GetResourceURN

func (o *MetadataWithStatus) GetResourceURN() string

GetResourceURN returns the ResourceURN field value if set, zero value otherwise.

func (*MetadataWithStatus) GetResourceURNOk

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

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

func (*MetadataWithStatus) GetStatus

func (o *MetadataWithStatus) GetStatus() string

GetStatus returns the Status field value

func (*MetadataWithStatus) GetStatusMessage

func (o *MetadataWithStatus) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithStatus) GetStatusMessageOk

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

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

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.

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

func (o *MetadataWithStatus) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (*MetadataWithStatus) SetCreatedBy

func (o *MetadataWithStatus) SetCreatedBy(v string)

SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.

func (*MetadataWithStatus) SetCreatedByUserId

func (o *MetadataWithStatus) SetCreatedByUserId(v string)

SetCreatedByUserId gets a reference to the given string and assigns it to the CreatedByUserId field.

func (*MetadataWithStatus) SetCreatedDate

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

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

func (*MetadataWithStatus) SetLastModifiedBy

func (o *MetadataWithStatus) SetLastModifiedBy(v string)

SetLastModifiedBy gets a reference to the given string and assigns it to the LastModifiedBy field.

func (*MetadataWithStatus) SetLastModifiedByUserId

func (o *MetadataWithStatus) SetLastModifiedByUserId(v string)

SetLastModifiedByUserId gets a reference to the given string and assigns it to the LastModifiedByUserId field.

func (*MetadataWithStatus) SetLastModifiedDate

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

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

func (*MetadataWithStatus) SetResourceURN

func (o *MetadataWithStatus) SetResourceURN(v string)

SetResourceURN gets a reference to the given string and assigns it to the ResourceURN field.

func (*MetadataWithStatus) SetStatus

func (o *MetadataWithStatus) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatus) SetStatusMessage

func (o *MetadataWithStatus) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithStatus) ToMap

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

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

func (*MetadataWithStatusAllOf) GetStatusMessage

func (o *MetadataWithStatusAllOf) GetStatusMessage() string

GetStatusMessage returns the StatusMessage field value if set, zero value otherwise.

func (*MetadataWithStatusAllOf) GetStatusMessageOk

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

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

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.

func (*MetadataWithStatusAllOf) HasStatusMessage

func (o *MetadataWithStatusAllOf) HasStatusMessage() bool

HasStatusMessage returns a boolean if a field has been set.

func (*MetadataWithStatusAllOf) SetStatus

func (o *MetadataWithStatusAllOf) SetStatus(v string)

SetStatus sets field value

func (*MetadataWithStatusAllOf) SetStatusMessage

func (o *MetadataWithStatusAllOf) SetStatusMessage(v string)

SetStatusMessage gets a reference to the given string and assigns it to the StatusMessage field.

func (MetadataWithStatusAllOf) ToMap

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type 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 NullableIonosTime added in v2.0.1

type NullableIonosTime struct {
	NullableTime
}
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

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.

func (o *Pagination) GetLinks() Links

GetLinks returns the Links field value

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.

func (*Pagination) GetOffset

func (o *Pagination) GetOffset() int32

GetOffset returns the Offset field value

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.

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

func (Pagination) ToMap

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

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

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.

func (*Route) GetName

func (o *Route) GetName() string

GetName returns the Name field value

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.

func (*Route) GetPaths

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

GetPaths returns the Paths field value

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.

func (*Route) GetType

func (o *Route) GetType() string

GetType returns the Type field value

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.

func (*Route) GetUpstreams

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

GetUpstreams returns the Upstreams field value

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.

func (*Route) GetWebsocket

func (o *Route) GetWebsocket() bool

GetWebsocket returns the Websocket field value if set, zero value otherwise.

func (*Route) GetWebsocketOk

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

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

func (*Route) HasWebsocket

func (o *Route) HasWebsocket() bool

HasWebsocket returns a boolean if a field has been set.

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 gets a reference to the given bool and assigns it to the Websocket field.

func (Route) ToMap

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

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 set, zero value otherwise.

func (*RouteCreate) GetMetadataOk

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

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

func (*RouteCreate) GetProperties

func (o *RouteCreate) GetProperties() Route

GetProperties returns the Properties field value

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.

func (*RouteCreate) HasMetadata

func (o *RouteCreate) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*RouteCreate) SetMetadata

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

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

func (*RouteCreate) SetProperties

func (o *RouteCreate) SetProperties(v Route)

SetProperties sets field value

func (RouteCreate) ToMap

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

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

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.

func (*RouteEnsure) GetMetadata

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

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

func (*RouteEnsure) GetMetadataOk

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

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

func (*RouteEnsure) GetProperties

func (o *RouteEnsure) GetProperties() Route

GetProperties returns the Properties field value

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.

func (*RouteEnsure) HasMetadata

func (o *RouteEnsure) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

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 gets a reference to the given map[string]interface{} and assigns it to the Metadata field.

func (*RouteEnsure) SetProperties

func (o *RouteEnsure) SetProperties(v Route)

SetProperties sets field value

func (RouteEnsure) ToMap

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

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

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.

func (*RouteRead) GetId

func (o *RouteRead) GetId() string

GetId returns the Id field value

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.

func (*RouteRead) GetMetadata

func (o *RouteRead) GetMetadata() MetadataWithEndpoint

GetMetadata returns the Metadata field value

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.

func (*RouteRead) GetProperties

func (o *RouteRead) GetProperties() Route

GetProperties returns the Properties field value

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.

func (*RouteRead) GetType

func (o *RouteRead) GetType() string

GetType returns the Type field value

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.

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

func (RouteRead) ToMap

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

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

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.

func (*RouteReadList) GetId

func (o *RouteReadList) GetId() string

GetId returns the Id field value

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.

func (*RouteReadList) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*RouteReadList) GetItemsOk

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

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

func (*RouteReadList) GetLimit

func (o *RouteReadList) GetLimit() int32

GetLimit returns the Limit field value

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.

func (o *RouteReadList) GetLinks() Links

GetLinks returns the Links field value

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.

func (*RouteReadList) GetOffset

func (o *RouteReadList) GetOffset() int32

GetOffset returns the Offset field value

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.

func (*RouteReadList) GetType

func (o *RouteReadList) GetType() string

GetType returns the Type field value

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.

func (*RouteReadList) HasItems

func (o *RouteReadList) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []RouteRead and assigns it to the Items field.

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

func (RouteReadList) ToMap

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

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

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.

func (*RouteReadListAllOf) GetId

func (o *RouteReadListAllOf) GetId() string

GetId returns the Id field value

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.

func (*RouteReadListAllOf) GetItems

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

GetItems returns the Items field value if set, zero value otherwise.

func (*RouteReadListAllOf) GetItemsOk

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

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

func (*RouteReadListAllOf) GetType

func (o *RouteReadListAllOf) GetType() string

GetType returns the Type field value

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.

func (*RouteReadListAllOf) HasItems

func (o *RouteReadListAllOf) HasItems() bool

HasItems returns a boolean if a field has been set.

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 gets a reference to the given []RouteRead and assigns it to the Items field.

func (*RouteReadListAllOf) SetType

func (o *RouteReadListAllOf) SetType(v string)

SetType sets field value

func (RouteReadListAllOf) ToMap

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

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

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.

func (*RouteUpstreams) GetLoadbalancer

func (o *RouteUpstreams) GetLoadbalancer() string

GetLoadbalancer returns the Loadbalancer field value

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.

func (*RouteUpstreams) GetPort

func (o *RouteUpstreams) GetPort() int32

GetPort returns the Port field value

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.

func (*RouteUpstreams) GetScheme

func (o *RouteUpstreams) GetScheme() string

GetScheme returns the Scheme field value

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.

func (*RouteUpstreams) GetWeight

func (o *RouteUpstreams) GetWeight() int32

GetWeight returns the Weight field value if set, zero value otherwise.

func (*RouteUpstreams) GetWeightOk

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

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

func (*RouteUpstreams) HasWeight

func (o *RouteUpstreams) HasWeight() bool

HasWeight returns a boolean if a field has been set.

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 gets a reference to the given int32 and assigns it to the Weight field.

func (RouteUpstreams) ToMap

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

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) (*shared.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, *shared.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

* 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, *shared.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, *shared.APIResponse, error)

* Execute executes the request * @return RouteRead

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