serverapiclient

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Go API client for serverapiclient

Daytona Server API

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: 0.1.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 serverapiclient "github.com/GIT_USER_ID/GIT_REPO_ID/serverapiclient"

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 serverapiclient.ContextServerIndex of type int.

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

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

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

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

Documentation for API Endpoints

All URIs are relative to http://localhost:3000

Class Method HTTP request Description
ApiKeyAPI GenerateApiKey Post /apikey/{apiKeyName} Generate an API key
ApiKeyAPI ListClientApiKeys Get /apikey List API keys
ApiKeyAPI RevokeApiKey Delete /apikey/{apiKeyName} Revoke API key
ContainerRegistryAPI GetContainerRegistry Get /container-registry/{server} Get container registry credentials
ContainerRegistryAPI ListContainerRegistries Get /container-registry List container registries
ContainerRegistryAPI RemoveContainerRegistry Delete /container-registry/{server} Remove a container registry credentials
ContainerRegistryAPI SetContainerRegistry Put /container-registry/{server} Set container registry credentials
GitProviderAPI GetGitContext Get /gitprovider/context/{gitUrl} Get Git context
GitProviderAPI GetGitProviderForUrl Get /gitprovider/for-url/{url} Get Git provider
GitProviderAPI GetGitUser Get /gitprovider/{gitProviderId}/user Get Git context
GitProviderAPI GetNamespaces Get /gitprovider/{gitProviderId}/namespaces Get Git namespaces
GitProviderAPI GetRepoBranches Get /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/branches Get Git repository branches
GitProviderAPI GetRepoPRs Get /gitprovider/{gitProviderId}/{namespaceId}/{repositoryId}/pull-requests Get Git repository PRs
GitProviderAPI GetRepositories Get /gitprovider/{gitProviderId}/{namespaceId}/repositories Get Git repositories
GitProviderAPI ListGitProviders Get /gitprovider List Git providers
GitProviderAPI RemoveGitProvider Delete /gitprovider/{gitProviderId} Remove Git provider
GitProviderAPI SetGitProvider Put /gitprovider Set Git provider
ProviderAPI GetTargetManifest Get /provider/{provider}/target-manifest Get provider target manifest
ProviderAPI InstallProvider Post /provider/install Install a provider
ProviderAPI ListProviders Get /provider List providers
ProviderAPI UninstallProvider Post /provider/{provider}/uninstall Uninstall a provider
ServerAPI GenerateNetworkKey Post /server/network-key Generate a new authentication key
ServerAPI GetConfig Get /server/config Get the server configuration
ServerAPI SetConfig Post /server/config Set the server configuration
TargetAPI ListTargets Get /target List targets
TargetAPI RemoveTarget Delete /target/{target} Remove a target
TargetAPI SetTarget Put /target Set a target
WorkspaceAPI CreateWorkspace Post /workspace Create a workspace
WorkspaceAPI GetWorkspace Get /workspace/{workspaceId} Get workspace info
WorkspaceAPI ListWorkspaces Get /workspace List workspaces
WorkspaceAPI RemoveWorkspace Delete /workspace/{workspaceId} Remove workspace
WorkspaceAPI SetProjectState Post /workspace/{workspaceId}/{projectId}/state Set project state
WorkspaceAPI StartProject Post /workspace/{workspaceId}/{projectId}/start Start project
WorkspaceAPI StartWorkspace Post /workspace/{workspaceId}/start Start workspace
WorkspaceAPI StopProject Post /workspace/{workspaceId}/{projectId}/stop Stop project
WorkspaceAPI StopWorkspace Post /workspace/{workspaceId}/stop Stop workspace

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

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

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

Example

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

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
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")
)
View Source
var AllowedApikeyApiKeyTypeEnumValues = []ApikeyApiKeyType{
	"client",
	"project",
}

All allowed values of ApikeyApiKeyType enum

View Source
var AllowedProviderProviderTargetPropertyTypeEnumValues = []ProviderProviderTargetPropertyType{
	"string",
	"option",
	"boolean",
	"int",
	"float",
	"file-path",
}

All allowed values of ProviderProviderTargetPropertyType enum

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 {
	ApiKeyAPI *ApiKeyAPIService

	ContainerRegistryAPI *ContainerRegistryAPIService

	GitProviderAPI *GitProviderAPIService

	ProviderAPI *ProviderAPIService

	ServerAPI *ServerAPIService

	TargetAPI *TargetAPIService

	WorkspaceAPI *WorkspaceAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Daytona Server API API v0.1.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 ApiCreateWorkspaceRequest

type ApiCreateWorkspaceRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiCreateWorkspaceRequest) Execute

func (ApiCreateWorkspaceRequest) Workspace

Create workspace

type ApiGenerateApiKeyRequest added in v0.11.0

type ApiGenerateApiKeyRequest struct {
	ApiService *ApiKeyAPIService
	// contains filtered or unexported fields
}

func (ApiGenerateApiKeyRequest) Execute added in v0.11.0

type ApiGenerateNetworkKeyRequest

type ApiGenerateNetworkKeyRequest struct {
	ApiService *ServerAPIService
	// contains filtered or unexported fields
}

func (ApiGenerateNetworkKeyRequest) Execute

type ApiGetConfigRequest

type ApiGetConfigRequest struct {
	ApiService *ServerAPIService
	// contains filtered or unexported fields
}

func (ApiGetConfigRequest) Execute

type ApiGetContainerRegistryRequest added in v0.13.0

type ApiGetContainerRegistryRequest struct {
	ApiService *ContainerRegistryAPIService
	// contains filtered or unexported fields
}

func (ApiGetContainerRegistryRequest) Execute added in v0.13.0

type ApiGetGitContextRequest

type ApiGetGitContextRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetGitContextRequest) Execute

type ApiGetGitProviderForUrlRequest added in v0.11.0

type ApiGetGitProviderForUrlRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetGitProviderForUrlRequest) Execute added in v0.11.0

type ApiGetGitUserRequest added in v0.11.0

type ApiGetGitUserRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetGitUserRequest) Execute added in v0.11.0

func (r ApiGetGitUserRequest) Execute() (*GitUser, *http.Response, error)

type ApiGetNamespacesRequest added in v0.11.0

type ApiGetNamespacesRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetNamespacesRequest) Execute added in v0.11.0

type ApiGetRepoBranchesRequest added in v0.11.0

type ApiGetRepoBranchesRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetRepoBranchesRequest) Execute added in v0.11.0

type ApiGetRepoPRsRequest added in v0.11.0

type ApiGetRepoPRsRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetRepoPRsRequest) Execute added in v0.11.0

type ApiGetRepositoriesRequest added in v0.11.0

type ApiGetRepositoriesRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetRepositoriesRequest) Execute added in v0.11.0

type ApiGetTargetManifestRequest

type ApiGetTargetManifestRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiGetTargetManifestRequest) Execute

type ApiGetWorkspaceRequest

type ApiGetWorkspaceRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiGetWorkspaceRequest) Execute

type ApiInstallProviderRequest

type ApiInstallProviderRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiInstallProviderRequest) Execute

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

func (ApiInstallProviderRequest) Provider

Provider to install

type ApiKey added in v0.11.0

type ApiKey struct {
	KeyHash *string `json:"keyHash,omitempty"`
	// Project or client name
	Name *string           `json:"name,omitempty"`
	Type *ApikeyApiKeyType `json:"type,omitempty"`
}

ApiKey struct for ApiKey

func NewApiKey added in v0.11.0

func NewApiKey() *ApiKey

NewApiKey instantiates a new ApiKey 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 NewApiKeyWithDefaults added in v0.11.0

func NewApiKeyWithDefaults() *ApiKey

NewApiKeyWithDefaults instantiates a new ApiKey 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 (*ApiKey) GetKeyHash added in v0.11.0

func (o *ApiKey) GetKeyHash() string

GetKeyHash returns the KeyHash field value if set, zero value otherwise.

func (*ApiKey) GetKeyHashOk added in v0.11.0

func (o *ApiKey) GetKeyHashOk() (*string, bool)

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

func (*ApiKey) GetName added in v0.11.0

func (o *ApiKey) GetName() string

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

func (*ApiKey) GetNameOk added in v0.11.0

func (o *ApiKey) 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 (*ApiKey) GetType added in v0.11.0

func (o *ApiKey) GetType() ApikeyApiKeyType

GetType returns the Type field value if set, zero value otherwise.

func (*ApiKey) GetTypeOk added in v0.11.0

func (o *ApiKey) GetTypeOk() (*ApikeyApiKeyType, bool)

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

func (*ApiKey) HasKeyHash added in v0.11.0

func (o *ApiKey) HasKeyHash() bool

HasKeyHash returns a boolean if a field has been set.

func (*ApiKey) HasName added in v0.11.0

func (o *ApiKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApiKey) HasType added in v0.11.0

func (o *ApiKey) HasType() bool

HasType returns a boolean if a field has been set.

func (ApiKey) MarshalJSON added in v0.11.0

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

func (*ApiKey) SetKeyHash added in v0.11.0

func (o *ApiKey) SetKeyHash(v string)

SetKeyHash gets a reference to the given string and assigns it to the KeyHash field.

func (*ApiKey) SetName added in v0.11.0

func (o *ApiKey) SetName(v string)

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

func (*ApiKey) SetType added in v0.11.0

func (o *ApiKey) SetType(v ApikeyApiKeyType)

SetType gets a reference to the given ApikeyApiKeyType and assigns it to the Type field.

func (ApiKey) ToMap added in v0.11.0

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

type ApiKeyAPIService added in v0.11.0

type ApiKeyAPIService service

ApiKeyAPIService ApiKeyAPI service

func (*ApiKeyAPIService) GenerateApiKey added in v0.11.0

func (a *ApiKeyAPIService) GenerateApiKey(ctx context.Context, apiKeyName string) ApiGenerateApiKeyRequest

GenerateApiKey Generate an API key

Generate an API key

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

func (*ApiKeyAPIService) GenerateApiKeyExecute added in v0.11.0

func (a *ApiKeyAPIService) GenerateApiKeyExecute(r ApiGenerateApiKeyRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*ApiKeyAPIService) ListClientApiKeys added in v0.11.0

func (a *ApiKeyAPIService) ListClientApiKeys(ctx context.Context) ApiListClientApiKeysRequest

ListClientApiKeys List API keys

List API keys

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

func (*ApiKeyAPIService) ListClientApiKeysExecute added in v0.11.0

func (a *ApiKeyAPIService) ListClientApiKeysExecute(r ApiListClientApiKeysRequest) ([]ApiKey, *http.Response, error)

Execute executes the request

@return []ApiKey

func (*ApiKeyAPIService) RevokeApiKey added in v0.11.0

func (a *ApiKeyAPIService) RevokeApiKey(ctx context.Context, apiKeyName string) ApiRevokeApiKeyRequest

RevokeApiKey Revoke API key

Revoke API key

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

func (*ApiKeyAPIService) RevokeApiKeyExecute added in v0.11.0

func (a *ApiKeyAPIService) RevokeApiKeyExecute(r ApiRevokeApiKeyRequest) (*http.Response, error)

Execute executes the request

type ApiListClientApiKeysRequest added in v0.11.0

type ApiListClientApiKeysRequest struct {
	ApiService *ApiKeyAPIService
	// contains filtered or unexported fields
}

func (ApiListClientApiKeysRequest) Execute added in v0.11.0

type ApiListContainerRegistriesRequest added in v0.13.0

type ApiListContainerRegistriesRequest struct {
	ApiService *ContainerRegistryAPIService
	// contains filtered or unexported fields
}

func (ApiListContainerRegistriesRequest) Execute added in v0.13.0

type ApiListGitProvidersRequest added in v0.11.0

type ApiListGitProvidersRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiListGitProvidersRequest) Execute added in v0.11.0

type ApiListProvidersRequest

type ApiListProvidersRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiListProvidersRequest) Execute

func (r ApiListProvidersRequest) Execute() ([]Provider, *http.Response, error)

type ApiListTargetsRequest

type ApiListTargetsRequest struct {
	ApiService *TargetAPIService
	// contains filtered or unexported fields
}

func (ApiListTargetsRequest) Execute

type ApiListWorkspacesRequest

type ApiListWorkspacesRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiListWorkspacesRequest) Execute

func (ApiListWorkspacesRequest) Verbose added in v0.7.0

Verbose

type ApiRemoveContainerRegistryRequest added in v0.13.0

type ApiRemoveContainerRegistryRequest struct {
	ApiService *ContainerRegistryAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveContainerRegistryRequest) Execute added in v0.13.0

type ApiRemoveGitProviderRequest added in v0.11.0

type ApiRemoveGitProviderRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveGitProviderRequest) Execute added in v0.11.0

type ApiRemoveTargetRequest

type ApiRemoveTargetRequest struct {
	ApiService *TargetAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveTargetRequest) Execute

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

type ApiRemoveWorkspaceRequest

type ApiRemoveWorkspaceRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiRemoveWorkspaceRequest) Execute

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

type ApiRevokeApiKeyRequest added in v0.11.0

type ApiRevokeApiKeyRequest struct {
	ApiService *ApiKeyAPIService
	// contains filtered or unexported fields
}

func (ApiRevokeApiKeyRequest) Execute added in v0.11.0

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

type ApiSetConfigRequest

type ApiSetConfigRequest struct {
	ApiService *ServerAPIService
	// contains filtered or unexported fields
}

func (ApiSetConfigRequest) Config

Server configuration

func (ApiSetConfigRequest) Execute

type ApiSetContainerRegistryRequest added in v0.13.0

type ApiSetContainerRegistryRequest struct {
	ApiService *ContainerRegistryAPIService
	// contains filtered or unexported fields
}

func (ApiSetContainerRegistryRequest) ContainerRegistry added in v0.13.0

Container Registry credentials to set

func (ApiSetContainerRegistryRequest) Execute added in v0.13.0

type ApiSetGitProviderRequest added in v0.11.0

type ApiSetGitProviderRequest struct {
	ApiService *GitProviderAPIService
	// contains filtered or unexported fields
}

func (ApiSetGitProviderRequest) Execute added in v0.11.0

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

func (ApiSetGitProviderRequest) GitProviderConfig added in v0.11.0

func (r ApiSetGitProviderRequest) GitProviderConfig(gitProviderConfig GitProvider) ApiSetGitProviderRequest

Git provider

type ApiSetProjectStateRequest added in v0.11.0

type ApiSetProjectStateRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiSetProjectStateRequest) Execute added in v0.11.0

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

func (ApiSetProjectStateRequest) SetState added in v0.11.0

Set State

type ApiSetTargetRequest

type ApiSetTargetRequest struct {
	ApiService *TargetAPIService
	// contains filtered or unexported fields
}

func (ApiSetTargetRequest) Execute

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

func (ApiSetTargetRequest) Target

Target to set

type ApiStartProjectRequest

type ApiStartProjectRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiStartProjectRequest) Execute

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

type ApiStartWorkspaceRequest

type ApiStartWorkspaceRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiStartWorkspaceRequest) Execute

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

type ApiStopProjectRequest

type ApiStopProjectRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiStopProjectRequest) Execute

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

type ApiStopWorkspaceRequest

type ApiStopWorkspaceRequest struct {
	ApiService *WorkspaceAPIService
	// contains filtered or unexported fields
}

func (ApiStopWorkspaceRequest) Execute

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

type ApiUninstallProviderRequest

type ApiUninstallProviderRequest struct {
	ApiService *ProviderAPIService
	// contains filtered or unexported fields
}

func (ApiUninstallProviderRequest) Execute

type ApikeyApiKeyType added in v0.11.0

type ApikeyApiKeyType string

ApikeyApiKeyType the model 'ApikeyApiKeyType'

const (
	ApiKeyTypeClient  ApikeyApiKeyType = "client"
	ApiKeyTypeProject ApikeyApiKeyType = "project"
)

List of apikey.ApiKeyType

func NewApikeyApiKeyTypeFromValue added in v0.11.0

func NewApikeyApiKeyTypeFromValue(v string) (*ApikeyApiKeyType, error)

NewApikeyApiKeyTypeFromValue returns a pointer to a valid ApikeyApiKeyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ApikeyApiKeyType) IsValid added in v0.11.0

func (v ApikeyApiKeyType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (ApikeyApiKeyType) Ptr added in v0.11.0

Ptr returns reference to apikey.ApiKeyType value

func (*ApikeyApiKeyType) UnmarshalJSON added in v0.11.0

func (v *ApikeyApiKeyType) UnmarshalJSON(src []byte) 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 ContainerRegistry added in v0.13.0

type ContainerRegistry struct {
	Password *string `json:"password,omitempty"`
	Server   *string `json:"server,omitempty"`
	Username *string `json:"username,omitempty"`
}

ContainerRegistry struct for ContainerRegistry

func NewContainerRegistry added in v0.13.0

func NewContainerRegistry() *ContainerRegistry

NewContainerRegistry instantiates a new ContainerRegistry 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 NewContainerRegistryWithDefaults added in v0.13.0

func NewContainerRegistryWithDefaults() *ContainerRegistry

NewContainerRegistryWithDefaults instantiates a new ContainerRegistry 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 (*ContainerRegistry) GetPassword added in v0.13.0

func (o *ContainerRegistry) GetPassword() string

GetPassword returns the Password field value if set, zero value otherwise.

func (*ContainerRegistry) GetPasswordOk added in v0.13.0

func (o *ContainerRegistry) GetPasswordOk() (*string, bool)

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

func (*ContainerRegistry) GetServer added in v0.13.0

func (o *ContainerRegistry) GetServer() string

GetServer returns the Server field value if set, zero value otherwise.

func (*ContainerRegistry) GetServerOk added in v0.13.0

func (o *ContainerRegistry) GetServerOk() (*string, bool)

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

func (*ContainerRegistry) GetUsername added in v0.13.0

func (o *ContainerRegistry) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*ContainerRegistry) GetUsernameOk added in v0.13.0

func (o *ContainerRegistry) GetUsernameOk() (*string, bool)

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

func (*ContainerRegistry) HasPassword added in v0.13.0

func (o *ContainerRegistry) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*ContainerRegistry) HasServer added in v0.13.0

func (o *ContainerRegistry) HasServer() bool

HasServer returns a boolean if a field has been set.

func (*ContainerRegistry) HasUsername added in v0.13.0

func (o *ContainerRegistry) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ContainerRegistry) MarshalJSON added in v0.13.0

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

func (*ContainerRegistry) SetPassword added in v0.13.0

func (o *ContainerRegistry) SetPassword(v string)

SetPassword gets a reference to the given string and assigns it to the Password field.

func (*ContainerRegistry) SetServer added in v0.13.0

func (o *ContainerRegistry) SetServer(v string)

SetServer gets a reference to the given string and assigns it to the Server field.

func (*ContainerRegistry) SetUsername added in v0.13.0

func (o *ContainerRegistry) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (ContainerRegistry) ToMap added in v0.13.0

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

type ContainerRegistryAPIService added in v0.13.0

type ContainerRegistryAPIService service

ContainerRegistryAPIService ContainerRegistryAPI service

func (*ContainerRegistryAPIService) GetContainerRegistry added in v0.13.0

GetContainerRegistry Get container registry credentials

Get container registry credentials

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

func (*ContainerRegistryAPIService) GetContainerRegistryExecute added in v0.13.0

Execute executes the request

@return ContainerRegistry

func (*ContainerRegistryAPIService) ListContainerRegistries added in v0.13.0

ListContainerRegistries List container registries

List container registries

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

func (*ContainerRegistryAPIService) ListContainerRegistriesExecute added in v0.13.0

Execute executes the request

@return []ContainerRegistry

func (*ContainerRegistryAPIService) RemoveContainerRegistry added in v0.13.0

RemoveContainerRegistry Remove a container registry credentials

Remove a container registry credentials

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

func (*ContainerRegistryAPIService) RemoveContainerRegistryExecute added in v0.13.0

func (a *ContainerRegistryAPIService) RemoveContainerRegistryExecute(r ApiRemoveContainerRegistryRequest) (*http.Response, error)

Execute executes the request

func (*ContainerRegistryAPIService) SetContainerRegistry added in v0.13.0

SetContainerRegistry Set container registry credentials

Set container registry credentials

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

func (*ContainerRegistryAPIService) SetContainerRegistryExecute added in v0.13.0

func (a *ContainerRegistryAPIService) SetContainerRegistryExecute(r ApiSetContainerRegistryRequest) (*http.Response, error)

Execute executes the request

type CreateWorkspaceRequest added in v0.12.0

type CreateWorkspaceRequest struct {
	Id       *string                         `json:"id,omitempty"`
	Name     *string                         `json:"name,omitempty"`
	Projects []CreateWorkspaceRequestProject `json:"projects"`
	Target   *string                         `json:"target,omitempty"`
}

CreateWorkspaceRequest struct for CreateWorkspaceRequest

func NewCreateWorkspaceRequest added in v0.12.0

func NewCreateWorkspaceRequest(projects []CreateWorkspaceRequestProject) *CreateWorkspaceRequest

NewCreateWorkspaceRequest instantiates a new CreateWorkspaceRequest 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 NewCreateWorkspaceRequestWithDefaults added in v0.12.0

func NewCreateWorkspaceRequestWithDefaults() *CreateWorkspaceRequest

NewCreateWorkspaceRequestWithDefaults instantiates a new CreateWorkspaceRequest 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 (*CreateWorkspaceRequest) GetId added in v0.12.0

func (o *CreateWorkspaceRequest) GetId() string

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

func (*CreateWorkspaceRequest) GetIdOk added in v0.12.0

func (o *CreateWorkspaceRequest) GetIdOk() (*string, bool)

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

func (*CreateWorkspaceRequest) GetName added in v0.12.0

func (o *CreateWorkspaceRequest) GetName() string

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

func (*CreateWorkspaceRequest) GetNameOk added in v0.12.0

func (o *CreateWorkspaceRequest) 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 (*CreateWorkspaceRequest) GetProjects added in v0.12.0

GetProjects returns the Projects field value

func (*CreateWorkspaceRequest) GetProjectsOk added in v0.12.0

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

func (*CreateWorkspaceRequest) GetTarget added in v0.12.0

func (o *CreateWorkspaceRequest) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*CreateWorkspaceRequest) GetTargetOk added in v0.12.0

func (o *CreateWorkspaceRequest) GetTargetOk() (*string, bool)

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

func (*CreateWorkspaceRequest) HasId added in v0.12.0

func (o *CreateWorkspaceRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateWorkspaceRequest) HasName added in v0.12.0

func (o *CreateWorkspaceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWorkspaceRequest) HasTarget added in v0.12.0

func (o *CreateWorkspaceRequest) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (CreateWorkspaceRequest) MarshalJSON added in v0.12.0

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

func (*CreateWorkspaceRequest) SetId added in v0.12.0

func (o *CreateWorkspaceRequest) SetId(v string)

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

func (*CreateWorkspaceRequest) SetName added in v0.12.0

func (o *CreateWorkspaceRequest) SetName(v string)

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

func (*CreateWorkspaceRequest) SetProjects added in v0.12.0

SetProjects sets field value

func (*CreateWorkspaceRequest) SetTarget added in v0.12.0

func (o *CreateWorkspaceRequest) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (CreateWorkspaceRequest) ToMap added in v0.12.0

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

func (*CreateWorkspaceRequest) UnmarshalJSON added in v0.13.0

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

type CreateWorkspaceRequestProject added in v0.12.0

type CreateWorkspaceRequestProject struct {
	EnvVars           *map[string]string                   `json:"envVars,omitempty"`
	Image             *string                              `json:"image,omitempty"`
	Name              string                               `json:"name"`
	PostStartCommands []string                             `json:"postStartCommands,omitempty"`
	Source            *CreateWorkspaceRequestProjectSource `json:"source,omitempty"`
	User              *string                              `json:"user,omitempty"`
}

CreateWorkspaceRequestProject struct for CreateWorkspaceRequestProject

func NewCreateWorkspaceRequestProject added in v0.12.0

func NewCreateWorkspaceRequestProject(name string) *CreateWorkspaceRequestProject

NewCreateWorkspaceRequestProject instantiates a new CreateWorkspaceRequestProject 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 NewCreateWorkspaceRequestProjectWithDefaults added in v0.12.0

func NewCreateWorkspaceRequestProjectWithDefaults() *CreateWorkspaceRequestProject

NewCreateWorkspaceRequestProjectWithDefaults instantiates a new CreateWorkspaceRequestProject 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 (*CreateWorkspaceRequestProject) GetEnvVars added in v0.12.0

func (o *CreateWorkspaceRequestProject) GetEnvVars() map[string]string

GetEnvVars returns the EnvVars field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProject) GetEnvVarsOk added in v0.12.0

func (o *CreateWorkspaceRequestProject) GetEnvVarsOk() (*map[string]string, bool)

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

func (*CreateWorkspaceRequestProject) GetImage added in v0.12.0

func (o *CreateWorkspaceRequestProject) GetImage() string

GetImage returns the Image field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProject) GetImageOk added in v0.12.0

func (o *CreateWorkspaceRequestProject) GetImageOk() (*string, bool)

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

func (*CreateWorkspaceRequestProject) GetName added in v0.12.0

GetName returns the Name field value

func (*CreateWorkspaceRequestProject) GetNameOk added in v0.12.0

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

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

func (*CreateWorkspaceRequestProject) GetPostStartCommands added in v0.13.0

func (o *CreateWorkspaceRequestProject) GetPostStartCommands() []string

GetPostStartCommands returns the PostStartCommands field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProject) GetPostStartCommandsOk added in v0.13.0

func (o *CreateWorkspaceRequestProject) GetPostStartCommandsOk() ([]string, bool)

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

func (*CreateWorkspaceRequestProject) GetSource added in v0.12.0

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

func (*CreateWorkspaceRequestProject) GetSourceOk added in v0.12.0

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 (*CreateWorkspaceRequestProject) GetUser added in v0.13.0

GetUser returns the User field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProject) GetUserOk added in v0.13.0

func (o *CreateWorkspaceRequestProject) GetUserOk() (*string, bool)

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

func (*CreateWorkspaceRequestProject) HasEnvVars added in v0.12.0

func (o *CreateWorkspaceRequestProject) HasEnvVars() bool

HasEnvVars returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasImage added in v0.12.0

func (o *CreateWorkspaceRequestProject) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasPostStartCommands added in v0.13.0

func (o *CreateWorkspaceRequestProject) HasPostStartCommands() bool

HasPostStartCommands returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasSource added in v0.12.0

func (o *CreateWorkspaceRequestProject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasUser added in v0.13.0

func (o *CreateWorkspaceRequestProject) HasUser() bool

HasUser returns a boolean if a field has been set.

func (CreateWorkspaceRequestProject) MarshalJSON added in v0.12.0

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

func (*CreateWorkspaceRequestProject) SetEnvVars added in v0.12.0

func (o *CreateWorkspaceRequestProject) SetEnvVars(v map[string]string)

SetEnvVars gets a reference to the given map[string]string and assigns it to the EnvVars field.

func (*CreateWorkspaceRequestProject) SetImage added in v0.12.0

func (o *CreateWorkspaceRequestProject) SetImage(v string)

SetImage gets a reference to the given string and assigns it to the Image field.

func (*CreateWorkspaceRequestProject) SetName added in v0.12.0

func (o *CreateWorkspaceRequestProject) SetName(v string)

SetName sets field value

func (*CreateWorkspaceRequestProject) SetPostStartCommands added in v0.13.0

func (o *CreateWorkspaceRequestProject) SetPostStartCommands(v []string)

SetPostStartCommands gets a reference to the given []string and assigns it to the PostStartCommands field.

func (*CreateWorkspaceRequestProject) SetSource added in v0.12.0

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

func (*CreateWorkspaceRequestProject) SetUser added in v0.13.0

func (o *CreateWorkspaceRequestProject) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (CreateWorkspaceRequestProject) ToMap added in v0.12.0

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

func (*CreateWorkspaceRequestProject) UnmarshalJSON added in v0.13.0

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

type CreateWorkspaceRequestProjectSource added in v0.12.0

type CreateWorkspaceRequestProjectSource struct {
	Repository *GitRepository `json:"repository,omitempty"`
}

CreateWorkspaceRequestProjectSource struct for CreateWorkspaceRequestProjectSource

func NewCreateWorkspaceRequestProjectSource added in v0.12.0

func NewCreateWorkspaceRequestProjectSource() *CreateWorkspaceRequestProjectSource

NewCreateWorkspaceRequestProjectSource instantiates a new CreateWorkspaceRequestProjectSource 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 NewCreateWorkspaceRequestProjectSourceWithDefaults added in v0.12.0

func NewCreateWorkspaceRequestProjectSourceWithDefaults() *CreateWorkspaceRequestProjectSource

NewCreateWorkspaceRequestProjectSourceWithDefaults instantiates a new CreateWorkspaceRequestProjectSource 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 (*CreateWorkspaceRequestProjectSource) GetRepository added in v0.12.0

GetRepository returns the Repository field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProjectSource) GetRepositoryOk added in v0.12.0

func (o *CreateWorkspaceRequestProjectSource) GetRepositoryOk() (*GitRepository, bool)

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

func (*CreateWorkspaceRequestProjectSource) HasRepository added in v0.12.0

func (o *CreateWorkspaceRequestProjectSource) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (CreateWorkspaceRequestProjectSource) MarshalJSON added in v0.12.0

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

func (*CreateWorkspaceRequestProjectSource) SetRepository added in v0.12.0

SetRepository gets a reference to the given GitRepository and assigns it to the Repository field.

func (CreateWorkspaceRequestProjectSource) ToMap added in v0.12.0

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

type FRPSConfig

type FRPSConfig struct {
	Domain   *string `json:"domain,omitempty"`
	Port     *int32  `json:"port,omitempty"`
	Protocol *string `json:"protocol,omitempty"`
}

FRPSConfig struct for FRPSConfig

func NewFRPSConfig

func NewFRPSConfig() *FRPSConfig

NewFRPSConfig instantiates a new FRPSConfig 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 NewFRPSConfigWithDefaults

func NewFRPSConfigWithDefaults() *FRPSConfig

NewFRPSConfigWithDefaults instantiates a new FRPSConfig 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 (*FRPSConfig) GetDomain

func (o *FRPSConfig) GetDomain() string

GetDomain returns the Domain field value if set, zero value otherwise.

func (*FRPSConfig) GetDomainOk

func (o *FRPSConfig) GetDomainOk() (*string, bool)

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

func (*FRPSConfig) GetPort

func (o *FRPSConfig) GetPort() int32

GetPort returns the Port field value if set, zero value otherwise.

func (*FRPSConfig) GetPortOk

func (o *FRPSConfig) GetPortOk() (*int32, bool)

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

func (*FRPSConfig) GetProtocol

func (o *FRPSConfig) GetProtocol() string

GetProtocol returns the Protocol field value if set, zero value otherwise.

func (*FRPSConfig) GetProtocolOk

func (o *FRPSConfig) GetProtocolOk() (*string, bool)

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

func (*FRPSConfig) HasDomain

func (o *FRPSConfig) HasDomain() bool

HasDomain returns a boolean if a field has been set.

func (*FRPSConfig) HasPort

func (o *FRPSConfig) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*FRPSConfig) HasProtocol

func (o *FRPSConfig) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (FRPSConfig) MarshalJSON

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

func (*FRPSConfig) SetDomain

func (o *FRPSConfig) SetDomain(v string)

SetDomain gets a reference to the given string and assigns it to the Domain field.

func (*FRPSConfig) SetPort

func (o *FRPSConfig) SetPort(v int32)

SetPort gets a reference to the given int32 and assigns it to the Port field.

func (*FRPSConfig) SetProtocol

func (o *FRPSConfig) SetProtocol(v string)

SetProtocol gets a reference to the given string and assigns it to the Protocol field.

func (FRPSConfig) ToMap

func (o FRPSConfig) 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 GitBranch added in v0.11.0

type GitBranch struct {
	Name *string `json:"name,omitempty"`
	Sha  *string `json:"sha,omitempty"`
}

GitBranch struct for GitBranch

func NewGitBranch added in v0.11.0

func NewGitBranch() *GitBranch

NewGitBranch instantiates a new GitBranch 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 NewGitBranchWithDefaults added in v0.11.0

func NewGitBranchWithDefaults() *GitBranch

NewGitBranchWithDefaults instantiates a new GitBranch 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 (*GitBranch) GetName added in v0.11.0

func (o *GitBranch) GetName() string

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

func (*GitBranch) GetNameOk added in v0.11.0

func (o *GitBranch) 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 (*GitBranch) GetSha added in v0.11.0

func (o *GitBranch) GetSha() string

GetSha returns the Sha field value if set, zero value otherwise.

func (*GitBranch) GetShaOk added in v0.11.0

func (o *GitBranch) GetShaOk() (*string, bool)

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

func (*GitBranch) HasName added in v0.11.0

func (o *GitBranch) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitBranch) HasSha added in v0.11.0

func (o *GitBranch) HasSha() bool

HasSha returns a boolean if a field has been set.

func (GitBranch) MarshalJSON added in v0.11.0

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

func (*GitBranch) SetName added in v0.11.0

func (o *GitBranch) SetName(v string)

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

func (*GitBranch) SetSha added in v0.11.0

func (o *GitBranch) SetSha(v string)

SetSha gets a reference to the given string and assigns it to the Sha field.

func (GitBranch) ToMap added in v0.11.0

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

type GitNamespace added in v0.11.0

type GitNamespace struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
}

GitNamespace struct for GitNamespace

func NewGitNamespace added in v0.11.0

func NewGitNamespace() *GitNamespace

NewGitNamespace instantiates a new GitNamespace 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 NewGitNamespaceWithDefaults added in v0.11.0

func NewGitNamespaceWithDefaults() *GitNamespace

NewGitNamespaceWithDefaults instantiates a new GitNamespace 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 (*GitNamespace) GetId added in v0.11.0

func (o *GitNamespace) GetId() string

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

func (*GitNamespace) GetIdOk added in v0.11.0

func (o *GitNamespace) GetIdOk() (*string, bool)

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

func (*GitNamespace) GetName added in v0.11.0

func (o *GitNamespace) GetName() string

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

func (*GitNamespace) GetNameOk added in v0.11.0

func (o *GitNamespace) 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 (*GitNamespace) HasId added in v0.11.0

func (o *GitNamespace) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitNamespace) HasName added in v0.11.0

func (o *GitNamespace) HasName() bool

HasName returns a boolean if a field has been set.

func (GitNamespace) MarshalJSON added in v0.11.0

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

func (*GitNamespace) SetId added in v0.11.0

func (o *GitNamespace) SetId(v string)

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

func (*GitNamespace) SetName added in v0.11.0

func (o *GitNamespace) SetName(v string)

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

func (GitNamespace) ToMap added in v0.11.0

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

type GitProvider

type GitProvider struct {
	BaseApiUrl *string `json:"baseApiUrl,omitempty"`
	Id         *string `json:"id,omitempty"`
	Token      *string `json:"token,omitempty"`
	Username   *string `json:"username,omitempty"`
}

GitProvider struct for GitProvider

func NewGitProvider

func NewGitProvider() *GitProvider

NewGitProvider instantiates a new GitProvider 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 NewGitProviderWithDefaults

func NewGitProviderWithDefaults() *GitProvider

NewGitProviderWithDefaults instantiates a new GitProvider 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 (*GitProvider) GetBaseApiUrl added in v0.3.0

func (o *GitProvider) GetBaseApiUrl() string

GetBaseApiUrl returns the BaseApiUrl field value if set, zero value otherwise.

func (*GitProvider) GetBaseApiUrlOk added in v0.3.0

func (o *GitProvider) GetBaseApiUrlOk() (*string, bool)

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

func (*GitProvider) GetId

func (o *GitProvider) GetId() string

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

func (*GitProvider) GetIdOk

func (o *GitProvider) GetIdOk() (*string, bool)

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

func (*GitProvider) GetToken

func (o *GitProvider) GetToken() string

GetToken returns the Token field value if set, zero value otherwise.

func (*GitProvider) GetTokenOk

func (o *GitProvider) GetTokenOk() (*string, bool)

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

func (*GitProvider) GetUsername

func (o *GitProvider) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*GitProvider) GetUsernameOk

func (o *GitProvider) GetUsernameOk() (*string, bool)

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

func (*GitProvider) HasBaseApiUrl added in v0.3.0

func (o *GitProvider) HasBaseApiUrl() bool

HasBaseApiUrl returns a boolean if a field has been set.

func (*GitProvider) HasId

func (o *GitProvider) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitProvider) HasToken

func (o *GitProvider) HasToken() bool

HasToken returns a boolean if a field has been set.

func (*GitProvider) HasUsername

func (o *GitProvider) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (GitProvider) MarshalJSON

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

func (*GitProvider) SetBaseApiUrl added in v0.3.0

func (o *GitProvider) SetBaseApiUrl(v string)

SetBaseApiUrl gets a reference to the given string and assigns it to the BaseApiUrl field.

func (*GitProvider) SetId

func (o *GitProvider) SetId(v string)

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

func (*GitProvider) SetToken

func (o *GitProvider) SetToken(v string)

SetToken gets a reference to the given string and assigns it to the Token field.

func (*GitProvider) SetUsername

func (o *GitProvider) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (GitProvider) ToMap

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

type GitProviderAPIService added in v0.8.0

type GitProviderAPIService service

GitProviderAPIService GitProviderAPI service

func (*GitProviderAPIService) GetGitContext added in v0.11.0

func (a *GitProviderAPIService) GetGitContext(ctx context.Context, gitUrl string) ApiGetGitContextRequest

GetGitContext Get Git context

Get Git context

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

func (*GitProviderAPIService) GetGitContextExecute added in v0.11.0

Execute executes the request

@return GitRepository

func (*GitProviderAPIService) GetGitProviderForUrl added in v0.11.0

GetGitProviderForUrl Get Git provider

Get Git provider

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

func (*GitProviderAPIService) GetGitProviderForUrlExecute added in v0.11.0

func (a *GitProviderAPIService) GetGitProviderForUrlExecute(r ApiGetGitProviderForUrlRequest) (*GitProvider, *http.Response, error)

Execute executes the request

@return GitProvider

func (*GitProviderAPIService) GetGitUser added in v0.11.0

func (a *GitProviderAPIService) GetGitUser(ctx context.Context, gitProviderId string) ApiGetGitUserRequest

GetGitUser Get Git context

Get Git context

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

func (*GitProviderAPIService) GetGitUserExecute added in v0.11.0

func (a *GitProviderAPIService) GetGitUserExecute(r ApiGetGitUserRequest) (*GitUser, *http.Response, error)

Execute executes the request

@return GitUser

func (*GitProviderAPIService) GetNamespaces added in v0.11.0

func (a *GitProviderAPIService) GetNamespaces(ctx context.Context, gitProviderId string) ApiGetNamespacesRequest

GetNamespaces Get Git namespaces

Get Git namespaces

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

func (*GitProviderAPIService) GetNamespacesExecute added in v0.11.0

Execute executes the request

@return []GitNamespace

func (*GitProviderAPIService) GetRepoBranches added in v0.11.0

func (a *GitProviderAPIService) GetRepoBranches(ctx context.Context, gitProviderId string, namespaceId string, repositoryId string) ApiGetRepoBranchesRequest

GetRepoBranches Get Git repository branches

Get Git repository branches

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@param repositoryId Repository
@return ApiGetRepoBranchesRequest

func (*GitProviderAPIService) GetRepoBranchesExecute added in v0.11.0

func (a *GitProviderAPIService) GetRepoBranchesExecute(r ApiGetRepoBranchesRequest) ([]GitBranch, *http.Response, error)

Execute executes the request

@return []GitBranch

func (*GitProviderAPIService) GetRepoPRs added in v0.11.0

func (a *GitProviderAPIService) GetRepoPRs(ctx context.Context, gitProviderId string, namespaceId string, repositoryId string) ApiGetRepoPRsRequest

GetRepoPRs Get Git repository PRs

Get Git repository PRs

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@param repositoryId Repository
@return ApiGetRepoPRsRequest

func (*GitProviderAPIService) GetRepoPRsExecute added in v0.11.0

Execute executes the request

@return []GitPullRequest

func (*GitProviderAPIService) GetRepositories added in v0.11.0

func (a *GitProviderAPIService) GetRepositories(ctx context.Context, gitProviderId string, namespaceId string) ApiGetRepositoriesRequest

GetRepositories Get Git repositories

Get Git repositories

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param gitProviderId Git provider
@param namespaceId Namespace
@return ApiGetRepositoriesRequest

func (*GitProviderAPIService) GetRepositoriesExecute added in v0.11.0

Execute executes the request

@return []GitRepository

func (*GitProviderAPIService) ListGitProviders added in v0.11.0

ListGitProviders List Git providers

List Git providers

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

func (*GitProviderAPIService) ListGitProvidersExecute added in v0.11.0

func (a *GitProviderAPIService) ListGitProvidersExecute(r ApiListGitProvidersRequest) ([]GitProvider, *http.Response, error)

Execute executes the request

@return []GitProvider

func (*GitProviderAPIService) RemoveGitProvider added in v0.11.0

func (a *GitProviderAPIService) RemoveGitProvider(ctx context.Context, gitProviderId string) ApiRemoveGitProviderRequest

RemoveGitProvider Remove Git provider

Remove Git provider

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

func (*GitProviderAPIService) RemoveGitProviderExecute added in v0.11.0

func (a *GitProviderAPIService) RemoveGitProviderExecute(r ApiRemoveGitProviderRequest) (*http.Response, error)

Execute executes the request

func (*GitProviderAPIService) SetGitProvider added in v0.11.0

SetGitProvider Set Git provider

Set Git provider

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

func (*GitProviderAPIService) SetGitProviderExecute added in v0.11.0

func (a *GitProviderAPIService) SetGitProviderExecute(r ApiSetGitProviderRequest) (*http.Response, error)

Execute executes the request

type GitPullRequest added in v0.11.0

type GitPullRequest struct {
	Branch *string `json:"branch,omitempty"`
	Name   *string `json:"name,omitempty"`
}

GitPullRequest struct for GitPullRequest

func NewGitPullRequest added in v0.11.0

func NewGitPullRequest() *GitPullRequest

NewGitPullRequest instantiates a new GitPullRequest 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 NewGitPullRequestWithDefaults added in v0.11.0

func NewGitPullRequestWithDefaults() *GitPullRequest

NewGitPullRequestWithDefaults instantiates a new GitPullRequest 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 (*GitPullRequest) GetBranch added in v0.11.0

func (o *GitPullRequest) GetBranch() string

GetBranch returns the Branch field value if set, zero value otherwise.

func (*GitPullRequest) GetBranchOk added in v0.11.0

func (o *GitPullRequest) GetBranchOk() (*string, bool)

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

func (*GitPullRequest) GetName added in v0.11.0

func (o *GitPullRequest) GetName() string

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

func (*GitPullRequest) GetNameOk added in v0.11.0

func (o *GitPullRequest) 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 (*GitPullRequest) HasBranch added in v0.11.0

func (o *GitPullRequest) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*GitPullRequest) HasName added in v0.11.0

func (o *GitPullRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (GitPullRequest) MarshalJSON added in v0.11.0

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

func (*GitPullRequest) SetBranch added in v0.11.0

func (o *GitPullRequest) SetBranch(v string)

SetBranch gets a reference to the given string and assigns it to the Branch field.

func (*GitPullRequest) SetName added in v0.11.0

func (o *GitPullRequest) SetName(v string)

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

func (GitPullRequest) ToMap added in v0.11.0

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

type GitRepository added in v0.11.0

type GitRepository struct {
	Branch   *string `json:"branch,omitempty"`
	Id       *string `json:"id,omitempty"`
	Name     *string `json:"name,omitempty"`
	Owner    *string `json:"owner,omitempty"`
	Path     *string `json:"path,omitempty"`
	PrNumber *int32  `json:"prNumber,omitempty"`
	Sha      *string `json:"sha,omitempty"`
	Source   *string `json:"source,omitempty"`
	Url      *string `json:"url,omitempty"`
}

GitRepository struct for GitRepository

func NewGitRepository added in v0.11.0

func NewGitRepository() *GitRepository

NewGitRepository instantiates a new GitRepository 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 NewGitRepositoryWithDefaults added in v0.11.0

func NewGitRepositoryWithDefaults() *GitRepository

NewGitRepositoryWithDefaults instantiates a new GitRepository 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 (*GitRepository) GetBranch added in v0.11.0

func (o *GitRepository) GetBranch() string

GetBranch returns the Branch field value if set, zero value otherwise.

func (*GitRepository) GetBranchOk added in v0.11.0

func (o *GitRepository) GetBranchOk() (*string, bool)

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

func (*GitRepository) GetId added in v0.11.0

func (o *GitRepository) GetId() string

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

func (*GitRepository) GetIdOk added in v0.11.0

func (o *GitRepository) GetIdOk() (*string, bool)

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

func (*GitRepository) GetName added in v0.11.0

func (o *GitRepository) GetName() string

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

func (*GitRepository) GetNameOk added in v0.11.0

func (o *GitRepository) 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 (*GitRepository) GetOwner added in v0.11.0

func (o *GitRepository) GetOwner() string

GetOwner returns the Owner field value if set, zero value otherwise.

func (*GitRepository) GetOwnerOk added in v0.11.0

func (o *GitRepository) GetOwnerOk() (*string, bool)

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

func (*GitRepository) GetPath added in v0.11.0

func (o *GitRepository) GetPath() string

GetPath returns the Path field value if set, zero value otherwise.

func (*GitRepository) GetPathOk added in v0.11.0

func (o *GitRepository) GetPathOk() (*string, bool)

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

func (*GitRepository) GetPrNumber added in v0.11.0

func (o *GitRepository) GetPrNumber() int32

GetPrNumber returns the PrNumber field value if set, zero value otherwise.

func (*GitRepository) GetPrNumberOk added in v0.11.0

func (o *GitRepository) GetPrNumberOk() (*int32, bool)

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

func (*GitRepository) GetSha added in v0.11.0

func (o *GitRepository) GetSha() string

GetSha returns the Sha field value if set, zero value otherwise.

func (*GitRepository) GetShaOk added in v0.11.0

func (o *GitRepository) GetShaOk() (*string, bool)

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

func (*GitRepository) GetSource added in v0.11.0

func (o *GitRepository) GetSource() string

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

func (*GitRepository) GetSourceOk added in v0.11.0

func (o *GitRepository) GetSourceOk() (*string, 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 (*GitRepository) GetUrl added in v0.11.0

func (o *GitRepository) GetUrl() string

GetUrl returns the Url field value if set, zero value otherwise.

func (*GitRepository) GetUrlOk added in v0.11.0

func (o *GitRepository) GetUrlOk() (*string, bool)

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

func (*GitRepository) HasBranch added in v0.11.0

func (o *GitRepository) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*GitRepository) HasId added in v0.11.0

func (o *GitRepository) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitRepository) HasName added in v0.11.0

func (o *GitRepository) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitRepository) HasOwner added in v0.11.0

func (o *GitRepository) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*GitRepository) HasPath added in v0.11.0

func (o *GitRepository) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*GitRepository) HasPrNumber added in v0.11.0

func (o *GitRepository) HasPrNumber() bool

HasPrNumber returns a boolean if a field has been set.

func (*GitRepository) HasSha added in v0.11.0

func (o *GitRepository) HasSha() bool

HasSha returns a boolean if a field has been set.

func (*GitRepository) HasSource added in v0.11.0

func (o *GitRepository) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*GitRepository) HasUrl added in v0.11.0

func (o *GitRepository) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (GitRepository) MarshalJSON added in v0.11.0

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

func (*GitRepository) SetBranch added in v0.11.0

func (o *GitRepository) SetBranch(v string)

SetBranch gets a reference to the given string and assigns it to the Branch field.

func (*GitRepository) SetId added in v0.11.0

func (o *GitRepository) SetId(v string)

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

func (*GitRepository) SetName added in v0.11.0

func (o *GitRepository) SetName(v string)

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

func (*GitRepository) SetOwner added in v0.11.0

func (o *GitRepository) SetOwner(v string)

SetOwner gets a reference to the given string and assigns it to the Owner field.

func (*GitRepository) SetPath added in v0.11.0

func (o *GitRepository) SetPath(v string)

SetPath gets a reference to the given string and assigns it to the Path field.

func (*GitRepository) SetPrNumber added in v0.11.0

func (o *GitRepository) SetPrNumber(v int32)

SetPrNumber gets a reference to the given int32 and assigns it to the PrNumber field.

func (*GitRepository) SetSha added in v0.11.0

func (o *GitRepository) SetSha(v string)

SetSha gets a reference to the given string and assigns it to the Sha field.

func (*GitRepository) SetSource added in v0.11.0

func (o *GitRepository) SetSource(v string)

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

func (*GitRepository) SetUrl added in v0.11.0

func (o *GitRepository) SetUrl(v string)

SetUrl gets a reference to the given string and assigns it to the Url field.

func (GitRepository) ToMap added in v0.11.0

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

type GitUser added in v0.11.0

type GitUser struct {
	Email    *string `json:"email,omitempty"`
	Id       *string `json:"id,omitempty"`
	Name     *string `json:"name,omitempty"`
	Username *string `json:"username,omitempty"`
}

GitUser struct for GitUser

func NewGitUser added in v0.11.0

func NewGitUser() *GitUser

NewGitUser instantiates a new GitUser 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 NewGitUserWithDefaults added in v0.11.0

func NewGitUserWithDefaults() *GitUser

NewGitUserWithDefaults instantiates a new GitUser 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 (*GitUser) GetEmail added in v0.11.0

func (o *GitUser) GetEmail() string

GetEmail returns the Email field value if set, zero value otherwise.

func (*GitUser) GetEmailOk added in v0.11.0

func (o *GitUser) GetEmailOk() (*string, bool)

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

func (*GitUser) GetId added in v0.11.0

func (o *GitUser) GetId() string

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

func (*GitUser) GetIdOk added in v0.11.0

func (o *GitUser) GetIdOk() (*string, bool)

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

func (*GitUser) GetName added in v0.11.0

func (o *GitUser) GetName() string

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

func (*GitUser) GetNameOk added in v0.11.0

func (o *GitUser) 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 (*GitUser) GetUsername added in v0.11.0

func (o *GitUser) GetUsername() string

GetUsername returns the Username field value if set, zero value otherwise.

func (*GitUser) GetUsernameOk added in v0.11.0

func (o *GitUser) GetUsernameOk() (*string, bool)

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

func (*GitUser) HasEmail added in v0.11.0

func (o *GitUser) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*GitUser) HasId added in v0.11.0

func (o *GitUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitUser) HasName added in v0.11.0

func (o *GitUser) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitUser) HasUsername added in v0.11.0

func (o *GitUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (GitUser) MarshalJSON added in v0.11.0

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

func (*GitUser) SetEmail added in v0.11.0

func (o *GitUser) SetEmail(v string)

SetEmail gets a reference to the given string and assigns it to the Email field.

func (*GitUser) SetId added in v0.11.0

func (o *GitUser) SetId(v string)

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

func (*GitUser) SetName added in v0.11.0

func (o *GitUser) SetName(v string)

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

func (*GitUser) SetUsername added in v0.11.0

func (o *GitUser) SetUsername(v string)

SetUsername gets a reference to the given string and assigns it to the Username field.

func (GitUser) ToMap added in v0.11.0

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

type InstallProviderRequest

type InstallProviderRequest struct {
	DownloadUrls *map[string]string `json:"downloadUrls,omitempty"`
	Name         *string            `json:"name,omitempty"`
}

InstallProviderRequest struct for InstallProviderRequest

func NewInstallProviderRequest

func NewInstallProviderRequest() *InstallProviderRequest

NewInstallProviderRequest instantiates a new InstallProviderRequest 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 NewInstallProviderRequestWithDefaults

func NewInstallProviderRequestWithDefaults() *InstallProviderRequest

NewInstallProviderRequestWithDefaults instantiates a new InstallProviderRequest 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 (*InstallProviderRequest) GetDownloadUrls

func (o *InstallProviderRequest) GetDownloadUrls() map[string]string

GetDownloadUrls returns the DownloadUrls field value if set, zero value otherwise.

func (*InstallProviderRequest) GetDownloadUrlsOk

func (o *InstallProviderRequest) GetDownloadUrlsOk() (*map[string]string, bool)

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

func (*InstallProviderRequest) GetName

func (o *InstallProviderRequest) GetName() string

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

func (*InstallProviderRequest) GetNameOk

func (o *InstallProviderRequest) 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 (*InstallProviderRequest) HasDownloadUrls

func (o *InstallProviderRequest) HasDownloadUrls() bool

HasDownloadUrls returns a boolean if a field has been set.

func (*InstallProviderRequest) HasName

func (o *InstallProviderRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (InstallProviderRequest) MarshalJSON

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

func (*InstallProviderRequest) SetDownloadUrls

func (o *InstallProviderRequest) SetDownloadUrls(v map[string]string)

SetDownloadUrls gets a reference to the given map[string]string and assigns it to the DownloadUrls field.

func (*InstallProviderRequest) SetName

func (o *InstallProviderRequest) SetName(v string)

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

func (InstallProviderRequest) ToMap

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

type MappedNullable

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

type NetworkKey

type NetworkKey struct {
	Key *string `json:"key,omitempty"`
}

NetworkKey struct for NetworkKey

func NewNetworkKey

func NewNetworkKey() *NetworkKey

NewNetworkKey instantiates a new NetworkKey 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 NewNetworkKeyWithDefaults

func NewNetworkKeyWithDefaults() *NetworkKey

NewNetworkKeyWithDefaults instantiates a new NetworkKey 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 (*NetworkKey) GetKey

func (o *NetworkKey) GetKey() string

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

func (*NetworkKey) GetKeyOk

func (o *NetworkKey) 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 (*NetworkKey) HasKey

func (o *NetworkKey) HasKey() bool

HasKey returns a boolean if a field has been set.

func (NetworkKey) MarshalJSON

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

func (*NetworkKey) SetKey

func (o *NetworkKey) SetKey(v string)

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

func (NetworkKey) ToMap

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

type NullableApiKey added in v0.11.0

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

func NewNullableApiKey added in v0.11.0

func NewNullableApiKey(val *ApiKey) *NullableApiKey

func (NullableApiKey) Get added in v0.11.0

func (v NullableApiKey) Get() *ApiKey

func (NullableApiKey) IsSet added in v0.11.0

func (v NullableApiKey) IsSet() bool

func (NullableApiKey) MarshalJSON added in v0.11.0

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

func (*NullableApiKey) Set added in v0.11.0

func (v *NullableApiKey) Set(val *ApiKey)

func (*NullableApiKey) UnmarshalJSON added in v0.11.0

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

func (*NullableApiKey) Unset added in v0.11.0

func (v *NullableApiKey) Unset()

type NullableApikeyApiKeyType added in v0.11.0

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

func NewNullableApikeyApiKeyType added in v0.11.0

func NewNullableApikeyApiKeyType(val *ApikeyApiKeyType) *NullableApikeyApiKeyType

func (NullableApikeyApiKeyType) Get added in v0.11.0

func (NullableApikeyApiKeyType) IsSet added in v0.11.0

func (v NullableApikeyApiKeyType) IsSet() bool

func (NullableApikeyApiKeyType) MarshalJSON added in v0.11.0

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

func (*NullableApikeyApiKeyType) Set added in v0.11.0

func (*NullableApikeyApiKeyType) UnmarshalJSON added in v0.11.0

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

func (*NullableApikeyApiKeyType) Unset added in v0.11.0

func (v *NullableApikeyApiKeyType) 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 NullableContainerRegistry added in v0.13.0

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

func NewNullableContainerRegistry added in v0.13.0

func NewNullableContainerRegistry(val *ContainerRegistry) *NullableContainerRegistry

func (NullableContainerRegistry) Get added in v0.13.0

func (NullableContainerRegistry) IsSet added in v0.13.0

func (v NullableContainerRegistry) IsSet() bool

func (NullableContainerRegistry) MarshalJSON added in v0.13.0

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

func (*NullableContainerRegistry) Set added in v0.13.0

func (*NullableContainerRegistry) UnmarshalJSON added in v0.13.0

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

func (*NullableContainerRegistry) Unset added in v0.13.0

func (v *NullableContainerRegistry) Unset()

type NullableCreateWorkspaceRequest added in v0.12.0

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

func NewNullableCreateWorkspaceRequest added in v0.12.0

func NewNullableCreateWorkspaceRequest(val *CreateWorkspaceRequest) *NullableCreateWorkspaceRequest

func (NullableCreateWorkspaceRequest) Get added in v0.12.0

func (NullableCreateWorkspaceRequest) IsSet added in v0.12.0

func (NullableCreateWorkspaceRequest) MarshalJSON added in v0.12.0

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

func (*NullableCreateWorkspaceRequest) Set added in v0.12.0

func (*NullableCreateWorkspaceRequest) UnmarshalJSON added in v0.12.0

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

func (*NullableCreateWorkspaceRequest) Unset added in v0.12.0

func (v *NullableCreateWorkspaceRequest) Unset()

type NullableCreateWorkspaceRequestProject added in v0.12.0

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

func NewNullableCreateWorkspaceRequestProject added in v0.12.0

func NewNullableCreateWorkspaceRequestProject(val *CreateWorkspaceRequestProject) *NullableCreateWorkspaceRequestProject

func (NullableCreateWorkspaceRequestProject) Get added in v0.12.0

func (NullableCreateWorkspaceRequestProject) IsSet added in v0.12.0

func (NullableCreateWorkspaceRequestProject) MarshalJSON added in v0.12.0

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

func (*NullableCreateWorkspaceRequestProject) Set added in v0.12.0

func (*NullableCreateWorkspaceRequestProject) UnmarshalJSON added in v0.12.0

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

func (*NullableCreateWorkspaceRequestProject) Unset added in v0.12.0

type NullableCreateWorkspaceRequestProjectSource added in v0.12.0

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

func NewNullableCreateWorkspaceRequestProjectSource added in v0.12.0

func NewNullableCreateWorkspaceRequestProjectSource(val *CreateWorkspaceRequestProjectSource) *NullableCreateWorkspaceRequestProjectSource

func (NullableCreateWorkspaceRequestProjectSource) Get added in v0.12.0

func (NullableCreateWorkspaceRequestProjectSource) IsSet added in v0.12.0

func (NullableCreateWorkspaceRequestProjectSource) MarshalJSON added in v0.12.0

func (*NullableCreateWorkspaceRequestProjectSource) Set added in v0.12.0

func (*NullableCreateWorkspaceRequestProjectSource) UnmarshalJSON added in v0.12.0

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

func (*NullableCreateWorkspaceRequestProjectSource) Unset added in v0.12.0

type NullableFRPSConfig

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

func NewNullableFRPSConfig

func NewNullableFRPSConfig(val *FRPSConfig) *NullableFRPSConfig

func (NullableFRPSConfig) Get

func (v NullableFRPSConfig) Get() *FRPSConfig

func (NullableFRPSConfig) IsSet

func (v NullableFRPSConfig) IsSet() bool

func (NullableFRPSConfig) MarshalJSON

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

func (*NullableFRPSConfig) Set

func (v *NullableFRPSConfig) Set(val *FRPSConfig)

func (*NullableFRPSConfig) UnmarshalJSON

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

func (*NullableFRPSConfig) Unset

func (v *NullableFRPSConfig) 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 NullableGitBranch added in v0.11.0

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

func NewNullableGitBranch added in v0.11.0

func NewNullableGitBranch(val *GitBranch) *NullableGitBranch

func (NullableGitBranch) Get added in v0.11.0

func (v NullableGitBranch) Get() *GitBranch

func (NullableGitBranch) IsSet added in v0.11.0

func (v NullableGitBranch) IsSet() bool

func (NullableGitBranch) MarshalJSON added in v0.11.0

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

func (*NullableGitBranch) Set added in v0.11.0

func (v *NullableGitBranch) Set(val *GitBranch)

func (*NullableGitBranch) UnmarshalJSON added in v0.11.0

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

func (*NullableGitBranch) Unset added in v0.11.0

func (v *NullableGitBranch) Unset()

type NullableGitNamespace added in v0.11.0

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

func NewNullableGitNamespace added in v0.11.0

func NewNullableGitNamespace(val *GitNamespace) *NullableGitNamespace

func (NullableGitNamespace) Get added in v0.11.0

func (NullableGitNamespace) IsSet added in v0.11.0

func (v NullableGitNamespace) IsSet() bool

func (NullableGitNamespace) MarshalJSON added in v0.11.0

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

func (*NullableGitNamespace) Set added in v0.11.0

func (v *NullableGitNamespace) Set(val *GitNamespace)

func (*NullableGitNamespace) UnmarshalJSON added in v0.11.0

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

func (*NullableGitNamespace) Unset added in v0.11.0

func (v *NullableGitNamespace) Unset()

type NullableGitProvider

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

func NewNullableGitProvider

func NewNullableGitProvider(val *GitProvider) *NullableGitProvider

func (NullableGitProvider) Get

func (NullableGitProvider) IsSet

func (v NullableGitProvider) IsSet() bool

func (NullableGitProvider) MarshalJSON

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

func (*NullableGitProvider) Set

func (v *NullableGitProvider) Set(val *GitProvider)

func (*NullableGitProvider) UnmarshalJSON

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

func (*NullableGitProvider) Unset

func (v *NullableGitProvider) Unset()

type NullableGitPullRequest added in v0.11.0

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

func NewNullableGitPullRequest added in v0.11.0

func NewNullableGitPullRequest(val *GitPullRequest) *NullableGitPullRequest

func (NullableGitPullRequest) Get added in v0.11.0

func (NullableGitPullRequest) IsSet added in v0.11.0

func (v NullableGitPullRequest) IsSet() bool

func (NullableGitPullRequest) MarshalJSON added in v0.11.0

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

func (*NullableGitPullRequest) Set added in v0.11.0

func (*NullableGitPullRequest) UnmarshalJSON added in v0.11.0

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

func (*NullableGitPullRequest) Unset added in v0.11.0

func (v *NullableGitPullRequest) Unset()

type NullableGitRepository added in v0.11.0

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

func NewNullableGitRepository added in v0.11.0

func NewNullableGitRepository(val *GitRepository) *NullableGitRepository

func (NullableGitRepository) Get added in v0.11.0

func (NullableGitRepository) IsSet added in v0.11.0

func (v NullableGitRepository) IsSet() bool

func (NullableGitRepository) MarshalJSON added in v0.11.0

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

func (*NullableGitRepository) Set added in v0.11.0

func (v *NullableGitRepository) Set(val *GitRepository)

func (*NullableGitRepository) UnmarshalJSON added in v0.11.0

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

func (*NullableGitRepository) Unset added in v0.11.0

func (v *NullableGitRepository) Unset()

type NullableGitUser added in v0.11.0

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

func NewNullableGitUser added in v0.11.0

func NewNullableGitUser(val *GitUser) *NullableGitUser

func (NullableGitUser) Get added in v0.11.0

func (v NullableGitUser) Get() *GitUser

func (NullableGitUser) IsSet added in v0.11.0

func (v NullableGitUser) IsSet() bool

func (NullableGitUser) MarshalJSON added in v0.11.0

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

func (*NullableGitUser) Set added in v0.11.0

func (v *NullableGitUser) Set(val *GitUser)

func (*NullableGitUser) UnmarshalJSON added in v0.11.0

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

func (*NullableGitUser) Unset added in v0.11.0

func (v *NullableGitUser) Unset()

type NullableInstallProviderRequest

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

func (NullableInstallProviderRequest) Get

func (NullableInstallProviderRequest) IsSet

func (NullableInstallProviderRequest) MarshalJSON

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

func (*NullableInstallProviderRequest) Set

func (*NullableInstallProviderRequest) UnmarshalJSON

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

func (*NullableInstallProviderRequest) Unset

func (v *NullableInstallProviderRequest) 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 NullableNetworkKey

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

func NewNullableNetworkKey

func NewNullableNetworkKey(val *NetworkKey) *NullableNetworkKey

func (NullableNetworkKey) Get

func (v NullableNetworkKey) Get() *NetworkKey

func (NullableNetworkKey) IsSet

func (v NullableNetworkKey) IsSet() bool

func (NullableNetworkKey) MarshalJSON

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

func (*NullableNetworkKey) Set

func (v *NullableNetworkKey) Set(val *NetworkKey)

func (*NullableNetworkKey) UnmarshalJSON

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

func (*NullableNetworkKey) Unset

func (v *NullableNetworkKey) Unset()

type NullableProject

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

func NewNullableProject

func NewNullableProject(val *Project) *NullableProject

func (NullableProject) Get

func (v NullableProject) Get() *Project

func (NullableProject) IsSet

func (v NullableProject) IsSet() bool

func (NullableProject) MarshalJSON

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

func (*NullableProject) Set

func (v *NullableProject) Set(val *Project)

func (*NullableProject) UnmarshalJSON

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

func (*NullableProject) Unset

func (v *NullableProject) Unset()

type NullableProjectInfo

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

func NewNullableProjectInfo

func NewNullableProjectInfo(val *ProjectInfo) *NullableProjectInfo

func (NullableProjectInfo) Get

func (NullableProjectInfo) IsSet

func (v NullableProjectInfo) IsSet() bool

func (NullableProjectInfo) MarshalJSON

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

func (*NullableProjectInfo) Set

func (v *NullableProjectInfo) Set(val *ProjectInfo)

func (*NullableProjectInfo) UnmarshalJSON

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

func (*NullableProjectInfo) Unset

func (v *NullableProjectInfo) Unset()

type NullableProjectState added in v0.11.0

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

func NewNullableProjectState added in v0.11.0

func NewNullableProjectState(val *ProjectState) *NullableProjectState

func (NullableProjectState) Get added in v0.11.0

func (NullableProjectState) IsSet added in v0.11.0

func (v NullableProjectState) IsSet() bool

func (NullableProjectState) MarshalJSON added in v0.11.0

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

func (*NullableProjectState) Set added in v0.11.0

func (v *NullableProjectState) Set(val *ProjectState)

func (*NullableProjectState) UnmarshalJSON added in v0.11.0

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

func (*NullableProjectState) Unset added in v0.11.0

func (v *NullableProjectState) Unset()

type NullableProvider

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

func NewNullableProvider

func NewNullableProvider(val *Provider) *NullableProvider

func (NullableProvider) Get

func (v NullableProvider) Get() *Provider

func (NullableProvider) IsSet

func (v NullableProvider) IsSet() bool

func (NullableProvider) MarshalJSON

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

func (*NullableProvider) Set

func (v *NullableProvider) Set(val *Provider)

func (*NullableProvider) UnmarshalJSON

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

func (*NullableProvider) Unset

func (v *NullableProvider) Unset()

type NullableProviderProviderInfo

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

func NewNullableProviderProviderInfo

func NewNullableProviderProviderInfo(val *ProviderProviderInfo) *NullableProviderProviderInfo

func (NullableProviderProviderInfo) Get

func (NullableProviderProviderInfo) IsSet

func (NullableProviderProviderInfo) MarshalJSON

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

func (*NullableProviderProviderInfo) Set

func (*NullableProviderProviderInfo) UnmarshalJSON

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

func (*NullableProviderProviderInfo) Unset

func (v *NullableProviderProviderInfo) Unset()

type NullableProviderProviderTargetProperty

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

func (NullableProviderProviderTargetProperty) Get

func (NullableProviderProviderTargetProperty) IsSet

func (NullableProviderProviderTargetProperty) MarshalJSON

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

func (*NullableProviderProviderTargetProperty) Set

func (*NullableProviderProviderTargetProperty) UnmarshalJSON

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

func (*NullableProviderProviderTargetProperty) Unset

type NullableProviderProviderTargetPropertyType

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

func (NullableProviderProviderTargetPropertyType) Get

func (NullableProviderProviderTargetPropertyType) IsSet

func (NullableProviderProviderTargetPropertyType) MarshalJSON

func (*NullableProviderProviderTargetPropertyType) Set

func (*NullableProviderProviderTargetPropertyType) UnmarshalJSON

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

func (*NullableProviderProviderTargetPropertyType) Unset

type NullableProviderTarget

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

func NewNullableProviderTarget

func NewNullableProviderTarget(val *ProviderTarget) *NullableProviderTarget

func (NullableProviderTarget) Get

func (NullableProviderTarget) IsSet

func (v NullableProviderTarget) IsSet() bool

func (NullableProviderTarget) MarshalJSON

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

func (*NullableProviderTarget) Set

func (*NullableProviderTarget) UnmarshalJSON

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

func (*NullableProviderTarget) Unset

func (v *NullableProviderTarget) Unset()

type NullableServerConfig

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

func NewNullableServerConfig

func NewNullableServerConfig(val *ServerConfig) *NullableServerConfig

func (NullableServerConfig) Get

func (NullableServerConfig) IsSet

func (v NullableServerConfig) IsSet() bool

func (NullableServerConfig) MarshalJSON

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

func (*NullableServerConfig) Set

func (v *NullableServerConfig) Set(val *ServerConfig)

func (*NullableServerConfig) UnmarshalJSON

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

func (*NullableServerConfig) Unset

func (v *NullableServerConfig) Unset()

type NullableSetProjectState added in v0.11.0

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

func NewNullableSetProjectState added in v0.11.0

func NewNullableSetProjectState(val *SetProjectState) *NullableSetProjectState

func (NullableSetProjectState) Get added in v0.11.0

func (NullableSetProjectState) IsSet added in v0.11.0

func (v NullableSetProjectState) IsSet() bool

func (NullableSetProjectState) MarshalJSON added in v0.11.0

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

func (*NullableSetProjectState) Set added in v0.11.0

func (*NullableSetProjectState) UnmarshalJSON added in v0.11.0

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

func (*NullableSetProjectState) Unset added in v0.11.0

func (v *NullableSetProjectState) 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 NullableWorkspace

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

func NewNullableWorkspace

func NewNullableWorkspace(val *Workspace) *NullableWorkspace

func (NullableWorkspace) Get

func (v NullableWorkspace) Get() *Workspace

func (NullableWorkspace) IsSet

func (v NullableWorkspace) IsSet() bool

func (NullableWorkspace) MarshalJSON

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

func (*NullableWorkspace) Set

func (v *NullableWorkspace) Set(val *Workspace)

func (*NullableWorkspace) UnmarshalJSON

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

func (*NullableWorkspace) Unset

func (v *NullableWorkspace) Unset()

type NullableWorkspaceDTO added in v0.7.0

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

func NewNullableWorkspaceDTO added in v0.7.0

func NewNullableWorkspaceDTO(val *WorkspaceDTO) *NullableWorkspaceDTO

func (NullableWorkspaceDTO) Get added in v0.7.0

func (NullableWorkspaceDTO) IsSet added in v0.7.0

func (v NullableWorkspaceDTO) IsSet() bool

func (NullableWorkspaceDTO) MarshalJSON added in v0.7.0

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

func (*NullableWorkspaceDTO) Set added in v0.7.0

func (v *NullableWorkspaceDTO) Set(val *WorkspaceDTO)

func (*NullableWorkspaceDTO) UnmarshalJSON added in v0.7.0

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

func (*NullableWorkspaceDTO) Unset added in v0.7.0

func (v *NullableWorkspaceDTO) Unset()

type NullableWorkspaceInfo

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

func NewNullableWorkspaceInfo

func NewNullableWorkspaceInfo(val *WorkspaceInfo) *NullableWorkspaceInfo

func (NullableWorkspaceInfo) Get

func (NullableWorkspaceInfo) IsSet

func (v NullableWorkspaceInfo) IsSet() bool

func (NullableWorkspaceInfo) MarshalJSON

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

func (*NullableWorkspaceInfo) Set

func (v *NullableWorkspaceInfo) Set(val *WorkspaceInfo)

func (*NullableWorkspaceInfo) UnmarshalJSON

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

func (*NullableWorkspaceInfo) Unset

func (v *NullableWorkspaceInfo) Unset()

type Project

type Project struct {
	Image             *string        `json:"image,omitempty"`
	Name              *string        `json:"name,omitempty"`
	PostStartCommands []string       `json:"postStartCommands,omitempty"`
	Repository        *GitRepository `json:"repository,omitempty"`
	State             *ProjectState  `json:"state,omitempty"`
	Target            *string        `json:"target,omitempty"`
	User              *string        `json:"user,omitempty"`
	WorkspaceId       *string        `json:"workspaceId,omitempty"`
}

Project struct for Project

func NewProject

func NewProject() *Project

NewProject instantiates a new Project 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 NewProjectWithDefaults

func NewProjectWithDefaults() *Project

NewProjectWithDefaults instantiates a new Project 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 (*Project) GetImage added in v0.12.0

func (o *Project) GetImage() string

GetImage returns the Image field value if set, zero value otherwise.

func (*Project) GetImageOk added in v0.12.0

func (o *Project) GetImageOk() (*string, bool)

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

func (*Project) GetName

func (o *Project) GetName() string

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

func (*Project) GetNameOk

func (o *Project) 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 (*Project) GetPostStartCommands added in v0.13.0

func (o *Project) GetPostStartCommands() []string

GetPostStartCommands returns the PostStartCommands field value if set, zero value otherwise.

func (*Project) GetPostStartCommandsOk added in v0.13.0

func (o *Project) GetPostStartCommandsOk() ([]string, bool)

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

func (*Project) GetRepository

func (o *Project) GetRepository() GitRepository

GetRepository returns the Repository field value if set, zero value otherwise.

func (*Project) GetRepositoryOk

func (o *Project) GetRepositoryOk() (*GitRepository, bool)

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

func (*Project) GetState added in v0.11.0

func (o *Project) GetState() ProjectState

GetState returns the State field value if set, zero value otherwise.

func (*Project) GetStateOk added in v0.11.0

func (o *Project) GetStateOk() (*ProjectState, bool)

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

func (*Project) GetTarget

func (o *Project) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*Project) GetTargetOk

func (o *Project) GetTargetOk() (*string, bool)

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

func (*Project) GetUser added in v0.13.0

func (o *Project) GetUser() string

GetUser returns the User field value if set, zero value otherwise.

func (*Project) GetUserOk added in v0.13.0

func (o *Project) GetUserOk() (*string, bool)

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

func (*Project) GetWorkspaceId

func (o *Project) GetWorkspaceId() string

GetWorkspaceId returns the WorkspaceId field value if set, zero value otherwise.

func (*Project) GetWorkspaceIdOk

func (o *Project) GetWorkspaceIdOk() (*string, bool)

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

func (*Project) HasImage added in v0.12.0

func (o *Project) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*Project) HasName

func (o *Project) HasName() bool

HasName returns a boolean if a field has been set.

func (*Project) HasPostStartCommands added in v0.13.0

func (o *Project) HasPostStartCommands() bool

HasPostStartCommands returns a boolean if a field has been set.

func (*Project) HasRepository

func (o *Project) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*Project) HasState added in v0.11.0

func (o *Project) HasState() bool

HasState returns a boolean if a field has been set.

func (*Project) HasTarget

func (o *Project) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (*Project) HasUser added in v0.13.0

func (o *Project) HasUser() bool

HasUser returns a boolean if a field has been set.

func (*Project) HasWorkspaceId

func (o *Project) HasWorkspaceId() bool

HasWorkspaceId returns a boolean if a field has been set.

func (Project) MarshalJSON

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

func (*Project) SetImage added in v0.12.0

func (o *Project) SetImage(v string)

SetImage gets a reference to the given string and assigns it to the Image field.

func (*Project) SetName

func (o *Project) SetName(v string)

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

func (*Project) SetPostStartCommands added in v0.13.0

func (o *Project) SetPostStartCommands(v []string)

SetPostStartCommands gets a reference to the given []string and assigns it to the PostStartCommands field.

func (*Project) SetRepository

func (o *Project) SetRepository(v GitRepository)

SetRepository gets a reference to the given GitRepository and assigns it to the Repository field.

func (*Project) SetState added in v0.11.0

func (o *Project) SetState(v ProjectState)

SetState gets a reference to the given ProjectState and assigns it to the State field.

func (*Project) SetTarget

func (o *Project) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (*Project) SetUser added in v0.13.0

func (o *Project) SetUser(v string)

SetUser gets a reference to the given string and assigns it to the User field.

func (*Project) SetWorkspaceId

func (o *Project) SetWorkspaceId(v string)

SetWorkspaceId gets a reference to the given string and assigns it to the WorkspaceId field.

func (Project) ToMap

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

type ProjectInfo

type ProjectInfo struct {
	Created          *string `json:"created,omitempty"`
	IsRunning        *bool   `json:"isRunning,omitempty"`
	Name             *string `json:"name,omitempty"`
	ProviderMetadata *string `json:"providerMetadata,omitempty"`
	WorkspaceId      *string `json:"workspaceId,omitempty"`
}

ProjectInfo struct for ProjectInfo

func NewProjectInfo

func NewProjectInfo() *ProjectInfo

NewProjectInfo instantiates a new ProjectInfo 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 NewProjectInfoWithDefaults

func NewProjectInfoWithDefaults() *ProjectInfo

NewProjectInfoWithDefaults instantiates a new ProjectInfo 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 (*ProjectInfo) GetCreated

func (o *ProjectInfo) GetCreated() string

GetCreated returns the Created field value if set, zero value otherwise.

func (*ProjectInfo) GetCreatedOk

func (o *ProjectInfo) GetCreatedOk() (*string, bool)

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

func (*ProjectInfo) GetIsRunning

func (o *ProjectInfo) GetIsRunning() bool

GetIsRunning returns the IsRunning field value if set, zero value otherwise.

func (*ProjectInfo) GetIsRunningOk

func (o *ProjectInfo) GetIsRunningOk() (*bool, bool)

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

func (*ProjectInfo) GetName

func (o *ProjectInfo) GetName() string

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

func (*ProjectInfo) GetNameOk

func (o *ProjectInfo) 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 (*ProjectInfo) GetProviderMetadata

func (o *ProjectInfo) GetProviderMetadata() string

GetProviderMetadata returns the ProviderMetadata field value if set, zero value otherwise.

func (*ProjectInfo) GetProviderMetadataOk

func (o *ProjectInfo) GetProviderMetadataOk() (*string, bool)

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

func (*ProjectInfo) GetWorkspaceId

func (o *ProjectInfo) GetWorkspaceId() string

GetWorkspaceId returns the WorkspaceId field value if set, zero value otherwise.

func (*ProjectInfo) GetWorkspaceIdOk

func (o *ProjectInfo) GetWorkspaceIdOk() (*string, bool)

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

func (*ProjectInfo) HasCreated

func (o *ProjectInfo) HasCreated() bool

HasCreated returns a boolean if a field has been set.

func (*ProjectInfo) HasIsRunning

func (o *ProjectInfo) HasIsRunning() bool

HasIsRunning returns a boolean if a field has been set.

func (*ProjectInfo) HasName

func (o *ProjectInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProjectInfo) HasProviderMetadata

func (o *ProjectInfo) HasProviderMetadata() bool

HasProviderMetadata returns a boolean if a field has been set.

func (*ProjectInfo) HasWorkspaceId

func (o *ProjectInfo) HasWorkspaceId() bool

HasWorkspaceId returns a boolean if a field has been set.

func (ProjectInfo) MarshalJSON

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

func (*ProjectInfo) SetCreated

func (o *ProjectInfo) SetCreated(v string)

SetCreated gets a reference to the given string and assigns it to the Created field.

func (*ProjectInfo) SetIsRunning

func (o *ProjectInfo) SetIsRunning(v bool)

SetIsRunning gets a reference to the given bool and assigns it to the IsRunning field.

func (*ProjectInfo) SetName

func (o *ProjectInfo) SetName(v string)

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

func (*ProjectInfo) SetProviderMetadata

func (o *ProjectInfo) SetProviderMetadata(v string)

SetProviderMetadata gets a reference to the given string and assigns it to the ProviderMetadata field.

func (*ProjectInfo) SetWorkspaceId

func (o *ProjectInfo) SetWorkspaceId(v string)

SetWorkspaceId gets a reference to the given string and assigns it to the WorkspaceId field.

func (ProjectInfo) ToMap

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

type ProjectState added in v0.11.0

type ProjectState struct {
	UpdatedAt *string `json:"updatedAt,omitempty"`
	Uptime    *int32  `json:"uptime,omitempty"`
}

ProjectState struct for ProjectState

func NewProjectState added in v0.11.0

func NewProjectState() *ProjectState

NewProjectState instantiates a new ProjectState 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 NewProjectStateWithDefaults added in v0.11.0

func NewProjectStateWithDefaults() *ProjectState

NewProjectStateWithDefaults instantiates a new ProjectState 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 (*ProjectState) GetUpdatedAt added in v0.11.0

func (o *ProjectState) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*ProjectState) GetUpdatedAtOk added in v0.11.0

func (o *ProjectState) GetUpdatedAtOk() (*string, bool)

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

func (*ProjectState) GetUptime added in v0.11.0

func (o *ProjectState) GetUptime() int32

GetUptime returns the Uptime field value if set, zero value otherwise.

func (*ProjectState) GetUptimeOk added in v0.11.0

func (o *ProjectState) GetUptimeOk() (*int32, bool)

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

func (*ProjectState) HasUpdatedAt added in v0.11.0

func (o *ProjectState) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ProjectState) HasUptime added in v0.11.0

func (o *ProjectState) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (ProjectState) MarshalJSON added in v0.11.0

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

func (*ProjectState) SetUpdatedAt added in v0.11.0

func (o *ProjectState) SetUpdatedAt(v string)

SetUpdatedAt gets a reference to the given string and assigns it to the UpdatedAt field.

func (*ProjectState) SetUptime added in v0.11.0

func (o *ProjectState) SetUptime(v int32)

SetUptime gets a reference to the given int32 and assigns it to the Uptime field.

func (ProjectState) ToMap added in v0.11.0

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

type Provider

type Provider struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

Provider struct for Provider

func NewProvider

func NewProvider() *Provider

NewProvider instantiates a new Provider 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 NewProviderWithDefaults

func NewProviderWithDefaults() *Provider

NewProviderWithDefaults instantiates a new Provider 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 (*Provider) GetName

func (o *Provider) GetName() string

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

func (*Provider) GetNameOk

func (o *Provider) 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 (*Provider) GetVersion

func (o *Provider) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Provider) GetVersionOk

func (o *Provider) GetVersionOk() (*string, bool)

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

func (*Provider) HasName

func (o *Provider) HasName() bool

HasName returns a boolean if a field has been set.

func (*Provider) HasVersion

func (o *Provider) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Provider) MarshalJSON

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

func (*Provider) SetName

func (o *Provider) SetName(v string)

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

func (*Provider) SetVersion

func (o *Provider) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (Provider) ToMap

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

type ProviderAPIService

type ProviderAPIService service

ProviderAPIService ProviderAPI service

func (*ProviderAPIService) GetTargetManifest

func (a *ProviderAPIService) GetTargetManifest(ctx context.Context, provider string) ApiGetTargetManifestRequest

GetTargetManifest Get provider target manifest

Get provider target manifest

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

func (*ProviderAPIService) GetTargetManifestExecute

Execute executes the request

@return map[string]ProviderProviderTargetProperty

func (*ProviderAPIService) InstallProvider

InstallProvider Install a provider

Install a provider

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

func (*ProviderAPIService) InstallProviderExecute

func (a *ProviderAPIService) InstallProviderExecute(r ApiInstallProviderRequest) (*http.Response, error)

Execute executes the request

func (*ProviderAPIService) ListProviders

ListProviders List providers

List providers

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

func (*ProviderAPIService) ListProvidersExecute

func (a *ProviderAPIService) ListProvidersExecute(r ApiListProvidersRequest) ([]Provider, *http.Response, error)

Execute executes the request

@return []Provider

func (*ProviderAPIService) UninstallProvider

func (a *ProviderAPIService) UninstallProvider(ctx context.Context, provider string) ApiUninstallProviderRequest

UninstallProvider Uninstall a provider

Uninstall a provider

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

func (*ProviderAPIService) UninstallProviderExecute

func (a *ProviderAPIService) UninstallProviderExecute(r ApiUninstallProviderRequest) (*http.Response, error)

Execute executes the request

type ProviderProviderInfo

type ProviderProviderInfo struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

ProviderProviderInfo struct for ProviderProviderInfo

func NewProviderProviderInfo

func NewProviderProviderInfo() *ProviderProviderInfo

NewProviderProviderInfo instantiates a new ProviderProviderInfo 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 NewProviderProviderInfoWithDefaults

func NewProviderProviderInfoWithDefaults() *ProviderProviderInfo

NewProviderProviderInfoWithDefaults instantiates a new ProviderProviderInfo 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 (*ProviderProviderInfo) GetName

func (o *ProviderProviderInfo) GetName() string

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

func (*ProviderProviderInfo) GetNameOk

func (o *ProviderProviderInfo) 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 (*ProviderProviderInfo) GetVersion

func (o *ProviderProviderInfo) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*ProviderProviderInfo) GetVersionOk

func (o *ProviderProviderInfo) GetVersionOk() (*string, bool)

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

func (*ProviderProviderInfo) HasName

func (o *ProviderProviderInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProviderProviderInfo) HasVersion

func (o *ProviderProviderInfo) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (ProviderProviderInfo) MarshalJSON

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

func (*ProviderProviderInfo) SetName

func (o *ProviderProviderInfo) SetName(v string)

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

func (*ProviderProviderInfo) SetVersion

func (o *ProviderProviderInfo) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

func (ProviderProviderInfo) ToMap

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

type ProviderProviderTargetProperty

type ProviderProviderTargetProperty struct {
	// DefaultValue is converted into the appropriate type based on the Type If the property is a FilePath, the DefaultValue is a path to a directory
	DefaultValue *string `json:"defaultValue,omitempty"`
	// Brief description of the property
	Description *string `json:"description,omitempty"`
	// A regex string matched with the name of the target to determine if the property should be disabled If the regex matches the target name, the property will be disabled E.g. \"^local$\" will disable the property for the local target
	DisabledPredicate *string `json:"disabledPredicate,omitempty"`
	InputMasked       *bool   `json:"inputMasked,omitempty"`
	// Options is only used if the Type is ProviderTargetPropertyTypeOption
	Options []string                            `json:"options,omitempty"`
	Type    *ProviderProviderTargetPropertyType `json:"type,omitempty"`
}

ProviderProviderTargetProperty struct for ProviderProviderTargetProperty

func NewProviderProviderTargetProperty

func NewProviderProviderTargetProperty() *ProviderProviderTargetProperty

NewProviderProviderTargetProperty instantiates a new ProviderProviderTargetProperty 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 NewProviderProviderTargetPropertyWithDefaults

func NewProviderProviderTargetPropertyWithDefaults() *ProviderProviderTargetProperty

NewProviderProviderTargetPropertyWithDefaults instantiates a new ProviderProviderTargetProperty 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 (*ProviderProviderTargetProperty) GetDefaultValue

func (o *ProviderProviderTargetProperty) GetDefaultValue() string

GetDefaultValue returns the DefaultValue field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetDefaultValueOk

func (o *ProviderProviderTargetProperty) GetDefaultValueOk() (*string, bool)

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

func (*ProviderProviderTargetProperty) GetDescription added in v0.10.0

func (o *ProviderProviderTargetProperty) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetDescriptionOk added in v0.10.0

func (o *ProviderProviderTargetProperty) GetDescriptionOk() (*string, bool)

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

func (*ProviderProviderTargetProperty) GetDisabledPredicate

func (o *ProviderProviderTargetProperty) GetDisabledPredicate() string

GetDisabledPredicate returns the DisabledPredicate field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetDisabledPredicateOk

func (o *ProviderProviderTargetProperty) GetDisabledPredicateOk() (*string, bool)

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

func (*ProviderProviderTargetProperty) GetInputMasked

func (o *ProviderProviderTargetProperty) GetInputMasked() bool

GetInputMasked returns the InputMasked field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetInputMaskedOk

func (o *ProviderProviderTargetProperty) GetInputMaskedOk() (*bool, bool)

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

func (*ProviderProviderTargetProperty) GetOptions

func (o *ProviderProviderTargetProperty) GetOptions() []string

GetOptions returns the Options field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetOptionsOk

func (o *ProviderProviderTargetProperty) GetOptionsOk() ([]string, bool)

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

func (*ProviderProviderTargetProperty) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*ProviderProviderTargetProperty) GetTypeOk

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

func (*ProviderProviderTargetProperty) HasDefaultValue

func (o *ProviderProviderTargetProperty) HasDefaultValue() bool

HasDefaultValue returns a boolean if a field has been set.

func (*ProviderProviderTargetProperty) HasDescription added in v0.10.0

func (o *ProviderProviderTargetProperty) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*ProviderProviderTargetProperty) HasDisabledPredicate

func (o *ProviderProviderTargetProperty) HasDisabledPredicate() bool

HasDisabledPredicate returns a boolean if a field has been set.

func (*ProviderProviderTargetProperty) HasInputMasked

func (o *ProviderProviderTargetProperty) HasInputMasked() bool

HasInputMasked returns a boolean if a field has been set.

func (*ProviderProviderTargetProperty) HasOptions

func (o *ProviderProviderTargetProperty) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*ProviderProviderTargetProperty) HasType

func (o *ProviderProviderTargetProperty) HasType() bool

HasType returns a boolean if a field has been set.

func (ProviderProviderTargetProperty) MarshalJSON

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

func (*ProviderProviderTargetProperty) SetDefaultValue

func (o *ProviderProviderTargetProperty) SetDefaultValue(v string)

SetDefaultValue gets a reference to the given string and assigns it to the DefaultValue field.

func (*ProviderProviderTargetProperty) SetDescription added in v0.10.0

func (o *ProviderProviderTargetProperty) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*ProviderProviderTargetProperty) SetDisabledPredicate

func (o *ProviderProviderTargetProperty) SetDisabledPredicate(v string)

SetDisabledPredicate gets a reference to the given string and assigns it to the DisabledPredicate field.

func (*ProviderProviderTargetProperty) SetInputMasked

func (o *ProviderProviderTargetProperty) SetInputMasked(v bool)

SetInputMasked gets a reference to the given bool and assigns it to the InputMasked field.

func (*ProviderProviderTargetProperty) SetOptions

func (o *ProviderProviderTargetProperty) SetOptions(v []string)

SetOptions gets a reference to the given []string and assigns it to the Options field.

func (*ProviderProviderTargetProperty) SetType

SetType gets a reference to the given ProviderProviderTargetPropertyType and assigns it to the Type field.

func (ProviderProviderTargetProperty) ToMap

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

type ProviderProviderTargetPropertyType

type ProviderProviderTargetPropertyType string

ProviderProviderTargetPropertyType the model 'ProviderProviderTargetPropertyType'

const (
	ProviderTargetPropertyTypeString   ProviderProviderTargetPropertyType = "string"
	ProviderTargetPropertyTypeOption   ProviderProviderTargetPropertyType = "option"
	ProviderTargetPropertyTypeBoolean  ProviderProviderTargetPropertyType = "boolean"
	ProviderTargetPropertyTypeInt      ProviderProviderTargetPropertyType = "int"
	ProviderTargetPropertyTypeFloat    ProviderProviderTargetPropertyType = "float"
	ProviderTargetPropertyTypeFilePath ProviderProviderTargetPropertyType = "file-path"
)

List of provider.ProviderTargetPropertyType

func NewProviderProviderTargetPropertyTypeFromValue

func NewProviderProviderTargetPropertyTypeFromValue(v string) (*ProviderProviderTargetPropertyType, error)

NewProviderProviderTargetPropertyTypeFromValue returns a pointer to a valid ProviderProviderTargetPropertyType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (ProviderProviderTargetPropertyType) IsValid

IsValid return true if the value is valid for the enum, false otherwise

func (ProviderProviderTargetPropertyType) Ptr

Ptr returns reference to provider.ProviderTargetPropertyType value

func (*ProviderProviderTargetPropertyType) UnmarshalJSON

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

type ProviderTarget

type ProviderTarget struct {
	Name *string `json:"name,omitempty"`
	// JSON encoded map of options
	Options      *string               `json:"options,omitempty"`
	ProviderInfo *ProviderProviderInfo `json:"providerInfo,omitempty"`
}

ProviderTarget struct for ProviderTarget

func NewProviderTarget

func NewProviderTarget() *ProviderTarget

NewProviderTarget instantiates a new ProviderTarget 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 NewProviderTargetWithDefaults

func NewProviderTargetWithDefaults() *ProviderTarget

NewProviderTargetWithDefaults instantiates a new ProviderTarget 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 (*ProviderTarget) GetName

func (o *ProviderTarget) GetName() string

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

func (*ProviderTarget) GetNameOk

func (o *ProviderTarget) 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 (*ProviderTarget) GetOptions

func (o *ProviderTarget) GetOptions() string

GetOptions returns the Options field value if set, zero value otherwise.

func (*ProviderTarget) GetOptionsOk

func (o *ProviderTarget) GetOptionsOk() (*string, bool)

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

func (*ProviderTarget) GetProviderInfo

func (o *ProviderTarget) GetProviderInfo() ProviderProviderInfo

GetProviderInfo returns the ProviderInfo field value if set, zero value otherwise.

func (*ProviderTarget) GetProviderInfoOk

func (o *ProviderTarget) GetProviderInfoOk() (*ProviderProviderInfo, bool)

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

func (*ProviderTarget) HasName

func (o *ProviderTarget) HasName() bool

HasName returns a boolean if a field has been set.

func (*ProviderTarget) HasOptions

func (o *ProviderTarget) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*ProviderTarget) HasProviderInfo

func (o *ProviderTarget) HasProviderInfo() bool

HasProviderInfo returns a boolean if a field has been set.

func (ProviderTarget) MarshalJSON

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

func (*ProviderTarget) SetName

func (o *ProviderTarget) SetName(v string)

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

func (*ProviderTarget) SetOptions

func (o *ProviderTarget) SetOptions(v string)

SetOptions gets a reference to the given string and assigns it to the Options field.

func (*ProviderTarget) SetProviderInfo

func (o *ProviderTarget) SetProviderInfo(v ProviderProviderInfo)

SetProviderInfo gets a reference to the given ProviderProviderInfo and assigns it to the ProviderInfo field.

func (ProviderTarget) ToMap

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

type ServerAPIService

type ServerAPIService service

ServerAPIService ServerAPI service

func (*ServerAPIService) GenerateNetworkKey

func (a *ServerAPIService) GenerateNetworkKey(ctx context.Context) ApiGenerateNetworkKeyRequest

GenerateNetworkKey Generate a new authentication key

Generate a new authentication key

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

func (*ServerAPIService) GenerateNetworkKeyExecute

func (a *ServerAPIService) GenerateNetworkKeyExecute(r ApiGenerateNetworkKeyRequest) (*NetworkKey, *http.Response, error)

Execute executes the request

@return NetworkKey

func (*ServerAPIService) GetConfig

GetConfig Get the server configuration

Get the server configuration

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

func (*ServerAPIService) GetConfigExecute

func (a *ServerAPIService) GetConfigExecute(r ApiGetConfigRequest) (*ServerConfig, *http.Response, error)

Execute executes the request

@return ServerConfig

func (*ServerAPIService) SetConfig

SetConfig Set the server configuration

Set the server configuration

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

func (*ServerAPIService) SetConfigExecute

func (a *ServerAPIService) SetConfigExecute(r ApiSetConfigRequest) (*ServerConfig, *http.Response, error)

Execute executes the request

@return ServerConfig

type ServerConfig

type ServerConfig struct {
	ApiPort                         *int32      `json:"apiPort,omitempty"`
	BinariesPath                    *string     `json:"binariesPath,omitempty"`
	DefaultProjectImage             *string     `json:"defaultProjectImage,omitempty"`
	DefaultProjectPostStartCommands []string    `json:"defaultProjectPostStartCommands,omitempty"`
	DefaultProjectUser              *string     `json:"defaultProjectUser,omitempty"`
	Frps                            *FRPSConfig `json:"frps,omitempty"`
	HeadscalePort                   *int32      `json:"headscalePort,omitempty"`
	Id                              *string     `json:"id,omitempty"`
	LogFilePath                     *string     `json:"logFilePath,omitempty"`
	ProvidersDir                    *string     `json:"providersDir,omitempty"`
	RegistryUrl                     *string     `json:"registryUrl,omitempty"`
	ServerDownloadUrl               *string     `json:"serverDownloadUrl,omitempty"`
}

ServerConfig struct for ServerConfig

func NewServerConfig

func NewServerConfig() *ServerConfig

NewServerConfig instantiates a new ServerConfig 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 NewServerConfigWithDefaults

func NewServerConfigWithDefaults() *ServerConfig

NewServerConfigWithDefaults instantiates a new ServerConfig 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 (*ServerConfig) GetApiPort

func (o *ServerConfig) GetApiPort() int32

GetApiPort returns the ApiPort field value if set, zero value otherwise.

func (*ServerConfig) GetApiPortOk

func (o *ServerConfig) GetApiPortOk() (*int32, bool)

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

func (*ServerConfig) GetBinariesPath added in v0.7.0

func (o *ServerConfig) GetBinariesPath() string

GetBinariesPath returns the BinariesPath field value if set, zero value otherwise.

func (*ServerConfig) GetBinariesPathOk added in v0.7.0

func (o *ServerConfig) GetBinariesPathOk() (*string, bool)

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

func (*ServerConfig) GetDefaultProjectImage added in v0.12.0

func (o *ServerConfig) GetDefaultProjectImage() string

GetDefaultProjectImage returns the DefaultProjectImage field value if set, zero value otherwise.

func (*ServerConfig) GetDefaultProjectImageOk added in v0.12.0

func (o *ServerConfig) GetDefaultProjectImageOk() (*string, bool)

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

func (*ServerConfig) GetDefaultProjectPostStartCommands added in v0.13.0

func (o *ServerConfig) GetDefaultProjectPostStartCommands() []string

GetDefaultProjectPostStartCommands returns the DefaultProjectPostStartCommands field value if set, zero value otherwise.

func (*ServerConfig) GetDefaultProjectPostStartCommandsOk added in v0.13.0

func (o *ServerConfig) GetDefaultProjectPostStartCommandsOk() ([]string, bool)

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

func (*ServerConfig) GetDefaultProjectUser added in v0.13.0

func (o *ServerConfig) GetDefaultProjectUser() string

GetDefaultProjectUser returns the DefaultProjectUser field value if set, zero value otherwise.

func (*ServerConfig) GetDefaultProjectUserOk added in v0.13.0

func (o *ServerConfig) GetDefaultProjectUserOk() (*string, bool)

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

func (*ServerConfig) GetFrps

func (o *ServerConfig) GetFrps() FRPSConfig

GetFrps returns the Frps field value if set, zero value otherwise.

func (*ServerConfig) GetFrpsOk

func (o *ServerConfig) GetFrpsOk() (*FRPSConfig, bool)

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

func (*ServerConfig) GetHeadscalePort

func (o *ServerConfig) GetHeadscalePort() int32

GetHeadscalePort returns the HeadscalePort field value if set, zero value otherwise.

func (*ServerConfig) GetHeadscalePortOk

func (o *ServerConfig) GetHeadscalePortOk() (*int32, bool)

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

func (*ServerConfig) GetId

func (o *ServerConfig) GetId() string

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

func (*ServerConfig) GetIdOk

func (o *ServerConfig) GetIdOk() (*string, bool)

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

func (*ServerConfig) GetLogFilePath added in v0.11.0

func (o *ServerConfig) GetLogFilePath() string

GetLogFilePath returns the LogFilePath field value if set, zero value otherwise.

func (*ServerConfig) GetLogFilePathOk added in v0.11.0

func (o *ServerConfig) GetLogFilePathOk() (*string, bool)

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

func (*ServerConfig) GetProvidersDir

func (o *ServerConfig) GetProvidersDir() string

GetProvidersDir returns the ProvidersDir field value if set, zero value otherwise.

func (*ServerConfig) GetProvidersDirOk

func (o *ServerConfig) GetProvidersDirOk() (*string, bool)

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

func (*ServerConfig) GetRegistryUrl

func (o *ServerConfig) GetRegistryUrl() string

GetRegistryUrl returns the RegistryUrl field value if set, zero value otherwise.

func (*ServerConfig) GetRegistryUrlOk

func (o *ServerConfig) GetRegistryUrlOk() (*string, bool)

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

func (*ServerConfig) GetServerDownloadUrl

func (o *ServerConfig) GetServerDownloadUrl() string

GetServerDownloadUrl returns the ServerDownloadUrl field value if set, zero value otherwise.

func (*ServerConfig) GetServerDownloadUrlOk

func (o *ServerConfig) GetServerDownloadUrlOk() (*string, bool)

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

func (*ServerConfig) HasApiPort

func (o *ServerConfig) HasApiPort() bool

HasApiPort returns a boolean if a field has been set.

func (*ServerConfig) HasBinariesPath added in v0.7.0

func (o *ServerConfig) HasBinariesPath() bool

HasBinariesPath returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectImage added in v0.12.0

func (o *ServerConfig) HasDefaultProjectImage() bool

HasDefaultProjectImage returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectPostStartCommands added in v0.13.0

func (o *ServerConfig) HasDefaultProjectPostStartCommands() bool

HasDefaultProjectPostStartCommands returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectUser added in v0.13.0

func (o *ServerConfig) HasDefaultProjectUser() bool

HasDefaultProjectUser returns a boolean if a field has been set.

func (*ServerConfig) HasFrps

func (o *ServerConfig) HasFrps() bool

HasFrps returns a boolean if a field has been set.

func (*ServerConfig) HasHeadscalePort

func (o *ServerConfig) HasHeadscalePort() bool

HasHeadscalePort returns a boolean if a field has been set.

func (*ServerConfig) HasId

func (o *ServerConfig) HasId() bool

HasId returns a boolean if a field has been set.

func (*ServerConfig) HasLogFilePath added in v0.11.0

func (o *ServerConfig) HasLogFilePath() bool

HasLogFilePath returns a boolean if a field has been set.

func (*ServerConfig) HasProvidersDir

func (o *ServerConfig) HasProvidersDir() bool

HasProvidersDir returns a boolean if a field has been set.

func (*ServerConfig) HasRegistryUrl

func (o *ServerConfig) HasRegistryUrl() bool

HasRegistryUrl returns a boolean if a field has been set.

func (*ServerConfig) HasServerDownloadUrl

func (o *ServerConfig) HasServerDownloadUrl() bool

HasServerDownloadUrl returns a boolean if a field has been set.

func (ServerConfig) MarshalJSON

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

func (*ServerConfig) SetApiPort

func (o *ServerConfig) SetApiPort(v int32)

SetApiPort gets a reference to the given int32 and assigns it to the ApiPort field.

func (*ServerConfig) SetBinariesPath added in v0.7.0

func (o *ServerConfig) SetBinariesPath(v string)

SetBinariesPath gets a reference to the given string and assigns it to the BinariesPath field.

func (*ServerConfig) SetDefaultProjectImage added in v0.12.0

func (o *ServerConfig) SetDefaultProjectImage(v string)

SetDefaultProjectImage gets a reference to the given string and assigns it to the DefaultProjectImage field.

func (*ServerConfig) SetDefaultProjectPostStartCommands added in v0.13.0

func (o *ServerConfig) SetDefaultProjectPostStartCommands(v []string)

SetDefaultProjectPostStartCommands gets a reference to the given []string and assigns it to the DefaultProjectPostStartCommands field.

func (*ServerConfig) SetDefaultProjectUser added in v0.13.0

func (o *ServerConfig) SetDefaultProjectUser(v string)

SetDefaultProjectUser gets a reference to the given string and assigns it to the DefaultProjectUser field.

func (*ServerConfig) SetFrps

func (o *ServerConfig) SetFrps(v FRPSConfig)

SetFrps gets a reference to the given FRPSConfig and assigns it to the Frps field.

func (*ServerConfig) SetHeadscalePort

func (o *ServerConfig) SetHeadscalePort(v int32)

SetHeadscalePort gets a reference to the given int32 and assigns it to the HeadscalePort field.

func (*ServerConfig) SetId

func (o *ServerConfig) SetId(v string)

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

func (*ServerConfig) SetLogFilePath added in v0.11.0

func (o *ServerConfig) SetLogFilePath(v string)

SetLogFilePath gets a reference to the given string and assigns it to the LogFilePath field.

func (*ServerConfig) SetProvidersDir

func (o *ServerConfig) SetProvidersDir(v string)

SetProvidersDir gets a reference to the given string and assigns it to the ProvidersDir field.

func (*ServerConfig) SetRegistryUrl

func (o *ServerConfig) SetRegistryUrl(v string)

SetRegistryUrl gets a reference to the given string and assigns it to the RegistryUrl field.

func (*ServerConfig) SetServerDownloadUrl

func (o *ServerConfig) SetServerDownloadUrl(v string)

SetServerDownloadUrl gets a reference to the given string and assigns it to the ServerDownloadUrl field.

func (ServerConfig) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type SetProjectState added in v0.11.0

type SetProjectState struct {
	Uptime *int32 `json:"uptime,omitempty"`
}

SetProjectState struct for SetProjectState

func NewSetProjectState added in v0.11.0

func NewSetProjectState() *SetProjectState

NewSetProjectState instantiates a new SetProjectState 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 NewSetProjectStateWithDefaults added in v0.11.0

func NewSetProjectStateWithDefaults() *SetProjectState

NewSetProjectStateWithDefaults instantiates a new SetProjectState 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 (*SetProjectState) GetUptime added in v0.11.0

func (o *SetProjectState) GetUptime() int32

GetUptime returns the Uptime field value if set, zero value otherwise.

func (*SetProjectState) GetUptimeOk added in v0.11.0

func (o *SetProjectState) GetUptimeOk() (*int32, bool)

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

func (*SetProjectState) HasUptime added in v0.11.0

func (o *SetProjectState) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (SetProjectState) MarshalJSON added in v0.11.0

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

func (*SetProjectState) SetUptime added in v0.11.0

func (o *SetProjectState) SetUptime(v int32)

SetUptime gets a reference to the given int32 and assigns it to the Uptime field.

func (SetProjectState) ToMap added in v0.11.0

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

type TargetAPIService

type TargetAPIService service

TargetAPIService TargetAPI service

func (*TargetAPIService) ListTargets

ListTargets List targets

List targets

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

func (*TargetAPIService) ListTargetsExecute

func (a *TargetAPIService) ListTargetsExecute(r ApiListTargetsRequest) ([]ProviderTarget, *http.Response, error)

Execute executes the request

@return []ProviderTarget

func (*TargetAPIService) RemoveTarget

func (a *TargetAPIService) RemoveTarget(ctx context.Context, target string) ApiRemoveTargetRequest

RemoveTarget Remove a target

Remove a target

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

func (*TargetAPIService) RemoveTargetExecute

func (a *TargetAPIService) RemoveTargetExecute(r ApiRemoveTargetRequest) (*http.Response, error)

Execute executes the request

func (*TargetAPIService) SetTarget

SetTarget Set a target

Set a target

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

func (*TargetAPIService) SetTargetExecute

func (a *TargetAPIService) SetTargetExecute(r ApiSetTargetRequest) (*http.Response, error)

Execute executes the request

type Workspace

type Workspace struct {
	Id       *string   `json:"id,omitempty"`
	Name     *string   `json:"name,omitempty"`
	Projects []Project `json:"projects,omitempty"`
	Target   *string   `json:"target,omitempty"`
}

Workspace struct for Workspace

func NewWorkspace

func NewWorkspace() *Workspace

NewWorkspace instantiates a new Workspace 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 NewWorkspaceWithDefaults

func NewWorkspaceWithDefaults() *Workspace

NewWorkspaceWithDefaults instantiates a new Workspace 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 (*Workspace) GetId

func (o *Workspace) GetId() string

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

func (*Workspace) GetIdOk

func (o *Workspace) GetIdOk() (*string, bool)

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

func (*Workspace) GetName

func (o *Workspace) GetName() string

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

func (*Workspace) GetNameOk

func (o *Workspace) 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 (*Workspace) GetProjects

func (o *Workspace) GetProjects() []Project

GetProjects returns the Projects field value if set, zero value otherwise.

func (*Workspace) GetProjectsOk

func (o *Workspace) GetProjectsOk() ([]Project, bool)

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

func (*Workspace) GetTarget

func (o *Workspace) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*Workspace) GetTargetOk

func (o *Workspace) GetTargetOk() (*string, bool)

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

func (*Workspace) HasId

func (o *Workspace) HasId() bool

HasId returns a boolean if a field has been set.

func (*Workspace) HasName

func (o *Workspace) HasName() bool

HasName returns a boolean if a field has been set.

func (*Workspace) HasProjects

func (o *Workspace) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*Workspace) HasTarget

func (o *Workspace) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (Workspace) MarshalJSON

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

func (*Workspace) SetId

func (o *Workspace) SetId(v string)

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

func (*Workspace) SetName

func (o *Workspace) SetName(v string)

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

func (*Workspace) SetProjects

func (o *Workspace) SetProjects(v []Project)

SetProjects gets a reference to the given []Project and assigns it to the Projects field.

func (*Workspace) SetTarget

func (o *Workspace) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (Workspace) ToMap

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

type WorkspaceAPIService

type WorkspaceAPIService service

WorkspaceAPIService WorkspaceAPI service

func (*WorkspaceAPIService) CreateWorkspace

CreateWorkspace Create a workspace

Create a workspace

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

func (*WorkspaceAPIService) CreateWorkspaceExecute

func (a *WorkspaceAPIService) CreateWorkspaceExecute(r ApiCreateWorkspaceRequest) (*Workspace, *http.Response, error)

Execute executes the request

@return Workspace

func (*WorkspaceAPIService) GetWorkspace

func (a *WorkspaceAPIService) GetWorkspace(ctx context.Context, workspaceId string) ApiGetWorkspaceRequest

GetWorkspace Get workspace info

Get workspace info

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

func (*WorkspaceAPIService) GetWorkspaceExecute

Execute executes the request

@return WorkspaceDTO

func (*WorkspaceAPIService) ListWorkspaces

ListWorkspaces List workspaces

List workspaces

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

func (*WorkspaceAPIService) ListWorkspacesExecute

func (a *WorkspaceAPIService) ListWorkspacesExecute(r ApiListWorkspacesRequest) ([]WorkspaceDTO, *http.Response, error)

Execute executes the request

@return []WorkspaceDTO

func (*WorkspaceAPIService) RemoveWorkspace

func (a *WorkspaceAPIService) RemoveWorkspace(ctx context.Context, workspaceId string) ApiRemoveWorkspaceRequest

RemoveWorkspace Remove workspace

Remove workspace

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

func (*WorkspaceAPIService) RemoveWorkspaceExecute

func (a *WorkspaceAPIService) RemoveWorkspaceExecute(r ApiRemoveWorkspaceRequest) (*http.Response, error)

Execute executes the request

func (*WorkspaceAPIService) SetProjectState added in v0.11.0

func (a *WorkspaceAPIService) SetProjectState(ctx context.Context, workspaceId string, projectId string) ApiSetProjectStateRequest

SetProjectState Set project state

Set project state

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiSetProjectStateRequest

func (*WorkspaceAPIService) SetProjectStateExecute added in v0.11.0

func (a *WorkspaceAPIService) SetProjectStateExecute(r ApiSetProjectStateRequest) (*http.Response, error)

Execute executes the request

func (*WorkspaceAPIService) StartProject

func (a *WorkspaceAPIService) StartProject(ctx context.Context, workspaceId string, projectId string) ApiStartProjectRequest

StartProject Start project

Start project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiStartProjectRequest

func (*WorkspaceAPIService) StartProjectExecute

func (a *WorkspaceAPIService) StartProjectExecute(r ApiStartProjectRequest) (*http.Response, error)

Execute executes the request

func (*WorkspaceAPIService) StartWorkspace

func (a *WorkspaceAPIService) StartWorkspace(ctx context.Context, workspaceId string) ApiStartWorkspaceRequest

StartWorkspace Start workspace

Start workspace

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

func (*WorkspaceAPIService) StartWorkspaceExecute

func (a *WorkspaceAPIService) StartWorkspaceExecute(r ApiStartWorkspaceRequest) (*http.Response, error)

Execute executes the request

func (*WorkspaceAPIService) StopProject

func (a *WorkspaceAPIService) StopProject(ctx context.Context, workspaceId string, projectId string) ApiStopProjectRequest

StopProject Stop project

Stop project

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param workspaceId Workspace ID or Name
@param projectId Project ID
@return ApiStopProjectRequest

func (*WorkspaceAPIService) StopProjectExecute

func (a *WorkspaceAPIService) StopProjectExecute(r ApiStopProjectRequest) (*http.Response, error)

Execute executes the request

func (*WorkspaceAPIService) StopWorkspace

func (a *WorkspaceAPIService) StopWorkspace(ctx context.Context, workspaceId string) ApiStopWorkspaceRequest

StopWorkspace Stop workspace

Stop workspace

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

func (*WorkspaceAPIService) StopWorkspaceExecute

func (a *WorkspaceAPIService) StopWorkspaceExecute(r ApiStopWorkspaceRequest) (*http.Response, error)

Execute executes the request

type WorkspaceDTO added in v0.7.0

type WorkspaceDTO struct {
	Id       *string        `json:"id,omitempty"`
	Info     *WorkspaceInfo `json:"info,omitempty"`
	Name     *string        `json:"name,omitempty"`
	Projects []Project      `json:"projects,omitempty"`
	Target   *string        `json:"target,omitempty"`
}

WorkspaceDTO struct for WorkspaceDTO

func NewWorkspaceDTO added in v0.7.0

func NewWorkspaceDTO() *WorkspaceDTO

NewWorkspaceDTO instantiates a new WorkspaceDTO 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 NewWorkspaceDTOWithDefaults added in v0.7.0

func NewWorkspaceDTOWithDefaults() *WorkspaceDTO

NewWorkspaceDTOWithDefaults instantiates a new WorkspaceDTO 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 (*WorkspaceDTO) GetId added in v0.7.0

func (o *WorkspaceDTO) GetId() string

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

func (*WorkspaceDTO) GetIdOk added in v0.7.0

func (o *WorkspaceDTO) GetIdOk() (*string, bool)

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

func (*WorkspaceDTO) GetInfo added in v0.7.0

func (o *WorkspaceDTO) GetInfo() WorkspaceInfo

GetInfo returns the Info field value if set, zero value otherwise.

func (*WorkspaceDTO) GetInfoOk added in v0.7.0

func (o *WorkspaceDTO) GetInfoOk() (*WorkspaceInfo, bool)

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

func (*WorkspaceDTO) GetName added in v0.7.0

func (o *WorkspaceDTO) GetName() string

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

func (*WorkspaceDTO) GetNameOk added in v0.7.0

func (o *WorkspaceDTO) 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 (*WorkspaceDTO) GetProjects added in v0.7.0

func (o *WorkspaceDTO) GetProjects() []Project

GetProjects returns the Projects field value if set, zero value otherwise.

func (*WorkspaceDTO) GetProjectsOk added in v0.7.0

func (o *WorkspaceDTO) GetProjectsOk() ([]Project, bool)

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

func (*WorkspaceDTO) GetTarget added in v0.7.0

func (o *WorkspaceDTO) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*WorkspaceDTO) GetTargetOk added in v0.7.0

func (o *WorkspaceDTO) GetTargetOk() (*string, bool)

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

func (*WorkspaceDTO) HasId added in v0.7.0

func (o *WorkspaceDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*WorkspaceDTO) HasInfo added in v0.7.0

func (o *WorkspaceDTO) HasInfo() bool

HasInfo returns a boolean if a field has been set.

func (*WorkspaceDTO) HasName added in v0.7.0

func (o *WorkspaceDTO) HasName() bool

HasName returns a boolean if a field has been set.

func (*WorkspaceDTO) HasProjects added in v0.7.0

func (o *WorkspaceDTO) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*WorkspaceDTO) HasTarget added in v0.7.0

func (o *WorkspaceDTO) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (WorkspaceDTO) MarshalJSON added in v0.7.0

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

func (*WorkspaceDTO) SetId added in v0.7.0

func (o *WorkspaceDTO) SetId(v string)

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

func (*WorkspaceDTO) SetInfo added in v0.7.0

func (o *WorkspaceDTO) SetInfo(v WorkspaceInfo)

SetInfo gets a reference to the given WorkspaceInfo and assigns it to the Info field.

func (*WorkspaceDTO) SetName added in v0.7.0

func (o *WorkspaceDTO) SetName(v string)

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

func (*WorkspaceDTO) SetProjects added in v0.7.0

func (o *WorkspaceDTO) SetProjects(v []Project)

SetProjects gets a reference to the given []Project and assigns it to the Projects field.

func (*WorkspaceDTO) SetTarget added in v0.7.0

func (o *WorkspaceDTO) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (WorkspaceDTO) ToMap added in v0.7.0

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

type WorkspaceInfo

type WorkspaceInfo struct {
	Name             *string       `json:"name,omitempty"`
	Projects         []ProjectInfo `json:"projects,omitempty"`
	ProviderMetadata *string       `json:"providerMetadata,omitempty"`
}

WorkspaceInfo struct for WorkspaceInfo

func NewWorkspaceInfo

func NewWorkspaceInfo() *WorkspaceInfo

NewWorkspaceInfo instantiates a new WorkspaceInfo 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 NewWorkspaceInfoWithDefaults

func NewWorkspaceInfoWithDefaults() *WorkspaceInfo

NewWorkspaceInfoWithDefaults instantiates a new WorkspaceInfo 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 (*WorkspaceInfo) GetName

func (o *WorkspaceInfo) GetName() string

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

func (*WorkspaceInfo) GetNameOk

func (o *WorkspaceInfo) 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 (*WorkspaceInfo) GetProjects

func (o *WorkspaceInfo) GetProjects() []ProjectInfo

GetProjects returns the Projects field value if set, zero value otherwise.

func (*WorkspaceInfo) GetProjectsOk

func (o *WorkspaceInfo) GetProjectsOk() ([]ProjectInfo, bool)

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

func (*WorkspaceInfo) GetProviderMetadata

func (o *WorkspaceInfo) GetProviderMetadata() string

GetProviderMetadata returns the ProviderMetadata field value if set, zero value otherwise.

func (*WorkspaceInfo) GetProviderMetadataOk

func (o *WorkspaceInfo) GetProviderMetadataOk() (*string, bool)

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

func (*WorkspaceInfo) HasName

func (o *WorkspaceInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*WorkspaceInfo) HasProjects

func (o *WorkspaceInfo) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*WorkspaceInfo) HasProviderMetadata

func (o *WorkspaceInfo) HasProviderMetadata() bool

HasProviderMetadata returns a boolean if a field has been set.

func (WorkspaceInfo) MarshalJSON

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

func (*WorkspaceInfo) SetName

func (o *WorkspaceInfo) SetName(v string)

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

func (*WorkspaceInfo) SetProjects

func (o *WorkspaceInfo) SetProjects(v []ProjectInfo)

SetProjects gets a reference to the given []ProjectInfo and assigns it to the Projects field.

func (*WorkspaceInfo) SetProviderMetadata

func (o *WorkspaceInfo) SetProviderMetadata(v string)

SetProviderMetadata gets a reference to the given string and assigns it to the ProviderMetadata field.

func (WorkspaceInfo) ToMap

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

Jump to

Keyboard shortcuts

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