edgefunctionsinstance_edgefirewall

package
v0.127.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 20 Imported by: 0

README

Go API client for edgefunctionsinstance_edgefirewall

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Overview

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

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

Installation

Install the following dependencies:

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

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

import edgefunctionsinstance_edgefirewall "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://api.azionapi.net

Class Method HTTP request Description
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDelete Delete /edge_firewall/{edge_firewall_id}/functions_instances/{edge_function_instance_id} Delete an Edge Functions Instance by uuid
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGet Get /edge_firewall/{edge_firewall_id}/functions_instances/{edge_function_instance_id} Retrieve an Edge Functions Instance set by uuid
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatch Patch /edge_firewall/{edge_firewall_id}/functions_instances/{edge_function_instance_id} Update some Edge Functions Instance attributes
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPut Put /edge_firewall/{edge_firewall_id}/functions_instances/{edge_function_instance_id} Overwrite some Edge Functions Instance attributes
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesGet Get /edge_firewall/{edge_firewall_id}/functions_instances List all user Edge Functions Instances
DefaultAPI EdgeFirewallEdgeFirewallIdFunctionsInstancesPost Post /edge_firewall/{edge_firewall_id}/functions_instances Create an Edge Functions Instance

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

tokenAuth
  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: Authorization and passed in as the auth context for each request.

Example

auth := context.WithValue(
		context.Background(),
		sw.ContextAPIKeys,
		map[string]sw.APIKey{
			"Authorization": {Key: "API_KEY_STRING"},
		},
	)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

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

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Edge Functions Instances API API v2.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteRequest added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteRequest) Execute added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetRequest added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetRequest) Execute added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchRequest added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchRequest) Execute added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutRequest added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutRequest) Execute added in v0.104.0

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest) Execute

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest) OrderBy

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest) Page

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest) PageSize

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest) Sort

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest

type ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest) CreateEdgeFunctionsInstancesRequest

func (ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest) Execute

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CreateEdgeFunctionsInstancesRequest

type CreateEdgeFunctionsInstancesRequest struct {
	Name         *string     `json:"name,omitempty"`
	EdgeFunction *int64      `json:"edge_function,omitempty"`
	JsonArgs     interface{} `json:"json_args,omitempty"`
}

CreateEdgeFunctionsInstancesRequest struct for CreateEdgeFunctionsInstancesRequest

func NewCreateEdgeFunctionsInstancesRequest

func NewCreateEdgeFunctionsInstancesRequest() *CreateEdgeFunctionsInstancesRequest

NewCreateEdgeFunctionsInstancesRequest instantiates a new CreateEdgeFunctionsInstancesRequest 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 NewCreateEdgeFunctionsInstancesRequestWithDefaults

func NewCreateEdgeFunctionsInstancesRequestWithDefaults() *CreateEdgeFunctionsInstancesRequest

NewCreateEdgeFunctionsInstancesRequestWithDefaults instantiates a new CreateEdgeFunctionsInstancesRequest 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 (*CreateEdgeFunctionsInstancesRequest) GetEdgeFunction

func (o *CreateEdgeFunctionsInstancesRequest) GetEdgeFunction() int64

GetEdgeFunction returns the EdgeFunction field value if set, zero value otherwise.

func (*CreateEdgeFunctionsInstancesRequest) GetEdgeFunctionOk

func (o *CreateEdgeFunctionsInstancesRequest) GetEdgeFunctionOk() (*int64, bool)

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

func (*CreateEdgeFunctionsInstancesRequest) GetJsonArgs

func (o *CreateEdgeFunctionsInstancesRequest) GetJsonArgs() interface{}

GetJsonArgs returns the JsonArgs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*CreateEdgeFunctionsInstancesRequest) GetJsonArgsOk

func (o *CreateEdgeFunctionsInstancesRequest) GetJsonArgsOk() (*interface{}, bool)

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

func (*CreateEdgeFunctionsInstancesRequest) GetName

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

func (*CreateEdgeFunctionsInstancesRequest) GetNameOk

func (o *CreateEdgeFunctionsInstancesRequest) 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 (*CreateEdgeFunctionsInstancesRequest) HasEdgeFunction

func (o *CreateEdgeFunctionsInstancesRequest) HasEdgeFunction() bool

HasEdgeFunction returns a boolean if a field has been set.

func (*CreateEdgeFunctionsInstancesRequest) HasJsonArgs

func (o *CreateEdgeFunctionsInstancesRequest) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*CreateEdgeFunctionsInstancesRequest) HasName

HasName returns a boolean if a field has been set.

func (CreateEdgeFunctionsInstancesRequest) MarshalJSON

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

func (*CreateEdgeFunctionsInstancesRequest) SetEdgeFunction

func (o *CreateEdgeFunctionsInstancesRequest) SetEdgeFunction(v int64)

SetEdgeFunction gets a reference to the given int64 and assigns it to the EdgeFunction field.

func (*CreateEdgeFunctionsInstancesRequest) SetJsonArgs

func (o *CreateEdgeFunctionsInstancesRequest) SetJsonArgs(v interface{})

SetJsonArgs gets a reference to the given interface{} and assigns it to the JsonArgs field.

func (*CreateEdgeFunctionsInstancesRequest) SetName

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

func (CreateEdgeFunctionsInstancesRequest) ToMap

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

type DefaultAPIService added in v0.103.0

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDelete added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDelete(ctx context.Context, edgeFirewallId int64, edgeFunctionInstanceId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDelete Delete an Edge Functions Instance by uuid

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteExecute added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteExecute(r ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGet added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGet(ctx context.Context, edgeFirewallId int64, edgeFunctionInstanceId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGet Retrieve an Edge Functions Instance set by uuid

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetExecute added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetExecute(r ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdGetRequest) (*EdgeFunctionsInstanceResponse, *http.Response, error)

Execute executes the request

@return EdgeFunctionsInstanceResponse

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatch added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatch(ctx context.Context, edgeFirewallId int64, edgeFunctionInstanceId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatch Update some Edge Functions Instance attributes

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchExecute added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchExecute(r ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPatchRequest) (*EdgeFunctionsInstanceResponse, *http.Response, error)

Execute executes the request

@return EdgeFunctionsInstanceResponse

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPut added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPut(ctx context.Context, edgeFirewallId int64, edgeFunctionInstanceId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPut Overwrite some Edge Functions Instance attributes

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutExecute added in v0.104.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutExecute(r ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesEdgeFunctionInstanceIdPutRequest) (*EdgeFunctionsInstanceResponse, *http.Response, error)

Execute executes the request

@return EdgeFunctionsInstanceResponse

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesGet added in v0.103.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesGet(ctx context.Context, edgeFirewallId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesGetRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesGet List all user Edge Functions Instances

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesGetExecute added in v0.103.0

Execute executes the request

@return ListEdgeFunctionsInstancesResponse

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesPost added in v0.103.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesPost(ctx context.Context, edgeFirewallId int64) ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest

EdgeFirewallEdgeFirewallIdFunctionsInstancesPost Create an Edge Functions Instance

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

func (*DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesPostExecute added in v0.103.0

func (a *DefaultAPIService) EdgeFirewallEdgeFirewallIdFunctionsInstancesPostExecute(r ApiEdgeFirewallEdgeFirewallIdFunctionsInstancesPostRequest) (*EdgeFunctionsInstanceResponse, *http.Response, error)

Execute executes the request

@return EdgeFunctionsInstanceResponse

type EdgeFunctionsInstance

type EdgeFunctionsInstance struct {
	Id           *int64      `json:"id,omitempty"`
	Name         *string     `json:"name,omitempty"`
	LastEditor   *string     `json:"last_editor,omitempty"`
	LastModified *string     `json:"last_modified,omitempty"`
	JsonArgs     interface{} `json:"json_args,omitempty"`
	EdgeFunction *int64      `json:"edge_function,omitempty"`
}

EdgeFunctionsInstance struct for EdgeFunctionsInstance

func NewEdgeFunctionsInstance

func NewEdgeFunctionsInstance() *EdgeFunctionsInstance

NewEdgeFunctionsInstance instantiates a new EdgeFunctionsInstance 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 NewEdgeFunctionsInstanceWithDefaults

func NewEdgeFunctionsInstanceWithDefaults() *EdgeFunctionsInstance

NewEdgeFunctionsInstanceWithDefaults instantiates a new EdgeFunctionsInstance 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 (*EdgeFunctionsInstance) GetEdgeFunction

func (o *EdgeFunctionsInstance) GetEdgeFunction() int64

GetEdgeFunction returns the EdgeFunction field value if set, zero value otherwise.

func (*EdgeFunctionsInstance) GetEdgeFunctionOk

func (o *EdgeFunctionsInstance) GetEdgeFunctionOk() (*int64, bool)

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

func (*EdgeFunctionsInstance) GetId

func (o *EdgeFunctionsInstance) GetId() int64

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

func (*EdgeFunctionsInstance) GetIdOk

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

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

func (*EdgeFunctionsInstance) GetJsonArgs

func (o *EdgeFunctionsInstance) GetJsonArgs() interface{}

GetJsonArgs returns the JsonArgs field value if set, zero value otherwise (both if not set or set to explicit null).

func (*EdgeFunctionsInstance) GetJsonArgsOk

func (o *EdgeFunctionsInstance) GetJsonArgsOk() (*interface{}, bool)

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

func (*EdgeFunctionsInstance) GetLastEditor added in v0.103.0

func (o *EdgeFunctionsInstance) GetLastEditor() string

GetLastEditor returns the LastEditor field value if set, zero value otherwise.

func (*EdgeFunctionsInstance) GetLastEditorOk added in v0.103.0

func (o *EdgeFunctionsInstance) GetLastEditorOk() (*string, bool)

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

func (*EdgeFunctionsInstance) GetLastModified added in v0.103.0

func (o *EdgeFunctionsInstance) GetLastModified() string

GetLastModified returns the LastModified field value if set, zero value otherwise.

func (*EdgeFunctionsInstance) GetLastModifiedOk added in v0.103.0

func (o *EdgeFunctionsInstance) GetLastModifiedOk() (*string, bool)

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

func (*EdgeFunctionsInstance) GetName

func (o *EdgeFunctionsInstance) GetName() string

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

func (*EdgeFunctionsInstance) GetNameOk

func (o *EdgeFunctionsInstance) 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 (*EdgeFunctionsInstance) HasEdgeFunction

func (o *EdgeFunctionsInstance) HasEdgeFunction() bool

HasEdgeFunction returns a boolean if a field has been set.

func (*EdgeFunctionsInstance) HasId

func (o *EdgeFunctionsInstance) HasId() bool

HasId returns a boolean if a field has been set.

func (*EdgeFunctionsInstance) HasJsonArgs

func (o *EdgeFunctionsInstance) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*EdgeFunctionsInstance) HasLastEditor added in v0.103.0

func (o *EdgeFunctionsInstance) HasLastEditor() bool

HasLastEditor returns a boolean if a field has been set.

func (*EdgeFunctionsInstance) HasLastModified added in v0.103.0

func (o *EdgeFunctionsInstance) HasLastModified() bool

HasLastModified returns a boolean if a field has been set.

func (*EdgeFunctionsInstance) HasName

func (o *EdgeFunctionsInstance) HasName() bool

HasName returns a boolean if a field has been set.

func (EdgeFunctionsInstance) MarshalJSON

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

func (*EdgeFunctionsInstance) SetEdgeFunction

func (o *EdgeFunctionsInstance) SetEdgeFunction(v int64)

SetEdgeFunction gets a reference to the given int64 and assigns it to the EdgeFunction field.

func (*EdgeFunctionsInstance) SetId

func (o *EdgeFunctionsInstance) SetId(v int64)

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

func (*EdgeFunctionsInstance) SetJsonArgs

func (o *EdgeFunctionsInstance) SetJsonArgs(v interface{})

SetJsonArgs gets a reference to the given interface{} and assigns it to the JsonArgs field.

func (*EdgeFunctionsInstance) SetLastEditor added in v0.103.0

func (o *EdgeFunctionsInstance) SetLastEditor(v string)

SetLastEditor gets a reference to the given string and assigns it to the LastEditor field.

func (*EdgeFunctionsInstance) SetLastModified added in v0.103.0

func (o *EdgeFunctionsInstance) SetLastModified(v string)

SetLastModified gets a reference to the given string and assigns it to the LastModified field.

func (*EdgeFunctionsInstance) SetName

func (o *EdgeFunctionsInstance) SetName(v string)

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

func (EdgeFunctionsInstance) ToMap

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

type EdgeFunctionsInstanceResponse

type EdgeFunctionsInstanceResponse struct {
	Results       *EdgeFunctionsInstance `json:"results,omitempty"`
	SchemaVersion *float32               `json:"schema_version,omitempty"`
}

EdgeFunctionsInstanceResponse struct for EdgeFunctionsInstanceResponse

func NewEdgeFunctionsInstanceResponse

func NewEdgeFunctionsInstanceResponse() *EdgeFunctionsInstanceResponse

NewEdgeFunctionsInstanceResponse instantiates a new EdgeFunctionsInstanceResponse 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 NewEdgeFunctionsInstanceResponseWithDefaults

func NewEdgeFunctionsInstanceResponseWithDefaults() *EdgeFunctionsInstanceResponse

NewEdgeFunctionsInstanceResponseWithDefaults instantiates a new EdgeFunctionsInstanceResponse 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 (*EdgeFunctionsInstanceResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*EdgeFunctionsInstanceResponse) GetResultsOk

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

func (*EdgeFunctionsInstanceResponse) GetSchemaVersion

func (o *EdgeFunctionsInstanceResponse) GetSchemaVersion() float32

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*EdgeFunctionsInstanceResponse) GetSchemaVersionOk

func (o *EdgeFunctionsInstanceResponse) GetSchemaVersionOk() (*float32, bool)

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

func (*EdgeFunctionsInstanceResponse) HasResults

func (o *EdgeFunctionsInstanceResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*EdgeFunctionsInstanceResponse) HasSchemaVersion

func (o *EdgeFunctionsInstanceResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (EdgeFunctionsInstanceResponse) MarshalJSON

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

func (*EdgeFunctionsInstanceResponse) SetResults

SetResults gets a reference to the given EdgeFunctionsInstance and assigns it to the Results field.

func (*EdgeFunctionsInstanceResponse) SetSchemaVersion

func (o *EdgeFunctionsInstanceResponse) SetSchemaVersion(v float32)

SetSchemaVersion gets a reference to the given float32 and assigns it to the SchemaVersion field.

func (EdgeFunctionsInstanceResponse) ToMap

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

type GenericOpenAPIError

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

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

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type Links struct {
	Previous *string `json:"previous,omitempty"`
	Next     *string `json:"next,omitempty"`
}

Links struct for Links

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

func (o *Links) GetPrevious() string

GetPrevious returns the Previous field value if set, zero value otherwise.

func (*Links) GetPreviousOk

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

GetPreviousOk returns a tuple with the Previous 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) HasPrevious

func (o *Links) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (Links) MarshalJSON

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

func (*Links) SetNext

func (o *Links) SetNext(v string)

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

func (*Links) SetPrevious

func (o *Links) SetPrevious(v string)

SetPrevious gets a reference to the given string and assigns it to the Previous field.

func (Links) ToMap

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

type ListEdgeFunctionsInstancesResponse

type ListEdgeFunctionsInstancesResponse struct {
	Count         *int64                  `json:"count,omitempty"`
	TotalPages    *int64                  `json:"total_pages,omitempty"`
	SchemaVersion *int64                  `json:"schema_version,omitempty"`
	Links         *Links                  `json:"links,omitempty"`
	Results       []EdgeFunctionsInstance `json:"results,omitempty"`
}

ListEdgeFunctionsInstancesResponse struct for ListEdgeFunctionsInstancesResponse

func NewListEdgeFunctionsInstancesResponse

func NewListEdgeFunctionsInstancesResponse() *ListEdgeFunctionsInstancesResponse

NewListEdgeFunctionsInstancesResponse instantiates a new ListEdgeFunctionsInstancesResponse 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 NewListEdgeFunctionsInstancesResponseWithDefaults

func NewListEdgeFunctionsInstancesResponseWithDefaults() *ListEdgeFunctionsInstancesResponse

NewListEdgeFunctionsInstancesResponseWithDefaults instantiates a new ListEdgeFunctionsInstancesResponse 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 (*ListEdgeFunctionsInstancesResponse) GetCount

GetCount returns the Count field value if set, zero value otherwise.

func (*ListEdgeFunctionsInstancesResponse) GetCountOk

func (o *ListEdgeFunctionsInstancesResponse) GetCountOk() (*int64, bool)

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

GetLinks returns the Links field value if set, zero value otherwise.

func (*ListEdgeFunctionsInstancesResponse) GetLinksOk

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

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

func (*ListEdgeFunctionsInstancesResponse) GetResults

GetResults returns the Results field value if set, zero value otherwise.

func (*ListEdgeFunctionsInstancesResponse) GetResultsOk

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

func (*ListEdgeFunctionsInstancesResponse) GetSchemaVersion

func (o *ListEdgeFunctionsInstancesResponse) GetSchemaVersion() int64

GetSchemaVersion returns the SchemaVersion field value if set, zero value otherwise.

func (*ListEdgeFunctionsInstancesResponse) GetSchemaVersionOk

func (o *ListEdgeFunctionsInstancesResponse) GetSchemaVersionOk() (*int64, bool)

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

func (*ListEdgeFunctionsInstancesResponse) GetTotalPages

func (o *ListEdgeFunctionsInstancesResponse) GetTotalPages() int64

GetTotalPages returns the TotalPages field value if set, zero value otherwise.

func (*ListEdgeFunctionsInstancesResponse) GetTotalPagesOk

func (o *ListEdgeFunctionsInstancesResponse) GetTotalPagesOk() (*int64, bool)

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

func (*ListEdgeFunctionsInstancesResponse) HasCount

HasCount returns a boolean if a field has been set.

HasLinks returns a boolean if a field has been set.

func (*ListEdgeFunctionsInstancesResponse) HasResults

func (o *ListEdgeFunctionsInstancesResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*ListEdgeFunctionsInstancesResponse) HasSchemaVersion

func (o *ListEdgeFunctionsInstancesResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*ListEdgeFunctionsInstancesResponse) HasTotalPages

func (o *ListEdgeFunctionsInstancesResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (ListEdgeFunctionsInstancesResponse) MarshalJSON

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

func (*ListEdgeFunctionsInstancesResponse) SetCount

SetCount gets a reference to the given int64 and assigns it to the Count field.

SetLinks gets a reference to the given Links and assigns it to the Links field.

func (*ListEdgeFunctionsInstancesResponse) SetResults

SetResults gets a reference to the given []EdgeFunctionsInstance and assigns it to the Results field.

func (*ListEdgeFunctionsInstancesResponse) SetSchemaVersion

func (o *ListEdgeFunctionsInstancesResponse) SetSchemaVersion(v int64)

SetSchemaVersion gets a reference to the given int64 and assigns it to the SchemaVersion field.

func (*ListEdgeFunctionsInstancesResponse) SetTotalPages

func (o *ListEdgeFunctionsInstancesResponse) SetTotalPages(v int64)

SetTotalPages gets a reference to the given int64 and assigns it to the TotalPages field.

func (ListEdgeFunctionsInstancesResponse) ToMap

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

type MappedNullable

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateEdgeFunctionsInstancesRequest

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

func (NullableCreateEdgeFunctionsInstancesRequest) Get

func (NullableCreateEdgeFunctionsInstancesRequest) IsSet

func (NullableCreateEdgeFunctionsInstancesRequest) MarshalJSON

func (*NullableCreateEdgeFunctionsInstancesRequest) Set

func (*NullableCreateEdgeFunctionsInstancesRequest) UnmarshalJSON

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

func (*NullableCreateEdgeFunctionsInstancesRequest) Unset

type NullableEdgeFunctionsInstance

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

func (NullableEdgeFunctionsInstance) Get

func (NullableEdgeFunctionsInstance) IsSet

func (NullableEdgeFunctionsInstance) MarshalJSON

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

func (*NullableEdgeFunctionsInstance) Set

func (*NullableEdgeFunctionsInstance) UnmarshalJSON

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

func (*NullableEdgeFunctionsInstance) Unset

func (v *NullableEdgeFunctionsInstance) Unset()

type NullableEdgeFunctionsInstanceResponse

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

func (NullableEdgeFunctionsInstanceResponse) Get

func (NullableEdgeFunctionsInstanceResponse) IsSet

func (NullableEdgeFunctionsInstanceResponse) MarshalJSON

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

func (*NullableEdgeFunctionsInstanceResponse) Set

func (*NullableEdgeFunctionsInstanceResponse) UnmarshalJSON

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

func (*NullableEdgeFunctionsInstanceResponse) Unset

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

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

func (*NullableFloat32) Set

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

func (*NullableFloat32) UnmarshalJSON

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

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

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

func (*NullableFloat64) Set

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

func (*NullableFloat64) UnmarshalJSON

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

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

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

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

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

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

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

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

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

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

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

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

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

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()
type 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 NullableListEdgeFunctionsInstancesResponse

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

func (NullableListEdgeFunctionsInstancesResponse) Get

func (NullableListEdgeFunctionsInstancesResponse) IsSet

func (NullableListEdgeFunctionsInstancesResponse) MarshalJSON

func (*NullableListEdgeFunctionsInstancesResponse) Set

func (*NullableListEdgeFunctionsInstancesResponse) UnmarshalJSON

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

func (*NullableListEdgeFunctionsInstancesResponse) Unset

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

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

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

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

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

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

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

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

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

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