edgefunctions

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: MIT Imports: 20 Imported by: 2

README

Go API client for edgefunctions

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 edgefunctions "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(), edgefunctions.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(), edgefunctions.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(), edgefunctions.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), edgefunctions.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
EdgeFunctionsApi EdgeFunctionsGet Get /edge_functions edge_functions
EdgeFunctionsApi EdgeFunctionsIdDelete Delete /edge_functions/{id} edge_functions
EdgeFunctionsApi EdgeFunctionsIdGet Get /edge_functions/{id} edge_functions
EdgeFunctionsApi EdgeFunctionsIdPatch Patch /edge_functions/{id} edge_functions
EdgeFunctionsApi EdgeFunctionsIdPut Put /edge_functions/{id} edge_functions
EdgeFunctionsApi EdgeFunctionsPost Post /edge_functions edge_functions

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.

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 added in v0.42.0

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

APIClient manages communication with the Edge Function 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 ApiEdgeFunctionsGetRequest

type ApiEdgeFunctionsGetRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsGetRequest) Execute

func (ApiEdgeFunctionsGetRequest) OrderBy

func (ApiEdgeFunctionsGetRequest) Page

func (ApiEdgeFunctionsGetRequest) PageSize

func (ApiEdgeFunctionsGetRequest) Sort

type ApiEdgeFunctionsIdDeleteRequest

type ApiEdgeFunctionsIdDeleteRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsIdDeleteRequest) Execute

type ApiEdgeFunctionsIdGetRequest

type ApiEdgeFunctionsIdGetRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsIdGetRequest) Execute

type ApiEdgeFunctionsIdPatchRequest

type ApiEdgeFunctionsIdPatchRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsIdPatchRequest) Execute

func (ApiEdgeFunctionsIdPatchRequest) PatchEdgeFunctionRequest

func (r ApiEdgeFunctionsIdPatchRequest) PatchEdgeFunctionRequest(patchEdgeFunctionRequest PatchEdgeFunctionRequest) ApiEdgeFunctionsIdPatchRequest

type ApiEdgeFunctionsIdPutRequest

type ApiEdgeFunctionsIdPutRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsIdPutRequest) Execute

func (ApiEdgeFunctionsIdPutRequest) PutEdgeFunctionRequest

func (r ApiEdgeFunctionsIdPutRequest) PutEdgeFunctionRequest(putEdgeFunctionRequest PutEdgeFunctionRequest) ApiEdgeFunctionsIdPutRequest

type ApiEdgeFunctionsPostRequest

type ApiEdgeFunctionsPostRequest struct {
	ApiService *EdgeFunctionsApiService
	// contains filtered or unexported fields
}

func (ApiEdgeFunctionsPostRequest) CreateEdgeFunctionRequest

func (r ApiEdgeFunctionsPostRequest) CreateEdgeFunctionRequest(createEdgeFunctionRequest CreateEdgeFunctionRequest) ApiEdgeFunctionsPostRequest

func (ApiEdgeFunctionsPostRequest) Execute

type BadRequestResponse

type BadRequestResponse struct {
	Name     []string `json:"name,omitempty"`
	Active   []string `json:"active,omitempty"`
	Code     []string `json:"code,omitempty"`
	Language []string `json:"language,omitempty"`
}

BadRequestResponse struct for BadRequestResponse

func NewBadRequestResponse

func NewBadRequestResponse() *BadRequestResponse

NewBadRequestResponse instantiates a new BadRequestResponse 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 NewBadRequestResponseWithDefaults

func NewBadRequestResponseWithDefaults() *BadRequestResponse

NewBadRequestResponseWithDefaults instantiates a new BadRequestResponse 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 (*BadRequestResponse) GetActive

func (o *BadRequestResponse) GetActive() []string

GetActive returns the Active field value if set, zero value otherwise.

func (*BadRequestResponse) GetActiveOk

func (o *BadRequestResponse) GetActiveOk() ([]string, bool)

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

func (*BadRequestResponse) GetCode

func (o *BadRequestResponse) GetCode() []string

GetCode returns the Code field value if set, zero value otherwise.

func (*BadRequestResponse) GetCodeOk

func (o *BadRequestResponse) GetCodeOk() ([]string, bool)

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

func (*BadRequestResponse) GetLanguage

func (o *BadRequestResponse) GetLanguage() []string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*BadRequestResponse) GetLanguageOk

func (o *BadRequestResponse) GetLanguageOk() ([]string, bool)

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

func (*BadRequestResponse) GetName

func (o *BadRequestResponse) GetName() []string

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

func (*BadRequestResponse) GetNameOk

func (o *BadRequestResponse) 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 (*BadRequestResponse) HasActive

func (o *BadRequestResponse) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*BadRequestResponse) HasCode

func (o *BadRequestResponse) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*BadRequestResponse) HasLanguage

func (o *BadRequestResponse) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*BadRequestResponse) HasName

func (o *BadRequestResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (BadRequestResponse) MarshalJSON

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

func (*BadRequestResponse) SetActive

func (o *BadRequestResponse) SetActive(v []string)

SetActive gets a reference to the given []string and assigns it to the Active field.

func (*BadRequestResponse) SetCode

func (o *BadRequestResponse) SetCode(v []string)

SetCode gets a reference to the given []string and assigns it to the Code field.

func (*BadRequestResponse) SetLanguage

func (o *BadRequestResponse) SetLanguage(v []string)

SetLanguage gets a reference to the given []string and assigns it to the Language field.

func (*BadRequestResponse) SetName

func (o *BadRequestResponse) SetName(v []string)

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

func (BadRequestResponse) ToMap added in v0.42.0

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

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 CreateEdgeFunctionRequest

type CreateEdgeFunctionRequest struct {
	Name              *string     `json:"name,omitempty"`
	Language          *string     `json:"language,omitempty"`
	Code              *string     `json:"code,omitempty"`
	JsonArgs          interface{} `json:"json_args,omitempty"`
	Active            *bool       `json:"active,omitempty"`
	IsProprietaryCode *bool       `json:"is_proprietary_code,omitempty"`
}

CreateEdgeFunctionRequest struct for CreateEdgeFunctionRequest

func NewCreateEdgeFunctionRequest

func NewCreateEdgeFunctionRequest() *CreateEdgeFunctionRequest

NewCreateEdgeFunctionRequest instantiates a new CreateEdgeFunctionRequest 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 NewCreateEdgeFunctionRequestWithDefaults

func NewCreateEdgeFunctionRequestWithDefaults() *CreateEdgeFunctionRequest

NewCreateEdgeFunctionRequestWithDefaults instantiates a new CreateEdgeFunctionRequest 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 (*CreateEdgeFunctionRequest) GetActive

func (o *CreateEdgeFunctionRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*CreateEdgeFunctionRequest) GetActiveOk

func (o *CreateEdgeFunctionRequest) GetActiveOk() (*bool, bool)

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

func (*CreateEdgeFunctionRequest) GetCode

func (o *CreateEdgeFunctionRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*CreateEdgeFunctionRequest) GetCodeOk

func (o *CreateEdgeFunctionRequest) GetCodeOk() (*string, bool)

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

func (*CreateEdgeFunctionRequest) GetIsProprietaryCode added in v0.51.0

func (o *CreateEdgeFunctionRequest) GetIsProprietaryCode() bool

GetIsProprietaryCode returns the IsProprietaryCode field value if set, zero value otherwise.

func (*CreateEdgeFunctionRequest) GetIsProprietaryCodeOk added in v0.51.0

func (o *CreateEdgeFunctionRequest) GetIsProprietaryCodeOk() (*bool, bool)

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

func (*CreateEdgeFunctionRequest) GetJsonArgs

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

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

func (*CreateEdgeFunctionRequest) GetJsonArgsOk

func (o *CreateEdgeFunctionRequest) 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 (*CreateEdgeFunctionRequest) GetLanguage

func (o *CreateEdgeFunctionRequest) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*CreateEdgeFunctionRequest) GetLanguageOk

func (o *CreateEdgeFunctionRequest) GetLanguageOk() (*string, bool)

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

func (*CreateEdgeFunctionRequest) GetName

func (o *CreateEdgeFunctionRequest) GetName() string

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

func (*CreateEdgeFunctionRequest) GetNameOk

func (o *CreateEdgeFunctionRequest) 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 (*CreateEdgeFunctionRequest) HasActive

func (o *CreateEdgeFunctionRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*CreateEdgeFunctionRequest) HasCode

func (o *CreateEdgeFunctionRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*CreateEdgeFunctionRequest) HasIsProprietaryCode added in v0.51.0

func (o *CreateEdgeFunctionRequest) HasIsProprietaryCode() bool

HasIsProprietaryCode returns a boolean if a field has been set.

func (*CreateEdgeFunctionRequest) HasJsonArgs

func (o *CreateEdgeFunctionRequest) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*CreateEdgeFunctionRequest) HasLanguage

func (o *CreateEdgeFunctionRequest) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*CreateEdgeFunctionRequest) HasName

func (o *CreateEdgeFunctionRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (CreateEdgeFunctionRequest) MarshalJSON

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

func (*CreateEdgeFunctionRequest) SetActive

func (o *CreateEdgeFunctionRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*CreateEdgeFunctionRequest) SetCode

func (o *CreateEdgeFunctionRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*CreateEdgeFunctionRequest) SetIsProprietaryCode added in v0.51.0

func (o *CreateEdgeFunctionRequest) SetIsProprietaryCode(v bool)

SetIsProprietaryCode gets a reference to the given bool and assigns it to the IsProprietaryCode field.

func (*CreateEdgeFunctionRequest) SetJsonArgs

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

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

func (*CreateEdgeFunctionRequest) SetLanguage

func (o *CreateEdgeFunctionRequest) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (*CreateEdgeFunctionRequest) SetName

func (o *CreateEdgeFunctionRequest) SetName(v string)

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

func (CreateEdgeFunctionRequest) ToMap added in v0.42.0

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

type EdgeFunctionResponse

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

EdgeFunctionResponse struct for EdgeFunctionResponse

func NewEdgeFunctionResponse

func NewEdgeFunctionResponse() *EdgeFunctionResponse

NewEdgeFunctionResponse instantiates a new EdgeFunctionResponse 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 NewEdgeFunctionResponseWithDefaults

func NewEdgeFunctionResponseWithDefaults() *EdgeFunctionResponse

NewEdgeFunctionResponseWithDefaults instantiates a new EdgeFunctionResponse 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 (*EdgeFunctionResponse) GetResults

func (o *EdgeFunctionResponse) GetResults() Results

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

func (*EdgeFunctionResponse) GetResultsOk

func (o *EdgeFunctionResponse) GetResultsOk() (*Results, bool)

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 (*EdgeFunctionResponse) GetSchemaVersion

func (o *EdgeFunctionResponse) GetSchemaVersion() float32

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

func (*EdgeFunctionResponse) GetSchemaVersionOk

func (o *EdgeFunctionResponse) 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 (*EdgeFunctionResponse) HasResults

func (o *EdgeFunctionResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*EdgeFunctionResponse) HasSchemaVersion

func (o *EdgeFunctionResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (EdgeFunctionResponse) MarshalJSON

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

func (*EdgeFunctionResponse) SetResults

func (o *EdgeFunctionResponse) SetResults(v Results)

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

func (*EdgeFunctionResponse) SetSchemaVersion

func (o *EdgeFunctionResponse) SetSchemaVersion(v float32)

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

func (EdgeFunctionResponse) ToMap added in v0.42.0

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

type EdgeFunctionsApiService

type EdgeFunctionsApiService service

EdgeFunctionsApiService EdgeFunctionsApi service

func (*EdgeFunctionsApiService) EdgeFunctionsGet

EdgeFunctionsGet edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsGetExecute

Execute executes the request

@return ListEdgeFunctionResponse

func (*EdgeFunctionsApiService) EdgeFunctionsIdDelete

EdgeFunctionsIdDelete edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsIdDeleteExecute

func (a *EdgeFunctionsApiService) EdgeFunctionsIdDeleteExecute(r ApiEdgeFunctionsIdDeleteRequest) (*http.Response, error)

Execute executes the request

func (*EdgeFunctionsApiService) EdgeFunctionsIdGet

EdgeFunctionsIdGet edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsIdGetExecute

Execute executes the request

@return EdgeFunctionResponse

func (*EdgeFunctionsApiService) EdgeFunctionsIdPatch

EdgeFunctionsIdPatch edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsIdPatchExecute

Execute executes the request

@return EdgeFunctionResponse

func (*EdgeFunctionsApiService) EdgeFunctionsIdPut

EdgeFunctionsIdPut edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsIdPutExecute

Execute executes the request

@return EdgeFunctionResponse

func (*EdgeFunctionsApiService) EdgeFunctionsPost

EdgeFunctionsPost edge_functions

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

func (*EdgeFunctionsApiService) EdgeFunctionsPostExecute

Execute executes the request

@return EdgeFunctionResponse

type ErrorModel

type ErrorModel struct {
	Code *string `json:"code,omitempty"`
}

ErrorModel struct for ErrorModel

func NewErrorModel

func NewErrorModel() *ErrorModel

NewErrorModel instantiates a new ErrorModel 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 NewErrorModelWithDefaults

func NewErrorModelWithDefaults() *ErrorModel

NewErrorModelWithDefaults instantiates a new ErrorModel 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 (*ErrorModel) GetCode

func (o *ErrorModel) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ErrorModel) GetCodeOk

func (o *ErrorModel) GetCodeOk() (*string, bool)

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

func (*ErrorModel) HasCode

func (o *ErrorModel) HasCode() bool

HasCode returns a boolean if a field has been set.

func (ErrorModel) MarshalJSON

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

func (*ErrorModel) SetCode

func (o *ErrorModel) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (ErrorModel) ToMap added in v0.42.0

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

type ErrorResponse

type ErrorResponse struct {
	Detail *string `json:"detail,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetDetail

func (o *ErrorResponse) GetDetail() string

GetDetail returns the Detail field value if set, zero value otherwise.

func (*ErrorResponse) GetDetailOk

func (o *ErrorResponse) GetDetailOk() (*string, bool)

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

func (*ErrorResponse) HasDetail

func (o *ErrorResponse) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetDetail

func (o *ErrorResponse) SetDetail(v string)

SetDetail gets a reference to the given string and assigns it to the Detail field.

func (ErrorResponse) ToMap added in v0.42.0

func (o ErrorResponse) 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 added in v0.42.0

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

type ListEdgeFunctionResponse

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

ListEdgeFunctionResponse struct for ListEdgeFunctionResponse

func NewListEdgeFunctionResponse

func NewListEdgeFunctionResponse() *ListEdgeFunctionResponse

NewListEdgeFunctionResponse instantiates a new ListEdgeFunctionResponse 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 NewListEdgeFunctionResponseWithDefaults

func NewListEdgeFunctionResponseWithDefaults() *ListEdgeFunctionResponse

NewListEdgeFunctionResponseWithDefaults instantiates a new ListEdgeFunctionResponse 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 (*ListEdgeFunctionResponse) GetCount

func (o *ListEdgeFunctionResponse) GetCount() int64

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

func (*ListEdgeFunctionResponse) GetCountOk

func (o *ListEdgeFunctionResponse) 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.

func (o *ListEdgeFunctionResponse) GetLinks() Links

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

func (*ListEdgeFunctionResponse) GetLinksOk

func (o *ListEdgeFunctionResponse) 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 (*ListEdgeFunctionResponse) GetResults

func (o *ListEdgeFunctionResponse) GetResults() []Results

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

func (*ListEdgeFunctionResponse) GetResultsOk

func (o *ListEdgeFunctionResponse) GetResultsOk() ([]Results, bool)

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 (*ListEdgeFunctionResponse) GetSchemaVersion

func (o *ListEdgeFunctionResponse) GetSchemaVersion() int64

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

func (*ListEdgeFunctionResponse) GetSchemaVersionOk

func (o *ListEdgeFunctionResponse) 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 (*ListEdgeFunctionResponse) GetTotalPages

func (o *ListEdgeFunctionResponse) GetTotalPages() int64

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

func (*ListEdgeFunctionResponse) GetTotalPagesOk

func (o *ListEdgeFunctionResponse) 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 (*ListEdgeFunctionResponse) HasCount

func (o *ListEdgeFunctionResponse) HasCount() bool

HasCount returns a boolean if a field has been set.

func (o *ListEdgeFunctionResponse) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*ListEdgeFunctionResponse) HasResults

func (o *ListEdgeFunctionResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*ListEdgeFunctionResponse) HasSchemaVersion

func (o *ListEdgeFunctionResponse) HasSchemaVersion() bool

HasSchemaVersion returns a boolean if a field has been set.

func (*ListEdgeFunctionResponse) HasTotalPages

func (o *ListEdgeFunctionResponse) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (ListEdgeFunctionResponse) MarshalJSON

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

func (*ListEdgeFunctionResponse) SetCount

func (o *ListEdgeFunctionResponse) SetCount(v int64)

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

func (o *ListEdgeFunctionResponse) SetLinks(v Links)

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

func (*ListEdgeFunctionResponse) SetResults

func (o *ListEdgeFunctionResponse) SetResults(v []Results)

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

func (*ListEdgeFunctionResponse) SetSchemaVersion

func (o *ListEdgeFunctionResponse) SetSchemaVersion(v int64)

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

func (*ListEdgeFunctionResponse) SetTotalPages

func (o *ListEdgeFunctionResponse) SetTotalPages(v int64)

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

func (ListEdgeFunctionResponse) ToMap added in v0.42.0

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

type MappedNullable added in v0.42.0

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

type NullableBadRequestResponse

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

func NewNullableBadRequestResponse

func NewNullableBadRequestResponse(val *BadRequestResponse) *NullableBadRequestResponse

func (NullableBadRequestResponse) Get

func (NullableBadRequestResponse) IsSet

func (v NullableBadRequestResponse) IsSet() bool

func (NullableBadRequestResponse) MarshalJSON

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

func (*NullableBadRequestResponse) Set

func (*NullableBadRequestResponse) UnmarshalJSON

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

func (*NullableBadRequestResponse) Unset

func (v *NullableBadRequestResponse) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCreateEdgeFunctionRequest

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

func (NullableCreateEdgeFunctionRequest) Get

func (NullableCreateEdgeFunctionRequest) IsSet

func (NullableCreateEdgeFunctionRequest) MarshalJSON

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

func (*NullableCreateEdgeFunctionRequest) Set

func (*NullableCreateEdgeFunctionRequest) UnmarshalJSON

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

func (*NullableCreateEdgeFunctionRequest) Unset

type NullableEdgeFunctionResponse

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

func NewNullableEdgeFunctionResponse

func NewNullableEdgeFunctionResponse(val *EdgeFunctionResponse) *NullableEdgeFunctionResponse

func (NullableEdgeFunctionResponse) Get

func (NullableEdgeFunctionResponse) IsSet

func (NullableEdgeFunctionResponse) MarshalJSON

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

func (*NullableEdgeFunctionResponse) Set

func (*NullableEdgeFunctionResponse) UnmarshalJSON

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

func (*NullableEdgeFunctionResponse) Unset

func (v *NullableEdgeFunctionResponse) Unset()

type NullableErrorModel

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

func NewNullableErrorModel

func NewNullableErrorModel(val *ErrorModel) *NullableErrorModel

func (NullableErrorModel) Get

func (v NullableErrorModel) Get() *ErrorModel

func (NullableErrorModel) IsSet

func (v NullableErrorModel) IsSet() bool

func (NullableErrorModel) MarshalJSON

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

func (*NullableErrorModel) Set

func (v *NullableErrorModel) Set(val *ErrorModel)

func (*NullableErrorModel) UnmarshalJSON

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

func (*NullableErrorModel) Unset

func (v *NullableErrorModel) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableListEdgeFunctionResponse

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

func (NullableListEdgeFunctionResponse) Get

func (NullableListEdgeFunctionResponse) IsSet

func (NullableListEdgeFunctionResponse) MarshalJSON

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

func (*NullableListEdgeFunctionResponse) Set

func (*NullableListEdgeFunctionResponse) UnmarshalJSON

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

func (*NullableListEdgeFunctionResponse) Unset

type NullablePatchEdgeFunctionRequest

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

func (NullablePatchEdgeFunctionRequest) Get

func (NullablePatchEdgeFunctionRequest) IsSet

func (NullablePatchEdgeFunctionRequest) MarshalJSON

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

func (*NullablePatchEdgeFunctionRequest) Set

func (*NullablePatchEdgeFunctionRequest) UnmarshalJSON

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

func (*NullablePatchEdgeFunctionRequest) Unset

type NullablePutEdgeFunctionRequest

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

func (NullablePutEdgeFunctionRequest) Get

func (NullablePutEdgeFunctionRequest) IsSet

func (NullablePutEdgeFunctionRequest) MarshalJSON

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

func (*NullablePutEdgeFunctionRequest) Set

func (*NullablePutEdgeFunctionRequest) UnmarshalJSON

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

func (*NullablePutEdgeFunctionRequest) Unset

func (v *NullablePutEdgeFunctionRequest) Unset()

type NullableResults

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

func NewNullableResults

func NewNullableResults(val *Results) *NullableResults

func (NullableResults) Get

func (v NullableResults) Get() *Results

func (NullableResults) IsSet

func (v NullableResults) IsSet() bool

func (NullableResults) MarshalJSON

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

func (*NullableResults) Set

func (v *NullableResults) Set(val *Results)

func (*NullableResults) UnmarshalJSON

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

func (*NullableResults) Unset

func (v *NullableResults) 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 PatchEdgeFunctionRequest

type PatchEdgeFunctionRequest struct {
	Name              *string     `json:"name,omitempty"`
	Code              *string     `json:"code,omitempty"`
	JsonArgs          interface{} `json:"json_args,omitempty"`
	Active            *bool       `json:"active,omitempty"`
	IsProprietaryCode *bool       `json:"is_proprietary_code,omitempty"`
}

PatchEdgeFunctionRequest struct for PatchEdgeFunctionRequest

func NewPatchEdgeFunctionRequest

func NewPatchEdgeFunctionRequest() *PatchEdgeFunctionRequest

NewPatchEdgeFunctionRequest instantiates a new PatchEdgeFunctionRequest 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 NewPatchEdgeFunctionRequestWithDefaults

func NewPatchEdgeFunctionRequestWithDefaults() *PatchEdgeFunctionRequest

NewPatchEdgeFunctionRequestWithDefaults instantiates a new PatchEdgeFunctionRequest 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 (*PatchEdgeFunctionRequest) GetActive

func (o *PatchEdgeFunctionRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PatchEdgeFunctionRequest) GetActiveOk

func (o *PatchEdgeFunctionRequest) GetActiveOk() (*bool, bool)

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

func (*PatchEdgeFunctionRequest) GetCode

func (o *PatchEdgeFunctionRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*PatchEdgeFunctionRequest) GetCodeOk

func (o *PatchEdgeFunctionRequest) GetCodeOk() (*string, bool)

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

func (*PatchEdgeFunctionRequest) GetIsProprietaryCode added in v0.51.0

func (o *PatchEdgeFunctionRequest) GetIsProprietaryCode() bool

GetIsProprietaryCode returns the IsProprietaryCode field value if set, zero value otherwise.

func (*PatchEdgeFunctionRequest) GetIsProprietaryCodeOk added in v0.51.0

func (o *PatchEdgeFunctionRequest) GetIsProprietaryCodeOk() (*bool, bool)

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

func (*PatchEdgeFunctionRequest) GetJsonArgs

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

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

func (*PatchEdgeFunctionRequest) GetJsonArgsOk

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

func (o *PatchEdgeFunctionRequest) GetName() string

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

func (*PatchEdgeFunctionRequest) GetNameOk

func (o *PatchEdgeFunctionRequest) 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 (*PatchEdgeFunctionRequest) HasActive

func (o *PatchEdgeFunctionRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PatchEdgeFunctionRequest) HasCode

func (o *PatchEdgeFunctionRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*PatchEdgeFunctionRequest) HasIsProprietaryCode added in v0.51.0

func (o *PatchEdgeFunctionRequest) HasIsProprietaryCode() bool

HasIsProprietaryCode returns a boolean if a field has been set.

func (*PatchEdgeFunctionRequest) HasJsonArgs

func (o *PatchEdgeFunctionRequest) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*PatchEdgeFunctionRequest) HasName

func (o *PatchEdgeFunctionRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (PatchEdgeFunctionRequest) MarshalJSON

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

func (*PatchEdgeFunctionRequest) SetActive

func (o *PatchEdgeFunctionRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PatchEdgeFunctionRequest) SetCode

func (o *PatchEdgeFunctionRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*PatchEdgeFunctionRequest) SetIsProprietaryCode added in v0.51.0

func (o *PatchEdgeFunctionRequest) SetIsProprietaryCode(v bool)

SetIsProprietaryCode gets a reference to the given bool and assigns it to the IsProprietaryCode field.

func (*PatchEdgeFunctionRequest) SetJsonArgs

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

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

func (*PatchEdgeFunctionRequest) SetName

func (o *PatchEdgeFunctionRequest) SetName(v string)

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

func (PatchEdgeFunctionRequest) ToMap added in v0.42.0

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

type PutEdgeFunctionRequest

type PutEdgeFunctionRequest struct {
	Name              *string     `json:"name,omitempty"`
	Code              *string     `json:"code,omitempty"`
	JsonArgs          interface{} `json:"json_args,omitempty"`
	Active            *bool       `json:"active,omitempty"`
	InitiatorType     *string     `json:"initiator_type,omitempty"`
	Language          *string     `json:"language,omitempty"`
	IsProprietaryCode *bool       `json:"is_proprietary_code,omitempty"`
}

PutEdgeFunctionRequest struct for PutEdgeFunctionRequest

func NewPutEdgeFunctionRequest

func NewPutEdgeFunctionRequest() *PutEdgeFunctionRequest

NewPutEdgeFunctionRequest instantiates a new PutEdgeFunctionRequest 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 NewPutEdgeFunctionRequestWithDefaults

func NewPutEdgeFunctionRequestWithDefaults() *PutEdgeFunctionRequest

NewPutEdgeFunctionRequestWithDefaults instantiates a new PutEdgeFunctionRequest 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 (*PutEdgeFunctionRequest) GetActive

func (o *PutEdgeFunctionRequest) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*PutEdgeFunctionRequest) GetActiveOk

func (o *PutEdgeFunctionRequest) GetActiveOk() (*bool, bool)

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

func (*PutEdgeFunctionRequest) GetCode

func (o *PutEdgeFunctionRequest) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*PutEdgeFunctionRequest) GetCodeOk

func (o *PutEdgeFunctionRequest) GetCodeOk() (*string, bool)

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

func (*PutEdgeFunctionRequest) GetInitiatorType

func (o *PutEdgeFunctionRequest) GetInitiatorType() string

GetInitiatorType returns the InitiatorType field value if set, zero value otherwise.

func (*PutEdgeFunctionRequest) GetInitiatorTypeOk

func (o *PutEdgeFunctionRequest) GetInitiatorTypeOk() (*string, bool)

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

func (*PutEdgeFunctionRequest) GetIsProprietaryCode added in v0.51.0

func (o *PutEdgeFunctionRequest) GetIsProprietaryCode() bool

GetIsProprietaryCode returns the IsProprietaryCode field value if set, zero value otherwise.

func (*PutEdgeFunctionRequest) GetIsProprietaryCodeOk added in v0.51.0

func (o *PutEdgeFunctionRequest) GetIsProprietaryCodeOk() (*bool, bool)

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

func (*PutEdgeFunctionRequest) GetJsonArgs

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

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

func (*PutEdgeFunctionRequest) GetJsonArgsOk

func (o *PutEdgeFunctionRequest) 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 (*PutEdgeFunctionRequest) GetLanguage

func (o *PutEdgeFunctionRequest) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*PutEdgeFunctionRequest) GetLanguageOk

func (o *PutEdgeFunctionRequest) GetLanguageOk() (*string, bool)

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

func (*PutEdgeFunctionRequest) GetName

func (o *PutEdgeFunctionRequest) GetName() string

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

func (*PutEdgeFunctionRequest) GetNameOk

func (o *PutEdgeFunctionRequest) 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 (*PutEdgeFunctionRequest) HasActive

func (o *PutEdgeFunctionRequest) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasCode

func (o *PutEdgeFunctionRequest) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasInitiatorType

func (o *PutEdgeFunctionRequest) HasInitiatorType() bool

HasInitiatorType returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasIsProprietaryCode added in v0.51.0

func (o *PutEdgeFunctionRequest) HasIsProprietaryCode() bool

HasIsProprietaryCode returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasJsonArgs

func (o *PutEdgeFunctionRequest) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasLanguage

func (o *PutEdgeFunctionRequest) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*PutEdgeFunctionRequest) HasName

func (o *PutEdgeFunctionRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (PutEdgeFunctionRequest) MarshalJSON

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

func (*PutEdgeFunctionRequest) SetActive

func (o *PutEdgeFunctionRequest) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*PutEdgeFunctionRequest) SetCode

func (o *PutEdgeFunctionRequest) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*PutEdgeFunctionRequest) SetInitiatorType

func (o *PutEdgeFunctionRequest) SetInitiatorType(v string)

SetInitiatorType gets a reference to the given string and assigns it to the InitiatorType field.

func (*PutEdgeFunctionRequest) SetIsProprietaryCode added in v0.51.0

func (o *PutEdgeFunctionRequest) SetIsProprietaryCode(v bool)

SetIsProprietaryCode gets a reference to the given bool and assigns it to the IsProprietaryCode field.

func (*PutEdgeFunctionRequest) SetJsonArgs

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

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

func (*PutEdgeFunctionRequest) SetLanguage

func (o *PutEdgeFunctionRequest) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (*PutEdgeFunctionRequest) SetName

func (o *PutEdgeFunctionRequest) SetName(v string)

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

func (PutEdgeFunctionRequest) ToMap added in v0.42.0

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

type Results

type Results struct {
	Id                *int64      `json:"id,omitempty"`
	Name              *string     `json:"name,omitempty"`
	Language          *string     `json:"language,omitempty"`
	Code              *string     `json:"code,omitempty"`
	JsonArgs          interface{} `json:"json_args,omitempty"`
	FunctionToRun     *string     `json:"function_to_run,omitempty"`
	InitiatorType     *string     `json:"initiator_type,omitempty"`
	Active            *bool       `json:"active,omitempty"`
	LastEditor        *string     `json:"last_editor,omitempty"`
	Modified          *string     `json:"modified,omitempty"`
	ReferenceCount    *int64      `json:"reference_count,omitempty"`
	IsProprietaryCode *bool       `json:"is_proprietary_code,omitempty"`
}

Results struct for Results

func NewResults

func NewResults() *Results

NewResults instantiates a new Results 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 NewResultsWithDefaults

func NewResultsWithDefaults() *Results

NewResultsWithDefaults instantiates a new Results 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 (*Results) GetActive

func (o *Results) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Results) GetActiveOk

func (o *Results) GetActiveOk() (*bool, bool)

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

func (*Results) GetCode

func (o *Results) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*Results) GetCodeOk

func (o *Results) GetCodeOk() (*string, bool)

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

func (*Results) GetFunctionToRun

func (o *Results) GetFunctionToRun() string

GetFunctionToRun returns the FunctionToRun field value if set, zero value otherwise.

func (*Results) GetFunctionToRunOk

func (o *Results) GetFunctionToRunOk() (*string, bool)

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

func (*Results) GetId

func (o *Results) GetId() int64

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

func (*Results) GetIdOk

func (o *Results) 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 (*Results) GetInitiatorType

func (o *Results) GetInitiatorType() string

GetInitiatorType returns the InitiatorType field value if set, zero value otherwise.

func (*Results) GetInitiatorTypeOk

func (o *Results) GetInitiatorTypeOk() (*string, bool)

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

func (*Results) GetIsProprietaryCode added in v0.51.0

func (o *Results) GetIsProprietaryCode() bool

GetIsProprietaryCode returns the IsProprietaryCode field value if set, zero value otherwise.

func (*Results) GetIsProprietaryCodeOk added in v0.51.0

func (o *Results) GetIsProprietaryCodeOk() (*bool, bool)

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

func (*Results) GetJsonArgs

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

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

func (*Results) GetJsonArgsOk

func (o *Results) 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 (*Results) GetLanguage

func (o *Results) GetLanguage() string

GetLanguage returns the Language field value if set, zero value otherwise.

func (*Results) GetLanguageOk

func (o *Results) GetLanguageOk() (*string, bool)

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

func (*Results) GetLastEditor

func (o *Results) GetLastEditor() string

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

func (*Results) GetLastEditorOk

func (o *Results) 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 (*Results) GetModified

func (o *Results) GetModified() string

GetModified returns the Modified field value if set, zero value otherwise.

func (*Results) GetModifiedOk

func (o *Results) GetModifiedOk() (*string, bool)

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

func (*Results) GetName

func (o *Results) GetName() string

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

func (*Results) GetNameOk

func (o *Results) 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 (*Results) GetReferenceCount

func (o *Results) GetReferenceCount() int64

GetReferenceCount returns the ReferenceCount field value if set, zero value otherwise.

func (*Results) GetReferenceCountOk

func (o *Results) GetReferenceCountOk() (*int64, bool)

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

func (*Results) HasActive

func (o *Results) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Results) HasCode

func (o *Results) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*Results) HasFunctionToRun

func (o *Results) HasFunctionToRun() bool

HasFunctionToRun returns a boolean if a field has been set.

func (*Results) HasId

func (o *Results) HasId() bool

HasId returns a boolean if a field has been set.

func (*Results) HasInitiatorType

func (o *Results) HasInitiatorType() bool

HasInitiatorType returns a boolean if a field has been set.

func (*Results) HasIsProprietaryCode added in v0.51.0

func (o *Results) HasIsProprietaryCode() bool

HasIsProprietaryCode returns a boolean if a field has been set.

func (*Results) HasJsonArgs

func (o *Results) HasJsonArgs() bool

HasJsonArgs returns a boolean if a field has been set.

func (*Results) HasLanguage

func (o *Results) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

func (*Results) HasLastEditor

func (o *Results) HasLastEditor() bool

HasLastEditor returns a boolean if a field has been set.

func (*Results) HasModified

func (o *Results) HasModified() bool

HasModified returns a boolean if a field has been set.

func (*Results) HasName

func (o *Results) HasName() bool

HasName returns a boolean if a field has been set.

func (*Results) HasReferenceCount

func (o *Results) HasReferenceCount() bool

HasReferenceCount returns a boolean if a field has been set.

func (Results) MarshalJSON

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

func (*Results) SetActive

func (o *Results) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Results) SetCode

func (o *Results) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*Results) SetFunctionToRun

func (o *Results) SetFunctionToRun(v string)

SetFunctionToRun gets a reference to the given string and assigns it to the FunctionToRun field.

func (*Results) SetId

func (o *Results) SetId(v int64)

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

func (*Results) SetInitiatorType

func (o *Results) SetInitiatorType(v string)

SetInitiatorType gets a reference to the given string and assigns it to the InitiatorType field.

func (*Results) SetIsProprietaryCode added in v0.51.0

func (o *Results) SetIsProprietaryCode(v bool)

SetIsProprietaryCode gets a reference to the given bool and assigns it to the IsProprietaryCode field.

func (*Results) SetJsonArgs

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

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

func (*Results) SetLanguage

func (o *Results) SetLanguage(v string)

SetLanguage gets a reference to the given string and assigns it to the Language field.

func (*Results) SetLastEditor

func (o *Results) SetLastEditor(v string)

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

func (*Results) SetModified

func (o *Results) SetModified(v string)

SetModified gets a reference to the given string and assigns it to the Modified field.

func (*Results) SetName

func (o *Results) SetName(v string)

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

func (*Results) SetReferenceCount

func (o *Results) SetReferenceCount(v int64)

SetReferenceCount gets a reference to the given int64 and assigns it to the ReferenceCount field.

func (Results) ToMap added in v0.42.0

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

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