Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiEdgeFunctionsGetRequest
- func (r ApiEdgeFunctionsGetRequest) Execute() (*ListEdgeFunctionResponse, *http.Response, error)
- func (r ApiEdgeFunctionsGetRequest) OrderBy(orderBy string) ApiEdgeFunctionsGetRequest
- func (r ApiEdgeFunctionsGetRequest) Page(page int64) ApiEdgeFunctionsGetRequest
- func (r ApiEdgeFunctionsGetRequest) PageSize(pageSize int64) ApiEdgeFunctionsGetRequest
- func (r ApiEdgeFunctionsGetRequest) Sort(sort string) ApiEdgeFunctionsGetRequest
- type ApiEdgeFunctionsIdDeleteRequest
- type ApiEdgeFunctionsIdGetRequest
- type ApiEdgeFunctionsIdPatchRequest
- type ApiEdgeFunctionsIdPutRequest
- type ApiEdgeFunctionsPostRequest
- type BadRequestResponse
- func (o *BadRequestResponse) GetActive() []string
- func (o *BadRequestResponse) GetActiveOk() ([]string, bool)
- func (o *BadRequestResponse) GetCode() []string
- func (o *BadRequestResponse) GetCodeOk() ([]string, bool)
- func (o *BadRequestResponse) GetLanguage() []string
- func (o *BadRequestResponse) GetLanguageOk() ([]string, bool)
- func (o *BadRequestResponse) GetName() []string
- func (o *BadRequestResponse) GetNameOk() ([]string, bool)
- func (o *BadRequestResponse) HasActive() bool
- func (o *BadRequestResponse) HasCode() bool
- func (o *BadRequestResponse) HasLanguage() bool
- func (o *BadRequestResponse) HasName() bool
- func (o BadRequestResponse) MarshalJSON() ([]byte, error)
- func (o *BadRequestResponse) SetActive(v []string)
- func (o *BadRequestResponse) SetCode(v []string)
- func (o *BadRequestResponse) SetLanguage(v []string)
- func (o *BadRequestResponse) SetName(v []string)
- func (o BadRequestResponse) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type Configuration
- type CreateEdgeFunctionRequest
- func (o *CreateEdgeFunctionRequest) GetActive() bool
- func (o *CreateEdgeFunctionRequest) GetActiveOk() (*bool, bool)
- func (o *CreateEdgeFunctionRequest) GetCode() string
- func (o *CreateEdgeFunctionRequest) GetCodeOk() (*string, bool)
- func (o *CreateEdgeFunctionRequest) GetJsonArgs() interface{}
- func (o *CreateEdgeFunctionRequest) GetJsonArgsOk() (*interface{}, bool)
- func (o *CreateEdgeFunctionRequest) GetLanguage() string
- func (o *CreateEdgeFunctionRequest) GetLanguageOk() (*string, bool)
- func (o *CreateEdgeFunctionRequest) GetName() string
- func (o *CreateEdgeFunctionRequest) GetNameOk() (*string, bool)
- func (o *CreateEdgeFunctionRequest) HasActive() bool
- func (o *CreateEdgeFunctionRequest) HasCode() bool
- func (o *CreateEdgeFunctionRequest) HasJsonArgs() bool
- func (o *CreateEdgeFunctionRequest) HasLanguage() bool
- func (o *CreateEdgeFunctionRequest) HasName() bool
- func (o CreateEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (o *CreateEdgeFunctionRequest) SetActive(v bool)
- func (o *CreateEdgeFunctionRequest) SetCode(v string)
- func (o *CreateEdgeFunctionRequest) SetJsonArgs(v interface{})
- func (o *CreateEdgeFunctionRequest) SetLanguage(v string)
- func (o *CreateEdgeFunctionRequest) SetName(v string)
- func (o CreateEdgeFunctionRequest) ToMap() (map[string]interface{}, error)
- type EdgeFunctionResponse
- func (o *EdgeFunctionResponse) GetResults() Results
- func (o *EdgeFunctionResponse) GetResultsOk() (*Results, bool)
- func (o *EdgeFunctionResponse) GetSchemaVersion() float32
- func (o *EdgeFunctionResponse) GetSchemaVersionOk() (*float32, bool)
- func (o *EdgeFunctionResponse) HasResults() bool
- func (o *EdgeFunctionResponse) HasSchemaVersion() bool
- func (o EdgeFunctionResponse) MarshalJSON() ([]byte, error)
- func (o *EdgeFunctionResponse) SetResults(v Results)
- func (o *EdgeFunctionResponse) SetSchemaVersion(v float32)
- func (o EdgeFunctionResponse) ToMap() (map[string]interface{}, error)
- type EdgeFunctionsApiService
- func (a *EdgeFunctionsApiService) EdgeFunctionsGet(ctx context.Context) ApiEdgeFunctionsGetRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsGetExecute(r ApiEdgeFunctionsGetRequest) (*ListEdgeFunctionResponse, *http.Response, error)
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdDelete(ctx context.Context, id int64) ApiEdgeFunctionsIdDeleteRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdDeleteExecute(r ApiEdgeFunctionsIdDeleteRequest) (*http.Response, error)
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdGet(ctx context.Context, id int64) ApiEdgeFunctionsIdGetRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdGetExecute(r ApiEdgeFunctionsIdGetRequest) (*EdgeFunctionResponse, *http.Response, error)
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdPatch(ctx context.Context, id int64) ApiEdgeFunctionsIdPatchRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdPatchExecute(r ApiEdgeFunctionsIdPatchRequest) (*EdgeFunctionResponse, *http.Response, error)
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdPut(ctx context.Context, id int64) ApiEdgeFunctionsIdPutRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsIdPutExecute(r ApiEdgeFunctionsIdPutRequest) (*EdgeFunctionResponse, *http.Response, error)
- func (a *EdgeFunctionsApiService) EdgeFunctionsPost(ctx context.Context) ApiEdgeFunctionsPostRequest
- func (a *EdgeFunctionsApiService) EdgeFunctionsPostExecute(r ApiEdgeFunctionsPostRequest) (*EdgeFunctionResponse, *http.Response, error)
- type ErrorModel
- type ErrorResponse
- type GenericOpenAPIError
- type Links
- func (o *Links) GetNext() string
- func (o *Links) GetNextOk() (*string, bool)
- func (o *Links) GetPrevious() string
- func (o *Links) GetPreviousOk() (*string, bool)
- func (o *Links) HasNext() bool
- func (o *Links) HasPrevious() bool
- func (o Links) MarshalJSON() ([]byte, error)
- func (o *Links) SetNext(v string)
- func (o *Links) SetPrevious(v string)
- func (o Links) ToMap() (map[string]interface{}, error)
- type ListEdgeFunctionResponse
- func (o *ListEdgeFunctionResponse) GetCount() int64
- func (o *ListEdgeFunctionResponse) GetCountOk() (*int64, bool)
- func (o *ListEdgeFunctionResponse) GetLinks() Links
- func (o *ListEdgeFunctionResponse) GetLinksOk() (*Links, bool)
- func (o *ListEdgeFunctionResponse) GetResults() []Results
- func (o *ListEdgeFunctionResponse) GetResultsOk() ([]Results, bool)
- func (o *ListEdgeFunctionResponse) GetSchemaVersion() int64
- func (o *ListEdgeFunctionResponse) GetSchemaVersionOk() (*int64, bool)
- func (o *ListEdgeFunctionResponse) GetTotalPages() int64
- func (o *ListEdgeFunctionResponse) GetTotalPagesOk() (*int64, bool)
- func (o *ListEdgeFunctionResponse) HasCount() bool
- func (o *ListEdgeFunctionResponse) HasLinks() bool
- func (o *ListEdgeFunctionResponse) HasResults() bool
- func (o *ListEdgeFunctionResponse) HasSchemaVersion() bool
- func (o *ListEdgeFunctionResponse) HasTotalPages() bool
- func (o ListEdgeFunctionResponse) MarshalJSON() ([]byte, error)
- func (o *ListEdgeFunctionResponse) SetCount(v int64)
- func (o *ListEdgeFunctionResponse) SetLinks(v Links)
- func (o *ListEdgeFunctionResponse) SetResults(v []Results)
- func (o *ListEdgeFunctionResponse) SetSchemaVersion(v int64)
- func (o *ListEdgeFunctionResponse) SetTotalPages(v int64)
- func (o ListEdgeFunctionResponse) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableBadRequestResponse
- func (v NullableBadRequestResponse) Get() *BadRequestResponse
- func (v NullableBadRequestResponse) IsSet() bool
- func (v NullableBadRequestResponse) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestResponse) Set(val *BadRequestResponse)
- func (v *NullableBadRequestResponse) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestResponse) Unset()
- type NullableBool
- type NullableCreateEdgeFunctionRequest
- func (v NullableCreateEdgeFunctionRequest) Get() *CreateEdgeFunctionRequest
- func (v NullableCreateEdgeFunctionRequest) IsSet() bool
- func (v NullableCreateEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCreateEdgeFunctionRequest) Set(val *CreateEdgeFunctionRequest)
- func (v *NullableCreateEdgeFunctionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCreateEdgeFunctionRequest) Unset()
- type NullableEdgeFunctionResponse
- func (v NullableEdgeFunctionResponse) Get() *EdgeFunctionResponse
- func (v NullableEdgeFunctionResponse) IsSet() bool
- func (v NullableEdgeFunctionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEdgeFunctionResponse) Set(val *EdgeFunctionResponse)
- func (v *NullableEdgeFunctionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEdgeFunctionResponse) Unset()
- type NullableErrorModel
- type NullableErrorResponse
- func (v NullableErrorResponse) Get() *ErrorResponse
- func (v NullableErrorResponse) IsSet() bool
- func (v NullableErrorResponse) MarshalJSON() ([]byte, error)
- func (v *NullableErrorResponse) Set(val *ErrorResponse)
- func (v *NullableErrorResponse) UnmarshalJSON(src []byte) error
- func (v *NullableErrorResponse) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLinks
- type NullableListEdgeFunctionResponse
- func (v NullableListEdgeFunctionResponse) Get() *ListEdgeFunctionResponse
- func (v NullableListEdgeFunctionResponse) IsSet() bool
- func (v NullableListEdgeFunctionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableListEdgeFunctionResponse) Set(val *ListEdgeFunctionResponse)
- func (v *NullableListEdgeFunctionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableListEdgeFunctionResponse) Unset()
- type NullablePatchEdgeFunctionRequest
- func (v NullablePatchEdgeFunctionRequest) Get() *PatchEdgeFunctionRequest
- func (v NullablePatchEdgeFunctionRequest) IsSet() bool
- func (v NullablePatchEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePatchEdgeFunctionRequest) Set(val *PatchEdgeFunctionRequest)
- func (v *NullablePatchEdgeFunctionRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePatchEdgeFunctionRequest) Unset()
- type NullablePutEdgeFunctionRequest
- func (v NullablePutEdgeFunctionRequest) Get() *PutEdgeFunctionRequest
- func (v NullablePutEdgeFunctionRequest) IsSet() bool
- func (v NullablePutEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePutEdgeFunctionRequest) Set(val *PutEdgeFunctionRequest)
- func (v *NullablePutEdgeFunctionRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePutEdgeFunctionRequest) Unset()
- type NullableResults
- type NullableString
- type NullableTime
- type PatchEdgeFunctionRequest
- func (o *PatchEdgeFunctionRequest) GetActive() bool
- func (o *PatchEdgeFunctionRequest) GetActiveOk() (*bool, bool)
- func (o *PatchEdgeFunctionRequest) GetCode() string
- func (o *PatchEdgeFunctionRequest) GetCodeOk() (*string, bool)
- func (o *PatchEdgeFunctionRequest) GetJsonArgs() interface{}
- func (o *PatchEdgeFunctionRequest) GetJsonArgsOk() (*interface{}, bool)
- func (o *PatchEdgeFunctionRequest) GetName() string
- func (o *PatchEdgeFunctionRequest) GetNameOk() (*string, bool)
- func (o *PatchEdgeFunctionRequest) HasActive() bool
- func (o *PatchEdgeFunctionRequest) HasCode() bool
- func (o *PatchEdgeFunctionRequest) HasJsonArgs() bool
- func (o *PatchEdgeFunctionRequest) HasName() bool
- func (o PatchEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (o *PatchEdgeFunctionRequest) SetActive(v bool)
- func (o *PatchEdgeFunctionRequest) SetCode(v string)
- func (o *PatchEdgeFunctionRequest) SetJsonArgs(v interface{})
- func (o *PatchEdgeFunctionRequest) SetName(v string)
- func (o PatchEdgeFunctionRequest) ToMap() (map[string]interface{}, error)
- type PutEdgeFunctionRequest
- func (o *PutEdgeFunctionRequest) GetActive() bool
- func (o *PutEdgeFunctionRequest) GetActiveOk() (*bool, bool)
- func (o *PutEdgeFunctionRequest) GetCode() string
- func (o *PutEdgeFunctionRequest) GetCodeOk() (*string, bool)
- func (o *PutEdgeFunctionRequest) GetInitiatorType() string
- func (o *PutEdgeFunctionRequest) GetInitiatorTypeOk() (*string, bool)
- func (o *PutEdgeFunctionRequest) GetJsonArgs() interface{}
- func (o *PutEdgeFunctionRequest) GetJsonArgsOk() (*interface{}, bool)
- func (o *PutEdgeFunctionRequest) GetLanguage() string
- func (o *PutEdgeFunctionRequest) GetLanguageOk() (*string, bool)
- func (o *PutEdgeFunctionRequest) GetName() string
- func (o *PutEdgeFunctionRequest) GetNameOk() (*string, bool)
- func (o *PutEdgeFunctionRequest) HasActive() bool
- func (o *PutEdgeFunctionRequest) HasCode() bool
- func (o *PutEdgeFunctionRequest) HasInitiatorType() bool
- func (o *PutEdgeFunctionRequest) HasJsonArgs() bool
- func (o *PutEdgeFunctionRequest) HasLanguage() bool
- func (o *PutEdgeFunctionRequest) HasName() bool
- func (o PutEdgeFunctionRequest) MarshalJSON() ([]byte, error)
- func (o *PutEdgeFunctionRequest) SetActive(v bool)
- func (o *PutEdgeFunctionRequest) SetCode(v string)
- func (o *PutEdgeFunctionRequest) SetInitiatorType(v string)
- func (o *PutEdgeFunctionRequest) SetJsonArgs(v interface{})
- func (o *PutEdgeFunctionRequest) SetLanguage(v string)
- func (o *PutEdgeFunctionRequest) SetName(v string)
- func (o PutEdgeFunctionRequest) ToMap() (map[string]interface{}, error)
- type Results
- func (o *Results) GetActive() bool
- func (o *Results) GetActiveOk() (*bool, bool)
- func (o *Results) GetCode() string
- func (o *Results) GetCodeOk() (*string, bool)
- func (o *Results) GetFunctionToRun() string
- func (o *Results) GetFunctionToRunOk() (*string, bool)
- func (o *Results) GetId() int64
- func (o *Results) GetIdOk() (*int64, bool)
- func (o *Results) GetInitiatorType() string
- func (o *Results) GetInitiatorTypeOk() (*string, bool)
- func (o *Results) GetJsonArgs() interface{}
- func (o *Results) GetJsonArgsOk() (*interface{}, bool)
- func (o *Results) GetLanguage() string
- func (o *Results) GetLanguageOk() (*string, bool)
- func (o *Results) GetLastEditor() string
- func (o *Results) GetLastEditorOk() (*string, bool)
- func (o *Results) GetModified() string
- func (o *Results) GetModifiedOk() (*string, bool)
- func (o *Results) GetName() string
- func (o *Results) GetNameOk() (*string, bool)
- func (o *Results) GetReferenceCount() int64
- func (o *Results) GetReferenceCountOk() (*int64, bool)
- func (o *Results) HasActive() bool
- func (o *Results) HasCode() bool
- func (o *Results) HasFunctionToRun() bool
- func (o *Results) HasId() bool
- func (o *Results) HasInitiatorType() bool
- func (o *Results) HasJsonArgs() bool
- func (o *Results) HasLanguage() bool
- func (o *Results) HasLastEditor() bool
- func (o *Results) HasModified() bool
- func (o *Results) HasName() bool
- func (o *Results) HasReferenceCount() bool
- func (o Results) MarshalJSON() ([]byte, error)
- func (o *Results) SetActive(v bool)
- func (o *Results) SetCode(v string)
- func (o *Results) SetFunctionToRun(v string)
- func (o *Results) SetId(v int64)
- func (o *Results) SetInitiatorType(v string)
- func (o *Results) SetJsonArgs(v interface{})
- func (o *Results) SetLanguage(v string)
- func (o *Results) SetLastEditor(v string)
- func (o *Results) SetModified(v string)
- func (o *Results) SetName(v string)
- func (o *Results) SetReferenceCount(v int64)
- func (o Results) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
Constants ¶
This section is empty.
Variables ¶
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 ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { EdgeFunctionsApi *EdgeFunctionsApiService // contains filtered or unexported fields }
APIClient manages communication with the Edge Function API v3.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 ¶
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 (r ApiEdgeFunctionsGetRequest) Execute() (*ListEdgeFunctionResponse, *http.Response, error)
func (ApiEdgeFunctionsGetRequest) OrderBy ¶
func (r ApiEdgeFunctionsGetRequest) OrderBy(orderBy string) ApiEdgeFunctionsGetRequest
func (ApiEdgeFunctionsGetRequest) Page ¶
func (r ApiEdgeFunctionsGetRequest) Page(page int64) ApiEdgeFunctionsGetRequest
func (ApiEdgeFunctionsGetRequest) PageSize ¶
func (r ApiEdgeFunctionsGetRequest) PageSize(pageSize int64) ApiEdgeFunctionsGetRequest
func (ApiEdgeFunctionsGetRequest) Sort ¶
func (r ApiEdgeFunctionsGetRequest) Sort(sort string) ApiEdgeFunctionsGetRequest
type ApiEdgeFunctionsIdDeleteRequest ¶
type ApiEdgeFunctionsIdDeleteRequest struct { ApiService *EdgeFunctionsApiService // contains filtered or unexported fields }
type ApiEdgeFunctionsIdGetRequest ¶
type ApiEdgeFunctionsIdGetRequest struct { ApiService *EdgeFunctionsApiService // contains filtered or unexported fields }
func (ApiEdgeFunctionsIdGetRequest) Execute ¶
func (r ApiEdgeFunctionsIdGetRequest) Execute() (*EdgeFunctionResponse, *http.Response, error)
type ApiEdgeFunctionsIdPatchRequest ¶
type ApiEdgeFunctionsIdPatchRequest struct { ApiService *EdgeFunctionsApiService // contains filtered or unexported fields }
func (ApiEdgeFunctionsIdPatchRequest) Execute ¶
func (r ApiEdgeFunctionsIdPatchRequest) Execute() (*EdgeFunctionResponse, *http.Response, error)
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 (r ApiEdgeFunctionsIdPutRequest) Execute() (*EdgeFunctionResponse, *http.Response, error)
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 ¶
func (r ApiEdgeFunctionsPostRequest) Execute() (*EdgeFunctionResponse, *http.Response, error)
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) ServerURLWithContext ¶
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"` }
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) 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) 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) 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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsGet(ctx context.Context) ApiEdgeFunctionsGetRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsGetExecute(r ApiEdgeFunctionsGetRequest) (*ListEdgeFunctionResponse, *http.Response, error)
Execute executes the request
@return ListEdgeFunctionResponse
func (*EdgeFunctionsApiService) EdgeFunctionsIdDelete ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdDelete(ctx context.Context, id int64) ApiEdgeFunctionsIdDeleteRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdGet(ctx context.Context, id int64) ApiEdgeFunctionsIdGetRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdGetExecute(r ApiEdgeFunctionsIdGetRequest) (*EdgeFunctionResponse, *http.Response, error)
Execute executes the request
@return EdgeFunctionResponse
func (*EdgeFunctionsApiService) EdgeFunctionsIdPatch ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdPatch(ctx context.Context, id int64) ApiEdgeFunctionsIdPatchRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdPatchExecute(r ApiEdgeFunctionsIdPatchRequest) (*EdgeFunctionResponse, *http.Response, error)
Execute executes the request
@return EdgeFunctionResponse
func (*EdgeFunctionsApiService) EdgeFunctionsIdPut ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdPut(ctx context.Context, id int64) ApiEdgeFunctionsIdPutRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsIdPutExecute(r ApiEdgeFunctionsIdPutRequest) (*EdgeFunctionResponse, *http.Response, error)
Execute executes the request
@return EdgeFunctionResponse
func (*EdgeFunctionsApiService) EdgeFunctionsPost ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsPost(ctx context.Context) ApiEdgeFunctionsPostRequest
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 ¶
func (a *EdgeFunctionsApiService) EdgeFunctionsPostExecute(r ApiEdgeFunctionsPostRequest) (*EdgeFunctionResponse, *http.Response, error)
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 ¶
type Links struct { Previous *string `json:"previous,omitempty"` Next *string `json:"next,omitempty"` }
Links struct for Links
func NewLinks ¶
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) GetNextOk ¶
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 ¶
GetPrevious returns the Previous field value if set, zero value otherwise.
func (*Links) GetPreviousOk ¶
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) HasPrevious ¶
HasPrevious returns a boolean if a field has been set.
func (Links) MarshalJSON ¶
func (*Links) SetNext ¶
SetNext gets a reference to the given string and assigns it to the Next field.
func (*Links) SetPrevious ¶
SetPrevious gets a reference to the given string and assigns it to the Previous field.
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 (*ListEdgeFunctionResponse) GetLinks ¶
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 (*ListEdgeFunctionResponse) HasLinks ¶
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 (*ListEdgeFunctionResponse) SetLinks ¶
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 NullableBadRequestResponse ¶
type NullableBadRequestResponse struct {
// contains filtered or unexported fields
}
func NewNullableBadRequestResponse ¶
func NewNullableBadRequestResponse(val *BadRequestResponse) *NullableBadRequestResponse
func (NullableBadRequestResponse) Get ¶
func (v NullableBadRequestResponse) Get() *BadRequestResponse
func (NullableBadRequestResponse) IsSet ¶
func (v NullableBadRequestResponse) IsSet() bool
func (NullableBadRequestResponse) MarshalJSON ¶
func (v NullableBadRequestResponse) MarshalJSON() ([]byte, error)
func (*NullableBadRequestResponse) Set ¶
func (v *NullableBadRequestResponse) Set(val *BadRequestResponse)
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 NewNullableCreateEdgeFunctionRequest ¶
func NewNullableCreateEdgeFunctionRequest(val *CreateEdgeFunctionRequest) *NullableCreateEdgeFunctionRequest
func (NullableCreateEdgeFunctionRequest) Get ¶
func (v NullableCreateEdgeFunctionRequest) Get() *CreateEdgeFunctionRequest
func (NullableCreateEdgeFunctionRequest) IsSet ¶
func (v NullableCreateEdgeFunctionRequest) IsSet() bool
func (NullableCreateEdgeFunctionRequest) MarshalJSON ¶
func (v NullableCreateEdgeFunctionRequest) MarshalJSON() ([]byte, error)
func (*NullableCreateEdgeFunctionRequest) Set ¶
func (v *NullableCreateEdgeFunctionRequest) Set(val *CreateEdgeFunctionRequest)
func (*NullableCreateEdgeFunctionRequest) UnmarshalJSON ¶
func (v *NullableCreateEdgeFunctionRequest) UnmarshalJSON(src []byte) error
func (*NullableCreateEdgeFunctionRequest) Unset ¶
func (v *NullableCreateEdgeFunctionRequest) Unset()
type NullableEdgeFunctionResponse ¶
type NullableEdgeFunctionResponse struct {
// contains filtered or unexported fields
}
func NewNullableEdgeFunctionResponse ¶
func NewNullableEdgeFunctionResponse(val *EdgeFunctionResponse) *NullableEdgeFunctionResponse
func (NullableEdgeFunctionResponse) Get ¶
func (v NullableEdgeFunctionResponse) Get() *EdgeFunctionResponse
func (NullableEdgeFunctionResponse) IsSet ¶
func (v NullableEdgeFunctionResponse) IsSet() bool
func (NullableEdgeFunctionResponse) MarshalJSON ¶
func (v NullableEdgeFunctionResponse) MarshalJSON() ([]byte, error)
func (*NullableEdgeFunctionResponse) Set ¶
func (v *NullableEdgeFunctionResponse) Set(val *EdgeFunctionResponse)
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 (v NullableErrorResponse) Get() *ErrorResponse
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 ¶
type NullableLinks struct {
// contains filtered or unexported fields
}
func NewNullableLinks ¶
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 NewNullableListEdgeFunctionResponse ¶
func NewNullableListEdgeFunctionResponse(val *ListEdgeFunctionResponse) *NullableListEdgeFunctionResponse
func (NullableListEdgeFunctionResponse) Get ¶
func (v NullableListEdgeFunctionResponse) Get() *ListEdgeFunctionResponse
func (NullableListEdgeFunctionResponse) IsSet ¶
func (v NullableListEdgeFunctionResponse) IsSet() bool
func (NullableListEdgeFunctionResponse) MarshalJSON ¶
func (v NullableListEdgeFunctionResponse) MarshalJSON() ([]byte, error)
func (*NullableListEdgeFunctionResponse) Set ¶
func (v *NullableListEdgeFunctionResponse) Set(val *ListEdgeFunctionResponse)
func (*NullableListEdgeFunctionResponse) UnmarshalJSON ¶
func (v *NullableListEdgeFunctionResponse) UnmarshalJSON(src []byte) error
func (*NullableListEdgeFunctionResponse) Unset ¶
func (v *NullableListEdgeFunctionResponse) Unset()
type NullablePatchEdgeFunctionRequest ¶
type NullablePatchEdgeFunctionRequest struct {
// contains filtered or unexported fields
}
func NewNullablePatchEdgeFunctionRequest ¶
func NewNullablePatchEdgeFunctionRequest(val *PatchEdgeFunctionRequest) *NullablePatchEdgeFunctionRequest
func (NullablePatchEdgeFunctionRequest) Get ¶
func (v NullablePatchEdgeFunctionRequest) Get() *PatchEdgeFunctionRequest
func (NullablePatchEdgeFunctionRequest) IsSet ¶
func (v NullablePatchEdgeFunctionRequest) IsSet() bool
func (NullablePatchEdgeFunctionRequest) MarshalJSON ¶
func (v NullablePatchEdgeFunctionRequest) MarshalJSON() ([]byte, error)
func (*NullablePatchEdgeFunctionRequest) Set ¶
func (v *NullablePatchEdgeFunctionRequest) Set(val *PatchEdgeFunctionRequest)
func (*NullablePatchEdgeFunctionRequest) UnmarshalJSON ¶
func (v *NullablePatchEdgeFunctionRequest) UnmarshalJSON(src []byte) error
func (*NullablePatchEdgeFunctionRequest) Unset ¶
func (v *NullablePatchEdgeFunctionRequest) Unset()
type NullablePutEdgeFunctionRequest ¶
type NullablePutEdgeFunctionRequest struct {
// contains filtered or unexported fields
}
func NewNullablePutEdgeFunctionRequest ¶
func NewNullablePutEdgeFunctionRequest(val *PutEdgeFunctionRequest) *NullablePutEdgeFunctionRequest
func (NullablePutEdgeFunctionRequest) Get ¶
func (v NullablePutEdgeFunctionRequest) Get() *PutEdgeFunctionRequest
func (NullablePutEdgeFunctionRequest) IsSet ¶
func (v NullablePutEdgeFunctionRequest) IsSet() bool
func (NullablePutEdgeFunctionRequest) MarshalJSON ¶
func (v NullablePutEdgeFunctionRequest) MarshalJSON() ([]byte, error)
func (*NullablePutEdgeFunctionRequest) Set ¶
func (v *NullablePutEdgeFunctionRequest) Set(val *PutEdgeFunctionRequest)
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"` }
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) 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) 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) 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"` }
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) 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) 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) 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"` }
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) GetActiveOk ¶
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) GetCodeOk ¶
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 ¶
GetFunctionToRun returns the FunctionToRun field value if set, zero value otherwise.
func (*Results) GetFunctionToRunOk ¶
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) GetIdOk ¶
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 ¶
GetInitiatorType returns the InitiatorType field value if set, zero value otherwise.
func (*Results) GetInitiatorTypeOk ¶
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) 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 ¶
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 ¶
GetLanguage returns the Language field value if set, zero value otherwise.
func (*Results) GetLanguageOk ¶
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 ¶
GetLastEditor returns the LastEditor field value if set, zero value otherwise.
func (*Results) GetLastEditorOk ¶
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 ¶
GetModified returns the Modified field value if set, zero value otherwise.
func (*Results) GetModifiedOk ¶
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) GetNameOk ¶
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 ¶
GetReferenceCount returns the ReferenceCount field value if set, zero value otherwise.
func (*Results) GetReferenceCountOk ¶
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) HasFunctionToRun ¶
HasFunctionToRun returns a boolean if a field has been set.
func (*Results) HasInitiatorType ¶
HasInitiatorType returns a boolean if a field has been set.
func (*Results) HasJsonArgs ¶
HasJsonArgs returns a boolean if a field has been set.
func (*Results) HasLanguage ¶
HasLanguage returns a boolean if a field has been set.
func (*Results) HasLastEditor ¶
HasLastEditor returns a boolean if a field has been set.
func (*Results) HasModified ¶
HasModified returns a boolean if a field has been set.
func (*Results) HasReferenceCount ¶
HasReferenceCount returns a boolean if a field has been set.
func (Results) MarshalJSON ¶
func (*Results) SetActive ¶
SetActive gets a reference to the given bool and assigns it to the Active field.
func (*Results) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Results) SetFunctionToRun ¶
SetFunctionToRun gets a reference to the given string and assigns it to the FunctionToRun field.
func (*Results) SetInitiatorType ¶
SetInitiatorType gets a reference to the given string and assigns it to the InitiatorType 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 ¶
SetLanguage gets a reference to the given string and assigns it to the Language field.
func (*Results) SetLastEditor ¶
SetLastEditor gets a reference to the given string and assigns it to the LastEditor field.
func (*Results) SetModified ¶
SetModified gets a reference to the given string and assigns it to the Modified field.
func (*Results) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Results) SetReferenceCount ¶
SetReferenceCount gets a reference to the given int64 and assigns it to the ReferenceCount field.
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
type ServerVariable ¶
ServerVariable stores the information about a server variable
Source Files ¶
- api_edge_functions.go
- client.go
- configuration.go
- model_bad_request_response.go
- model_create_edge_function_request.go
- model_edge_function_response.go
- model_error_model.go
- model_error_response.go
- model_links.go
- model_list_edge_function_response.go
- model_patch_edge_function_request.go
- model_put_edge_function_request.go
- model_results.go
- response.go
- utils.go