variablesapi

package
v0.302.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: MIT Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Go API client for variablesapi

REST API OpenAPI documentation for the Azion Variables

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: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.27.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Import the package in a go file in your project and run go mod tidy:

import variablesapi "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 variablesapi.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), variablesapi.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 variablesapi.ContextOperationServerIndices and variablesapi.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
VariablesAPI CreateVariable Post /variables Create a Variable
VariablesAPI DeleteVariable Delete /variables/{uuid} Delete a Variable
VariablesAPI ListVariables Get /variables List Variables
VariablesAPI PartialUpdateVariable Patch /variables/{uuid} Partially update a Variable
VariablesAPI RetrieveVariable Get /variables/{uuid} Retrieve details of a Variable
VariablesAPI UpdateVariable Put /variables/{uuid} Update a Variable
VariablesScopeGroupsAPI CreateScope Post /scope-groups/{group_slug}/scopes Create a Scope
VariablesScopeGroupsAPI CreateScopeVariables Post /scope-groups/{group_slug}/scopes/{scope_slug}/variables Create Scope Variables
VariablesScopeGroupsAPI ListScopeVariables Get /scope-groups/{group_slug}/scopes/{scope_slug}/variables List Scope Variables
VariablesScopeGroupsAPI UpdateScopeVariables Patch /scope-groups/{group_slug}/scopes/{scope_slug}/variables Update Scope Variables

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), variablesapi.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
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: TokenAuth and passed in as the auth context for each request.

Example

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

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

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	VariablesAPI *VariablesAPIService

	VariablesScopeGroupsAPI *VariablesScopeGroupsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Azion Variables API API v1.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 ApiCreateScopeRequest

type ApiCreateScopeRequest struct {
	ApiService *VariablesScopeGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateScopeRequest) Execute

func (r ApiCreateScopeRequest) Execute() (*Scope, *http.Response, error)

func (ApiCreateScopeRequest) ScopeRequest

func (r ApiCreateScopeRequest) ScopeRequest(scopeRequest ScopeRequest) ApiCreateScopeRequest

type ApiCreateScopeVariablesRequest

type ApiCreateScopeVariablesRequest struct {
	ApiService *VariablesScopeGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateScopeVariablesRequest) Execute

func (ApiCreateScopeVariablesRequest) Page

A page number within the paginated result set.

func (ApiCreateScopeVariablesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiCreateScopeVariablesRequest) VariableCreateRequest

func (r ApiCreateScopeVariablesRequest) VariableCreateRequest(variableCreateRequest VariableCreateRequest) ApiCreateScopeVariablesRequest

type ApiCreateVariableRequest

type ApiCreateVariableRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateVariableRequest) Execute

func (ApiCreateVariableRequest) VariableCreateRequest

func (r ApiCreateVariableRequest) VariableCreateRequest(variableCreateRequest VariableCreateRequest) ApiCreateVariableRequest

type ApiDeleteVariableRequest

type ApiDeleteVariableRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteVariableRequest) Execute

func (r ApiDeleteVariableRequest) Execute() (*http.Response, error)

type ApiListScopeVariablesRequest

type ApiListScopeVariablesRequest struct {
	ApiService *VariablesScopeGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiListScopeVariablesRequest) ClientId

ID from Client to get the variables

func (ApiListScopeVariablesRequest) Execute

func (ApiListScopeVariablesRequest) Page

A page number within the paginated result set.

func (ApiListScopeVariablesRequest) PageSize

A numeric value that indicates the number of items per page.

type ApiListVariablesRequest

type ApiListVariablesRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiListVariablesRequest) CreatedAtGte

func (r ApiListVariablesRequest) CreatedAtGte(createdAtGte time.Time) ApiListVariablesRequest

Filter by creation date (greater than or equal).

func (ApiListVariablesRequest) CreatedAtLte

func (r ApiListVariablesRequest) CreatedAtLte(createdAtLte time.Time) ApiListVariablesRequest

Filter by creation date (less than or equal).

func (ApiListVariablesRequest) Execute

func (ApiListVariablesRequest) Fields

Comma-separated list of field names to include in the response.

func (ApiListVariablesRequest) Key

Filter by key (case-insensitive, partial match).

func (ApiListVariablesRequest) LastEditor

func (r ApiListVariablesRequest) LastEditor(lastEditor string) ApiListVariablesRequest

Filter by last editor (case-insensitive, partial match).

func (ApiListVariablesRequest) Ordering

Which field to use when ordering the results. (Valid fields: key, created_at, updated_at, last_editor)

func (ApiListVariablesRequest) Page

A page number within the paginated result set.

func (ApiListVariablesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiListVariablesRequest) ResourceId

func (r ApiListVariablesRequest) ResourceId(resourceId string) ApiListVariablesRequest

Filter by scope resource id (the external id of the resource_type). Accepts comma-separated values, unless `resource_type` also holds several values.

func (ApiListVariablesRequest) ResourceType

func (r ApiListVariablesRequest) ResourceType(resourceType string) ApiListVariablesRequest

Filter by scope resource type (global, environment, deployment, application, firewall). Accepts comma-separated values. Combined with `resource_id`, both must match the same scope, and only one of the two may hold several values. Use `scope` to ask for several type and id pairs.

func (ApiListVariablesRequest) Scope

Filter by scope. Comma-separated selectors, each `global` or `<resource_type>:<resource_id>` (e.g. `global,environment:AJQ6CZJE`). Returns variables bound to any selector. Up to 50 selectors. Sending `scope` without any selector is rejected.

func (ApiListVariablesRequest) ScopeId

Deprecated alias for `resource_id`. Deprecated

func (ApiListVariablesRequest) ScopeType

Deprecated alias for `resource_type`. Deprecated

func (ApiListVariablesRequest) Search

A search term.

func (ApiListVariablesRequest) Secret

Filter by secret status (true for secret variables, false for non-secret variables).

func (ApiListVariablesRequest) UpdatedAtGte

func (r ApiListVariablesRequest) UpdatedAtGte(updatedAtGte time.Time) ApiListVariablesRequest

Filter by updated date (greater than or equal).

func (ApiListVariablesRequest) UpdatedAtLte

func (r ApiListVariablesRequest) UpdatedAtLte(updatedAtLte time.Time) ApiListVariablesRequest

Filter by updated date (less than or equal).

func (ApiListVariablesRequest) Uuid

Filter by uuid (accepts comma-separated values).

type ApiPartialUpdateVariableRequest

type ApiPartialUpdateVariableRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiPartialUpdateVariableRequest) Execute

func (ApiPartialUpdateVariableRequest) PatchedVariableCreateRequest

func (r ApiPartialUpdateVariableRequest) PatchedVariableCreateRequest(patchedVariableCreateRequest PatchedVariableCreateRequest) ApiPartialUpdateVariableRequest

type ApiRetrieveVariableRequest

type ApiRetrieveVariableRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiRetrieveVariableRequest) Execute

func (ApiRetrieveVariableRequest) Fields

Comma-separated list of field names to include in the response.

type ApiUpdateScopeVariablesRequest

type ApiUpdateScopeVariablesRequest struct {
	ApiService *VariablesScopeGroupsAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateScopeVariablesRequest) Execute

func (ApiUpdateScopeVariablesRequest) Page

A page number within the paginated result set.

func (ApiUpdateScopeVariablesRequest) PageSize

A numeric value that indicates the number of items per page.

func (ApiUpdateScopeVariablesRequest) PatchedVariableBatchUpdateRequest

func (r ApiUpdateScopeVariablesRequest) PatchedVariableBatchUpdateRequest(patchedVariableBatchUpdateRequest PatchedVariableBatchUpdateRequest) ApiUpdateScopeVariablesRequest

type ApiUpdateVariableRequest

type ApiUpdateVariableRequest struct {
	ApiService *VariablesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateVariableRequest) Execute

func (ApiUpdateVariableRequest) VariableCreateRequest

func (r ApiUpdateVariableRequest) VariableCreateRequest(variableCreateRequest VariableCreateRequest) ApiUpdateVariableRequest

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 ErrorResponse

type ErrorResponse struct {
	// Array of error objects
	Errors []JSONAPIErrorObject `json:"errors"`
}

ErrorResponse Serializer for a JSON:API error response.

func NewErrorResponse

func NewErrorResponse(errors []JSONAPIErrorObject) *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) GetErrors

func (o *ErrorResponse) GetErrors() []JSONAPIErrorObject

GetErrors returns the Errors field value

func (*ErrorResponse) GetErrorsOk

func (o *ErrorResponse) GetErrorsOk() ([]JSONAPIErrorObject, bool)

GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetErrors

func (o *ErrorResponse) SetErrors(v []JSONAPIErrorObject)

SetErrors sets field value

func (ErrorResponse) ToMap

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

func (*ErrorResponse) UnmarshalJSON

func (o *ErrorResponse) UnmarshalJSON(data []byte) (err 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 JSONAPIErrorObject

type JSONAPIErrorObject struct {
	// The HTTP status code applicable to this problem
	Status *string `json:"status,omitempty"`
	// An application-specific error code
	Code *string `json:"code,omitempty"`
	// A short, human-readable summary of the problem
	Title *string `json:"title,omitempty"`
	// A human-readable explanation specific to this occurrence of the problem
	Detail *string `json:"detail,omitempty"`
	// References to the primary source of the error
	Source *JSONAPIErrorSource `json:"source,omitempty"`
	// Non-standard meta-information about the error
	Meta map[string]interface{} `json:"meta,omitempty"`
}

JSONAPIErrorObject Serializer for a single JSON:API error object.

func NewJSONAPIErrorObject

func NewJSONAPIErrorObject() *JSONAPIErrorObject

NewJSONAPIErrorObject instantiates a new JSONAPIErrorObject 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 NewJSONAPIErrorObjectWithDefaults

func NewJSONAPIErrorObjectWithDefaults() *JSONAPIErrorObject

NewJSONAPIErrorObjectWithDefaults instantiates a new JSONAPIErrorObject 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 (*JSONAPIErrorObject) GetCode

func (o *JSONAPIErrorObject) GetCode() string

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

func (*JSONAPIErrorObject) GetCodeOk

func (o *JSONAPIErrorObject) 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 (*JSONAPIErrorObject) GetDetail

func (o *JSONAPIErrorObject) GetDetail() string

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

func (*JSONAPIErrorObject) GetDetailOk

func (o *JSONAPIErrorObject) 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 (*JSONAPIErrorObject) GetMeta

func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}

GetMeta returns the Meta field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetMetaOk

func (o *JSONAPIErrorObject) GetMetaOk() (map[string]interface{}, bool)

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

func (*JSONAPIErrorObject) GetSource

func (o *JSONAPIErrorObject) GetSource() JSONAPIErrorSource

GetSource returns the Source field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetSourceOk

func (o *JSONAPIErrorObject) GetSourceOk() (*JSONAPIErrorSource, bool)

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

func (*JSONAPIErrorObject) GetStatus

func (o *JSONAPIErrorObject) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetStatusOk

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

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

func (*JSONAPIErrorObject) GetTitle

func (o *JSONAPIErrorObject) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*JSONAPIErrorObject) GetTitleOk

func (o *JSONAPIErrorObject) GetTitleOk() (*string, bool)

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

func (*JSONAPIErrorObject) HasCode

func (o *JSONAPIErrorObject) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasDetail

func (o *JSONAPIErrorObject) HasDetail() bool

HasDetail returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasMeta

func (o *JSONAPIErrorObject) HasMeta() bool

HasMeta returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasSource

func (o *JSONAPIErrorObject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasStatus

func (o *JSONAPIErrorObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*JSONAPIErrorObject) HasTitle

func (o *JSONAPIErrorObject) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (JSONAPIErrorObject) MarshalJSON

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

func (*JSONAPIErrorObject) SetCode

func (o *JSONAPIErrorObject) SetCode(v string)

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

func (*JSONAPIErrorObject) SetDetail

func (o *JSONAPIErrorObject) SetDetail(v string)

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

func (*JSONAPIErrorObject) SetMeta

func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})

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

func (*JSONAPIErrorObject) SetSource

func (o *JSONAPIErrorObject) SetSource(v JSONAPIErrorSource)

SetSource gets a reference to the given JSONAPIErrorSource and assigns it to the Source field.

func (*JSONAPIErrorObject) SetStatus

func (o *JSONAPIErrorObject) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*JSONAPIErrorObject) SetTitle

func (o *JSONAPIErrorObject) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (JSONAPIErrorObject) ToMap

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

type JSONAPIErrorSource

type JSONAPIErrorSource struct {
	// JSON Pointer to the value in the request document that caused the error
	Pointer *string `json:"pointer,omitempty"`
	// URI query parameter that caused the error
	Parameter *string `json:"parameter,omitempty"`
	// Request header name that caused the error
	Header *string `json:"header,omitempty"`
}

JSONAPIErrorSource Serializer for the 'source' object in a JSON:API error.

func NewJSONAPIErrorSource

func NewJSONAPIErrorSource() *JSONAPIErrorSource

NewJSONAPIErrorSource instantiates a new JSONAPIErrorSource 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 NewJSONAPIErrorSourceWithDefaults

func NewJSONAPIErrorSourceWithDefaults() *JSONAPIErrorSource

NewJSONAPIErrorSourceWithDefaults instantiates a new JSONAPIErrorSource 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 (*JSONAPIErrorSource) GetHeader

func (o *JSONAPIErrorSource) GetHeader() string

GetHeader returns the Header field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetHeaderOk

func (o *JSONAPIErrorSource) GetHeaderOk() (*string, bool)

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

func (*JSONAPIErrorSource) GetParameter

func (o *JSONAPIErrorSource) GetParameter() string

GetParameter returns the Parameter field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetParameterOk

func (o *JSONAPIErrorSource) GetParameterOk() (*string, bool)

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

func (*JSONAPIErrorSource) GetPointer

func (o *JSONAPIErrorSource) GetPointer() string

GetPointer returns the Pointer field value if set, zero value otherwise.

func (*JSONAPIErrorSource) GetPointerOk

func (o *JSONAPIErrorSource) GetPointerOk() (*string, bool)

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

func (*JSONAPIErrorSource) HasHeader

func (o *JSONAPIErrorSource) HasHeader() bool

HasHeader returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasParameter

func (o *JSONAPIErrorSource) HasParameter() bool

HasParameter returns a boolean if a field has been set.

func (*JSONAPIErrorSource) HasPointer

func (o *JSONAPIErrorSource) HasPointer() bool

HasPointer returns a boolean if a field has been set.

func (JSONAPIErrorSource) MarshalJSON

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

func (*JSONAPIErrorSource) SetHeader

func (o *JSONAPIErrorSource) SetHeader(v string)

SetHeader gets a reference to the given string and assigns it to the Header field.

func (*JSONAPIErrorSource) SetParameter

func (o *JSONAPIErrorSource) SetParameter(v string)

SetParameter gets a reference to the given string and assigns it to the Parameter field.

func (*JSONAPIErrorSource) SetPointer

func (o *JSONAPIErrorSource) SetPointer(v string)

SetPointer gets a reference to the given string and assigns it to the Pointer field.

func (JSONAPIErrorSource) ToMap

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

type MappedNullable

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

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type 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 NullableJSONAPIErrorObject

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

func NewNullableJSONAPIErrorObject

func NewNullableJSONAPIErrorObject(val *JSONAPIErrorObject) *NullableJSONAPIErrorObject

func (NullableJSONAPIErrorObject) Get

func (NullableJSONAPIErrorObject) IsSet

func (v NullableJSONAPIErrorObject) IsSet() bool

func (NullableJSONAPIErrorObject) MarshalJSON

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

func (*NullableJSONAPIErrorObject) Set

func (*NullableJSONAPIErrorObject) UnmarshalJSON

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

func (*NullableJSONAPIErrorObject) Unset

func (v *NullableJSONAPIErrorObject) Unset()

type NullableJSONAPIErrorSource

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

func NewNullableJSONAPIErrorSource

func NewNullableJSONAPIErrorSource(val *JSONAPIErrorSource) *NullableJSONAPIErrorSource

func (NullableJSONAPIErrorSource) Get

func (NullableJSONAPIErrorSource) IsSet

func (v NullableJSONAPIErrorSource) IsSet() bool

func (NullableJSONAPIErrorSource) MarshalJSON

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

func (*NullableJSONAPIErrorSource) Set

func (*NullableJSONAPIErrorSource) UnmarshalJSON

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

func (*NullableJSONAPIErrorSource) Unset

func (v *NullableJSONAPIErrorSource) Unset()

type NullablePaginatedVariableGetList

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

func (NullablePaginatedVariableGetList) Get

func (NullablePaginatedVariableGetList) IsSet

func (NullablePaginatedVariableGetList) MarshalJSON

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

func (*NullablePaginatedVariableGetList) Set

func (*NullablePaginatedVariableGetList) UnmarshalJSON

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

func (*NullablePaginatedVariableGetList) Unset

type NullablePatchedVariableBatchUpdateRequest

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

func (NullablePatchedVariableBatchUpdateRequest) Get

func (NullablePatchedVariableBatchUpdateRequest) IsSet

func (NullablePatchedVariableBatchUpdateRequest) MarshalJSON

func (*NullablePatchedVariableBatchUpdateRequest) Set

func (*NullablePatchedVariableBatchUpdateRequest) UnmarshalJSON

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

func (*NullablePatchedVariableBatchUpdateRequest) Unset

type NullablePatchedVariableCreateRequest

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

func (NullablePatchedVariableCreateRequest) Get

func (NullablePatchedVariableCreateRequest) IsSet

func (NullablePatchedVariableCreateRequest) MarshalJSON

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

func (*NullablePatchedVariableCreateRequest) Set

func (*NullablePatchedVariableCreateRequest) UnmarshalJSON

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

func (*NullablePatchedVariableCreateRequest) Unset

type NullableScope

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

func NewNullableScope

func NewNullableScope(val *Scope) *NullableScope

func (NullableScope) Get

func (v NullableScope) Get() *Scope

func (NullableScope) IsSet

func (v NullableScope) IsSet() bool

func (NullableScope) MarshalJSON

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

func (*NullableScope) Set

func (v *NullableScope) Set(val *Scope)

func (*NullableScope) UnmarshalJSON

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

func (*NullableScope) Unset

func (v *NullableScope) Unset()

type NullableScopeRequest

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

func NewNullableScopeRequest

func NewNullableScopeRequest(val *ScopeRequest) *NullableScopeRequest

func (NullableScopeRequest) Get

func (NullableScopeRequest) IsSet

func (v NullableScopeRequest) IsSet() bool

func (NullableScopeRequest) MarshalJSON

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

func (*NullableScopeRequest) Set

func (v *NullableScopeRequest) Set(val *ScopeRequest)

func (*NullableScopeRequest) UnmarshalJSON

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

func (*NullableScopeRequest) Unset

func (v *NullableScopeRequest) 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 NullableVariableCreateRequest

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

func (NullableVariableCreateRequest) Get

func (NullableVariableCreateRequest) IsSet

func (NullableVariableCreateRequest) MarshalJSON

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

func (*NullableVariableCreateRequest) Set

func (*NullableVariableCreateRequest) UnmarshalJSON

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

func (*NullableVariableCreateRequest) Unset

func (v *NullableVariableCreateRequest) Unset()

type NullableVariableGet

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

func NewNullableVariableGet

func NewNullableVariableGet(val *VariableGet) *NullableVariableGet

func (NullableVariableGet) Get

func (NullableVariableGet) IsSet

func (v NullableVariableGet) IsSet() bool

func (NullableVariableGet) MarshalJSON

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

func (*NullableVariableGet) Set

func (v *NullableVariableGet) Set(val *VariableGet)

func (*NullableVariableGet) UnmarshalJSON

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

func (*NullableVariableGet) Unset

func (v *NullableVariableGet) Unset()

type PaginatedVariableGetList

type PaginatedVariableGetList struct {
	// Total number of items
	Count *int64 `json:"count,omitempty"`
	// Total number of pages
	TotalPages *int64 `json:"total_pages,omitempty"`
	// Current page number
	Page *int64 `json:"page,omitempty"`
	// Number of items per page
	PageSize *int64 `json:"page_size,omitempty"`
	// URL to the next page of results
	Next NullableString `json:"next,omitempty"`
	// URL to the previous page of results
	Previous NullableString `json:"previous,omitempty"`
	Results  []VariableGet  `json:"results,omitempty"`
}

PaginatedVariableGetList struct for PaginatedVariableGetList

func NewPaginatedVariableGetList

func NewPaginatedVariableGetList() *PaginatedVariableGetList

NewPaginatedVariableGetList instantiates a new PaginatedVariableGetList 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 NewPaginatedVariableGetListWithDefaults

func NewPaginatedVariableGetListWithDefaults() *PaginatedVariableGetList

NewPaginatedVariableGetListWithDefaults instantiates a new PaginatedVariableGetList 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 (*PaginatedVariableGetList) GetCount

func (o *PaginatedVariableGetList) GetCount() int64

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

func (*PaginatedVariableGetList) GetCountOk

func (o *PaginatedVariableGetList) 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 (*PaginatedVariableGetList) GetNext

func (o *PaginatedVariableGetList) GetNext() string

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

func (*PaginatedVariableGetList) GetNextOk

func (o *PaginatedVariableGetList) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedVariableGetList) GetPage

func (o *PaginatedVariableGetList) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*PaginatedVariableGetList) GetPageOk

func (o *PaginatedVariableGetList) GetPageOk() (*int64, bool)

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

func (*PaginatedVariableGetList) GetPageSize

func (o *PaginatedVariableGetList) GetPageSize() int64

GetPageSize returns the PageSize field value if set, zero value otherwise.

func (*PaginatedVariableGetList) GetPageSizeOk

func (o *PaginatedVariableGetList) GetPageSizeOk() (*int64, bool)

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

func (*PaginatedVariableGetList) GetPrevious

func (o *PaginatedVariableGetList) GetPrevious() string

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

func (*PaginatedVariableGetList) GetPreviousOk

func (o *PaginatedVariableGetList) 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. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*PaginatedVariableGetList) GetResults

func (o *PaginatedVariableGetList) GetResults() []VariableGet

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

func (*PaginatedVariableGetList) GetResultsOk

func (o *PaginatedVariableGetList) GetResultsOk() ([]VariableGet, 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 (*PaginatedVariableGetList) GetTotalPages

func (o *PaginatedVariableGetList) GetTotalPages() int64

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

func (*PaginatedVariableGetList) GetTotalPagesOk

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

func (o *PaginatedVariableGetList) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasNext

func (o *PaginatedVariableGetList) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasPage

func (o *PaginatedVariableGetList) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasPageSize

func (o *PaginatedVariableGetList) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasPrevious

func (o *PaginatedVariableGetList) HasPrevious() bool

HasPrevious returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasResults

func (o *PaginatedVariableGetList) HasResults() bool

HasResults returns a boolean if a field has been set.

func (*PaginatedVariableGetList) HasTotalPages

func (o *PaginatedVariableGetList) HasTotalPages() bool

HasTotalPages returns a boolean if a field has been set.

func (PaginatedVariableGetList) MarshalJSON

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

func (*PaginatedVariableGetList) SetCount

func (o *PaginatedVariableGetList) SetCount(v int64)

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

func (*PaginatedVariableGetList) SetNext

func (o *PaginatedVariableGetList) SetNext(v string)

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

func (*PaginatedVariableGetList) SetNextNil

func (o *PaginatedVariableGetList) SetNextNil()

SetNextNil sets the value for Next to be an explicit nil

func (*PaginatedVariableGetList) SetPage

func (o *PaginatedVariableGetList) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*PaginatedVariableGetList) SetPageSize

func (o *PaginatedVariableGetList) SetPageSize(v int64)

SetPageSize gets a reference to the given int64 and assigns it to the PageSize field.

func (*PaginatedVariableGetList) SetPrevious

func (o *PaginatedVariableGetList) SetPrevious(v string)

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

func (*PaginatedVariableGetList) SetPreviousNil

func (o *PaginatedVariableGetList) SetPreviousNil()

SetPreviousNil sets the value for Previous to be an explicit nil

func (*PaginatedVariableGetList) SetResults

func (o *PaginatedVariableGetList) SetResults(v []VariableGet)

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

func (*PaginatedVariableGetList) SetTotalPages

func (o *PaginatedVariableGetList) SetTotalPages(v int64)

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

func (PaginatedVariableGetList) ToMap

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

func (*PaginatedVariableGetList) UnsetNext

func (o *PaginatedVariableGetList) UnsetNext()

UnsetNext ensures that no value is present for Next, not even an explicit nil

func (*PaginatedVariableGetList) UnsetPrevious

func (o *PaginatedVariableGetList) UnsetPrevious()

UnsetPrevious ensures that no value is present for Previous, not even an explicit nil

type PatchedVariableBatchUpdateRequest

type PatchedVariableBatchUpdateRequest struct {
	Uuid   *string      `json:"uuid,omitempty"`
	Key    *string      `json:"key,omitempty"`
	Value  *string      `json:"value,omitempty"`
	Secret NullableBool `json:"secret,omitempty"`
}

PatchedVariableBatchUpdateRequest struct for PatchedVariableBatchUpdateRequest

func NewPatchedVariableBatchUpdateRequest

func NewPatchedVariableBatchUpdateRequest() *PatchedVariableBatchUpdateRequest

NewPatchedVariableBatchUpdateRequest instantiates a new PatchedVariableBatchUpdateRequest 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 NewPatchedVariableBatchUpdateRequestWithDefaults

func NewPatchedVariableBatchUpdateRequestWithDefaults() *PatchedVariableBatchUpdateRequest

NewPatchedVariableBatchUpdateRequestWithDefaults instantiates a new PatchedVariableBatchUpdateRequest 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 (*PatchedVariableBatchUpdateRequest) GetKey

GetKey returns the Key field value if set, zero value otherwise.

func (*PatchedVariableBatchUpdateRequest) GetKeyOk

func (o *PatchedVariableBatchUpdateRequest) GetKeyOk() (*string, bool)

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

func (*PatchedVariableBatchUpdateRequest) GetSecret

func (o *PatchedVariableBatchUpdateRequest) GetSecret() bool

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

func (*PatchedVariableBatchUpdateRequest) GetSecretOk

func (o *PatchedVariableBatchUpdateRequest) GetSecretOk() (*bool, bool)

GetSecretOk returns a tuple with the Secret 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 (*PatchedVariableBatchUpdateRequest) GetUuid

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*PatchedVariableBatchUpdateRequest) GetUuidOk

func (o *PatchedVariableBatchUpdateRequest) GetUuidOk() (*string, bool)

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

func (*PatchedVariableBatchUpdateRequest) GetValue

GetValue returns the Value field value if set, zero value otherwise.

func (*PatchedVariableBatchUpdateRequest) GetValueOk

func (o *PatchedVariableBatchUpdateRequest) GetValueOk() (*string, bool)

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

func (*PatchedVariableBatchUpdateRequest) HasKey

HasKey returns a boolean if a field has been set.

func (*PatchedVariableBatchUpdateRequest) HasSecret

func (o *PatchedVariableBatchUpdateRequest) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*PatchedVariableBatchUpdateRequest) HasUuid

HasUuid returns a boolean if a field has been set.

func (*PatchedVariableBatchUpdateRequest) HasValue

HasValue returns a boolean if a field has been set.

func (PatchedVariableBatchUpdateRequest) MarshalJSON

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

func (*PatchedVariableBatchUpdateRequest) SetKey

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PatchedVariableBatchUpdateRequest) SetSecret

func (o *PatchedVariableBatchUpdateRequest) SetSecret(v bool)

SetSecret gets a reference to the given NullableBool and assigns it to the Secret field.

func (*PatchedVariableBatchUpdateRequest) SetSecretNil

func (o *PatchedVariableBatchUpdateRequest) SetSecretNil()

SetSecretNil sets the value for Secret to be an explicit nil

func (*PatchedVariableBatchUpdateRequest) SetUuid

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*PatchedVariableBatchUpdateRequest) SetValue

SetValue gets a reference to the given string and assigns it to the Value field.

func (PatchedVariableBatchUpdateRequest) ToMap

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

func (*PatchedVariableBatchUpdateRequest) UnsetSecret

func (o *PatchedVariableBatchUpdateRequest) UnsetSecret()

UnsetSecret ensures that no value is present for Secret, not even an explicit nil

type PatchedVariableCreateRequest

type PatchedVariableCreateRequest struct {
	Key    *string      `json:"key,omitempty"`
	Value  *string      `json:"value,omitempty"`
	Secret NullableBool `json:"secret,omitempty"`
}

PatchedVariableCreateRequest struct for PatchedVariableCreateRequest

func NewPatchedVariableCreateRequest

func NewPatchedVariableCreateRequest() *PatchedVariableCreateRequest

NewPatchedVariableCreateRequest instantiates a new PatchedVariableCreateRequest 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 NewPatchedVariableCreateRequestWithDefaults

func NewPatchedVariableCreateRequestWithDefaults() *PatchedVariableCreateRequest

NewPatchedVariableCreateRequestWithDefaults instantiates a new PatchedVariableCreateRequest 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 (*PatchedVariableCreateRequest) GetKey

GetKey returns the Key field value if set, zero value otherwise.

func (*PatchedVariableCreateRequest) GetKeyOk

func (o *PatchedVariableCreateRequest) GetKeyOk() (*string, bool)

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

func (*PatchedVariableCreateRequest) GetSecret

func (o *PatchedVariableCreateRequest) GetSecret() bool

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

func (*PatchedVariableCreateRequest) GetSecretOk

func (o *PatchedVariableCreateRequest) GetSecretOk() (*bool, bool)

GetSecretOk returns a tuple with the Secret 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 (*PatchedVariableCreateRequest) GetValue

func (o *PatchedVariableCreateRequest) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*PatchedVariableCreateRequest) GetValueOk

func (o *PatchedVariableCreateRequest) GetValueOk() (*string, bool)

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

func (*PatchedVariableCreateRequest) HasKey

func (o *PatchedVariableCreateRequest) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*PatchedVariableCreateRequest) HasSecret

func (o *PatchedVariableCreateRequest) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*PatchedVariableCreateRequest) HasValue

func (o *PatchedVariableCreateRequest) HasValue() bool

HasValue returns a boolean if a field has been set.

func (PatchedVariableCreateRequest) MarshalJSON

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

func (*PatchedVariableCreateRequest) SetKey

func (o *PatchedVariableCreateRequest) SetKey(v string)

SetKey gets a reference to the given string and assigns it to the Key field.

func (*PatchedVariableCreateRequest) SetSecret

func (o *PatchedVariableCreateRequest) SetSecret(v bool)

SetSecret gets a reference to the given NullableBool and assigns it to the Secret field.

func (*PatchedVariableCreateRequest) SetSecretNil

func (o *PatchedVariableCreateRequest) SetSecretNil()

SetSecretNil sets the value for Secret to be an explicit nil

func (*PatchedVariableCreateRequest) SetValue

func (o *PatchedVariableCreateRequest) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (PatchedVariableCreateRequest) ToMap

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

func (*PatchedVariableCreateRequest) UnsetSecret

func (o *PatchedVariableCreateRequest) UnsetSecret()

UnsetSecret ensures that no value is present for Secret, not even an explicit nil

type Scope

type Scope struct {
	Slug      string     `json:"slug"`
	Name      string     `json:"name"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

Scope struct for Scope

func NewScope

func NewScope(slug string, name string) *Scope

NewScope instantiates a new Scope 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 NewScopeWithDefaults

func NewScopeWithDefaults() *Scope

NewScopeWithDefaults instantiates a new Scope 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 (*Scope) GetCreatedAt

func (o *Scope) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Scope) GetCreatedAtOk

func (o *Scope) GetCreatedAtOk() (*time.Time, bool)

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

func (*Scope) GetName

func (o *Scope) GetName() string

GetName returns the Name field value

func (*Scope) GetNameOk

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

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

func (*Scope) GetSlug

func (o *Scope) GetSlug() string

GetSlug returns the Slug field value

func (*Scope) GetSlugOk

func (o *Scope) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.

func (*Scope) HasCreatedAt

func (o *Scope) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (Scope) MarshalJSON

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

func (*Scope) SetCreatedAt

func (o *Scope) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*Scope) SetName

func (o *Scope) SetName(v string)

SetName sets field value

func (*Scope) SetSlug

func (o *Scope) SetSlug(v string)

SetSlug sets field value

func (Scope) ToMap

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

func (*Scope) UnmarshalJSON

func (o *Scope) UnmarshalJSON(data []byte) (err error)

type ScopeRequest

type ScopeRequest struct {
	Slug      string     `json:"slug"`
	Name      string     `json:"name"`
	CreatedAt *time.Time `json:"created_at,omitempty"`
}

ScopeRequest struct for ScopeRequest

func NewScopeRequest

func NewScopeRequest(slug string, name string) *ScopeRequest

NewScopeRequest instantiates a new ScopeRequest 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 NewScopeRequestWithDefaults

func NewScopeRequestWithDefaults() *ScopeRequest

NewScopeRequestWithDefaults instantiates a new ScopeRequest 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 (*ScopeRequest) GetCreatedAt

func (o *ScopeRequest) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*ScopeRequest) GetCreatedAtOk

func (o *ScopeRequest) GetCreatedAtOk() (*time.Time, bool)

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

func (*ScopeRequest) GetName

func (o *ScopeRequest) GetName() string

GetName returns the Name field value

func (*ScopeRequest) GetNameOk

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

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

func (*ScopeRequest) GetSlug

func (o *ScopeRequest) GetSlug() string

GetSlug returns the Slug field value

func (*ScopeRequest) GetSlugOk

func (o *ScopeRequest) GetSlugOk() (*string, bool)

GetSlugOk returns a tuple with the Slug field value and a boolean to check if the value has been set.

func (*ScopeRequest) HasCreatedAt

func (o *ScopeRequest) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (ScopeRequest) MarshalJSON

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

func (*ScopeRequest) SetCreatedAt

func (o *ScopeRequest) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*ScopeRequest) SetName

func (o *ScopeRequest) SetName(v string)

SetName sets field value

func (*ScopeRequest) SetSlug

func (o *ScopeRequest) SetSlug(v string)

SetSlug sets field value

func (ScopeRequest) ToMap

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

func (*ScopeRequest) UnmarshalJSON

func (o *ScopeRequest) UnmarshalJSON(data []byte) (err 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

type VariableCreateRequest

type VariableCreateRequest struct {
	Key    string       `json:"key"`
	Value  *string      `json:"value,omitempty"`
	Secret NullableBool `json:"secret,omitempty"`
}

VariableCreateRequest struct for VariableCreateRequest

func NewVariableCreateRequest

func NewVariableCreateRequest(key string) *VariableCreateRequest

NewVariableCreateRequest instantiates a new VariableCreateRequest 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 NewVariableCreateRequestWithDefaults

func NewVariableCreateRequestWithDefaults() *VariableCreateRequest

NewVariableCreateRequestWithDefaults instantiates a new VariableCreateRequest 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 (*VariableCreateRequest) GetKey

func (o *VariableCreateRequest) GetKey() string

GetKey returns the Key field value

func (*VariableCreateRequest) GetKeyOk

func (o *VariableCreateRequest) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.

func (*VariableCreateRequest) GetSecret

func (o *VariableCreateRequest) GetSecret() bool

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

func (*VariableCreateRequest) GetSecretOk

func (o *VariableCreateRequest) GetSecretOk() (*bool, bool)

GetSecretOk returns a tuple with the Secret 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 (*VariableCreateRequest) GetValue

func (o *VariableCreateRequest) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*VariableCreateRequest) GetValueOk

func (o *VariableCreateRequest) GetValueOk() (*string, bool)

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

func (*VariableCreateRequest) HasSecret

func (o *VariableCreateRequest) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*VariableCreateRequest) HasValue

func (o *VariableCreateRequest) HasValue() bool

HasValue returns a boolean if a field has been set.

func (VariableCreateRequest) MarshalJSON

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

func (*VariableCreateRequest) SetKey

func (o *VariableCreateRequest) SetKey(v string)

SetKey sets field value

func (*VariableCreateRequest) SetSecret

func (o *VariableCreateRequest) SetSecret(v bool)

SetSecret gets a reference to the given NullableBool and assigns it to the Secret field.

func (*VariableCreateRequest) SetSecretNil

func (o *VariableCreateRequest) SetSecretNil()

SetSecretNil sets the value for Secret to be an explicit nil

func (*VariableCreateRequest) SetValue

func (o *VariableCreateRequest) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (VariableCreateRequest) ToMap

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

func (*VariableCreateRequest) UnmarshalJSON

func (o *VariableCreateRequest) UnmarshalJSON(data []byte) (err error)

func (*VariableCreateRequest) UnsetSecret

func (o *VariableCreateRequest) UnsetSecret()

UnsetSecret ensures that no value is present for Secret, not even an explicit nil

type VariableGet

type VariableGet struct {
	Uuid       *string        `json:"uuid,omitempty"`
	Key        NullableString `json:"key,omitempty"`
	Value      NullableString `json:"value,omitempty"`
	Secret     NullableBool   `json:"secret,omitempty"`
	LastEditor *string        `json:"last_editor,omitempty"`
	CreatedAt  time.Time      `json:"created_at"`
	UpdatedAt  time.Time      `json:"updated_at"`
}

VariableGet struct for VariableGet

func NewVariableGet

func NewVariableGet(createdAt time.Time, updatedAt time.Time) *VariableGet

NewVariableGet instantiates a new VariableGet 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 NewVariableGetWithDefaults

func NewVariableGetWithDefaults() *VariableGet

NewVariableGetWithDefaults instantiates a new VariableGet 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 (*VariableGet) GetCreatedAt

func (o *VariableGet) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value

func (*VariableGet) GetCreatedAtOk

func (o *VariableGet) GetCreatedAtOk() (*time.Time, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.

func (*VariableGet) GetKey

func (o *VariableGet) GetKey() string

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

func (*VariableGet) GetKeyOk

func (o *VariableGet) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key 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 (*VariableGet) GetLastEditor

func (o *VariableGet) GetLastEditor() string

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

func (*VariableGet) GetLastEditorOk

func (o *VariableGet) 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 (*VariableGet) GetSecret

func (o *VariableGet) GetSecret() bool

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

func (*VariableGet) GetSecretOk

func (o *VariableGet) GetSecretOk() (*bool, bool)

GetSecretOk returns a tuple with the Secret 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 (*VariableGet) GetUpdatedAt

func (o *VariableGet) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value

func (*VariableGet) GetUpdatedAtOk

func (o *VariableGet) GetUpdatedAtOk() (*time.Time, bool)

GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.

func (*VariableGet) GetUuid

func (o *VariableGet) GetUuid() string

GetUuid returns the Uuid field value if set, zero value otherwise.

func (*VariableGet) GetUuidOk

func (o *VariableGet) GetUuidOk() (*string, bool)

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

func (*VariableGet) GetValue

func (o *VariableGet) GetValue() string

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

func (*VariableGet) GetValueOk

func (o *VariableGet) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value 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 (*VariableGet) HasKey

func (o *VariableGet) HasKey() bool

HasKey returns a boolean if a field has been set.

func (*VariableGet) HasLastEditor

func (o *VariableGet) HasLastEditor() bool

HasLastEditor returns a boolean if a field has been set.

func (*VariableGet) HasSecret

func (o *VariableGet) HasSecret() bool

HasSecret returns a boolean if a field has been set.

func (*VariableGet) HasUuid

func (o *VariableGet) HasUuid() bool

HasUuid returns a boolean if a field has been set.

func (*VariableGet) HasValue

func (o *VariableGet) HasValue() bool

HasValue returns a boolean if a field has been set.

func (VariableGet) MarshalJSON

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

func (*VariableGet) SetCreatedAt

func (o *VariableGet) SetCreatedAt(v time.Time)

SetCreatedAt sets field value

func (*VariableGet) SetKey

func (o *VariableGet) SetKey(v string)

SetKey gets a reference to the given NullableString and assigns it to the Key field.

func (*VariableGet) SetKeyNil

func (o *VariableGet) SetKeyNil()

SetKeyNil sets the value for Key to be an explicit nil

func (*VariableGet) SetLastEditor

func (o *VariableGet) SetLastEditor(v string)

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

func (*VariableGet) SetSecret

func (o *VariableGet) SetSecret(v bool)

SetSecret gets a reference to the given NullableBool and assigns it to the Secret field.

func (*VariableGet) SetSecretNil

func (o *VariableGet) SetSecretNil()

SetSecretNil sets the value for Secret to be an explicit nil

func (*VariableGet) SetUpdatedAt

func (o *VariableGet) SetUpdatedAt(v time.Time)

SetUpdatedAt sets field value

func (*VariableGet) SetUuid

func (o *VariableGet) SetUuid(v string)

SetUuid gets a reference to the given string and assigns it to the Uuid field.

func (*VariableGet) SetValue

func (o *VariableGet) SetValue(v string)

SetValue gets a reference to the given NullableString and assigns it to the Value field.

func (*VariableGet) SetValueNil

func (o *VariableGet) SetValueNil()

SetValueNil sets the value for Value to be an explicit nil

func (VariableGet) ToMap

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

func (*VariableGet) UnmarshalJSON

func (o *VariableGet) UnmarshalJSON(data []byte) (err error)

func (*VariableGet) UnsetKey

func (o *VariableGet) UnsetKey()

UnsetKey ensures that no value is present for Key, not even an explicit nil

func (*VariableGet) UnsetSecret

func (o *VariableGet) UnsetSecret()

UnsetSecret ensures that no value is present for Secret, not even an explicit nil

func (*VariableGet) UnsetValue

func (o *VariableGet) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

type VariablesAPIService

type VariablesAPIService service

VariablesAPIService VariablesAPI service

func (*VariablesAPIService) CreateVariable

CreateVariable Create a Variable

Create a new Variable. <br><ul><li>If the attribute "secret" is informed with value "true" in request payload the Variable value will be secret and no longer viewable after creation.</li><li>If the attribute "secret" is not informed the Variable value will be considered as not secret by default.</li></ul>

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

func (*VariablesAPIService) CreateVariableExecute

func (a *VariablesAPIService) CreateVariableExecute(r ApiCreateVariableRequest) (*VariableGet, *http.Response, error)

Execute executes the request

@return VariableGet

func (*VariablesAPIService) DeleteVariable

func (a *VariablesAPIService) DeleteVariable(ctx context.Context, uuid string) ApiDeleteVariableRequest

DeleteVariable Delete a Variable

Delete a Variable by it's UUID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid A unique value identifying the variable.
@return ApiDeleteVariableRequest

func (*VariablesAPIService) DeleteVariableExecute

func (a *VariablesAPIService) DeleteVariableExecute(r ApiDeleteVariableRequest) (*http.Response, error)

Execute executes the request

func (*VariablesAPIService) ListVariables

ListVariables List Variables

List all Variables of the Client.

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

func (*VariablesAPIService) ListVariablesExecute

Execute executes the request

@return PaginatedVariableGetList

func (*VariablesAPIService) PartialUpdateVariable

func (a *VariablesAPIService) PartialUpdateVariable(ctx context.Context, uuid string) ApiPartialUpdateVariableRequest

PartialUpdateVariable Partially update a Variable

Partially update variable attributes by it's UUID. Only the sent fields are changed.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid A unique value identifying the variable.
@return ApiPartialUpdateVariableRequest

func (*VariablesAPIService) PartialUpdateVariableExecute

func (a *VariablesAPIService) PartialUpdateVariableExecute(r ApiPartialUpdateVariableRequest) (*VariableGet, *http.Response, error)

Execute executes the request

@return VariableGet

func (*VariablesAPIService) RetrieveVariable

func (a *VariablesAPIService) RetrieveVariable(ctx context.Context, uuid string) ApiRetrieveVariableRequest

RetrieveVariable Retrieve details of a Variable

Retrieve all data for a Variable by it's UUID

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid A unique value identifying the variable.
@return ApiRetrieveVariableRequest

func (*VariablesAPIService) RetrieveVariableExecute

func (a *VariablesAPIService) RetrieveVariableExecute(r ApiRetrieveVariableRequest) (*VariableGet, *http.Response, error)

Execute executes the request

@return VariableGet

func (*VariablesAPIService) UpdateVariable

func (a *VariablesAPIService) UpdateVariable(ctx context.Context, uuid string) ApiUpdateVariableRequest

UpdateVariable Update a Variable

Update variable attributes by it's UUID. Keep the Variable UUID but overwrite all editable attributes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param uuid A unique value identifying the variable.
@return ApiUpdateVariableRequest

func (*VariablesAPIService) UpdateVariableExecute

func (a *VariablesAPIService) UpdateVariableExecute(r ApiUpdateVariableRequest) (*VariableGet, *http.Response, error)

Execute executes the request

@return VariableGet

type VariablesScopeGroupsAPIService

type VariablesScopeGroupsAPIService service

VariablesScopeGroupsAPIService VariablesScopeGroupsAPI service

func (*VariablesScopeGroupsAPIService) CreateScope

CreateScope Create a Scope

Create a new Client Scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug The slug of the Scope Group.
@return ApiCreateScopeRequest

func (*VariablesScopeGroupsAPIService) CreateScopeExecute

Execute executes the request

@return Scope

func (*VariablesScopeGroupsAPIService) CreateScopeVariables

func (a *VariablesScopeGroupsAPIService) CreateScopeVariables(ctx context.Context, groupSlug string, scopeSlug string) ApiCreateScopeVariablesRequest

CreateScopeVariables Create Scope Variables

Create Variables for a given scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug The slug of the Scope Group.
@param scopeSlug The slug of the Scope.
@return ApiCreateScopeVariablesRequest

func (*VariablesScopeGroupsAPIService) CreateScopeVariablesExecute

Execute executes the request

@return PaginatedVariableGetList

func (*VariablesScopeGroupsAPIService) ListScopeVariables

func (a *VariablesScopeGroupsAPIService) ListScopeVariables(ctx context.Context, groupSlug string, scopeSlug string) ApiListScopeVariablesRequest

ListScopeVariables List Scope Variables

List all Variables from a given Scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug The slug of the Scope Group.
@param scopeSlug The slug of the Scope.
@return ApiListScopeVariablesRequest

func (*VariablesScopeGroupsAPIService) ListScopeVariablesExecute

Execute executes the request

@return PaginatedVariableGetList

func (*VariablesScopeGroupsAPIService) UpdateScopeVariables

func (a *VariablesScopeGroupsAPIService) UpdateScopeVariables(ctx context.Context, groupSlug string, scopeSlug string) ApiUpdateScopeVariablesRequest

UpdateScopeVariables Update Scope Variables

Update Variables for a given scope.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param groupSlug The slug of the Scope Group.
@param scopeSlug The slug of the Scope.
@return ApiUpdateScopeVariablesRequest

func (*VariablesScopeGroupsAPIService) UpdateScopeVariablesExecute

Execute executes the request

@return PaginatedVariableGetList

Jump to

Keyboard shortcuts

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