apiclient

package
v0.17.0-alpha.1 Latest Latest
Warning

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

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

README

Go API client for apiclient

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 apiclient "github.com/GIT_USER_ID/GIT_REPO_ID/apiclient"

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

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

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

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

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

Documentation for API Endpoints

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

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
ProfileAPI DeleteProfileData Delete /profile Delete profile data
ProfileAPI GetProfileData Get /profile Get profile data
ProfileAPI SetProfileData Put /profile Set profile data
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(),
		apiclient.ContextAPIKeys,
		map[string]apiclient.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",
	"workspace",
}

All allowed values of ApikeyApiKeyType enum

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

All allowed values of ProviderProviderTargetPropertyType enum

View Source
var AllowedStatusEnumValues = []Status{
	"Unmodified",
	"Untracked",
	"Modified",
	"Added",
	"Deleted",
	"Renamed",
	"Copied",
	"Updated but unmerged",
}

All allowed values of Status 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

	ProfileAPI *ProfileAPIService

	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 ApiDeleteProfileDataRequest

type ApiDeleteProfileDataRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiDeleteProfileDataRequest) Execute

type ApiGenerateApiKeyRequest

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

func (ApiGenerateApiKeyRequest) Execute

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

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

func (ApiGetContainerRegistryRequest) Execute

type ApiGetGitContextRequest

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

func (ApiGetGitContextRequest) Execute

type ApiGetGitProviderForUrlRequest

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

func (ApiGetGitProviderForUrlRequest) Execute

type ApiGetGitUserRequest

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

func (ApiGetGitUserRequest) Execute

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

type ApiGetNamespacesRequest

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

func (ApiGetNamespacesRequest) Execute

type ApiGetProfileDataRequest

type ApiGetProfileDataRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiGetProfileDataRequest) Execute

type ApiGetRepoBranchesRequest

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

func (ApiGetRepoBranchesRequest) Execute

type ApiGetRepoPRsRequest

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

func (ApiGetRepoPRsRequest) Execute

type ApiGetRepositoriesRequest

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

func (ApiGetRepositoriesRequest) Execute

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

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

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

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

func (o *ApiKey) GetKeyHash() string

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

func (*ApiKey) GetKeyHashOk

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

func (o *ApiKey) GetName() string

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

func (*ApiKey) GetNameOk

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

func (o *ApiKey) GetType() ApikeyApiKeyType

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

func (*ApiKey) GetTypeOk

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

func (o *ApiKey) HasKeyHash() bool

HasKeyHash returns a boolean if a field has been set.

func (*ApiKey) HasName

func (o *ApiKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*ApiKey) HasType

func (o *ApiKey) HasType() bool

HasType returns a boolean if a field has been set.

func (ApiKey) MarshalJSON

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

func (*ApiKey) SetKeyHash

func (o *ApiKey) SetKeyHash(v string)

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

func (*ApiKey) SetName

func (o *ApiKey) SetName(v string)

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

func (*ApiKey) SetType

func (o *ApiKey) SetType(v ApikeyApiKeyType)

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

func (ApiKey) ToMap

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

type ApiKeyAPIService

type ApiKeyAPIService service

ApiKeyAPIService ApiKeyAPI service

func (*ApiKeyAPIService) GenerateApiKey

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

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

Execute executes the request

@return string

func (*ApiKeyAPIService) ListClientApiKeys

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

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

Execute executes the request

@return []ApiKey

func (*ApiKeyAPIService) RevokeApiKey

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

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

Execute executes the request

type ApiListClientApiKeysRequest

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

func (ApiListClientApiKeysRequest) Execute

type ApiListContainerRegistriesRequest

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

func (ApiListContainerRegistriesRequest) Execute

type ApiListGitProvidersRequest

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

func (ApiListGitProvidersRequest) Execute

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

Verbose

type ApiRemoveContainerRegistryRequest

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

func (ApiRemoveContainerRegistryRequest) Execute

type ApiRemoveGitProviderRequest

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

func (ApiRemoveGitProviderRequest) Execute

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

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

func (ApiRevokeApiKeyRequest) Execute

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

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

func (ApiSetContainerRegistryRequest) ContainerRegistry

Container Registry credentials to set

func (ApiSetContainerRegistryRequest) Execute

type ApiSetGitProviderRequest

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

func (ApiSetGitProviderRequest) Execute

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

func (ApiSetGitProviderRequest) GitProviderConfig

func (r ApiSetGitProviderRequest) GitProviderConfig(gitProviderConfig GitProvider) ApiSetGitProviderRequest

Git provider

type ApiSetProfileDataRequest

type ApiSetProfileDataRequest struct {
	ApiService *ProfileAPIService
	// contains filtered or unexported fields
}

func (ApiSetProfileDataRequest) Execute

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

func (ApiSetProfileDataRequest) ProfileData

Profile data

type ApiSetProjectStateRequest

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

func (ApiSetProjectStateRequest) Execute

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

func (ApiSetProjectStateRequest) SetState

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

type ApikeyApiKeyType string

ApikeyApiKeyType the model 'ApikeyApiKeyType'

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

List of apikey.ApiKeyType

func NewApikeyApiKeyTypeFromValue

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

func (v ApikeyApiKeyType) IsValid() bool

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

func (ApikeyApiKeyType) Ptr

Ptr returns reference to apikey.ApiKeyType value

func (*ApikeyApiKeyType) UnmarshalJSON

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

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

ContainerRegistry struct for ContainerRegistry

func NewContainerRegistry

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

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

func (o *ContainerRegistry) GetPassword() string

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

func (*ContainerRegistry) GetPasswordOk

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

func (o *ContainerRegistry) GetServer() string

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

func (*ContainerRegistry) GetServerOk

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

func (o *ContainerRegistry) GetUsername() string

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

func (*ContainerRegistry) GetUsernameOk

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

func (o *ContainerRegistry) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (*ContainerRegistry) HasServer

func (o *ContainerRegistry) HasServer() bool

HasServer returns a boolean if a field has been set.

func (*ContainerRegistry) HasUsername

func (o *ContainerRegistry) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (ContainerRegistry) MarshalJSON

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

func (*ContainerRegistry) SetPassword

func (o *ContainerRegistry) SetPassword(v string)

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

func (*ContainerRegistry) SetServer

func (o *ContainerRegistry) SetServer(v string)

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

func (*ContainerRegistry) SetUsername

func (o *ContainerRegistry) SetUsername(v string)

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

func (ContainerRegistry) ToMap

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

type ContainerRegistryAPIService

type ContainerRegistryAPIService service

ContainerRegistryAPIService ContainerRegistryAPI service

func (*ContainerRegistryAPIService) GetContainerRegistry

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

Execute executes the request

@return ContainerRegistry

func (*ContainerRegistryAPIService) ListContainerRegistries

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

Execute executes the request

@return []ContainerRegistry

func (*ContainerRegistryAPIService) RemoveContainerRegistry

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

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

Execute executes the request

func (*ContainerRegistryAPIService) SetContainerRegistry

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

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

Execute executes the request

type CreateWorkspaceRequest

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

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

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

func (o *CreateWorkspaceRequest) GetId() string

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

func (*CreateWorkspaceRequest) GetIdOk

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

func (o *CreateWorkspaceRequest) GetName() string

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

func (*CreateWorkspaceRequest) GetNameOk

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

GetProjects returns the Projects field value

func (*CreateWorkspaceRequest) GetProjectsOk

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

func (*CreateWorkspaceRequest) GetTarget

func (o *CreateWorkspaceRequest) GetTarget() string

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

func (*CreateWorkspaceRequest) GetTargetOk

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

func (o *CreateWorkspaceRequest) HasId() bool

HasId returns a boolean if a field has been set.

func (*CreateWorkspaceRequest) HasName

func (o *CreateWorkspaceRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateWorkspaceRequest) HasTarget

func (o *CreateWorkspaceRequest) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (CreateWorkspaceRequest) MarshalJSON

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

func (*CreateWorkspaceRequest) SetId

func (o *CreateWorkspaceRequest) SetId(v string)

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

func (*CreateWorkspaceRequest) SetName

func (o *CreateWorkspaceRequest) SetName(v string)

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

func (*CreateWorkspaceRequest) SetProjects

SetProjects sets field value

func (*CreateWorkspaceRequest) SetTarget

func (o *CreateWorkspaceRequest) SetTarget(v string)

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

func (CreateWorkspaceRequest) ToMap

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

func (*CreateWorkspaceRequest) UnmarshalJSON

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

type CreateWorkspaceRequestProject

type CreateWorkspaceRequestProject struct {
	Build             *ProjectBuild                        `json:"build,omitempty"`
	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

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

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) GetBuild

GetBuild returns the Build field value if set, zero value otherwise.

func (*CreateWorkspaceRequestProject) GetBuildOk

func (o *CreateWorkspaceRequestProject) GetBuildOk() (*ProjectBuild, bool)

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

func (*CreateWorkspaceRequestProject) GetEnvVars

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

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

func (*CreateWorkspaceRequestProject) GetEnvVarsOk

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

func (o *CreateWorkspaceRequestProject) GetImage() string

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

func (*CreateWorkspaceRequestProject) GetImageOk

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

GetName returns the Name field value

func (*CreateWorkspaceRequestProject) GetNameOk

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

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

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

func (*CreateWorkspaceRequestProject) GetPostStartCommandsOk

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

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

func (*CreateWorkspaceRequestProject) GetSourceOk

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

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

func (*CreateWorkspaceRequestProject) GetUserOk

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) HasBuild

func (o *CreateWorkspaceRequestProject) HasBuild() bool

HasBuild returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasEnvVars

func (o *CreateWorkspaceRequestProject) HasEnvVars() bool

HasEnvVars returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasImage

func (o *CreateWorkspaceRequestProject) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasPostStartCommands

func (o *CreateWorkspaceRequestProject) HasPostStartCommands() bool

HasPostStartCommands returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasSource

func (o *CreateWorkspaceRequestProject) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*CreateWorkspaceRequestProject) HasUser

func (o *CreateWorkspaceRequestProject) HasUser() bool

HasUser returns a boolean if a field has been set.

func (CreateWorkspaceRequestProject) MarshalJSON

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

func (*CreateWorkspaceRequestProject) SetBuild

SetBuild gets a reference to the given ProjectBuild and assigns it to the Build field.

func (*CreateWorkspaceRequestProject) SetEnvVars

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

func (o *CreateWorkspaceRequestProject) SetImage(v string)

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

func (*CreateWorkspaceRequestProject) SetName

func (o *CreateWorkspaceRequestProject) SetName(v string)

SetName sets field value

func (*CreateWorkspaceRequestProject) SetPostStartCommands

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

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

func (*CreateWorkspaceRequestProject) SetSource

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

func (*CreateWorkspaceRequestProject) SetUser

func (o *CreateWorkspaceRequestProject) SetUser(v string)

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

func (CreateWorkspaceRequestProject) ToMap

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

func (*CreateWorkspaceRequestProject) UnmarshalJSON

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

type CreateWorkspaceRequestProjectSource

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

CreateWorkspaceRequestProjectSource struct for CreateWorkspaceRequestProjectSource

func NewCreateWorkspaceRequestProjectSource

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

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

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

func (*CreateWorkspaceRequestProjectSource) GetRepositoryOk

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

func (o *CreateWorkspaceRequestProjectSource) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (CreateWorkspaceRequestProjectSource) MarshalJSON

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

func (*CreateWorkspaceRequestProjectSource) SetRepository

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

func (CreateWorkspaceRequestProjectSource) ToMap

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 FileStatus

type FileStatus struct {
	Extra    *string `json:"extra,omitempty"`
	Name     *string `json:"name,omitempty"`
	Staging  *Status `json:"staging,omitempty"`
	Worktree *Status `json:"worktree,omitempty"`
}

FileStatus struct for FileStatus

func NewFileStatus

func NewFileStatus() *FileStatus

NewFileStatus instantiates a new FileStatus 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 NewFileStatusWithDefaults

func NewFileStatusWithDefaults() *FileStatus

NewFileStatusWithDefaults instantiates a new FileStatus 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 (*FileStatus) GetExtra

func (o *FileStatus) GetExtra() string

GetExtra returns the Extra field value if set, zero value otherwise.

func (*FileStatus) GetExtraOk

func (o *FileStatus) GetExtraOk() (*string, bool)

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

func (*FileStatus) GetName

func (o *FileStatus) GetName() string

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

func (*FileStatus) GetNameOk

func (o *FileStatus) 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 (*FileStatus) GetStaging

func (o *FileStatus) GetStaging() Status

GetStaging returns the Staging field value if set, zero value otherwise.

func (*FileStatus) GetStagingOk

func (o *FileStatus) GetStagingOk() (*Status, bool)

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

func (*FileStatus) GetWorktree

func (o *FileStatus) GetWorktree() Status

GetWorktree returns the Worktree field value if set, zero value otherwise.

func (*FileStatus) GetWorktreeOk

func (o *FileStatus) GetWorktreeOk() (*Status, bool)

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

func (*FileStatus) HasExtra

func (o *FileStatus) HasExtra() bool

HasExtra returns a boolean if a field has been set.

func (*FileStatus) HasName

func (o *FileStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*FileStatus) HasStaging

func (o *FileStatus) HasStaging() bool

HasStaging returns a boolean if a field has been set.

func (*FileStatus) HasWorktree

func (o *FileStatus) HasWorktree() bool

HasWorktree returns a boolean if a field has been set.

func (FileStatus) MarshalJSON

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

func (*FileStatus) SetExtra

func (o *FileStatus) SetExtra(v string)

SetExtra gets a reference to the given string and assigns it to the Extra field.

func (*FileStatus) SetName

func (o *FileStatus) SetName(v string)

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

func (*FileStatus) SetStaging

func (o *FileStatus) SetStaging(v Status)

SetStaging gets a reference to the given Status and assigns it to the Staging field.

func (*FileStatus) SetWorktree

func (o *FileStatus) SetWorktree(v Status)

SetWorktree gets a reference to the given Status and assigns it to the Worktree field.

func (FileStatus) ToMap

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

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

GitBranch struct for GitBranch

func NewGitBranch

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

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

func (o *GitBranch) GetName() string

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

func (*GitBranch) GetNameOk

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

func (o *GitBranch) GetSha() string

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

func (*GitBranch) GetShaOk

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

func (o *GitBranch) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitBranch) HasSha

func (o *GitBranch) HasSha() bool

HasSha returns a boolean if a field has been set.

func (GitBranch) MarshalJSON

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

func (*GitBranch) SetName

func (o *GitBranch) SetName(v string)

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

func (*GitBranch) SetSha

func (o *GitBranch) SetSha(v string)

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

func (GitBranch) ToMap

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

type GitNamespace

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

GitNamespace struct for GitNamespace

func NewGitNamespace

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

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

func (o *GitNamespace) GetId() string

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

func (*GitNamespace) GetIdOk

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

func (o *GitNamespace) GetName() string

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

func (*GitNamespace) GetNameOk

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

func (o *GitNamespace) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitNamespace) HasName

func (o *GitNamespace) HasName() bool

HasName returns a boolean if a field has been set.

func (GitNamespace) MarshalJSON

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

func (*GitNamespace) SetId

func (o *GitNamespace) SetId(v string)

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

func (*GitNamespace) SetName

func (o *GitNamespace) SetName(v string)

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

func (GitNamespace) ToMap

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

func (o *GitProvider) GetBaseApiUrl() string

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

func (*GitProvider) GetBaseApiUrlOk

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

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

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

type GitProviderAPIService service

GitProviderAPIService GitProviderAPI service

func (*GitProviderAPIService) GetGitContext

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

Execute executes the request

@return GitRepository

func (*GitProviderAPIService) GetGitProviderForUrl

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

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

Execute executes the request

@return GitProvider

func (*GitProviderAPIService) GetGitUser

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

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

Execute executes the request

@return GitUser

func (*GitProviderAPIService) GetNamespaces

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

Execute executes the request

@return []GitNamespace

func (*GitProviderAPIService) GetRepoBranches

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

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

Execute executes the request

@return []GitBranch

func (*GitProviderAPIService) GetRepoPRs

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

Execute executes the request

@return []GitPullRequest

func (*GitProviderAPIService) GetRepositories

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

Execute executes the request

@return []GitRepository

func (*GitProviderAPIService) ListGitProviders

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

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

Execute executes the request

@return []GitProvider

func (*GitProviderAPIService) RemoveGitProvider

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

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

Execute executes the request

func (*GitProviderAPIService) SetGitProvider

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

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

Execute executes the request

type GitPullRequest

type GitPullRequest struct {
	Branch          *string `json:"branch,omitempty"`
	Name            *string `json:"name,omitempty"`
	Sha             *string `json:"sha,omitempty"`
	SourceRepoId    *string `json:"sourceRepoId,omitempty"`
	SourceRepoName  *string `json:"sourceRepoName,omitempty"`
	SourceRepoOwner *string `json:"sourceRepoOwner,omitempty"`
	SourceRepoUrl   *string `json:"sourceRepoUrl,omitempty"`
}

GitPullRequest struct for GitPullRequest

func NewGitPullRequest

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

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

func (o *GitPullRequest) GetBranch() string

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

func (*GitPullRequest) GetBranchOk

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

func (o *GitPullRequest) GetName() string

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

func (*GitPullRequest) GetNameOk

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) GetSha

func (o *GitPullRequest) GetSha() string

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

func (*GitPullRequest) GetShaOk

func (o *GitPullRequest) 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 (*GitPullRequest) GetSourceRepoId

func (o *GitPullRequest) GetSourceRepoId() string

GetSourceRepoId returns the SourceRepoId field value if set, zero value otherwise.

func (*GitPullRequest) GetSourceRepoIdOk

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

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

func (*GitPullRequest) GetSourceRepoName

func (o *GitPullRequest) GetSourceRepoName() string

GetSourceRepoName returns the SourceRepoName field value if set, zero value otherwise.

func (*GitPullRequest) GetSourceRepoNameOk

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

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

func (*GitPullRequest) GetSourceRepoOwner

func (o *GitPullRequest) GetSourceRepoOwner() string

GetSourceRepoOwner returns the SourceRepoOwner field value if set, zero value otherwise.

func (*GitPullRequest) GetSourceRepoOwnerOk

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

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

func (*GitPullRequest) GetSourceRepoUrl

func (o *GitPullRequest) GetSourceRepoUrl() string

GetSourceRepoUrl returns the SourceRepoUrl field value if set, zero value otherwise.

func (*GitPullRequest) GetSourceRepoUrlOk

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

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

func (*GitPullRequest) HasBranch

func (o *GitPullRequest) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*GitPullRequest) HasName

func (o *GitPullRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitPullRequest) HasSha

func (o *GitPullRequest) HasSha() bool

HasSha returns a boolean if a field has been set.

func (*GitPullRequest) HasSourceRepoId

func (o *GitPullRequest) HasSourceRepoId() bool

HasSourceRepoId returns a boolean if a field has been set.

func (*GitPullRequest) HasSourceRepoName

func (o *GitPullRequest) HasSourceRepoName() bool

HasSourceRepoName returns a boolean if a field has been set.

func (*GitPullRequest) HasSourceRepoOwner

func (o *GitPullRequest) HasSourceRepoOwner() bool

HasSourceRepoOwner returns a boolean if a field has been set.

func (*GitPullRequest) HasSourceRepoUrl

func (o *GitPullRequest) HasSourceRepoUrl() bool

HasSourceRepoUrl returns a boolean if a field has been set.

func (GitPullRequest) MarshalJSON

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

func (*GitPullRequest) SetBranch

func (o *GitPullRequest) SetBranch(v string)

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

func (*GitPullRequest) SetName

func (o *GitPullRequest) SetName(v string)

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

func (*GitPullRequest) SetSha

func (o *GitPullRequest) SetSha(v string)

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

func (*GitPullRequest) SetSourceRepoId

func (o *GitPullRequest) SetSourceRepoId(v string)

SetSourceRepoId gets a reference to the given string and assigns it to the SourceRepoId field.

func (*GitPullRequest) SetSourceRepoName

func (o *GitPullRequest) SetSourceRepoName(v string)

SetSourceRepoName gets a reference to the given string and assigns it to the SourceRepoName field.

func (*GitPullRequest) SetSourceRepoOwner

func (o *GitPullRequest) SetSourceRepoOwner(v string)

SetSourceRepoOwner gets a reference to the given string and assigns it to the SourceRepoOwner field.

func (*GitPullRequest) SetSourceRepoUrl

func (o *GitPullRequest) SetSourceRepoUrl(v string)

SetSourceRepoUrl gets a reference to the given string and assigns it to the SourceRepoUrl field.

func (GitPullRequest) ToMap

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

type GitRepository

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

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

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

func (o *GitRepository) GetBranch() string

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

func (*GitRepository) GetBranchOk

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

func (o *GitRepository) GetId() string

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

func (*GitRepository) GetIdOk

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

func (o *GitRepository) GetName() string

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

func (*GitRepository) GetNameOk

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

func (o *GitRepository) GetOwner() string

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

func (*GitRepository) GetOwnerOk

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

func (o *GitRepository) GetPath() string

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

func (*GitRepository) GetPathOk

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

func (o *GitRepository) GetPrNumber() int32

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

func (*GitRepository) GetPrNumberOk

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

func (o *GitRepository) GetSha() string

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

func (*GitRepository) GetShaOk

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

func (o *GitRepository) GetSource() string

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

func (*GitRepository) GetSourceOk

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

func (o *GitRepository) GetUrl() string

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

func (*GitRepository) GetUrlOk

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

func (o *GitRepository) HasBranch() bool

HasBranch returns a boolean if a field has been set.

func (*GitRepository) HasId

func (o *GitRepository) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitRepository) HasName

func (o *GitRepository) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitRepository) HasOwner

func (o *GitRepository) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*GitRepository) HasPath

func (o *GitRepository) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*GitRepository) HasPrNumber

func (o *GitRepository) HasPrNumber() bool

HasPrNumber returns a boolean if a field has been set.

func (*GitRepository) HasSha

func (o *GitRepository) HasSha() bool

HasSha returns a boolean if a field has been set.

func (*GitRepository) HasSource

func (o *GitRepository) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*GitRepository) HasUrl

func (o *GitRepository) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (GitRepository) MarshalJSON

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

func (*GitRepository) SetBranch

func (o *GitRepository) SetBranch(v string)

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

func (*GitRepository) SetId

func (o *GitRepository) SetId(v string)

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

func (*GitRepository) SetName

func (o *GitRepository) SetName(v string)

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

func (*GitRepository) SetOwner

func (o *GitRepository) SetOwner(v string)

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

func (*GitRepository) SetPath

func (o *GitRepository) SetPath(v string)

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

func (*GitRepository) SetPrNumber

func (o *GitRepository) SetPrNumber(v int32)

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

func (*GitRepository) SetSha

func (o *GitRepository) SetSha(v string)

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

func (*GitRepository) SetSource

func (o *GitRepository) SetSource(v string)

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

func (*GitRepository) SetUrl

func (o *GitRepository) SetUrl(v string)

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

func (GitRepository) ToMap

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

type GitStatus

type GitStatus struct {
	CurrentBranch *string      `json:"currentBranch,omitempty"`
	FileStatus    []FileStatus `json:"fileStatus,omitempty"`
}

GitStatus struct for GitStatus

func NewGitStatus

func NewGitStatus() *GitStatus

NewGitStatus instantiates a new GitStatus 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 NewGitStatusWithDefaults

func NewGitStatusWithDefaults() *GitStatus

NewGitStatusWithDefaults instantiates a new GitStatus 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 (*GitStatus) GetCurrentBranch

func (o *GitStatus) GetCurrentBranch() string

GetCurrentBranch returns the CurrentBranch field value if set, zero value otherwise.

func (*GitStatus) GetCurrentBranchOk

func (o *GitStatus) GetCurrentBranchOk() (*string, bool)

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

func (*GitStatus) GetFileStatus

func (o *GitStatus) GetFileStatus() []FileStatus

GetFileStatus returns the FileStatus field value if set, zero value otherwise.

func (*GitStatus) GetFileStatusOk

func (o *GitStatus) GetFileStatusOk() ([]FileStatus, bool)

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

func (*GitStatus) HasCurrentBranch

func (o *GitStatus) HasCurrentBranch() bool

HasCurrentBranch returns a boolean if a field has been set.

func (*GitStatus) HasFileStatus

func (o *GitStatus) HasFileStatus() bool

HasFileStatus returns a boolean if a field has been set.

func (GitStatus) MarshalJSON

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

func (*GitStatus) SetCurrentBranch

func (o *GitStatus) SetCurrentBranch(v string)

SetCurrentBranch gets a reference to the given string and assigns it to the CurrentBranch field.

func (*GitStatus) SetFileStatus

func (o *GitStatus) SetFileStatus(v []FileStatus)

SetFileStatus gets a reference to the given []FileStatus and assigns it to the FileStatus field.

func (GitStatus) ToMap

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

type GitUser

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

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

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

func (o *GitUser) GetEmail() string

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

func (*GitUser) GetEmailOk

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

func (o *GitUser) GetId() string

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

func (*GitUser) GetIdOk

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

func (o *GitUser) GetName() string

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

func (*GitUser) GetNameOk

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

func (o *GitUser) GetUsername() string

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

func (*GitUser) GetUsernameOk

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

func (o *GitUser) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*GitUser) HasId

func (o *GitUser) HasId() bool

HasId returns a boolean if a field has been set.

func (*GitUser) HasName

func (o *GitUser) HasName() bool

HasName returns a boolean if a field has been set.

func (*GitUser) HasUsername

func (o *GitUser) HasUsername() bool

HasUsername returns a boolean if a field has been set.

func (GitUser) MarshalJSON

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

func (*GitUser) SetEmail

func (o *GitUser) SetEmail(v string)

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

func (*GitUser) SetId

func (o *GitUser) SetId(v string)

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

func (*GitUser) SetName

func (o *GitUser) SetName(v string)

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

func (*GitUser) SetUsername

func (o *GitUser) SetUsername(v string)

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

func (GitUser) ToMap

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

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

func NewNullableApiKey

func NewNullableApiKey(val *ApiKey) *NullableApiKey

func (NullableApiKey) Get

func (v NullableApiKey) Get() *ApiKey

func (NullableApiKey) IsSet

func (v NullableApiKey) IsSet() bool

func (NullableApiKey) MarshalJSON

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

func (*NullableApiKey) Set

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

func (*NullableApiKey) UnmarshalJSON

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

func (*NullableApiKey) Unset

func (v *NullableApiKey) Unset()

type NullableApikeyApiKeyType

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

func NewNullableApikeyApiKeyType

func NewNullableApikeyApiKeyType(val *ApikeyApiKeyType) *NullableApikeyApiKeyType

func (NullableApikeyApiKeyType) Get

func (NullableApikeyApiKeyType) IsSet

func (v NullableApikeyApiKeyType) IsSet() bool

func (NullableApikeyApiKeyType) MarshalJSON

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

func (*NullableApikeyApiKeyType) Set

func (*NullableApikeyApiKeyType) UnmarshalJSON

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

func (*NullableApikeyApiKeyType) Unset

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

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

func NewNullableContainerRegistry

func NewNullableContainerRegistry(val *ContainerRegistry) *NullableContainerRegistry

func (NullableContainerRegistry) Get

func (NullableContainerRegistry) IsSet

func (v NullableContainerRegistry) IsSet() bool

func (NullableContainerRegistry) MarshalJSON

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

func (*NullableContainerRegistry) Set

func (*NullableContainerRegistry) UnmarshalJSON

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

func (*NullableContainerRegistry) Unset

func (v *NullableContainerRegistry) Unset()

type NullableCreateWorkspaceRequest

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

func (NullableCreateWorkspaceRequest) Get

func (NullableCreateWorkspaceRequest) IsSet

func (NullableCreateWorkspaceRequest) MarshalJSON

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

func (*NullableCreateWorkspaceRequest) Set

func (*NullableCreateWorkspaceRequest) UnmarshalJSON

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

func (*NullableCreateWorkspaceRequest) Unset

func (v *NullableCreateWorkspaceRequest) Unset()

type NullableCreateWorkspaceRequestProject

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

func (NullableCreateWorkspaceRequestProject) Get

func (NullableCreateWorkspaceRequestProject) IsSet

func (NullableCreateWorkspaceRequestProject) MarshalJSON

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

func (*NullableCreateWorkspaceRequestProject) Set

func (*NullableCreateWorkspaceRequestProject) UnmarshalJSON

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

func (*NullableCreateWorkspaceRequestProject) Unset

type NullableCreateWorkspaceRequestProjectSource

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

func (NullableCreateWorkspaceRequestProjectSource) Get

func (NullableCreateWorkspaceRequestProjectSource) IsSet

func (NullableCreateWorkspaceRequestProjectSource) MarshalJSON

func (*NullableCreateWorkspaceRequestProjectSource) Set

func (*NullableCreateWorkspaceRequestProjectSource) UnmarshalJSON

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

func (*NullableCreateWorkspaceRequestProjectSource) Unset

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 NullableFileStatus

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

func NewNullableFileStatus

func NewNullableFileStatus(val *FileStatus) *NullableFileStatus

func (NullableFileStatus) Get

func (v NullableFileStatus) Get() *FileStatus

func (NullableFileStatus) IsSet

func (v NullableFileStatus) IsSet() bool

func (NullableFileStatus) MarshalJSON

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

func (*NullableFileStatus) Set

func (v *NullableFileStatus) Set(val *FileStatus)

func (*NullableFileStatus) UnmarshalJSON

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

func (*NullableFileStatus) Unset

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

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

func NewNullableGitBranch

func NewNullableGitBranch(val *GitBranch) *NullableGitBranch

func (NullableGitBranch) Get

func (v NullableGitBranch) Get() *GitBranch

func (NullableGitBranch) IsSet

func (v NullableGitBranch) IsSet() bool

func (NullableGitBranch) MarshalJSON

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

func (*NullableGitBranch) Set

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

func (*NullableGitBranch) UnmarshalJSON

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

func (*NullableGitBranch) Unset

func (v *NullableGitBranch) Unset()

type NullableGitNamespace

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

func NewNullableGitNamespace

func NewNullableGitNamespace(val *GitNamespace) *NullableGitNamespace

func (NullableGitNamespace) Get

func (NullableGitNamespace) IsSet

func (v NullableGitNamespace) IsSet() bool

func (NullableGitNamespace) MarshalJSON

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

func (*NullableGitNamespace) Set

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

func (*NullableGitNamespace) UnmarshalJSON

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

func (*NullableGitNamespace) Unset

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

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

func NewNullableGitPullRequest

func NewNullableGitPullRequest(val *GitPullRequest) *NullableGitPullRequest

func (NullableGitPullRequest) Get

func (NullableGitPullRequest) IsSet

func (v NullableGitPullRequest) IsSet() bool

func (NullableGitPullRequest) MarshalJSON

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

func (*NullableGitPullRequest) Set

func (*NullableGitPullRequest) UnmarshalJSON

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

func (*NullableGitPullRequest) Unset

func (v *NullableGitPullRequest) Unset()

type NullableGitRepository

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

func NewNullableGitRepository

func NewNullableGitRepository(val *GitRepository) *NullableGitRepository

func (NullableGitRepository) Get

func (NullableGitRepository) IsSet

func (v NullableGitRepository) IsSet() bool

func (NullableGitRepository) MarshalJSON

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

func (*NullableGitRepository) Set

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

func (*NullableGitRepository) UnmarshalJSON

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

func (*NullableGitRepository) Unset

func (v *NullableGitRepository) Unset()

type NullableGitStatus

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

func NewNullableGitStatus

func NewNullableGitStatus(val *GitStatus) *NullableGitStatus

func (NullableGitStatus) Get

func (v NullableGitStatus) Get() *GitStatus

func (NullableGitStatus) IsSet

func (v NullableGitStatus) IsSet() bool

func (NullableGitStatus) MarshalJSON

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

func (*NullableGitStatus) Set

func (v *NullableGitStatus) Set(val *GitStatus)

func (*NullableGitStatus) UnmarshalJSON

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

func (*NullableGitStatus) Unset

func (v *NullableGitStatus) Unset()

type NullableGitUser

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

func NewNullableGitUser

func NewNullableGitUser(val *GitUser) *NullableGitUser

func (NullableGitUser) Get

func (v NullableGitUser) Get() *GitUser

func (NullableGitUser) IsSet

func (v NullableGitUser) IsSet() bool

func (NullableGitUser) MarshalJSON

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

func (*NullableGitUser) Set

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

func (*NullableGitUser) UnmarshalJSON

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

func (*NullableGitUser) Unset

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 NullableProfileData

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

func NewNullableProfileData

func NewNullableProfileData(val *ProfileData) *NullableProfileData

func (NullableProfileData) Get

func (NullableProfileData) IsSet

func (v NullableProfileData) IsSet() bool

func (NullableProfileData) MarshalJSON

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

func (*NullableProfileData) Set

func (v *NullableProfileData) Set(val *ProfileData)

func (*NullableProfileData) UnmarshalJSON

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

func (*NullableProfileData) Unset

func (v *NullableProfileData) 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 NullableProjectBuild

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

func NewNullableProjectBuild

func NewNullableProjectBuild(val *ProjectBuild) *NullableProjectBuild

func (NullableProjectBuild) Get

func (NullableProjectBuild) IsSet

func (v NullableProjectBuild) IsSet() bool

func (NullableProjectBuild) MarshalJSON

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

func (*NullableProjectBuild) Set

func (v *NullableProjectBuild) Set(val *ProjectBuild)

func (*NullableProjectBuild) UnmarshalJSON

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

func (*NullableProjectBuild) Unset

func (v *NullableProjectBuild) Unset()

type NullableProjectBuildDevcontainer

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

func (NullableProjectBuildDevcontainer) Get

func (NullableProjectBuildDevcontainer) IsSet

func (NullableProjectBuildDevcontainer) MarshalJSON

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

func (*NullableProjectBuildDevcontainer) Set

func (*NullableProjectBuildDevcontainer) UnmarshalJSON

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

func (*NullableProjectBuildDevcontainer) Unset

type NullableProjectBuildDockerfile

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

func (NullableProjectBuildDockerfile) Get

func (NullableProjectBuildDockerfile) IsSet

func (NullableProjectBuildDockerfile) MarshalJSON

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

func (*NullableProjectBuildDockerfile) Set

func (*NullableProjectBuildDockerfile) UnmarshalJSON

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

func (*NullableProjectBuildDockerfile) Unset

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

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

func NewNullableProjectState

func NewNullableProjectState(val *ProjectState) *NullableProjectState

func (NullableProjectState) Get

func (NullableProjectState) IsSet

func (v NullableProjectState) IsSet() bool

func (NullableProjectState) MarshalJSON

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

func (*NullableProjectState) Set

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

func (*NullableProjectState) UnmarshalJSON

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

func (*NullableProjectState) Unset

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

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

func NewNullableSetProjectState

func NewNullableSetProjectState(val *SetProjectState) *NullableSetProjectState

func (NullableSetProjectState) Get

func (NullableSetProjectState) IsSet

func (v NullableSetProjectState) IsSet() bool

func (NullableSetProjectState) MarshalJSON

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

func (*NullableSetProjectState) Set

func (*NullableSetProjectState) UnmarshalJSON

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

func (*NullableSetProjectState) Unset

func (v *NullableSetProjectState) Unset()

type NullableStatus

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

func NewNullableStatus

func NewNullableStatus(val *Status) *NullableStatus

func (NullableStatus) Get

func (v NullableStatus) Get() *Status

func (NullableStatus) IsSet

func (v NullableStatus) IsSet() bool

func (NullableStatus) MarshalJSON

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

func (*NullableStatus) Set

func (v *NullableStatus) Set(val *Status)

func (*NullableStatus) UnmarshalJSON

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

func (*NullableStatus) Unset

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

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

func NewNullableWorkspaceDTO

func NewNullableWorkspaceDTO(val *WorkspaceDTO) *NullableWorkspaceDTO

func (NullableWorkspaceDTO) Get

func (NullableWorkspaceDTO) IsSet

func (v NullableWorkspaceDTO) IsSet() bool

func (NullableWorkspaceDTO) MarshalJSON

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

func (*NullableWorkspaceDTO) Set

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

func (*NullableWorkspaceDTO) UnmarshalJSON

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

func (*NullableWorkspaceDTO) Unset

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 ProfileAPIService

type ProfileAPIService service

ProfileAPIService ProfileAPI service

func (*ProfileAPIService) DeleteProfileData

DeleteProfileData Delete profile data

Delete profile data

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

func (*ProfileAPIService) DeleteProfileDataExecute

func (a *ProfileAPIService) DeleteProfileDataExecute(r ApiDeleteProfileDataRequest) (*http.Response, error)

Execute executes the request

func (*ProfileAPIService) GetProfileData

GetProfileData Get profile data

Get profile data

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

func (*ProfileAPIService) GetProfileDataExecute

func (a *ProfileAPIService) GetProfileDataExecute(r ApiGetProfileDataRequest) (*ProfileData, *http.Response, error)

Execute executes the request

@return ProfileData

func (*ProfileAPIService) SetProfileData

SetProfileData Set profile data

Set profile data

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

func (*ProfileAPIService) SetProfileDataExecute

func (a *ProfileAPIService) SetProfileDataExecute(r ApiSetProfileDataRequest) (*http.Response, error)

Execute executes the request

type ProfileData

type ProfileData struct {
	EnvVars *map[string]string `json:"envVars,omitempty"`
}

ProfileData struct for ProfileData

func NewProfileData

func NewProfileData() *ProfileData

NewProfileData instantiates a new ProfileData 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 NewProfileDataWithDefaults

func NewProfileDataWithDefaults() *ProfileData

NewProfileDataWithDefaults instantiates a new ProfileData 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 (*ProfileData) GetEnvVars

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

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

func (*ProfileData) GetEnvVarsOk

func (o *ProfileData) 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 (*ProfileData) HasEnvVars

func (o *ProfileData) HasEnvVars() bool

HasEnvVars returns a boolean if a field has been set.

func (ProfileData) MarshalJSON

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

func (*ProfileData) SetEnvVars

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

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

func (ProfileData) ToMap

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

type Project

type Project struct {
	Build              *ProjectBuild  `json:"build,omitempty"`
	Image              *string        `json:"image,omitempty"`
	Name               *string        `json:"name,omitempty"`
	PostCreateCommands []string       `json:"postCreateCommands,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) GetBuild

func (o *Project) GetBuild() ProjectBuild

GetBuild returns the Build field value if set, zero value otherwise.

func (*Project) GetBuildOk

func (o *Project) GetBuildOk() (*ProjectBuild, bool)

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

func (*Project) GetImage

func (o *Project) GetImage() string

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

func (*Project) GetImageOk

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) GetPostCreateCommands

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

GetPostCreateCommands returns the PostCreateCommands field value if set, zero value otherwise.

func (*Project) GetPostCreateCommandsOk

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

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

func (*Project) GetPostStartCommands

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

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

func (*Project) GetPostStartCommandsOk

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

func (o *Project) GetState() ProjectState

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

func (*Project) GetStateOk

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

func (o *Project) GetUser() string

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

func (*Project) GetUserOk

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) HasBuild

func (o *Project) HasBuild() bool

HasBuild returns a boolean if a field has been set.

func (*Project) HasImage

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) HasPostCreateCommands

func (o *Project) HasPostCreateCommands() bool

HasPostCreateCommands returns a boolean if a field has been set.

func (*Project) HasPostStartCommands

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

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

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) SetBuild

func (o *Project) SetBuild(v ProjectBuild)

SetBuild gets a reference to the given ProjectBuild and assigns it to the Build field.

func (*Project) SetImage

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) SetPostCreateCommands

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

SetPostCreateCommands gets a reference to the given []string and assigns it to the PostCreateCommands field.

func (*Project) SetPostStartCommands

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

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

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 ProjectBuild

type ProjectBuild struct {
	Devcontainer *ProjectBuildDevcontainer `json:"devcontainer,omitempty"`
}

ProjectBuild struct for ProjectBuild

func NewProjectBuild

func NewProjectBuild() *ProjectBuild

NewProjectBuild instantiates a new ProjectBuild 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 NewProjectBuildWithDefaults

func NewProjectBuildWithDefaults() *ProjectBuild

NewProjectBuildWithDefaults instantiates a new ProjectBuild 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 (*ProjectBuild) GetDevcontainer

func (o *ProjectBuild) GetDevcontainer() ProjectBuildDevcontainer

GetDevcontainer returns the Devcontainer field value if set, zero value otherwise.

func (*ProjectBuild) GetDevcontainerOk

func (o *ProjectBuild) GetDevcontainerOk() (*ProjectBuildDevcontainer, bool)

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

func (*ProjectBuild) HasDevcontainer

func (o *ProjectBuild) HasDevcontainer() bool

HasDevcontainer returns a boolean if a field has been set.

func (ProjectBuild) MarshalJSON

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

func (*ProjectBuild) SetDevcontainer

func (o *ProjectBuild) SetDevcontainer(v ProjectBuildDevcontainer)

SetDevcontainer gets a reference to the given ProjectBuildDevcontainer and assigns it to the Devcontainer field.

func (ProjectBuild) ToMap

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

type ProjectBuildDevcontainer

type ProjectBuildDevcontainer struct {
	DevContainerFilePath *string `json:"devContainerFilePath,omitempty"`
}

ProjectBuildDevcontainer struct for ProjectBuildDevcontainer

func NewProjectBuildDevcontainer

func NewProjectBuildDevcontainer() *ProjectBuildDevcontainer

NewProjectBuildDevcontainer instantiates a new ProjectBuildDevcontainer 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 NewProjectBuildDevcontainerWithDefaults

func NewProjectBuildDevcontainerWithDefaults() *ProjectBuildDevcontainer

NewProjectBuildDevcontainerWithDefaults instantiates a new ProjectBuildDevcontainer 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 (*ProjectBuildDevcontainer) GetDevContainerFilePath

func (o *ProjectBuildDevcontainer) GetDevContainerFilePath() string

GetDevContainerFilePath returns the DevContainerFilePath field value if set, zero value otherwise.

func (*ProjectBuildDevcontainer) GetDevContainerFilePathOk

func (o *ProjectBuildDevcontainer) GetDevContainerFilePathOk() (*string, bool)

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

func (*ProjectBuildDevcontainer) HasDevContainerFilePath

func (o *ProjectBuildDevcontainer) HasDevContainerFilePath() bool

HasDevContainerFilePath returns a boolean if a field has been set.

func (ProjectBuildDevcontainer) MarshalJSON

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

func (*ProjectBuildDevcontainer) SetDevContainerFilePath

func (o *ProjectBuildDevcontainer) SetDevContainerFilePath(v string)

SetDevContainerFilePath gets a reference to the given string and assigns it to the DevContainerFilePath field.

func (ProjectBuildDevcontainer) ToMap

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

type ProjectBuildDockerfile

type ProjectBuildDockerfile struct {
	Args       *map[string]string `json:"args,omitempty"`
	Context    *string            `json:"context,omitempty"`
	Dockerfile *string            `json:"dockerfile,omitempty"`
}

ProjectBuildDockerfile struct for ProjectBuildDockerfile

func NewProjectBuildDockerfile

func NewProjectBuildDockerfile() *ProjectBuildDockerfile

NewProjectBuildDockerfile instantiates a new ProjectBuildDockerfile 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 NewProjectBuildDockerfileWithDefaults

func NewProjectBuildDockerfileWithDefaults() *ProjectBuildDockerfile

NewProjectBuildDockerfileWithDefaults instantiates a new ProjectBuildDockerfile 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 (*ProjectBuildDockerfile) GetArgs

func (o *ProjectBuildDockerfile) GetArgs() map[string]string

GetArgs returns the Args field value if set, zero value otherwise.

func (*ProjectBuildDockerfile) GetArgsOk

func (o *ProjectBuildDockerfile) GetArgsOk() (*map[string]string, bool)

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

func (*ProjectBuildDockerfile) GetContext

func (o *ProjectBuildDockerfile) GetContext() string

GetContext returns the Context field value if set, zero value otherwise.

func (*ProjectBuildDockerfile) GetContextOk

func (o *ProjectBuildDockerfile) GetContextOk() (*string, bool)

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

func (*ProjectBuildDockerfile) GetDockerfile

func (o *ProjectBuildDockerfile) GetDockerfile() string

GetDockerfile returns the Dockerfile field value if set, zero value otherwise.

func (*ProjectBuildDockerfile) GetDockerfileOk

func (o *ProjectBuildDockerfile) GetDockerfileOk() (*string, bool)

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

func (*ProjectBuildDockerfile) HasArgs

func (o *ProjectBuildDockerfile) HasArgs() bool

HasArgs returns a boolean if a field has been set.

func (*ProjectBuildDockerfile) HasContext

func (o *ProjectBuildDockerfile) HasContext() bool

HasContext returns a boolean if a field has been set.

func (*ProjectBuildDockerfile) HasDockerfile

func (o *ProjectBuildDockerfile) HasDockerfile() bool

HasDockerfile returns a boolean if a field has been set.

func (ProjectBuildDockerfile) MarshalJSON

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

func (*ProjectBuildDockerfile) SetArgs

func (o *ProjectBuildDockerfile) SetArgs(v map[string]string)

SetArgs gets a reference to the given map[string]string and assigns it to the Args field.

func (*ProjectBuildDockerfile) SetContext

func (o *ProjectBuildDockerfile) SetContext(v string)

SetContext gets a reference to the given string and assigns it to the Context field.

func (*ProjectBuildDockerfile) SetDockerfile

func (o *ProjectBuildDockerfile) SetDockerfile(v string)

SetDockerfile gets a reference to the given string and assigns it to the Dockerfile field.

func (ProjectBuildDockerfile) ToMap

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

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

ProjectState struct for ProjectState

func NewProjectState

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

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) GetGitStatus

func (o *ProjectState) GetGitStatus() GitStatus

GetGitStatus returns the GitStatus field value if set, zero value otherwise.

func (*ProjectState) GetGitStatusOk

func (o *ProjectState) GetGitStatusOk() (*GitStatus, bool)

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

func (*ProjectState) GetUpdatedAt

func (o *ProjectState) GetUpdatedAt() string

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

func (*ProjectState) GetUpdatedAtOk

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

func (o *ProjectState) GetUptime() int32

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

func (*ProjectState) GetUptimeOk

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) HasGitStatus

func (o *ProjectState) HasGitStatus() bool

HasGitStatus returns a boolean if a field has been set.

func (*ProjectState) HasUpdatedAt

func (o *ProjectState) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*ProjectState) HasUptime

func (o *ProjectState) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (ProjectState) MarshalJSON

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

func (*ProjectState) SetGitStatus

func (o *ProjectState) SetGitStatus(v GitStatus)

SetGitStatus gets a reference to the given GitStatus and assigns it to the GitStatus field.

func (*ProjectState) SetUpdatedAt

func (o *ProjectState) SetUpdatedAt(v string)

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

func (*ProjectState) SetUptime

func (o *ProjectState) SetUptime(v int32)

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

func (ProjectState) ToMap

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

func (o *ProviderProviderTargetProperty) GetDescription() string

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

func (*ProviderProviderTargetProperty) GetDescriptionOk

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

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

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"`
	RegistryPort                    *int32      `json:"registryPort,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

func (o *ServerConfig) GetBinariesPath() string

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

func (*ServerConfig) GetBinariesPathOk

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

func (o *ServerConfig) GetDefaultProjectImage() string

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

func (*ServerConfig) GetDefaultProjectImageOk

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

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

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

func (*ServerConfig) GetDefaultProjectPostStartCommandsOk

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

func (o *ServerConfig) GetDefaultProjectUser() string

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

func (*ServerConfig) GetDefaultProjectUserOk

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

func (o *ServerConfig) GetLogFilePath() string

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

func (*ServerConfig) GetLogFilePathOk

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) GetRegistryPort

func (o *ServerConfig) GetRegistryPort() int32

GetRegistryPort returns the RegistryPort field value if set, zero value otherwise.

func (*ServerConfig) GetRegistryPortOk

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

GetRegistryPortOk returns a tuple with the RegistryPort 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

func (o *ServerConfig) HasBinariesPath() bool

HasBinariesPath returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectImage

func (o *ServerConfig) HasDefaultProjectImage() bool

HasDefaultProjectImage returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectPostStartCommands

func (o *ServerConfig) HasDefaultProjectPostStartCommands() bool

HasDefaultProjectPostStartCommands returns a boolean if a field has been set.

func (*ServerConfig) HasDefaultProjectUser

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

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) HasRegistryPort

func (o *ServerConfig) HasRegistryPort() bool

HasRegistryPort 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

func (o *ServerConfig) SetBinariesPath(v string)

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

func (*ServerConfig) SetDefaultProjectImage

func (o *ServerConfig) SetDefaultProjectImage(v string)

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

func (*ServerConfig) SetDefaultProjectPostStartCommands

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

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

func (*ServerConfig) SetDefaultProjectUser

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

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) SetRegistryPort

func (o *ServerConfig) SetRegistryPort(v int32)

SetRegistryPort gets a reference to the given int32 and assigns it to the RegistryPort 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

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

SetProjectState struct for SetProjectState

func NewSetProjectState

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

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) GetGitStatus

func (o *SetProjectState) GetGitStatus() GitStatus

GetGitStatus returns the GitStatus field value if set, zero value otherwise.

func (*SetProjectState) GetGitStatusOk

func (o *SetProjectState) GetGitStatusOk() (*GitStatus, bool)

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

func (*SetProjectState) GetUptime

func (o *SetProjectState) GetUptime() int32

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

func (*SetProjectState) GetUptimeOk

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) HasGitStatus

func (o *SetProjectState) HasGitStatus() bool

HasGitStatus returns a boolean if a field has been set.

func (*SetProjectState) HasUptime

func (o *SetProjectState) HasUptime() bool

HasUptime returns a boolean if a field has been set.

func (SetProjectState) MarshalJSON

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

func (*SetProjectState) SetGitStatus

func (o *SetProjectState) SetGitStatus(v GitStatus)

SetGitStatus gets a reference to the given GitStatus and assigns it to the GitStatus field.

func (*SetProjectState) SetUptime

func (o *SetProjectState) SetUptime(v int32)

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

func (SetProjectState) ToMap

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

type Status

type Status string

Status the model 'Status'

const (
	Unmodified         Status = "Unmodified"
	Untracked          Status = "Untracked"
	Modified           Status = "Modified"
	Added              Status = "Added"
	Deleted            Status = "Deleted"
	Renamed            Status = "Renamed"
	Copied             Status = "Copied"
	UpdatedButUnmerged Status = "Updated but unmerged"
)

List of Status

func NewStatusFromValue

func NewStatusFromValue(v string) (*Status, error)

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

func (Status) IsValid

func (v Status) IsValid() bool

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

func (Status) Ptr

func (v Status) Ptr() *Status

Ptr returns reference to Status value

func (*Status) UnmarshalJSON

func (v *Status) UnmarshalJSON(src []byte) 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

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

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

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

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

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

func (o *WorkspaceDTO) GetId() string

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

func (*WorkspaceDTO) GetIdOk

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

func (o *WorkspaceDTO) GetInfo() WorkspaceInfo

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

func (*WorkspaceDTO) GetInfoOk

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

func (o *WorkspaceDTO) GetName() string

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

func (*WorkspaceDTO) GetNameOk

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

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

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

func (*WorkspaceDTO) GetProjectsOk

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

func (o *WorkspaceDTO) GetTarget() string

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

func (*WorkspaceDTO) GetTargetOk

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

func (o *WorkspaceDTO) HasId() bool

HasId returns a boolean if a field has been set.

func (*WorkspaceDTO) HasInfo

func (o *WorkspaceDTO) HasInfo() bool

HasInfo returns a boolean if a field has been set.

func (*WorkspaceDTO) HasName

func (o *WorkspaceDTO) HasName() bool

HasName returns a boolean if a field has been set.

func (*WorkspaceDTO) HasProjects

func (o *WorkspaceDTO) HasProjects() bool

HasProjects returns a boolean if a field has been set.

func (*WorkspaceDTO) HasTarget

func (o *WorkspaceDTO) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (WorkspaceDTO) MarshalJSON

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

func (*WorkspaceDTO) SetId

func (o *WorkspaceDTO) SetId(v string)

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

func (*WorkspaceDTO) SetInfo

func (o *WorkspaceDTO) SetInfo(v WorkspaceInfo)

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

func (*WorkspaceDTO) SetName

func (o *WorkspaceDTO) SetName(v string)

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

func (*WorkspaceDTO) SetProjects

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

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

func (*WorkspaceDTO) SetTarget

func (o *WorkspaceDTO) SetTarget(v string)

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

func (WorkspaceDTO) ToMap

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