edgenode

package
v0.127.0 Latest Latest
Warning

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

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

README

Go API client for edgenode

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

Overview

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

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

Installation

Install the following dependencies:

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

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

import edgenode "github.com/GIT_USER_ID/GIT_REPO_ID"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

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

Class Method HTTP request Description
DefaultApi AuthorizeEdgeNode Patch /edge_nodes/authorize Authorize edge-node
DefaultApi CreateEdgeNodeSvcs Post /edge_nodes/{edgenodeId}/services Create an edge-node Service association
DefaultApi DelEdgeNode Delete /edge_nodes/{edgenodeId} Delete edge-node by ID
DefaultApi DelEdgeNodeSvc Delete /edge_nodes/{edgenodeId}/services/{bindId} Delete an edge-node Service association
DefaultApi GetEdgeNode Get /edge_nodes/{edgenodeId} Return edge-node by ID
DefaultApi GetEdgeNodeGroups Get /edge_nodes/groups Return edge-node groups
DefaultApi GetEdgeNodeSvcDetail Get /edge_nodes/{edgenodeId}/services/{bindId} Return edge-node Service association by ID
DefaultApi GetEdgeNodeSvcs Get /edge_nodes/{edgenodeId}/services Return edge-node Services association
DefaultApi GetEdgeNodes Get /edge_nodes Return edge-nodes
DefaultApi UpdateEdgeNode Patch /edge_nodes/{edgenodeId} Update edge-node
DefaultApi UpdateEdgeNodeSvcDetail Patch /edge_nodes/{edgenodeId}/services/{bindId} Update edge-node Service association by ID

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

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

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultApi *DefaultApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Edge Node 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 ApiAuthorizeEdgeNodeRequest

type ApiAuthorizeEdgeNodeRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiAuthorizeEdgeNodeRequest) AuthorizeEdgeNodesRequest

func (r ApiAuthorizeEdgeNodeRequest) AuthorizeEdgeNodesRequest(authorizeEdgeNodesRequest AuthorizeEdgeNodesRequest) ApiAuthorizeEdgeNodeRequest

func (ApiAuthorizeEdgeNodeRequest) Execute

type ApiCreateEdgeNodeSvcsRequest

type ApiCreateEdgeNodeSvcsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiCreateEdgeNodeSvcsRequest) Execute

func (ApiCreateEdgeNodeSvcsRequest) ServiceBindRequest

func (r ApiCreateEdgeNodeSvcsRequest) ServiceBindRequest(serviceBindRequest ServiceBindRequest) ApiCreateEdgeNodeSvcsRequest

type ApiDelEdgeNodeRequest

type ApiDelEdgeNodeRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDelEdgeNodeRequest) Execute

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

type ApiDelEdgeNodeSvcRequest

type ApiDelEdgeNodeSvcRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiDelEdgeNodeSvcRequest) Execute

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

type ApiGetEdgeNodeGroupsRequest

type ApiGetEdgeNodeGroupsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetEdgeNodeGroupsRequest) Execute

type ApiGetEdgeNodeRequest

type ApiGetEdgeNodeRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetEdgeNodeRequest) Execute

type ApiGetEdgeNodeSvcDetailRequest

type ApiGetEdgeNodeSvcDetailRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetEdgeNodeSvcDetailRequest) Execute

type ApiGetEdgeNodeSvcsRequest

type ApiGetEdgeNodeSvcsRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetEdgeNodeSvcsRequest) Execute

func (ApiGetEdgeNodeSvcsRequest) Filter

func (ApiGetEdgeNodeSvcsRequest) IsBound

func (ApiGetEdgeNodeSvcsRequest) OrderBy

func (ApiGetEdgeNodeSvcsRequest) Page

func (ApiGetEdgeNodeSvcsRequest) PageSize

func (ApiGetEdgeNodeSvcsRequest) Sort

type ApiGetEdgeNodesRequest

type ApiGetEdgeNodesRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiGetEdgeNodesRequest) Execute

func (ApiGetEdgeNodesRequest) Filter

func (ApiGetEdgeNodesRequest) OnlyIds

func (ApiGetEdgeNodesRequest) OrderBy

func (ApiGetEdgeNodesRequest) PageSize

func (ApiGetEdgeNodesRequest) Sort

type ApiUpdateEdgeNodeRequest

type ApiUpdateEdgeNodeRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateEdgeNodeRequest) Execute

type ApiUpdateEdgeNodeSvcDetailRequest

type ApiUpdateEdgeNodeSvcDetailRequest struct {
	ApiService *DefaultApiService
	// contains filtered or unexported fields
}

func (ApiUpdateEdgeNodeSvcDetailRequest) Execute

func (ApiUpdateEdgeNodeSvcDetailRequest) UpdateServiceBindRequest

func (r ApiUpdateEdgeNodeSvcDetailRequest) UpdateServiceBindRequest(updateServiceBindRequest UpdateServiceBindRequest) ApiUpdateEdgeNodeSvcDetailRequest

type AuthorizeEdgeNodesRequest

type AuthorizeEdgeNodesRequest struct {
	EdgeNodeIds []int64 `json:"edge_node_ids"`
}

AuthorizeEdgeNodesRequest struct for AuthorizeEdgeNodesRequest

func NewAuthorizeEdgeNodesRequest

func NewAuthorizeEdgeNodesRequest(edgeNodeIds []int64) *AuthorizeEdgeNodesRequest

NewAuthorizeEdgeNodesRequest instantiates a new AuthorizeEdgeNodesRequest 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 NewAuthorizeEdgeNodesRequestWithDefaults

func NewAuthorizeEdgeNodesRequestWithDefaults() *AuthorizeEdgeNodesRequest

NewAuthorizeEdgeNodesRequestWithDefaults instantiates a new AuthorizeEdgeNodesRequest 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 (*AuthorizeEdgeNodesRequest) GetEdgeNodeIds

func (o *AuthorizeEdgeNodesRequest) GetEdgeNodeIds() []int64

GetEdgeNodeIds returns the EdgeNodeIds field value

func (*AuthorizeEdgeNodesRequest) GetEdgeNodeIdsOk

func (o *AuthorizeEdgeNodesRequest) GetEdgeNodeIdsOk() ([]int64, bool)

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

func (AuthorizeEdgeNodesRequest) MarshalJSON

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

func (*AuthorizeEdgeNodesRequest) SetEdgeNodeIds

func (o *AuthorizeEdgeNodesRequest) SetEdgeNodeIds(v []int64)

SetEdgeNodeIds sets field value

func (AuthorizeEdgeNodesRequest) ToMap

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

type AuthorizeEdgeNodesResponse

type AuthorizeEdgeNodesResponse struct {
	Authorized []int64                    `json:"authorized"`
	Errors     []UnauthorizedEdgeNodeInfo `json:"errors"`
}

AuthorizeEdgeNodesResponse struct for AuthorizeEdgeNodesResponse

func NewAuthorizeEdgeNodesResponse

func NewAuthorizeEdgeNodesResponse(authorized []int64, errors []UnauthorizedEdgeNodeInfo) *AuthorizeEdgeNodesResponse

NewAuthorizeEdgeNodesResponse instantiates a new AuthorizeEdgeNodesResponse 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 NewAuthorizeEdgeNodesResponseWithDefaults

func NewAuthorizeEdgeNodesResponseWithDefaults() *AuthorizeEdgeNodesResponse

NewAuthorizeEdgeNodesResponseWithDefaults instantiates a new AuthorizeEdgeNodesResponse 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 (*AuthorizeEdgeNodesResponse) GetAuthorized

func (o *AuthorizeEdgeNodesResponse) GetAuthorized() []int64

GetAuthorized returns the Authorized field value

func (*AuthorizeEdgeNodesResponse) GetAuthorizedOk

func (o *AuthorizeEdgeNodesResponse) GetAuthorizedOk() ([]int64, bool)

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

func (*AuthorizeEdgeNodesResponse) GetErrors

GetErrors returns the Errors field value

func (*AuthorizeEdgeNodesResponse) GetErrorsOk

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

func (AuthorizeEdgeNodesResponse) MarshalJSON

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

func (*AuthorizeEdgeNodesResponse) SetAuthorized

func (o *AuthorizeEdgeNodesResponse) SetAuthorized(v []int64)

SetAuthorized sets field value

func (*AuthorizeEdgeNodesResponse) SetErrors

SetErrors sets field value

func (AuthorizeEdgeNodesResponse) ToMap

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

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) AuthorizeEdgeNode

AuthorizeEdgeNode Authorize edge-node

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

func (*DefaultApiService) AuthorizeEdgeNodeExecute

Execute executes the request

@return AuthorizeEdgeNodesResponse

func (*DefaultApiService) CreateEdgeNodeSvcs

func (a *DefaultApiService) CreateEdgeNodeSvcs(ctx context.Context, edgenodeId int64) ApiCreateEdgeNodeSvcsRequest

CreateEdgeNodeSvcs Create an edge-node Service association

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

func (*DefaultApiService) CreateEdgeNodeSvcsExecute

Execute executes the request

@return ServiceBindDetailResponse

func (*DefaultApiService) DelEdgeNode

func (a *DefaultApiService) DelEdgeNode(ctx context.Context, edgenodeId int64) ApiDelEdgeNodeRequest

DelEdgeNode Delete edge-node by ID

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

func (*DefaultApiService) DelEdgeNodeExecute

func (a *DefaultApiService) DelEdgeNodeExecute(r ApiDelEdgeNodeRequest) (*http.Response, error)

Execute executes the request

func (*DefaultApiService) DelEdgeNodeSvc

func (a *DefaultApiService) DelEdgeNodeSvc(ctx context.Context, edgenodeId int64, bindId int64) ApiDelEdgeNodeSvcRequest

DelEdgeNodeSvc Delete an edge-node Service association

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

func (*DefaultApiService) DelEdgeNodeSvcExecute

func (a *DefaultApiService) DelEdgeNodeSvcExecute(r ApiDelEdgeNodeSvcRequest) (*http.Response, error)

Execute executes the request

func (*DefaultApiService) GetEdgeNode

func (a *DefaultApiService) GetEdgeNode(ctx context.Context, edgenodeId int64) ApiGetEdgeNodeRequest

GetEdgeNode Return edge-node by ID

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

func (*DefaultApiService) GetEdgeNodeExecute

Execute executes the request

@return EdgeNodeDetailResponse

func (*DefaultApiService) GetEdgeNodeGroups

GetEdgeNodeGroups Return edge-node groups

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

func (*DefaultApiService) GetEdgeNodeGroupsExecute

func (a *DefaultApiService) GetEdgeNodeGroupsExecute(r ApiGetEdgeNodeGroupsRequest) ([]NodeGroupResponse, *http.Response, error)

Execute executes the request

@return []NodeGroupResponse

func (*DefaultApiService) GetEdgeNodeSvcDetail

func (a *DefaultApiService) GetEdgeNodeSvcDetail(ctx context.Context, edgenodeId int64, bindId int64) ApiGetEdgeNodeSvcDetailRequest

GetEdgeNodeSvcDetail Return edge-node Service association by ID

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

func (*DefaultApiService) GetEdgeNodeSvcDetailExecute

Execute executes the request

@return ServiceBindDetailResponse

func (*DefaultApiService) GetEdgeNodeSvcs

func (a *DefaultApiService) GetEdgeNodeSvcs(ctx context.Context, edgenodeId int64) ApiGetEdgeNodeSvcsRequest

GetEdgeNodeSvcs Return edge-node Services association

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

func (*DefaultApiService) GetEdgeNodeSvcsExecute

Execute executes the request

@return ServiceResponseWithTotal

func (*DefaultApiService) GetEdgeNodes

GetEdgeNodes Return edge-nodes

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

func (*DefaultApiService) GetEdgeNodesExecute

Execute executes the request

@return EdgeNodeResponseWithTotal

func (*DefaultApiService) UpdateEdgeNode

func (a *DefaultApiService) UpdateEdgeNode(ctx context.Context, edgenodeId int64) ApiUpdateEdgeNodeRequest

UpdateEdgeNode Update edge-node

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

func (*DefaultApiService) UpdateEdgeNodeExecute

Execute executes the request

@return UpdateEdgeNodeResponse

func (*DefaultApiService) UpdateEdgeNodeSvcDetail

func (a *DefaultApiService) UpdateEdgeNodeSvcDetail(ctx context.Context, edgenodeId int64, bindId int64) ApiUpdateEdgeNodeSvcDetailRequest

UpdateEdgeNodeSvcDetail Update edge-node Service association by ID

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

func (*DefaultApiService) UpdateEdgeNodeSvcDetailExecute

Execute executes the request

@return ServiceBindDetailResponse

type EdgeNodeDetailResponse

type EdgeNodeDetailResponse struct {
	Groups      []NodeGroup     `json:"groups"`
	HasServices bool            `json:"has_services"`
	HashId      string          `json:"hash_id"`
	Id          int64           `json:"id"`
	Modules     EdgeNodeModules `json:"modules"`
	Name        string          `json:"name"`
}

EdgeNodeDetailResponse struct for EdgeNodeDetailResponse

func NewEdgeNodeDetailResponse

func NewEdgeNodeDetailResponse(groups []NodeGroup, hasServices bool, hashId string, id int64, modules EdgeNodeModules, name string) *EdgeNodeDetailResponse

NewEdgeNodeDetailResponse instantiates a new EdgeNodeDetailResponse 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 NewEdgeNodeDetailResponseWithDefaults

func NewEdgeNodeDetailResponseWithDefaults() *EdgeNodeDetailResponse

NewEdgeNodeDetailResponseWithDefaults instantiates a new EdgeNodeDetailResponse 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 (*EdgeNodeDetailResponse) GetGroups

func (o *EdgeNodeDetailResponse) GetGroups() []NodeGroup

GetGroups returns the Groups field value

func (*EdgeNodeDetailResponse) GetGroupsOk

func (o *EdgeNodeDetailResponse) GetGroupsOk() ([]NodeGroup, bool)

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

func (*EdgeNodeDetailResponse) GetHasServices

func (o *EdgeNodeDetailResponse) GetHasServices() bool

GetHasServices returns the HasServices field value

func (*EdgeNodeDetailResponse) GetHasServicesOk

func (o *EdgeNodeDetailResponse) GetHasServicesOk() (*bool, bool)

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

func (*EdgeNodeDetailResponse) GetHashId

func (o *EdgeNodeDetailResponse) GetHashId() string

GetHashId returns the HashId field value

func (*EdgeNodeDetailResponse) GetHashIdOk

func (o *EdgeNodeDetailResponse) GetHashIdOk() (*string, bool)

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

func (*EdgeNodeDetailResponse) GetId

func (o *EdgeNodeDetailResponse) GetId() int64

GetId returns the Id field value

func (*EdgeNodeDetailResponse) GetIdOk

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

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

func (*EdgeNodeDetailResponse) GetModules

func (o *EdgeNodeDetailResponse) GetModules() EdgeNodeModules

GetModules returns the Modules field value

func (*EdgeNodeDetailResponse) GetModulesOk

func (o *EdgeNodeDetailResponse) GetModulesOk() (*EdgeNodeModules, bool)

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

func (*EdgeNodeDetailResponse) GetName

func (o *EdgeNodeDetailResponse) GetName() string

GetName returns the Name field value

func (*EdgeNodeDetailResponse) GetNameOk

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

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

func (EdgeNodeDetailResponse) MarshalJSON

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

func (*EdgeNodeDetailResponse) SetGroups

func (o *EdgeNodeDetailResponse) SetGroups(v []NodeGroup)

SetGroups sets field value

func (*EdgeNodeDetailResponse) SetHasServices

func (o *EdgeNodeDetailResponse) SetHasServices(v bool)

SetHasServices sets field value

func (*EdgeNodeDetailResponse) SetHashId

func (o *EdgeNodeDetailResponse) SetHashId(v string)

SetHashId sets field value

func (*EdgeNodeDetailResponse) SetId

func (o *EdgeNodeDetailResponse) SetId(v int64)

SetId sets field value

func (*EdgeNodeDetailResponse) SetModules

func (o *EdgeNodeDetailResponse) SetModules(v EdgeNodeModules)

SetModules sets field value

func (*EdgeNodeDetailResponse) SetName

func (o *EdgeNodeDetailResponse) SetName(v string)

SetName sets field value

func (EdgeNodeDetailResponse) ToMap

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

type EdgeNodeModules

type EdgeNodeModules struct {
	AddServices bool `json:"add_services"`
}

EdgeNodeModules struct for EdgeNodeModules

func NewEdgeNodeModules

func NewEdgeNodeModules(addServices bool) *EdgeNodeModules

NewEdgeNodeModules instantiates a new EdgeNodeModules 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 NewEdgeNodeModulesWithDefaults

func NewEdgeNodeModulesWithDefaults() *EdgeNodeModules

NewEdgeNodeModulesWithDefaults instantiates a new EdgeNodeModules 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 (*EdgeNodeModules) GetAddServices

func (o *EdgeNodeModules) GetAddServices() bool

GetAddServices returns the AddServices field value

func (*EdgeNodeModules) GetAddServicesOk

func (o *EdgeNodeModules) GetAddServicesOk() (*bool, bool)

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

func (EdgeNodeModules) MarshalJSON

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

func (*EdgeNodeModules) SetAddServices

func (o *EdgeNodeModules) SetAddServices(v bool)

SetAddServices sets field value

func (EdgeNodeModules) ToMap

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

type EdgeNodeResponse

type EdgeNodeResponse struct {
	Groups []NodeGroup `json:"groups,omitempty"`
	HashId *string     `json:"hash_id,omitempty"`
	Id     int64       `json:"id"`
	Name   *string     `json:"name,omitempty"`
	Status *string     `json:"status,omitempty"`
}

EdgeNodeResponse struct for EdgeNodeResponse

func NewEdgeNodeResponse

func NewEdgeNodeResponse(id int64) *EdgeNodeResponse

NewEdgeNodeResponse instantiates a new EdgeNodeResponse 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 NewEdgeNodeResponseWithDefaults

func NewEdgeNodeResponseWithDefaults() *EdgeNodeResponse

NewEdgeNodeResponseWithDefaults instantiates a new EdgeNodeResponse 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 (*EdgeNodeResponse) GetGroups

func (o *EdgeNodeResponse) GetGroups() []NodeGroup

GetGroups returns the Groups field value if set, zero value otherwise.

func (*EdgeNodeResponse) GetGroupsOk

func (o *EdgeNodeResponse) GetGroupsOk() ([]NodeGroup, bool)

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

func (*EdgeNodeResponse) GetHashId

func (o *EdgeNodeResponse) GetHashId() string

GetHashId returns the HashId field value if set, zero value otherwise.

func (*EdgeNodeResponse) GetHashIdOk

func (o *EdgeNodeResponse) GetHashIdOk() (*string, bool)

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

func (*EdgeNodeResponse) GetId

func (o *EdgeNodeResponse) GetId() int64

GetId returns the Id field value

func (*EdgeNodeResponse) GetIdOk

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

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

func (*EdgeNodeResponse) GetName

func (o *EdgeNodeResponse) GetName() string

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

func (*EdgeNodeResponse) GetNameOk

func (o *EdgeNodeResponse) 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 (*EdgeNodeResponse) GetStatus

func (o *EdgeNodeResponse) GetStatus() string

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

func (*EdgeNodeResponse) GetStatusOk

func (o *EdgeNodeResponse) 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 (*EdgeNodeResponse) HasGroups

func (o *EdgeNodeResponse) HasGroups() bool

HasGroups returns a boolean if a field has been set.

func (*EdgeNodeResponse) HasHashId

func (o *EdgeNodeResponse) HasHashId() bool

HasHashId returns a boolean if a field has been set.

func (*EdgeNodeResponse) HasName

func (o *EdgeNodeResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*EdgeNodeResponse) HasStatus

func (o *EdgeNodeResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (EdgeNodeResponse) MarshalJSON

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

func (*EdgeNodeResponse) SetGroups

func (o *EdgeNodeResponse) SetGroups(v []NodeGroup)

SetGroups gets a reference to the given []NodeGroup and assigns it to the Groups field.

func (*EdgeNodeResponse) SetHashId

func (o *EdgeNodeResponse) SetHashId(v string)

SetHashId gets a reference to the given string and assigns it to the HashId field.

func (*EdgeNodeResponse) SetId

func (o *EdgeNodeResponse) SetId(v int64)

SetId sets field value

func (*EdgeNodeResponse) SetName

func (o *EdgeNodeResponse) SetName(v string)

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

func (*EdgeNodeResponse) SetStatus

func (o *EdgeNodeResponse) SetStatus(v string)

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

func (EdgeNodeResponse) ToMap

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

type EdgeNodeResponseWithTotal

type EdgeNodeResponseWithTotal struct {
	Nodes []EdgeNodeResponse `json:"nodes"`
	Total int64              `json:"total"`
}

EdgeNodeResponseWithTotal struct for EdgeNodeResponseWithTotal

func NewEdgeNodeResponseWithTotal

func NewEdgeNodeResponseWithTotal(nodes []EdgeNodeResponse, total int64) *EdgeNodeResponseWithTotal

NewEdgeNodeResponseWithTotal instantiates a new EdgeNodeResponseWithTotal 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 NewEdgeNodeResponseWithTotalWithDefaults

func NewEdgeNodeResponseWithTotalWithDefaults() *EdgeNodeResponseWithTotal

NewEdgeNodeResponseWithTotalWithDefaults instantiates a new EdgeNodeResponseWithTotal 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 (*EdgeNodeResponseWithTotal) GetNodes

GetNodes returns the Nodes field value

func (*EdgeNodeResponseWithTotal) GetNodesOk

func (o *EdgeNodeResponseWithTotal) GetNodesOk() ([]EdgeNodeResponse, bool)

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

func (*EdgeNodeResponseWithTotal) GetTotal

func (o *EdgeNodeResponseWithTotal) GetTotal() int64

GetTotal returns the Total field value

func (*EdgeNodeResponseWithTotal) GetTotalOk

func (o *EdgeNodeResponseWithTotal) GetTotalOk() (*int64, bool)

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

func (EdgeNodeResponseWithTotal) MarshalJSON

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

func (*EdgeNodeResponseWithTotal) SetNodes

SetNodes sets field value

func (*EdgeNodeResponseWithTotal) SetTotal

func (o *EdgeNodeResponseWithTotal) SetTotal(v int64)

SetTotal sets field value

func (EdgeNodeResponseWithTotal) ToMap

func (o EdgeNodeResponseWithTotal) 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 MappedNullable

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

type NodeGroup

type NodeGroup struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

NodeGroup struct for NodeGroup

func NewNodeGroup

func NewNodeGroup(id int64, name string) *NodeGroup

NewNodeGroup instantiates a new NodeGroup 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 NewNodeGroupWithDefaults

func NewNodeGroupWithDefaults() *NodeGroup

NewNodeGroupWithDefaults instantiates a new NodeGroup 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 (*NodeGroup) GetId

func (o *NodeGroup) GetId() int64

GetId returns the Id field value

func (*NodeGroup) GetIdOk

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

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

func (*NodeGroup) GetName

func (o *NodeGroup) GetName() string

GetName returns the Name field value

func (*NodeGroup) GetNameOk

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

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

func (NodeGroup) MarshalJSON

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

func (*NodeGroup) SetId

func (o *NodeGroup) SetId(v int64)

SetId sets field value

func (*NodeGroup) SetName

func (o *NodeGroup) SetName(v string)

SetName sets field value

func (NodeGroup) ToMap

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

type NodeGroupResponse

type NodeGroupResponse struct {
	Id   int64  `json:"id"`
	Name string `json:"name"`
}

NodeGroupResponse struct for NodeGroupResponse

func NewNodeGroupResponse

func NewNodeGroupResponse(id int64, name string) *NodeGroupResponse

NewNodeGroupResponse instantiates a new NodeGroupResponse 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 NewNodeGroupResponseWithDefaults

func NewNodeGroupResponseWithDefaults() *NodeGroupResponse

NewNodeGroupResponseWithDefaults instantiates a new NodeGroupResponse 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 (*NodeGroupResponse) GetId

func (o *NodeGroupResponse) GetId() int64

GetId returns the Id field value

func (*NodeGroupResponse) GetIdOk

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

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

func (*NodeGroupResponse) GetName

func (o *NodeGroupResponse) GetName() string

GetName returns the Name field value

func (*NodeGroupResponse) GetNameOk

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

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

func (NodeGroupResponse) MarshalJSON

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

func (*NodeGroupResponse) SetId

func (o *NodeGroupResponse) SetId(v int64)

SetId sets field value

func (*NodeGroupResponse) SetName

func (o *NodeGroupResponse) SetName(v string)

SetName sets field value

func (NodeGroupResponse) ToMap

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

type NullableAuthorizeEdgeNodesRequest

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

func (NullableAuthorizeEdgeNodesRequest) Get

func (NullableAuthorizeEdgeNodesRequest) IsSet

func (NullableAuthorizeEdgeNodesRequest) MarshalJSON

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

func (*NullableAuthorizeEdgeNodesRequest) Set

func (*NullableAuthorizeEdgeNodesRequest) UnmarshalJSON

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

func (*NullableAuthorizeEdgeNodesRequest) Unset

type NullableAuthorizeEdgeNodesResponse

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

func (NullableAuthorizeEdgeNodesResponse) Get

func (NullableAuthorizeEdgeNodesResponse) IsSet

func (NullableAuthorizeEdgeNodesResponse) MarshalJSON

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

func (*NullableAuthorizeEdgeNodesResponse) Set

func (*NullableAuthorizeEdgeNodesResponse) UnmarshalJSON

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

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

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

func (NullableEdgeNodeDetailResponse) Get

func (NullableEdgeNodeDetailResponse) IsSet

func (NullableEdgeNodeDetailResponse) MarshalJSON

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

func (*NullableEdgeNodeDetailResponse) Set

func (*NullableEdgeNodeDetailResponse) UnmarshalJSON

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

func (*NullableEdgeNodeDetailResponse) Unset

func (v *NullableEdgeNodeDetailResponse) Unset()

type NullableEdgeNodeModules

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

func NewNullableEdgeNodeModules

func NewNullableEdgeNodeModules(val *EdgeNodeModules) *NullableEdgeNodeModules

func (NullableEdgeNodeModules) Get

func (NullableEdgeNodeModules) IsSet

func (v NullableEdgeNodeModules) IsSet() bool

func (NullableEdgeNodeModules) MarshalJSON

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

func (*NullableEdgeNodeModules) Set

func (*NullableEdgeNodeModules) UnmarshalJSON

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

func (*NullableEdgeNodeModules) Unset

func (v *NullableEdgeNodeModules) Unset()

type NullableEdgeNodeResponse

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

func NewNullableEdgeNodeResponse

func NewNullableEdgeNodeResponse(val *EdgeNodeResponse) *NullableEdgeNodeResponse

func (NullableEdgeNodeResponse) Get

func (NullableEdgeNodeResponse) IsSet

func (v NullableEdgeNodeResponse) IsSet() bool

func (NullableEdgeNodeResponse) MarshalJSON

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

func (*NullableEdgeNodeResponse) Set

func (*NullableEdgeNodeResponse) UnmarshalJSON

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

func (*NullableEdgeNodeResponse) Unset

func (v *NullableEdgeNodeResponse) Unset()

type NullableEdgeNodeResponseWithTotal

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

func (NullableEdgeNodeResponseWithTotal) Get

func (NullableEdgeNodeResponseWithTotal) IsSet

func (NullableEdgeNodeResponseWithTotal) MarshalJSON

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

func (*NullableEdgeNodeResponseWithTotal) Set

func (*NullableEdgeNodeResponseWithTotal) UnmarshalJSON

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

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

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

func NewNullableNodeGroup

func NewNullableNodeGroup(val *NodeGroup) *NullableNodeGroup

func (NullableNodeGroup) Get

func (v NullableNodeGroup) Get() *NodeGroup

func (NullableNodeGroup) IsSet

func (v NullableNodeGroup) IsSet() bool

func (NullableNodeGroup) MarshalJSON

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

func (*NullableNodeGroup) Set

func (v *NullableNodeGroup) Set(val *NodeGroup)

func (*NullableNodeGroup) UnmarshalJSON

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

func (*NullableNodeGroup) Unset

func (v *NullableNodeGroup) Unset()

type NullableNodeGroupResponse

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

func NewNullableNodeGroupResponse

func NewNullableNodeGroupResponse(val *NodeGroupResponse) *NullableNodeGroupResponse

func (NullableNodeGroupResponse) Get

func (NullableNodeGroupResponse) IsSet

func (v NullableNodeGroupResponse) IsSet() bool

func (NullableNodeGroupResponse) MarshalJSON

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

func (*NullableNodeGroupResponse) Set

func (*NullableNodeGroupResponse) UnmarshalJSON

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

func (*NullableNodeGroupResponse) Unset

func (v *NullableNodeGroupResponse) Unset()

type NullableServiceBindDetailResponse

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

func (NullableServiceBindDetailResponse) Get

func (NullableServiceBindDetailResponse) IsSet

func (NullableServiceBindDetailResponse) MarshalJSON

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

func (*NullableServiceBindDetailResponse) Set

func (*NullableServiceBindDetailResponse) UnmarshalJSON

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

func (*NullableServiceBindDetailResponse) Unset

type NullableServiceBindRequest

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

func NewNullableServiceBindRequest

func NewNullableServiceBindRequest(val *ServiceBindRequest) *NullableServiceBindRequest

func (NullableServiceBindRequest) Get

func (NullableServiceBindRequest) IsSet

func (v NullableServiceBindRequest) IsSet() bool

func (NullableServiceBindRequest) MarshalJSON

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

func (*NullableServiceBindRequest) Set

func (*NullableServiceBindRequest) UnmarshalJSON

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

func (*NullableServiceBindRequest) Unset

func (v *NullableServiceBindRequest) Unset()

type NullableServiceResponse

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

func NewNullableServiceResponse

func NewNullableServiceResponse(val *ServiceResponse) *NullableServiceResponse

func (NullableServiceResponse) Get

func (NullableServiceResponse) IsSet

func (v NullableServiceResponse) IsSet() bool

func (NullableServiceResponse) MarshalJSON

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

func (*NullableServiceResponse) Set

func (*NullableServiceResponse) UnmarshalJSON

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

func (*NullableServiceResponse) Unset

func (v *NullableServiceResponse) Unset()

type NullableServiceResponseWithTotal

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

func (NullableServiceResponseWithTotal) Get

func (NullableServiceResponseWithTotal) IsSet

func (NullableServiceResponseWithTotal) MarshalJSON

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

func (*NullableServiceResponseWithTotal) Set

func (*NullableServiceResponseWithTotal) UnmarshalJSON

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

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

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

func (NullableUnauthorizedEdgeNodeInfo) Get

func (NullableUnauthorizedEdgeNodeInfo) IsSet

func (NullableUnauthorizedEdgeNodeInfo) MarshalJSON

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

func (*NullableUnauthorizedEdgeNodeInfo) Set

func (*NullableUnauthorizedEdgeNodeInfo) UnmarshalJSON

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

func (*NullableUnauthorizedEdgeNodeInfo) Unset

type NullableUpdateEdgeNodeResponse

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

func (NullableUpdateEdgeNodeResponse) Get

func (NullableUpdateEdgeNodeResponse) IsSet

func (NullableUpdateEdgeNodeResponse) MarshalJSON

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

func (*NullableUpdateEdgeNodeResponse) Set

func (*NullableUpdateEdgeNodeResponse) UnmarshalJSON

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

func (*NullableUpdateEdgeNodeResponse) Unset

func (v *NullableUpdateEdgeNodeResponse) Unset()

type NullableUpdateServiceBindRequest

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

func (NullableUpdateServiceBindRequest) Get

func (NullableUpdateServiceBindRequest) IsSet

func (NullableUpdateServiceBindRequest) MarshalJSON

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

func (*NullableUpdateServiceBindRequest) Set

func (*NullableUpdateServiceBindRequest) UnmarshalJSON

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

func (*NullableUpdateServiceBindRequest) Unset

type NullableVariable

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

func NewNullableVariable

func NewNullableVariable(val *Variable) *NullableVariable

func (NullableVariable) Get

func (v NullableVariable) Get() *Variable

func (NullableVariable) IsSet

func (v NullableVariable) IsSet() bool

func (NullableVariable) MarshalJSON

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

func (*NullableVariable) Set

func (v *NullableVariable) Set(val *Variable)

func (*NullableVariable) UnmarshalJSON

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

func (*NullableVariable) Unset

func (v *NullableVariable) Unset()

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type ServiceBindDetailResponse

type ServiceBindDetailResponse struct {
	Id          int64      `json:"id"`
	ServiceId   int64      `json:"service_id"`
	ServiceName string     `json:"service_name"`
	Variables   []Variable `json:"variables"`
}

ServiceBindDetailResponse struct for ServiceBindDetailResponse

func NewServiceBindDetailResponse

func NewServiceBindDetailResponse(id int64, serviceId int64, serviceName string, variables []Variable) *ServiceBindDetailResponse

NewServiceBindDetailResponse instantiates a new ServiceBindDetailResponse 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 NewServiceBindDetailResponseWithDefaults

func NewServiceBindDetailResponseWithDefaults() *ServiceBindDetailResponse

NewServiceBindDetailResponseWithDefaults instantiates a new ServiceBindDetailResponse 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 (*ServiceBindDetailResponse) GetId

func (o *ServiceBindDetailResponse) GetId() int64

GetId returns the Id field value

func (*ServiceBindDetailResponse) GetIdOk

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

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

func (*ServiceBindDetailResponse) GetServiceId

func (o *ServiceBindDetailResponse) GetServiceId() int64

GetServiceId returns the ServiceId field value

func (*ServiceBindDetailResponse) GetServiceIdOk

func (o *ServiceBindDetailResponse) GetServiceIdOk() (*int64, bool)

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

func (*ServiceBindDetailResponse) GetServiceName

func (o *ServiceBindDetailResponse) GetServiceName() string

GetServiceName returns the ServiceName field value

func (*ServiceBindDetailResponse) GetServiceNameOk

func (o *ServiceBindDetailResponse) GetServiceNameOk() (*string, bool)

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

func (*ServiceBindDetailResponse) GetVariables

func (o *ServiceBindDetailResponse) GetVariables() []Variable

GetVariables returns the Variables field value

func (*ServiceBindDetailResponse) GetVariablesOk

func (o *ServiceBindDetailResponse) GetVariablesOk() ([]Variable, bool)

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

func (ServiceBindDetailResponse) MarshalJSON

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

func (*ServiceBindDetailResponse) SetId

func (o *ServiceBindDetailResponse) SetId(v int64)

SetId sets field value

func (*ServiceBindDetailResponse) SetServiceId

func (o *ServiceBindDetailResponse) SetServiceId(v int64)

SetServiceId sets field value

func (*ServiceBindDetailResponse) SetServiceName

func (o *ServiceBindDetailResponse) SetServiceName(v string)

SetServiceName sets field value

func (*ServiceBindDetailResponse) SetVariables

func (o *ServiceBindDetailResponse) SetVariables(v []Variable)

SetVariables sets field value

func (ServiceBindDetailResponse) ToMap

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

type ServiceBindRequest

type ServiceBindRequest struct {
	ServiceId int64      `json:"service_id"`
	Variables []Variable `json:"variables"`
}

ServiceBindRequest struct for ServiceBindRequest

func NewServiceBindRequest

func NewServiceBindRequest(serviceId int64, variables []Variable) *ServiceBindRequest

NewServiceBindRequest instantiates a new ServiceBindRequest 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 NewServiceBindRequestWithDefaults

func NewServiceBindRequestWithDefaults() *ServiceBindRequest

NewServiceBindRequestWithDefaults instantiates a new ServiceBindRequest 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 (*ServiceBindRequest) GetServiceId

func (o *ServiceBindRequest) GetServiceId() int64

GetServiceId returns the ServiceId field value

func (*ServiceBindRequest) GetServiceIdOk

func (o *ServiceBindRequest) GetServiceIdOk() (*int64, bool)

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

func (*ServiceBindRequest) GetVariables

func (o *ServiceBindRequest) GetVariables() []Variable

GetVariables returns the Variables field value

func (*ServiceBindRequest) GetVariablesOk

func (o *ServiceBindRequest) GetVariablesOk() ([]Variable, bool)

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

func (ServiceBindRequest) MarshalJSON

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

func (*ServiceBindRequest) SetServiceId

func (o *ServiceBindRequest) SetServiceId(v int64)

SetServiceId sets field value

func (*ServiceBindRequest) SetVariables

func (o *ServiceBindRequest) SetVariables(v []Variable)

SetVariables sets field value

func (ServiceBindRequest) ToMap

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

type ServiceResponse

type ServiceResponse struct {
	BindId     int64     `json:"bind_id"`
	IsBound    int64     `json:"is_bound"`
	LastEditor string    `json:"last_editor"`
	Name       string    `json:"name"`
	ServiceId  int64     `json:"service_id"`
	UpdatedAt  time.Time `json:"updated_at"`
}

ServiceResponse struct for ServiceResponse

func NewServiceResponse

func NewServiceResponse(bindId int64, isBound int64, lastEditor string, name string, serviceId int64, updatedAt time.Time) *ServiceResponse

NewServiceResponse instantiates a new ServiceResponse 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 NewServiceResponseWithDefaults

func NewServiceResponseWithDefaults() *ServiceResponse

NewServiceResponseWithDefaults instantiates a new ServiceResponse 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 (*ServiceResponse) GetBindId

func (o *ServiceResponse) GetBindId() int64

GetBindId returns the BindId field value

func (*ServiceResponse) GetBindIdOk

func (o *ServiceResponse) GetBindIdOk() (*int64, bool)

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

func (*ServiceResponse) GetIsBound

func (o *ServiceResponse) GetIsBound() int64

GetIsBound returns the IsBound field value

func (*ServiceResponse) GetIsBoundOk

func (o *ServiceResponse) GetIsBoundOk() (*int64, bool)

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

func (*ServiceResponse) GetLastEditor

func (o *ServiceResponse) GetLastEditor() string

GetLastEditor returns the LastEditor field value

func (*ServiceResponse) GetLastEditorOk

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

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

func (*ServiceResponse) GetName

func (o *ServiceResponse) GetName() string

GetName returns the Name field value

func (*ServiceResponse) GetNameOk

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

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

func (*ServiceResponse) GetServiceId

func (o *ServiceResponse) GetServiceId() int64

GetServiceId returns the ServiceId field value

func (*ServiceResponse) GetServiceIdOk

func (o *ServiceResponse) GetServiceIdOk() (*int64, bool)

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

func (*ServiceResponse) GetUpdatedAt

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

GetUpdatedAt returns the UpdatedAt field value

func (*ServiceResponse) GetUpdatedAtOk

func (o *ServiceResponse) 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 (ServiceResponse) MarshalJSON

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

func (*ServiceResponse) SetBindId

func (o *ServiceResponse) SetBindId(v int64)

SetBindId sets field value

func (*ServiceResponse) SetIsBound

func (o *ServiceResponse) SetIsBound(v int64)

SetIsBound sets field value

func (*ServiceResponse) SetLastEditor

func (o *ServiceResponse) SetLastEditor(v string)

SetLastEditor sets field value

func (*ServiceResponse) SetName

func (o *ServiceResponse) SetName(v string)

SetName sets field value

func (*ServiceResponse) SetServiceId

func (o *ServiceResponse) SetServiceId(v int64)

SetServiceId sets field value

func (*ServiceResponse) SetUpdatedAt

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

SetUpdatedAt sets field value

func (ServiceResponse) ToMap

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

type ServiceResponseWithTotal

type ServiceResponseWithTotal struct {
	Services []ServiceResponse `json:"services"`
	Total    int64             `json:"total"`
}

ServiceResponseWithTotal struct for ServiceResponseWithTotal

func NewServiceResponseWithTotal

func NewServiceResponseWithTotal(services []ServiceResponse, total int64) *ServiceResponseWithTotal

NewServiceResponseWithTotal instantiates a new ServiceResponseWithTotal 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 NewServiceResponseWithTotalWithDefaults

func NewServiceResponseWithTotalWithDefaults() *ServiceResponseWithTotal

NewServiceResponseWithTotalWithDefaults instantiates a new ServiceResponseWithTotal 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 (*ServiceResponseWithTotal) GetServices

func (o *ServiceResponseWithTotal) GetServices() []ServiceResponse

GetServices returns the Services field value

func (*ServiceResponseWithTotal) GetServicesOk

func (o *ServiceResponseWithTotal) GetServicesOk() ([]ServiceResponse, bool)

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

func (*ServiceResponseWithTotal) GetTotal

func (o *ServiceResponseWithTotal) GetTotal() int64

GetTotal returns the Total field value

func (*ServiceResponseWithTotal) GetTotalOk

func (o *ServiceResponseWithTotal) GetTotalOk() (*int64, bool)

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

func (ServiceResponseWithTotal) MarshalJSON

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

func (*ServiceResponseWithTotal) SetServices

func (o *ServiceResponseWithTotal) SetServices(v []ServiceResponse)

SetServices sets field value

func (*ServiceResponseWithTotal) SetTotal

func (o *ServiceResponseWithTotal) SetTotal(v int64)

SetTotal sets field value

func (ServiceResponseWithTotal) ToMap

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

type UnauthorizedEdgeNodeInfo

type UnauthorizedEdgeNodeInfo struct {
	Id     int64  `json:"id"`
	Reason string `json:"reason"`
}

UnauthorizedEdgeNodeInfo struct for UnauthorizedEdgeNodeInfo

func NewUnauthorizedEdgeNodeInfo

func NewUnauthorizedEdgeNodeInfo(id int64, reason string) *UnauthorizedEdgeNodeInfo

NewUnauthorizedEdgeNodeInfo instantiates a new UnauthorizedEdgeNodeInfo 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 NewUnauthorizedEdgeNodeInfoWithDefaults

func NewUnauthorizedEdgeNodeInfoWithDefaults() *UnauthorizedEdgeNodeInfo

NewUnauthorizedEdgeNodeInfoWithDefaults instantiates a new UnauthorizedEdgeNodeInfo 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 (*UnauthorizedEdgeNodeInfo) GetId

func (o *UnauthorizedEdgeNodeInfo) GetId() int64

GetId returns the Id field value

func (*UnauthorizedEdgeNodeInfo) GetIdOk

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

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

func (*UnauthorizedEdgeNodeInfo) GetReason

func (o *UnauthorizedEdgeNodeInfo) GetReason() string

GetReason returns the Reason field value

func (*UnauthorizedEdgeNodeInfo) GetReasonOk

func (o *UnauthorizedEdgeNodeInfo) GetReasonOk() (*string, bool)

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

func (UnauthorizedEdgeNodeInfo) MarshalJSON

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

func (*UnauthorizedEdgeNodeInfo) SetId

func (o *UnauthorizedEdgeNodeInfo) SetId(v int64)

SetId sets field value

func (*UnauthorizedEdgeNodeInfo) SetReason

func (o *UnauthorizedEdgeNodeInfo) SetReason(v string)

SetReason sets field value

func (UnauthorizedEdgeNodeInfo) ToMap

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

type UpdateEdgeNodeResponse

type UpdateEdgeNodeResponse struct {
	Groups []NodeGroup `json:"groups"`
	Id     int64       `json:"id"`
	Name   string      `json:"name"`
	Status string      `json:"status"`
}

UpdateEdgeNodeResponse struct for UpdateEdgeNodeResponse

func NewUpdateEdgeNodeResponse

func NewUpdateEdgeNodeResponse(groups []NodeGroup, id int64, name string, status string) *UpdateEdgeNodeResponse

NewUpdateEdgeNodeResponse instantiates a new UpdateEdgeNodeResponse 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 NewUpdateEdgeNodeResponseWithDefaults

func NewUpdateEdgeNodeResponseWithDefaults() *UpdateEdgeNodeResponse

NewUpdateEdgeNodeResponseWithDefaults instantiates a new UpdateEdgeNodeResponse 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 (*UpdateEdgeNodeResponse) GetGroups

func (o *UpdateEdgeNodeResponse) GetGroups() []NodeGroup

GetGroups returns the Groups field value

func (*UpdateEdgeNodeResponse) GetGroupsOk

func (o *UpdateEdgeNodeResponse) GetGroupsOk() ([]NodeGroup, bool)

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

func (*UpdateEdgeNodeResponse) GetId

func (o *UpdateEdgeNodeResponse) GetId() int64

GetId returns the Id field value

func (*UpdateEdgeNodeResponse) GetIdOk

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

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

func (*UpdateEdgeNodeResponse) GetName

func (o *UpdateEdgeNodeResponse) GetName() string

GetName returns the Name field value

func (*UpdateEdgeNodeResponse) GetNameOk

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

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

func (*UpdateEdgeNodeResponse) GetStatus

func (o *UpdateEdgeNodeResponse) GetStatus() string

GetStatus returns the Status field value

func (*UpdateEdgeNodeResponse) GetStatusOk

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

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

func (UpdateEdgeNodeResponse) MarshalJSON

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

func (*UpdateEdgeNodeResponse) SetGroups

func (o *UpdateEdgeNodeResponse) SetGroups(v []NodeGroup)

SetGroups sets field value

func (*UpdateEdgeNodeResponse) SetId

func (o *UpdateEdgeNodeResponse) SetId(v int64)

SetId sets field value

func (*UpdateEdgeNodeResponse) SetName

func (o *UpdateEdgeNodeResponse) SetName(v string)

SetName sets field value

func (*UpdateEdgeNodeResponse) SetStatus

func (o *UpdateEdgeNodeResponse) SetStatus(v string)

SetStatus sets field value

func (UpdateEdgeNodeResponse) ToMap

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

type UpdateServiceBindRequest

type UpdateServiceBindRequest struct {
	Variables []Variable `json:"variables"`
}

UpdateServiceBindRequest struct for UpdateServiceBindRequest

func NewUpdateServiceBindRequest

func NewUpdateServiceBindRequest(variables []Variable) *UpdateServiceBindRequest

NewUpdateServiceBindRequest instantiates a new UpdateServiceBindRequest 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 NewUpdateServiceBindRequestWithDefaults

func NewUpdateServiceBindRequestWithDefaults() *UpdateServiceBindRequest

NewUpdateServiceBindRequestWithDefaults instantiates a new UpdateServiceBindRequest 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 (*UpdateServiceBindRequest) GetVariables

func (o *UpdateServiceBindRequest) GetVariables() []Variable

GetVariables returns the Variables field value

func (*UpdateServiceBindRequest) GetVariablesOk

func (o *UpdateServiceBindRequest) GetVariablesOk() ([]Variable, bool)

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

func (UpdateServiceBindRequest) MarshalJSON

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

func (*UpdateServiceBindRequest) SetVariables

func (o *UpdateServiceBindRequest) SetVariables(v []Variable)

SetVariables sets field value

func (UpdateServiceBindRequest) ToMap

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

type Variable

type Variable struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Variable struct for Variable

func NewVariable

func NewVariable(name string, value string) *Variable

NewVariable instantiates a new Variable 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 NewVariableWithDefaults

func NewVariableWithDefaults() *Variable

NewVariableWithDefaults instantiates a new Variable 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 (*Variable) GetName

func (o *Variable) GetName() string

GetName returns the Name field value

func (*Variable) GetNameOk

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

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

func (*Variable) GetValue

func (o *Variable) GetValue() string

GetValue returns the Value field value

func (*Variable) GetValueOk

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

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

func (Variable) MarshalJSON

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

func (*Variable) SetName

func (o *Variable) SetName(v string)

SetName sets field value

func (*Variable) SetValue

func (o *Variable) SetValue(v string)

SetValue sets field value

func (Variable) ToMap

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

Jump to

Keyboard shortcuts

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