machines

package module
v0.0.0-...-8a8beb2 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 20 Imported by: 0

README

Go API client for machines

This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete Machines API docs for how to get started, more information about each endpoint, parameter descriptions, and examples.

Overview

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

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.14.0-SNAPSHOT
  • 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 machines "github.com/OutboundSpade/FlyMachines"

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

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

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

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

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

Documentation for API Endpoints

All URIs are relative to https://api.machines.dev/v1

Class Method HTTP request Description
AppsAPI AppsCreate Post /apps Create App
AppsAPI AppsDelete Delete /apps/{app_name} Destroy App
AppsAPI AppsList Get /apps List Apps
AppsAPI AppsShow Get /apps/{app_name} Get App
MachinesAPI MachinesCordon Post /apps/{app_name}/machines/{machine_id}/cordon Cordon Machine
MachinesAPI MachinesCreate Post /apps/{app_name}/machines Create Machine
MachinesAPI MachinesCreateLease Post /apps/{app_name}/machines/{machine_id}/lease Create Lease
MachinesAPI MachinesDelete Delete /apps/{app_name}/machines/{machine_id} Destroy Machine
MachinesAPI MachinesDeleteMetadata Delete /apps/{app_name}/machines/{machine_id}/metadata/{key} Delete Metadata
MachinesAPI MachinesExec Post /apps/{app_name}/machines/{machine_id}/exec Execute Command
MachinesAPI MachinesList Get /apps/{app_name}/machines List Machines
MachinesAPI MachinesListEvents Get /apps/{app_name}/machines/{machine_id}/events List Events
MachinesAPI MachinesListProcesses Get /apps/{app_name}/machines/{machine_id}/ps List Processes
MachinesAPI MachinesListVersions Get /apps/{app_name}/machines/{machine_id}/versions List Versions
MachinesAPI MachinesReleaseLease Delete /apps/{app_name}/machines/{machine_id}/lease Release Lease
MachinesAPI MachinesRestart Post /apps/{app_name}/machines/{machine_id}/restart Restart Machine
MachinesAPI MachinesShow Get /apps/{app_name}/machines/{machine_id} Get Machine
MachinesAPI MachinesShowLease Get /apps/{app_name}/machines/{machine_id}/lease Get Lease
MachinesAPI MachinesShowMetadata Get /apps/{app_name}/machines/{machine_id}/metadata Get Metadata
MachinesAPI MachinesSignal Post /apps/{app_name}/machines/{machine_id}/signal Signal Machine
MachinesAPI MachinesStart Post /apps/{app_name}/machines/{machine_id}/start Start Machine
MachinesAPI MachinesStop Post /apps/{app_name}/machines/{machine_id}/stop Stop Machine
MachinesAPI MachinesSuspend Post /apps/{app_name}/machines/{machine_id}/suspend Suspend Machine
MachinesAPI MachinesUncordon Post /apps/{app_name}/machines/{machine_id}/uncordon Uncordon Machine
MachinesAPI MachinesUpdate Post /apps/{app_name}/machines/{machine_id} Update Machine
MachinesAPI MachinesUpdateMetadata Post /apps/{app_name}/machines/{machine_id}/metadata/{key} Update Metadata
MachinesAPI MachinesWait Get /apps/{app_name}/machines/{machine_id}/wait Wait for State
PlatformAPI PlatformPlacementsPost Post /platform/placements Get Placements
PlatformAPI PlatformRegionsGet Get /platform/regions Get Regions
SecretsAPI SecretCreate Post /apps/{app_name}/secrets/{secret_name} Create or update Secret
SecretsAPI SecretDelete Delete /apps/{app_name}/secrets/{secret_name} Delete an app secret
SecretsAPI SecretGet Get /apps/{app_name}/secrets/{secret_name} Get an app secret
SecretsAPI SecretkeyDecrypt Post /apps/{app_name}/secretkeys/{secret_name}/decrypt Decrypt with a secret key
SecretsAPI SecretkeyDelete Delete /apps/{app_name}/secretkeys/{secret_name} Delete an app's secret key
SecretsAPI SecretkeyEncrypt Post /apps/{app_name}/secretkeys/{secret_name}/encrypt Encrypt with a secret key
SecretsAPI SecretkeyGenerate Post /apps/{app_name}/secretkeys/{secret_name}/generate Generate a random secret key
SecretsAPI SecretkeyGet Get /apps/{app_name}/secretkeys/{secret_name} Get an app's secret key
SecretsAPI SecretkeySet Post /apps/{app_name}/secretkeys/{secret_name} Create or update a secret key
SecretsAPI SecretkeySign Post /apps/{app_name}/secretkeys/{secret_name}/sign Sign with a secret key
SecretsAPI SecretkeyVerify Post /apps/{app_name}/secretkeys/{secret_name}/verify Verify with a secret key
SecretsAPI SecretkeysList Get /apps/{app_name}/secretkeys List secret keys belonging to an app
SecretsAPI SecretsList Get /apps/{app_name}/secrets List app secrets belonging to an app
TokensAPI TokensRequestKms Post /tokens/kms Request a Petsem token for accessing KMS
TokensAPI TokensRequestOIDC Post /tokens/oidc Request an OIDC token
VolumesAPI CreateVolumeSnapshot Post /apps/{app_name}/volumes/{volume_id}/snapshots Create Snapshot
VolumesAPI VolumeDelete Delete /apps/{app_name}/volumes/{volume_id} Destroy Volume
VolumesAPI VolumesCreate Post /apps/{app_name}/volumes Create Volume
VolumesAPI VolumesExtend Put /apps/{app_name}/volumes/{volume_id}/extend Extend Volume
VolumesAPI VolumesGetById Get /apps/{app_name}/volumes/{volume_id} Get Volume
VolumesAPI VolumesList Get /apps/{app_name}/volumes List Volumes
VolumesAPI VolumesListSnapshots Get /apps/{app_name}/volumes/{volume_id}/snapshots List Snapshots
VolumesAPI VolumesUpdate Put /apps/{app_name}/volumes/{volume_id} Update Volume

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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 (
	// 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 AllowedFlyContainerDependencyConditionEnumValues = []FlyContainerDependencyCondition{
	"exited_successfully",
	"healthy",
	"started",
}

All allowed values of FlyContainerDependencyCondition enum

View Source
var AllowedFlyContainerHealthcheckKindEnumValues = []FlyContainerHealthcheckKind{
	"readiness",
	"liveness",
}

All allowed values of FlyContainerHealthcheckKind enum

View Source
var AllowedFlyContainerHealthcheckSchemeEnumValues = []FlyContainerHealthcheckScheme{
	"http",
	"https",
}

All allowed values of FlyContainerHealthcheckScheme enum

View Source
var AllowedFlyUnhealthyPolicyEnumValues = []FlyUnhealthyPolicy{
	"stop",
}

All allowed values of FlyUnhealthyPolicy enum

View Source
var AllowedMainStatusCodeEnumValues = []MainStatusCode{
	"unknown",
	"insufficient_capacity",
}

All allowed values of MainStatusCode 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 {
	AppsAPI *AppsAPIService

	MachinesAPI *MachinesAPIService

	PlatformAPI *PlatformAPIService

	SecretsAPI *SecretsAPIService

	TokensAPI *TokensAPIService

	VolumesAPI *VolumesAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Machines API API v1.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 ApiAppsCreateRequest

type ApiAppsCreateRequest struct {
	ApiService *AppsAPIService
	// contains filtered or unexported fields
}

func (ApiAppsCreateRequest) Execute

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

func (ApiAppsCreateRequest) Request

App body

type ApiAppsDeleteRequest

type ApiAppsDeleteRequest struct {
	ApiService *AppsAPIService
	// contains filtered or unexported fields
}

func (ApiAppsDeleteRequest) Execute

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

type ApiAppsListRequest

type ApiAppsListRequest struct {
	ApiService *AppsAPIService
	// contains filtered or unexported fields
}

func (ApiAppsListRequest) Execute

func (ApiAppsListRequest) OrgSlug

func (r ApiAppsListRequest) OrgSlug(orgSlug string) ApiAppsListRequest

The org slug, or 'personal', to filter apps

type ApiAppsShowRequest

type ApiAppsShowRequest struct {
	ApiService *AppsAPIService
	// contains filtered or unexported fields
}

func (ApiAppsShowRequest) Execute

func (r ApiAppsShowRequest) Execute() (*App, *http.Response, error)

type ApiCreateVolumeSnapshotRequest

type ApiCreateVolumeSnapshotRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiCreateVolumeSnapshotRequest) Execute

type ApiMachinesCordonRequest

type ApiMachinesCordonRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesCordonRequest) Execute

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

type ApiMachinesCreateLeaseRequest

type ApiMachinesCreateLeaseRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesCreateLeaseRequest) Execute

func (ApiMachinesCreateLeaseRequest) FlyMachineLeaseNonce

func (r ApiMachinesCreateLeaseRequest) FlyMachineLeaseNonce(flyMachineLeaseNonce string) ApiMachinesCreateLeaseRequest

Existing lease nonce to refresh by ttl, empty or non-existent to create a new lease

func (ApiMachinesCreateLeaseRequest) Request

Request body

type ApiMachinesCreateRequest

type ApiMachinesCreateRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesCreateRequest) Execute

func (ApiMachinesCreateRequest) Request

Create machine request

type ApiMachinesDeleteMetadataRequest

type ApiMachinesDeleteMetadataRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesDeleteMetadataRequest) Execute

type ApiMachinesDeleteRequest

type ApiMachinesDeleteRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesDeleteRequest) Execute

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

func (ApiMachinesDeleteRequest) Force

Force kill the machine if it's running

type ApiMachinesExecRequest

type ApiMachinesExecRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesExecRequest) Execute

func (ApiMachinesExecRequest) Request

Request body

type ApiMachinesListEventsRequest

type ApiMachinesListEventsRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesListEventsRequest) Execute

type ApiMachinesListProcessesRequest

type ApiMachinesListProcessesRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesListProcessesRequest) Execute

func (ApiMachinesListProcessesRequest) Order

Order

func (ApiMachinesListProcessesRequest) SortBy

Sort by

type ApiMachinesListRequest

type ApiMachinesListRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesListRequest) Execute

func (r ApiMachinesListRequest) Execute() ([]Machine, *http.Response, error)

func (ApiMachinesListRequest) IncludeDeleted

func (r ApiMachinesListRequest) IncludeDeleted(includeDeleted bool) ApiMachinesListRequest

Include deleted machines

func (ApiMachinesListRequest) Region

Region filter

func (ApiMachinesListRequest) State

comma separated list of states to filter (created, started, stopped, suspended)

func (ApiMachinesListRequest) Summary

Only return summary info about machines (omit config, checks, events, host_status, nonce, etc.)

type ApiMachinesListVersionsRequest

type ApiMachinesListVersionsRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesListVersionsRequest) Execute

type ApiMachinesReleaseLeaseRequest

type ApiMachinesReleaseLeaseRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesReleaseLeaseRequest) Execute

func (ApiMachinesReleaseLeaseRequest) FlyMachineLeaseNonce

func (r ApiMachinesReleaseLeaseRequest) FlyMachineLeaseNonce(flyMachineLeaseNonce string) ApiMachinesReleaseLeaseRequest

Existing lease nonce

type ApiMachinesRestartRequest

type ApiMachinesRestartRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesRestartRequest) Execute

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

func (ApiMachinesRestartRequest) Signal

Unix signal name

func (ApiMachinesRestartRequest) Timeout

Restart timeout as a Go duration string or number of seconds

type ApiMachinesShowLeaseRequest

type ApiMachinesShowLeaseRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesShowLeaseRequest) Execute

type ApiMachinesShowMetadataRequest

type ApiMachinesShowMetadataRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesShowMetadataRequest) Execute

type ApiMachinesShowRequest

type ApiMachinesShowRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesShowRequest) Execute

func (r ApiMachinesShowRequest) Execute() (*Machine, *http.Response, error)

type ApiMachinesSignalRequest

type ApiMachinesSignalRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesSignalRequest) Execute

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

func (ApiMachinesSignalRequest) Request

Request body

type ApiMachinesStartRequest

type ApiMachinesStartRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesStartRequest) Execute

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

type ApiMachinesStopRequest

type ApiMachinesStopRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesStopRequest) Execute

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

func (ApiMachinesStopRequest) Request

Optional request body

type ApiMachinesSuspendRequest

type ApiMachinesSuspendRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesSuspendRequest) Execute

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

type ApiMachinesUncordonRequest

type ApiMachinesUncordonRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesUncordonRequest) Execute

type ApiMachinesUpdateMetadataRequest

type ApiMachinesUpdateMetadataRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesUpdateMetadataRequest) Execute

type ApiMachinesUpdateRequest

type ApiMachinesUpdateRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesUpdateRequest) Execute

func (ApiMachinesUpdateRequest) Request

Request body

type ApiMachinesWaitRequest

type ApiMachinesWaitRequest struct {
	ApiService *MachinesAPIService
	// contains filtered or unexported fields
}

func (ApiMachinesWaitRequest) Execute

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

func (ApiMachinesWaitRequest) InstanceId

func (r ApiMachinesWaitRequest) InstanceId(instanceId string) ApiMachinesWaitRequest

26-character Machine version ID

func (ApiMachinesWaitRequest) State

desired state

func (ApiMachinesWaitRequest) Timeout

wait timeout. default 60s

type ApiPlatformPlacementsPostRequest

type ApiPlatformPlacementsPostRequest struct {
	ApiService *PlatformAPIService
	// contains filtered or unexported fields
}

func (ApiPlatformPlacementsPostRequest) Execute

func (ApiPlatformPlacementsPostRequest) Request

Get placements request

type ApiPlatformRegionsGetRequest

type ApiPlatformRegionsGetRequest struct {
	ApiService *PlatformAPIService
	// contains filtered or unexported fields
}

func (ApiPlatformRegionsGetRequest) CpuKind

guest CPU kind

func (ApiPlatformRegionsGetRequest) Cpus

guest CPU count

func (ApiPlatformRegionsGetRequest) Execute

func (ApiPlatformRegionsGetRequest) GpuKind

guest GPU kind

func (ApiPlatformRegionsGetRequest) Gpus

guest GPU count

func (ApiPlatformRegionsGetRequest) MemoryMb

guest memory in megabytes

func (ApiPlatformRegionsGetRequest) Size

guest machine size preset. default performance-1x

type ApiSecretCreateRequest

type ApiSecretCreateRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretCreateRequest) Execute

func (ApiSecretCreateRequest) Request

Create app secret request

type ApiSecretDeleteRequest

type ApiSecretDeleteRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretDeleteRequest) Execute

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

type ApiSecretGetRequest

type ApiSecretGetRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretGetRequest) Execute

func (r ApiSecretGetRequest) Execute() (*AppSecret, *http.Response, error)

func (ApiSecretGetRequest) ShowSecrets

func (r ApiSecretGetRequest) ShowSecrets(showSecrets bool) ApiSecretGetRequest

Show the secret value.

func (ApiSecretGetRequest) Version

func (r ApiSecretGetRequest) Version(version string) ApiSecretGetRequest

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeyDecryptRequest

type ApiSecretkeyDecryptRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyDecryptRequest) Execute

func (ApiSecretkeyDecryptRequest) Request

Decrypt with secret key request

func (ApiSecretkeyDecryptRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeyDeleteRequest

type ApiSecretkeyDeleteRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyDeleteRequest) Execute

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

type ApiSecretkeyEncryptRequest

type ApiSecretkeyEncryptRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyEncryptRequest) Execute

func (ApiSecretkeyEncryptRequest) Request

Encrypt with secret key request

func (ApiSecretkeyEncryptRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeyGenerateRequest

type ApiSecretkeyGenerateRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyGenerateRequest) Execute

func (ApiSecretkeyGenerateRequest) Request

generate secret key request

type ApiSecretkeyGetRequest

type ApiSecretkeyGetRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyGetRequest) Execute

func (ApiSecretkeyGetRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeySetRequest

type ApiSecretkeySetRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeySetRequest) Execute

func (ApiSecretkeySetRequest) Request

Create secret key request

type ApiSecretkeySignRequest

type ApiSecretkeySignRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeySignRequest) Execute

func (ApiSecretkeySignRequest) Request

Sign with secret key request

func (ApiSecretkeySignRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeyVerifyRequest

type ApiSecretkeyVerifyRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeyVerifyRequest) Execute

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

func (ApiSecretkeyVerifyRequest) Request

Verify with secret key request

func (ApiSecretkeyVerifyRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretkeysListRequest

type ApiSecretkeysListRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretkeysListRequest) Execute

func (ApiSecretkeysListRequest) Types

Comma-seperated list of secret keys to list

func (ApiSecretkeysListRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiSecretsListRequest

type ApiSecretsListRequest struct {
	ApiService *SecretsAPIService
	// contains filtered or unexported fields
}

func (ApiSecretsListRequest) Execute

func (ApiSecretsListRequest) ShowSecrets

func (r ApiSecretsListRequest) ShowSecrets(showSecrets bool) ApiSecretsListRequest

Show the secret values.

func (ApiSecretsListRequest) Version

Minimum secrets version to return. Returned when setting a new secret

type ApiTokensRequestKmsRequest

type ApiTokensRequestKmsRequest struct {
	ApiService *TokensAPIService
	// contains filtered or unexported fields
}

func (ApiTokensRequestKmsRequest) Execute

type ApiTokensRequestOIDCRequest

type ApiTokensRequestOIDCRequest struct {
	ApiService *TokensAPIService
	// contains filtered or unexported fields
}

func (ApiTokensRequestOIDCRequest) Execute

func (ApiTokensRequestOIDCRequest) Request

Optional request body

type ApiVolumeDeleteRequest

type ApiVolumeDeleteRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumeDeleteRequest) Execute

func (r ApiVolumeDeleteRequest) Execute() (*Volume, *http.Response, error)

type ApiVolumesCreateRequest

type ApiVolumesCreateRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesCreateRequest) Execute

func (r ApiVolumesCreateRequest) Execute() (*Volume, *http.Response, error)

func (ApiVolumesCreateRequest) Request

Request body

type ApiVolumesExtendRequest

type ApiVolumesExtendRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesExtendRequest) Execute

func (ApiVolumesExtendRequest) Request

Request body

type ApiVolumesGetByIdRequest

type ApiVolumesGetByIdRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesGetByIdRequest) Execute

type ApiVolumesListRequest

type ApiVolumesListRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesListRequest) Execute

func (r ApiVolumesListRequest) Execute() ([]Volume, *http.Response, error)

func (ApiVolumesListRequest) Summary

Only return summary info about volumes (omit blocks, block size, etc)

type ApiVolumesListSnapshotsRequest

type ApiVolumesListSnapshotsRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesListSnapshotsRequest) Execute

type ApiVolumesUpdateRequest

type ApiVolumesUpdateRequest struct {
	ApiService *VolumesAPIService
	// contains filtered or unexported fields
}

func (ApiVolumesUpdateRequest) Execute

func (r ApiVolumesUpdateRequest) Execute() (*Volume, *http.Response, error)

func (ApiVolumesUpdateRequest) Request

Request body

type App

type App struct {
	Id           *string       `json:"id,omitempty"`
	Name         *string       `json:"name,omitempty"`
	Organization *Organization `json:"organization,omitempty"`
	Status       *string       `json:"status,omitempty"`
}

App struct for App

func NewApp

func NewApp() *App

NewApp instantiates a new App 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 NewAppWithDefaults

func NewAppWithDefaults() *App

NewAppWithDefaults instantiates a new App 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 (*App) GetId

func (o *App) GetId() string

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

func (*App) GetIdOk

func (o *App) 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 (*App) GetName

func (o *App) GetName() string

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

func (*App) GetNameOk

func (o *App) 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 (*App) GetOrganization

func (o *App) GetOrganization() Organization

GetOrganization returns the Organization field value if set, zero value otherwise.

func (*App) GetOrganizationOk

func (o *App) GetOrganizationOk() (*Organization, bool)

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

func (*App) GetStatus

func (o *App) GetStatus() string

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

func (*App) GetStatusOk

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

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

func (*App) HasId

func (o *App) HasId() bool

HasId returns a boolean if a field has been set.

func (*App) HasName

func (o *App) HasName() bool

HasName returns a boolean if a field has been set.

func (*App) HasOrganization

func (o *App) HasOrganization() bool

HasOrganization returns a boolean if a field has been set.

func (*App) HasStatus

func (o *App) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (App) MarshalJSON

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

func (*App) SetId

func (o *App) SetId(v string)

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

func (*App) SetName

func (o *App) SetName(v string)

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

func (*App) SetOrganization

func (o *App) SetOrganization(v Organization)

SetOrganization gets a reference to the given Organization and assigns it to the Organization field.

func (*App) SetStatus

func (o *App) SetStatus(v string)

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

func (App) ToMap

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

type AppSecret

type AppSecret struct {
	Digest *string `json:"digest,omitempty"`
	Name   *string `json:"name,omitempty"`
	Value  *string `json:"value,omitempty"`
}

AppSecret struct for AppSecret

func NewAppSecret

func NewAppSecret() *AppSecret

NewAppSecret instantiates a new AppSecret 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 NewAppSecretWithDefaults

func NewAppSecretWithDefaults() *AppSecret

NewAppSecretWithDefaults instantiates a new AppSecret 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 (*AppSecret) GetDigest

func (o *AppSecret) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*AppSecret) GetDigestOk

func (o *AppSecret) GetDigestOk() (*string, bool)

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

func (*AppSecret) GetName

func (o *AppSecret) GetName() string

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

func (*AppSecret) GetNameOk

func (o *AppSecret) 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 (*AppSecret) GetValue

func (o *AppSecret) GetValue() string

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

func (*AppSecret) GetValueOk

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

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

func (*AppSecret) HasDigest

func (o *AppSecret) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*AppSecret) HasName

func (o *AppSecret) HasName() bool

HasName returns a boolean if a field has been set.

func (*AppSecret) HasValue

func (o *AppSecret) HasValue() bool

HasValue returns a boolean if a field has been set.

func (AppSecret) MarshalJSON

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

func (*AppSecret) SetDigest

func (o *AppSecret) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*AppSecret) SetName

func (o *AppSecret) SetName(v string)

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

func (*AppSecret) SetValue

func (o *AppSecret) SetValue(v string)

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

func (AppSecret) ToMap

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

type AppSecrets

type AppSecrets struct {
	Secrets []AppSecret `json:"secrets,omitempty"`
}

AppSecrets struct for AppSecrets

func NewAppSecrets

func NewAppSecrets() *AppSecrets

NewAppSecrets instantiates a new AppSecrets 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 NewAppSecretsWithDefaults

func NewAppSecretsWithDefaults() *AppSecrets

NewAppSecretsWithDefaults instantiates a new AppSecrets 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 (*AppSecrets) GetSecrets

func (o *AppSecrets) GetSecrets() []AppSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*AppSecrets) GetSecretsOk

func (o *AppSecrets) GetSecretsOk() ([]AppSecret, bool)

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

func (*AppSecrets) HasSecrets

func (o *AppSecrets) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (AppSecrets) MarshalJSON

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

func (*AppSecrets) SetSecrets

func (o *AppSecrets) SetSecrets(v []AppSecret)

SetSecrets gets a reference to the given []AppSecret and assigns it to the Secrets field.

func (AppSecrets) ToMap

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

type AppsAPIService

type AppsAPIService service

AppsAPIService AppsAPI service

func (*AppsAPIService) AppsCreate

AppsCreate Create App

Create an app with the specified details in the request body.

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

func (*AppsAPIService) AppsCreateExecute

func (a *AppsAPIService) AppsCreateExecute(r ApiAppsCreateRequest) (*http.Response, error)

Execute executes the request

func (*AppsAPIService) AppsDelete

func (a *AppsAPIService) AppsDelete(ctx context.Context, appName string) ApiAppsDeleteRequest

AppsDelete Destroy App

Delete an app by its name.

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

func (*AppsAPIService) AppsDeleteExecute

func (a *AppsAPIService) AppsDeleteExecute(r ApiAppsDeleteRequest) (*http.Response, error)

Execute executes the request

func (*AppsAPIService) AppsList

AppsList List Apps

List all apps with the ability to filter by organization slug.

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

func (*AppsAPIService) AppsListExecute

Execute executes the request

@return ListAppsResponse

func (*AppsAPIService) AppsShow

func (a *AppsAPIService) AppsShow(ctx context.Context, appName string) ApiAppsShowRequest

AppsShow Get App

Retrieve details about a specific app by its name.

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

func (*AppsAPIService) AppsShowExecute

func (a *AppsAPIService) AppsShowExecute(r ApiAppsShowRequest) (*App, *http.Response, error)

Execute executes the request

@return App

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 CheckStatus

type CheckStatus struct {
	Name      *string `json:"name,omitempty"`
	Output    *string `json:"output,omitempty"`
	Status    *string `json:"status,omitempty"`
	UpdatedAt *string `json:"updated_at,omitempty"`
}

CheckStatus struct for CheckStatus

func NewCheckStatus

func NewCheckStatus() *CheckStatus

NewCheckStatus instantiates a new CheckStatus 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 NewCheckStatusWithDefaults

func NewCheckStatusWithDefaults() *CheckStatus

NewCheckStatusWithDefaults instantiates a new CheckStatus 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 (*CheckStatus) GetName

func (o *CheckStatus) GetName() string

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

func (*CheckStatus) GetNameOk

func (o *CheckStatus) 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 (*CheckStatus) GetOutput

func (o *CheckStatus) GetOutput() string

GetOutput returns the Output field value if set, zero value otherwise.

func (*CheckStatus) GetOutputOk

func (o *CheckStatus) GetOutputOk() (*string, bool)

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

func (*CheckStatus) GetStatus

func (o *CheckStatus) GetStatus() string

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

func (*CheckStatus) GetStatusOk

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

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

func (*CheckStatus) GetUpdatedAt

func (o *CheckStatus) GetUpdatedAt() string

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

func (*CheckStatus) GetUpdatedAtOk

func (o *CheckStatus) 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 (*CheckStatus) HasName

func (o *CheckStatus) HasName() bool

HasName returns a boolean if a field has been set.

func (*CheckStatus) HasOutput

func (o *CheckStatus) HasOutput() bool

HasOutput returns a boolean if a field has been set.

func (*CheckStatus) HasStatus

func (o *CheckStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*CheckStatus) HasUpdatedAt

func (o *CheckStatus) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (CheckStatus) MarshalJSON

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

func (*CheckStatus) SetName

func (o *CheckStatus) SetName(v string)

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

func (*CheckStatus) SetOutput

func (o *CheckStatus) SetOutput(v string)

SetOutput gets a reference to the given string and assigns it to the Output field.

func (*CheckStatus) SetStatus

func (o *CheckStatus) SetStatus(v string)

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

func (*CheckStatus) SetUpdatedAt

func (o *CheckStatus) SetUpdatedAt(v string)

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

func (CheckStatus) ToMap

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

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 CreateAppRequest

type CreateAppRequest struct {
	AppName          *string `json:"app_name,omitempty"`
	EnableSubdomains *bool   `json:"enable_subdomains,omitempty"`
	Network          *string `json:"network,omitempty"`
	OrgSlug          *string `json:"org_slug,omitempty"`
}

CreateAppRequest struct for CreateAppRequest

func NewCreateAppRequest

func NewCreateAppRequest() *CreateAppRequest

NewCreateAppRequest instantiates a new CreateAppRequest 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 NewCreateAppRequestWithDefaults

func NewCreateAppRequestWithDefaults() *CreateAppRequest

NewCreateAppRequestWithDefaults instantiates a new CreateAppRequest 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 (*CreateAppRequest) GetAppName

func (o *CreateAppRequest) GetAppName() string

GetAppName returns the AppName field value if set, zero value otherwise.

func (*CreateAppRequest) GetAppNameOk

func (o *CreateAppRequest) GetAppNameOk() (*string, bool)

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

func (*CreateAppRequest) GetEnableSubdomains

func (o *CreateAppRequest) GetEnableSubdomains() bool

GetEnableSubdomains returns the EnableSubdomains field value if set, zero value otherwise.

func (*CreateAppRequest) GetEnableSubdomainsOk

func (o *CreateAppRequest) GetEnableSubdomainsOk() (*bool, bool)

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

func (*CreateAppRequest) GetNetwork

func (o *CreateAppRequest) GetNetwork() string

GetNetwork returns the Network field value if set, zero value otherwise.

func (*CreateAppRequest) GetNetworkOk

func (o *CreateAppRequest) GetNetworkOk() (*string, bool)

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

func (*CreateAppRequest) GetOrgSlug

func (o *CreateAppRequest) GetOrgSlug() string

GetOrgSlug returns the OrgSlug field value if set, zero value otherwise.

func (*CreateAppRequest) GetOrgSlugOk

func (o *CreateAppRequest) GetOrgSlugOk() (*string, bool)

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

func (*CreateAppRequest) HasAppName

func (o *CreateAppRequest) HasAppName() bool

HasAppName returns a boolean if a field has been set.

func (*CreateAppRequest) HasEnableSubdomains

func (o *CreateAppRequest) HasEnableSubdomains() bool

HasEnableSubdomains returns a boolean if a field has been set.

func (*CreateAppRequest) HasNetwork

func (o *CreateAppRequest) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (*CreateAppRequest) HasOrgSlug

func (o *CreateAppRequest) HasOrgSlug() bool

HasOrgSlug returns a boolean if a field has been set.

func (CreateAppRequest) MarshalJSON

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

func (*CreateAppRequest) SetAppName

func (o *CreateAppRequest) SetAppName(v string)

SetAppName gets a reference to the given string and assigns it to the AppName field.

func (*CreateAppRequest) SetEnableSubdomains

func (o *CreateAppRequest) SetEnableSubdomains(v bool)

SetEnableSubdomains gets a reference to the given bool and assigns it to the EnableSubdomains field.

func (*CreateAppRequest) SetNetwork

func (o *CreateAppRequest) SetNetwork(v string)

SetNetwork gets a reference to the given string and assigns it to the Network field.

func (*CreateAppRequest) SetOrgSlug

func (o *CreateAppRequest) SetOrgSlug(v string)

SetOrgSlug gets a reference to the given string and assigns it to the OrgSlug field.

func (CreateAppRequest) ToMap

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

type CreateLeaseRequest

type CreateLeaseRequest struct {
	Description *string `json:"description,omitempty"`
	// seconds lease will be valid
	Ttl *int64 `json:"ttl,omitempty"`
}

CreateLeaseRequest struct for CreateLeaseRequest

func NewCreateLeaseRequest

func NewCreateLeaseRequest() *CreateLeaseRequest

NewCreateLeaseRequest instantiates a new CreateLeaseRequest 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 NewCreateLeaseRequestWithDefaults

func NewCreateLeaseRequestWithDefaults() *CreateLeaseRequest

NewCreateLeaseRequestWithDefaults instantiates a new CreateLeaseRequest 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 (*CreateLeaseRequest) GetDescription

func (o *CreateLeaseRequest) GetDescription() string

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

func (*CreateLeaseRequest) GetDescriptionOk

func (o *CreateLeaseRequest) 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 (*CreateLeaseRequest) GetTtl

func (o *CreateLeaseRequest) GetTtl() int64

GetTtl returns the Ttl field value if set, zero value otherwise.

func (*CreateLeaseRequest) GetTtlOk

func (o *CreateLeaseRequest) GetTtlOk() (*int64, bool)

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

func (*CreateLeaseRequest) HasDescription

func (o *CreateLeaseRequest) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateLeaseRequest) HasTtl

func (o *CreateLeaseRequest) HasTtl() bool

HasTtl returns a boolean if a field has been set.

func (CreateLeaseRequest) MarshalJSON

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

func (*CreateLeaseRequest) SetDescription

func (o *CreateLeaseRequest) SetDescription(v string)

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

func (*CreateLeaseRequest) SetTtl

func (o *CreateLeaseRequest) SetTtl(v int64)

SetTtl gets a reference to the given int64 and assigns it to the Ttl field.

func (CreateLeaseRequest) ToMap

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

type CreateMachineRequest

type CreateMachineRequest struct {
	// An object defining the Machine configuration
	Config   *FlyMachineConfig `json:"config,omitempty"`
	LeaseTtl *int64            `json:"lease_ttl,omitempty"`
	Lsvd     *bool             `json:"lsvd,omitempty"`
	// Unique name for this Machine. If omitted, one is generated for you
	Name *string `json:"name,omitempty"`
	// The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you).
	Region                  *string `json:"region,omitempty"`
	SkipLaunch              *bool   `json:"skip_launch,omitempty"`
	SkipSecrets             *bool   `json:"skip_secrets,omitempty"`
	SkipServiceRegistration *bool   `json:"skip_service_registration,omitempty"`
}

CreateMachineRequest struct for CreateMachineRequest

func NewCreateMachineRequest

func NewCreateMachineRequest() *CreateMachineRequest

NewCreateMachineRequest instantiates a new CreateMachineRequest 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 NewCreateMachineRequestWithDefaults

func NewCreateMachineRequestWithDefaults() *CreateMachineRequest

NewCreateMachineRequestWithDefaults instantiates a new CreateMachineRequest 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 (*CreateMachineRequest) GetConfig

func (o *CreateMachineRequest) GetConfig() FlyMachineConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*CreateMachineRequest) GetConfigOk

func (o *CreateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)

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

func (*CreateMachineRequest) GetLeaseTtl

func (o *CreateMachineRequest) GetLeaseTtl() int64

GetLeaseTtl returns the LeaseTtl field value if set, zero value otherwise.

func (*CreateMachineRequest) GetLeaseTtlOk

func (o *CreateMachineRequest) GetLeaseTtlOk() (*int64, bool)

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

func (*CreateMachineRequest) GetLsvd

func (o *CreateMachineRequest) GetLsvd() bool

GetLsvd returns the Lsvd field value if set, zero value otherwise.

func (*CreateMachineRequest) GetLsvdOk

func (o *CreateMachineRequest) GetLsvdOk() (*bool, bool)

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

func (*CreateMachineRequest) GetName

func (o *CreateMachineRequest) GetName() string

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

func (*CreateMachineRequest) GetNameOk

func (o *CreateMachineRequest) 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 (*CreateMachineRequest) GetRegion

func (o *CreateMachineRequest) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*CreateMachineRequest) GetRegionOk

func (o *CreateMachineRequest) GetRegionOk() (*string, bool)

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

func (*CreateMachineRequest) GetSkipLaunch

func (o *CreateMachineRequest) GetSkipLaunch() bool

GetSkipLaunch returns the SkipLaunch field value if set, zero value otherwise.

func (*CreateMachineRequest) GetSkipLaunchOk

func (o *CreateMachineRequest) GetSkipLaunchOk() (*bool, bool)

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

func (*CreateMachineRequest) GetSkipSecrets

func (o *CreateMachineRequest) GetSkipSecrets() bool

GetSkipSecrets returns the SkipSecrets field value if set, zero value otherwise.

func (*CreateMachineRequest) GetSkipSecretsOk

func (o *CreateMachineRequest) GetSkipSecretsOk() (*bool, bool)

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

func (*CreateMachineRequest) GetSkipServiceRegistration

func (o *CreateMachineRequest) GetSkipServiceRegistration() bool

GetSkipServiceRegistration returns the SkipServiceRegistration field value if set, zero value otherwise.

func (*CreateMachineRequest) GetSkipServiceRegistrationOk

func (o *CreateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)

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

func (*CreateMachineRequest) HasConfig

func (o *CreateMachineRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*CreateMachineRequest) HasLeaseTtl

func (o *CreateMachineRequest) HasLeaseTtl() bool

HasLeaseTtl returns a boolean if a field has been set.

func (*CreateMachineRequest) HasLsvd

func (o *CreateMachineRequest) HasLsvd() bool

HasLsvd returns a boolean if a field has been set.

func (*CreateMachineRequest) HasName

func (o *CreateMachineRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateMachineRequest) HasRegion

func (o *CreateMachineRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateMachineRequest) HasSkipLaunch

func (o *CreateMachineRequest) HasSkipLaunch() bool

HasSkipLaunch returns a boolean if a field has been set.

func (*CreateMachineRequest) HasSkipSecrets

func (o *CreateMachineRequest) HasSkipSecrets() bool

HasSkipSecrets returns a boolean if a field has been set.

func (*CreateMachineRequest) HasSkipServiceRegistration

func (o *CreateMachineRequest) HasSkipServiceRegistration() bool

HasSkipServiceRegistration returns a boolean if a field has been set.

func (CreateMachineRequest) MarshalJSON

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

func (*CreateMachineRequest) SetConfig

func (o *CreateMachineRequest) SetConfig(v FlyMachineConfig)

SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.

func (*CreateMachineRequest) SetLeaseTtl

func (o *CreateMachineRequest) SetLeaseTtl(v int64)

SetLeaseTtl gets a reference to the given int64 and assigns it to the LeaseTtl field.

func (*CreateMachineRequest) SetLsvd

func (o *CreateMachineRequest) SetLsvd(v bool)

SetLsvd gets a reference to the given bool and assigns it to the Lsvd field.

func (*CreateMachineRequest) SetName

func (o *CreateMachineRequest) SetName(v string)

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

func (*CreateMachineRequest) SetRegion

func (o *CreateMachineRequest) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*CreateMachineRequest) SetSkipLaunch

func (o *CreateMachineRequest) SetSkipLaunch(v bool)

SetSkipLaunch gets a reference to the given bool and assigns it to the SkipLaunch field.

func (*CreateMachineRequest) SetSkipSecrets

func (o *CreateMachineRequest) SetSkipSecrets(v bool)

SetSkipSecrets gets a reference to the given bool and assigns it to the SkipSecrets field.

func (*CreateMachineRequest) SetSkipServiceRegistration

func (o *CreateMachineRequest) SetSkipServiceRegistration(v bool)

SetSkipServiceRegistration gets a reference to the given bool and assigns it to the SkipServiceRegistration field.

func (CreateMachineRequest) ToMap

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

type CreateOIDCTokenRequest

type CreateOIDCTokenRequest struct {
	Aud              *string `json:"aud,omitempty"`
	AwsPrincipalTags *bool   `json:"aws_principal_tags,omitempty"`
}

CreateOIDCTokenRequest Optional parameters

func NewCreateOIDCTokenRequest

func NewCreateOIDCTokenRequest() *CreateOIDCTokenRequest

NewCreateOIDCTokenRequest instantiates a new CreateOIDCTokenRequest 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 NewCreateOIDCTokenRequestWithDefaults

func NewCreateOIDCTokenRequestWithDefaults() *CreateOIDCTokenRequest

NewCreateOIDCTokenRequestWithDefaults instantiates a new CreateOIDCTokenRequest 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 (*CreateOIDCTokenRequest) GetAud

func (o *CreateOIDCTokenRequest) GetAud() string

GetAud returns the Aud field value if set, zero value otherwise.

func (*CreateOIDCTokenRequest) GetAudOk

func (o *CreateOIDCTokenRequest) GetAudOk() (*string, bool)

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

func (*CreateOIDCTokenRequest) GetAwsPrincipalTags

func (o *CreateOIDCTokenRequest) GetAwsPrincipalTags() bool

GetAwsPrincipalTags returns the AwsPrincipalTags field value if set, zero value otherwise.

func (*CreateOIDCTokenRequest) GetAwsPrincipalTagsOk

func (o *CreateOIDCTokenRequest) GetAwsPrincipalTagsOk() (*bool, bool)

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

func (*CreateOIDCTokenRequest) HasAud

func (o *CreateOIDCTokenRequest) HasAud() bool

HasAud returns a boolean if a field has been set.

func (*CreateOIDCTokenRequest) HasAwsPrincipalTags

func (o *CreateOIDCTokenRequest) HasAwsPrincipalTags() bool

HasAwsPrincipalTags returns a boolean if a field has been set.

func (CreateOIDCTokenRequest) MarshalJSON

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

func (*CreateOIDCTokenRequest) SetAud

func (o *CreateOIDCTokenRequest) SetAud(v string)

SetAud gets a reference to the given string and assigns it to the Aud field.

func (*CreateOIDCTokenRequest) SetAwsPrincipalTags

func (o *CreateOIDCTokenRequest) SetAwsPrincipalTags(v bool)

SetAwsPrincipalTags gets a reference to the given bool and assigns it to the AwsPrincipalTags field.

func (CreateOIDCTokenRequest) ToMap

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

type CreateVolumeRequest

type CreateVolumeRequest struct {
	Compute           *FlyMachineGuest `json:"compute,omitempty"`
	ComputeImage      *string          `json:"compute_image,omitempty"`
	Encrypted         *bool            `json:"encrypted,omitempty"`
	Fstype            *string          `json:"fstype,omitempty"`
	Name              *string          `json:"name,omitempty"`
	Region            *string          `json:"region,omitempty"`
	RequireUniqueZone *bool            `json:"require_unique_zone,omitempty"`
	SizeGb            *int64           `json:"size_gb,omitempty"`
	// restore from snapshot
	SnapshotId        *string `json:"snapshot_id,omitempty"`
	SnapshotRetention *int64  `json:"snapshot_retention,omitempty"`
	// fork from remote volume
	SourceVolumeId    *string `json:"source_volume_id,omitempty"`
	UniqueZoneAppWide *bool   `json:"unique_zone_app_wide,omitempty"`
}

CreateVolumeRequest struct for CreateVolumeRequest

func NewCreateVolumeRequest

func NewCreateVolumeRequest() *CreateVolumeRequest

NewCreateVolumeRequest instantiates a new CreateVolumeRequest 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 NewCreateVolumeRequestWithDefaults

func NewCreateVolumeRequestWithDefaults() *CreateVolumeRequest

NewCreateVolumeRequestWithDefaults instantiates a new CreateVolumeRequest 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 (*CreateVolumeRequest) GetCompute

func (o *CreateVolumeRequest) GetCompute() FlyMachineGuest

GetCompute returns the Compute field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetComputeImage

func (o *CreateVolumeRequest) GetComputeImage() string

GetComputeImage returns the ComputeImage field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetComputeImageOk

func (o *CreateVolumeRequest) GetComputeImageOk() (*string, bool)

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

func (*CreateVolumeRequest) GetComputeOk

func (o *CreateVolumeRequest) GetComputeOk() (*FlyMachineGuest, bool)

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

func (*CreateVolumeRequest) GetEncrypted

func (o *CreateVolumeRequest) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetEncryptedOk

func (o *CreateVolumeRequest) GetEncryptedOk() (*bool, bool)

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

func (*CreateVolumeRequest) GetFstype

func (o *CreateVolumeRequest) GetFstype() string

GetFstype returns the Fstype field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetFstypeOk

func (o *CreateVolumeRequest) GetFstypeOk() (*string, bool)

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

func (*CreateVolumeRequest) GetName

func (o *CreateVolumeRequest) GetName() string

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

func (*CreateVolumeRequest) GetNameOk

func (o *CreateVolumeRequest) 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 (*CreateVolumeRequest) GetRegion

func (o *CreateVolumeRequest) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetRegionOk

func (o *CreateVolumeRequest) GetRegionOk() (*string, bool)

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

func (*CreateVolumeRequest) GetRequireUniqueZone

func (o *CreateVolumeRequest) GetRequireUniqueZone() bool

GetRequireUniqueZone returns the RequireUniqueZone field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetRequireUniqueZoneOk

func (o *CreateVolumeRequest) GetRequireUniqueZoneOk() (*bool, bool)

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

func (*CreateVolumeRequest) GetSizeGb

func (o *CreateVolumeRequest) GetSizeGb() int64

GetSizeGb returns the SizeGb field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetSizeGbOk

func (o *CreateVolumeRequest) GetSizeGbOk() (*int64, bool)

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

func (*CreateVolumeRequest) GetSnapshotId

func (o *CreateVolumeRequest) GetSnapshotId() string

GetSnapshotId returns the SnapshotId field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetSnapshotIdOk

func (o *CreateVolumeRequest) GetSnapshotIdOk() (*string, bool)

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

func (*CreateVolumeRequest) GetSnapshotRetention

func (o *CreateVolumeRequest) GetSnapshotRetention() int64

GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetSnapshotRetentionOk

func (o *CreateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)

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

func (*CreateVolumeRequest) GetSourceVolumeId

func (o *CreateVolumeRequest) GetSourceVolumeId() string

GetSourceVolumeId returns the SourceVolumeId field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetSourceVolumeIdOk

func (o *CreateVolumeRequest) GetSourceVolumeIdOk() (*string, bool)

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

func (*CreateVolumeRequest) GetUniqueZoneAppWide

func (o *CreateVolumeRequest) GetUniqueZoneAppWide() bool

GetUniqueZoneAppWide returns the UniqueZoneAppWide field value if set, zero value otherwise.

func (*CreateVolumeRequest) GetUniqueZoneAppWideOk

func (o *CreateVolumeRequest) GetUniqueZoneAppWideOk() (*bool, bool)

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

func (*CreateVolumeRequest) HasCompute

func (o *CreateVolumeRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasComputeImage

func (o *CreateVolumeRequest) HasComputeImage() bool

HasComputeImage returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasEncrypted

func (o *CreateVolumeRequest) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasFstype

func (o *CreateVolumeRequest) HasFstype() bool

HasFstype returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasName

func (o *CreateVolumeRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasRegion

func (o *CreateVolumeRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasRequireUniqueZone

func (o *CreateVolumeRequest) HasRequireUniqueZone() bool

HasRequireUniqueZone returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasSizeGb

func (o *CreateVolumeRequest) HasSizeGb() bool

HasSizeGb returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasSnapshotId

func (o *CreateVolumeRequest) HasSnapshotId() bool

HasSnapshotId returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasSnapshotRetention

func (o *CreateVolumeRequest) HasSnapshotRetention() bool

HasSnapshotRetention returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasSourceVolumeId

func (o *CreateVolumeRequest) HasSourceVolumeId() bool

HasSourceVolumeId returns a boolean if a field has been set.

func (*CreateVolumeRequest) HasUniqueZoneAppWide

func (o *CreateVolumeRequest) HasUniqueZoneAppWide() bool

HasUniqueZoneAppWide returns a boolean if a field has been set.

func (CreateVolumeRequest) MarshalJSON

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

func (*CreateVolumeRequest) SetCompute

func (o *CreateVolumeRequest) SetCompute(v FlyMachineGuest)

SetCompute gets a reference to the given FlyMachineGuest and assigns it to the Compute field.

func (*CreateVolumeRequest) SetComputeImage

func (o *CreateVolumeRequest) SetComputeImage(v string)

SetComputeImage gets a reference to the given string and assigns it to the ComputeImage field.

func (*CreateVolumeRequest) SetEncrypted

func (o *CreateVolumeRequest) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*CreateVolumeRequest) SetFstype

func (o *CreateVolumeRequest) SetFstype(v string)

SetFstype gets a reference to the given string and assigns it to the Fstype field.

func (*CreateVolumeRequest) SetName

func (o *CreateVolumeRequest) SetName(v string)

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

func (*CreateVolumeRequest) SetRegion

func (o *CreateVolumeRequest) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*CreateVolumeRequest) SetRequireUniqueZone

func (o *CreateVolumeRequest) SetRequireUniqueZone(v bool)

SetRequireUniqueZone gets a reference to the given bool and assigns it to the RequireUniqueZone field.

func (*CreateVolumeRequest) SetSizeGb

func (o *CreateVolumeRequest) SetSizeGb(v int64)

SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.

func (*CreateVolumeRequest) SetSnapshotId

func (o *CreateVolumeRequest) SetSnapshotId(v string)

SetSnapshotId gets a reference to the given string and assigns it to the SnapshotId field.

func (*CreateVolumeRequest) SetSnapshotRetention

func (o *CreateVolumeRequest) SetSnapshotRetention(v int64)

SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.

func (*CreateVolumeRequest) SetSourceVolumeId

func (o *CreateVolumeRequest) SetSourceVolumeId(v string)

SetSourceVolumeId gets a reference to the given string and assigns it to the SourceVolumeId field.

func (*CreateVolumeRequest) SetUniqueZoneAppWide

func (o *CreateVolumeRequest) SetUniqueZoneAppWide(v bool)

SetUniqueZoneAppWide gets a reference to the given bool and assigns it to the UniqueZoneAppWide field.

func (CreateVolumeRequest) ToMap

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

type DecryptSecretkeyRequest

type DecryptSecretkeyRequest struct {
	AssociatedData []int64 `json:"associated_data,omitempty"`
	Ciphertext     []int64 `json:"ciphertext,omitempty"`
}

DecryptSecretkeyRequest struct for DecryptSecretkeyRequest

func NewDecryptSecretkeyRequest

func NewDecryptSecretkeyRequest() *DecryptSecretkeyRequest

NewDecryptSecretkeyRequest instantiates a new DecryptSecretkeyRequest 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 NewDecryptSecretkeyRequestWithDefaults

func NewDecryptSecretkeyRequestWithDefaults() *DecryptSecretkeyRequest

NewDecryptSecretkeyRequestWithDefaults instantiates a new DecryptSecretkeyRequest 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 (*DecryptSecretkeyRequest) GetAssociatedData

func (o *DecryptSecretkeyRequest) GetAssociatedData() []int64

GetAssociatedData returns the AssociatedData field value if set, zero value otherwise.

func (*DecryptSecretkeyRequest) GetAssociatedDataOk

func (o *DecryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)

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

func (*DecryptSecretkeyRequest) GetCiphertext

func (o *DecryptSecretkeyRequest) GetCiphertext() []int64

GetCiphertext returns the Ciphertext field value if set, zero value otherwise.

func (*DecryptSecretkeyRequest) GetCiphertextOk

func (o *DecryptSecretkeyRequest) GetCiphertextOk() ([]int64, bool)

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

func (*DecryptSecretkeyRequest) HasAssociatedData

func (o *DecryptSecretkeyRequest) HasAssociatedData() bool

HasAssociatedData returns a boolean if a field has been set.

func (*DecryptSecretkeyRequest) HasCiphertext

func (o *DecryptSecretkeyRequest) HasCiphertext() bool

HasCiphertext returns a boolean if a field has been set.

func (DecryptSecretkeyRequest) MarshalJSON

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

func (*DecryptSecretkeyRequest) SetAssociatedData

func (o *DecryptSecretkeyRequest) SetAssociatedData(v []int64)

SetAssociatedData gets a reference to the given []int64 and assigns it to the AssociatedData field.

func (*DecryptSecretkeyRequest) SetCiphertext

func (o *DecryptSecretkeyRequest) SetCiphertext(v []int64)

SetCiphertext gets a reference to the given []int64 and assigns it to the Ciphertext field.

func (DecryptSecretkeyRequest) ToMap

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

type DecryptSecretkeyResponse

type DecryptSecretkeyResponse struct {
	Plaintext []int64 `json:"plaintext,omitempty"`
}

DecryptSecretkeyResponse struct for DecryptSecretkeyResponse

func NewDecryptSecretkeyResponse

func NewDecryptSecretkeyResponse() *DecryptSecretkeyResponse

NewDecryptSecretkeyResponse instantiates a new DecryptSecretkeyResponse 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 NewDecryptSecretkeyResponseWithDefaults

func NewDecryptSecretkeyResponseWithDefaults() *DecryptSecretkeyResponse

NewDecryptSecretkeyResponseWithDefaults instantiates a new DecryptSecretkeyResponse 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 (*DecryptSecretkeyResponse) GetPlaintext

func (o *DecryptSecretkeyResponse) GetPlaintext() []int64

GetPlaintext returns the Plaintext field value if set, zero value otherwise.

func (*DecryptSecretkeyResponse) GetPlaintextOk

func (o *DecryptSecretkeyResponse) GetPlaintextOk() ([]int64, bool)

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

func (*DecryptSecretkeyResponse) HasPlaintext

func (o *DecryptSecretkeyResponse) HasPlaintext() bool

HasPlaintext returns a boolean if a field has been set.

func (DecryptSecretkeyResponse) MarshalJSON

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

func (*DecryptSecretkeyResponse) SetPlaintext

func (o *DecryptSecretkeyResponse) SetPlaintext(v []int64)

SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.

func (DecryptSecretkeyResponse) ToMap

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

type EncryptSecretkeyRequest

type EncryptSecretkeyRequest struct {
	AssociatedData []int64 `json:"associated_data,omitempty"`
	Plaintext      []int64 `json:"plaintext,omitempty"`
}

EncryptSecretkeyRequest struct for EncryptSecretkeyRequest

func NewEncryptSecretkeyRequest

func NewEncryptSecretkeyRequest() *EncryptSecretkeyRequest

NewEncryptSecretkeyRequest instantiates a new EncryptSecretkeyRequest 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 NewEncryptSecretkeyRequestWithDefaults

func NewEncryptSecretkeyRequestWithDefaults() *EncryptSecretkeyRequest

NewEncryptSecretkeyRequestWithDefaults instantiates a new EncryptSecretkeyRequest 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 (*EncryptSecretkeyRequest) GetAssociatedData

func (o *EncryptSecretkeyRequest) GetAssociatedData() []int64

GetAssociatedData returns the AssociatedData field value if set, zero value otherwise.

func (*EncryptSecretkeyRequest) GetAssociatedDataOk

func (o *EncryptSecretkeyRequest) GetAssociatedDataOk() ([]int64, bool)

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

func (*EncryptSecretkeyRequest) GetPlaintext

func (o *EncryptSecretkeyRequest) GetPlaintext() []int64

GetPlaintext returns the Plaintext field value if set, zero value otherwise.

func (*EncryptSecretkeyRequest) GetPlaintextOk

func (o *EncryptSecretkeyRequest) GetPlaintextOk() ([]int64, bool)

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

func (*EncryptSecretkeyRequest) HasAssociatedData

func (o *EncryptSecretkeyRequest) HasAssociatedData() bool

HasAssociatedData returns a boolean if a field has been set.

func (*EncryptSecretkeyRequest) HasPlaintext

func (o *EncryptSecretkeyRequest) HasPlaintext() bool

HasPlaintext returns a boolean if a field has been set.

func (EncryptSecretkeyRequest) MarshalJSON

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

func (*EncryptSecretkeyRequest) SetAssociatedData

func (o *EncryptSecretkeyRequest) SetAssociatedData(v []int64)

SetAssociatedData gets a reference to the given []int64 and assigns it to the AssociatedData field.

func (*EncryptSecretkeyRequest) SetPlaintext

func (o *EncryptSecretkeyRequest) SetPlaintext(v []int64)

SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.

func (EncryptSecretkeyRequest) ToMap

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

type EncryptSecretkeyResponse

type EncryptSecretkeyResponse struct {
	Ciphertext []int64 `json:"ciphertext,omitempty"`
}

EncryptSecretkeyResponse struct for EncryptSecretkeyResponse

func NewEncryptSecretkeyResponse

func NewEncryptSecretkeyResponse() *EncryptSecretkeyResponse

NewEncryptSecretkeyResponse instantiates a new EncryptSecretkeyResponse 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 NewEncryptSecretkeyResponseWithDefaults

func NewEncryptSecretkeyResponseWithDefaults() *EncryptSecretkeyResponse

NewEncryptSecretkeyResponseWithDefaults instantiates a new EncryptSecretkeyResponse 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 (*EncryptSecretkeyResponse) GetCiphertext

func (o *EncryptSecretkeyResponse) GetCiphertext() []int64

GetCiphertext returns the Ciphertext field value if set, zero value otherwise.

func (*EncryptSecretkeyResponse) GetCiphertextOk

func (o *EncryptSecretkeyResponse) GetCiphertextOk() ([]int64, bool)

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

func (*EncryptSecretkeyResponse) HasCiphertext

func (o *EncryptSecretkeyResponse) HasCiphertext() bool

HasCiphertext returns a boolean if a field has been set.

func (EncryptSecretkeyResponse) MarshalJSON

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

func (*EncryptSecretkeyResponse) SetCiphertext

func (o *EncryptSecretkeyResponse) SetCiphertext(v []int64)

SetCiphertext gets a reference to the given []int64 and assigns it to the Ciphertext field.

func (EncryptSecretkeyResponse) ToMap

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

type ErrorResponse

type ErrorResponse struct {
	// Deprecated
	Details map[string]interface{} `json:"details,omitempty"`
	Error   *string                `json:"error,omitempty"`
	Status  *MainStatusCode        `json:"status,omitempty"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse() *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ErrorResponse) GetDetails

func (o *ErrorResponse) GetDetails() map[string]interface{}

GetDetails returns the Details field value if set, zero value otherwise.

func (*ErrorResponse) GetDetailsOk

func (o *ErrorResponse) GetDetailsOk() (map[string]interface{}, bool)

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

func (*ErrorResponse) GetError

func (o *ErrorResponse) GetError() string

GetError returns the Error field value if set, zero value otherwise.

func (*ErrorResponse) GetErrorOk

func (o *ErrorResponse) GetErrorOk() (*string, bool)

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

func (*ErrorResponse) GetStatus

func (o *ErrorResponse) GetStatus() MainStatusCode

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

func (*ErrorResponse) GetStatusOk

func (o *ErrorResponse) GetStatusOk() (*MainStatusCode, bool)

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

func (*ErrorResponse) HasDetails

func (o *ErrorResponse) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*ErrorResponse) HasError

func (o *ErrorResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*ErrorResponse) HasStatus

func (o *ErrorResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetDetails

func (o *ErrorResponse) SetDetails(v map[string]interface{})

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

func (*ErrorResponse) SetError

func (o *ErrorResponse) SetError(v string)

SetError gets a reference to the given string and assigns it to the Error field.

func (*ErrorResponse) SetStatus

func (o *ErrorResponse) SetStatus(v MainStatusCode)

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

func (ErrorResponse) ToMap

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

type ExtendVolumeRequest

type ExtendVolumeRequest struct {
	SizeGb *int64 `json:"size_gb,omitempty"`
}

ExtendVolumeRequest struct for ExtendVolumeRequest

func NewExtendVolumeRequest

func NewExtendVolumeRequest() *ExtendVolumeRequest

NewExtendVolumeRequest instantiates a new ExtendVolumeRequest 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 NewExtendVolumeRequestWithDefaults

func NewExtendVolumeRequestWithDefaults() *ExtendVolumeRequest

NewExtendVolumeRequestWithDefaults instantiates a new ExtendVolumeRequest 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 (*ExtendVolumeRequest) GetSizeGb

func (o *ExtendVolumeRequest) GetSizeGb() int64

GetSizeGb returns the SizeGb field value if set, zero value otherwise.

func (*ExtendVolumeRequest) GetSizeGbOk

func (o *ExtendVolumeRequest) GetSizeGbOk() (*int64, bool)

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

func (*ExtendVolumeRequest) HasSizeGb

func (o *ExtendVolumeRequest) HasSizeGb() bool

HasSizeGb returns a boolean if a field has been set.

func (ExtendVolumeRequest) MarshalJSON

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

func (*ExtendVolumeRequest) SetSizeGb

func (o *ExtendVolumeRequest) SetSizeGb(v int64)

SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.

func (ExtendVolumeRequest) ToMap

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

type ExtendVolumeResponse

type ExtendVolumeResponse struct {
	NeedsRestart *bool   `json:"needs_restart,omitempty"`
	Volume       *Volume `json:"volume,omitempty"`
}

ExtendVolumeResponse struct for ExtendVolumeResponse

func NewExtendVolumeResponse

func NewExtendVolumeResponse() *ExtendVolumeResponse

NewExtendVolumeResponse instantiates a new ExtendVolumeResponse 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 NewExtendVolumeResponseWithDefaults

func NewExtendVolumeResponseWithDefaults() *ExtendVolumeResponse

NewExtendVolumeResponseWithDefaults instantiates a new ExtendVolumeResponse 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 (*ExtendVolumeResponse) GetNeedsRestart

func (o *ExtendVolumeResponse) GetNeedsRestart() bool

GetNeedsRestart returns the NeedsRestart field value if set, zero value otherwise.

func (*ExtendVolumeResponse) GetNeedsRestartOk

func (o *ExtendVolumeResponse) GetNeedsRestartOk() (*bool, bool)

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

func (*ExtendVolumeResponse) GetVolume

func (o *ExtendVolumeResponse) GetVolume() Volume

GetVolume returns the Volume field value if set, zero value otherwise.

func (*ExtendVolumeResponse) GetVolumeOk

func (o *ExtendVolumeResponse) GetVolumeOk() (*Volume, bool)

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

func (*ExtendVolumeResponse) HasNeedsRestart

func (o *ExtendVolumeResponse) HasNeedsRestart() bool

HasNeedsRestart returns a boolean if a field has been set.

func (*ExtendVolumeResponse) HasVolume

func (o *ExtendVolumeResponse) HasVolume() bool

HasVolume returns a boolean if a field has been set.

func (ExtendVolumeResponse) MarshalJSON

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

func (*ExtendVolumeResponse) SetNeedsRestart

func (o *ExtendVolumeResponse) SetNeedsRestart(v bool)

SetNeedsRestart gets a reference to the given bool and assigns it to the NeedsRestart field.

func (*ExtendVolumeResponse) SetVolume

func (o *ExtendVolumeResponse) SetVolume(v Volume)

SetVolume gets a reference to the given Volume and assigns it to the Volume field.

func (ExtendVolumeResponse) ToMap

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

type FlyContainerConfig

type FlyContainerConfig struct {
	// CmdOverride is used to override the default command of the image.
	Cmd []string `json:"cmd,omitempty"`
	// DependsOn can be used to define dependencies between containers. The container will only be started after all of its dependent conditions have been satisfied.
	DependsOn []FlyContainerDependency `json:"depends_on,omitempty"`
	// EntrypointOverride is used to override the default entrypoint of the image.
	Entrypoint []string `json:"entrypoint,omitempty"`
	// ExtraEnv is used to add additional environment variables to the container.
	Env *map[string]string `json:"env,omitempty"`
	// EnvFrom can be provided to set environment variables from machine fields.
	EnvFrom []FlyEnvFrom `json:"env_from,omitempty"`
	// Image Config overrides - these fields are used to override the image configuration. If not provided, the image configuration will be used. ExecOverride is used to override the default command of the image.
	Exec []string `json:"exec,omitempty"`
	// Files are files that will be written to the container file system.
	Files []FlyFile `json:"files,omitempty"`
	// Healthchecks determine the health of your containers. Healthchecks can use HTTP, TCP or an Exec command.
	Healthchecks []FlyContainerHealthcheck `json:"healthchecks,omitempty"`
	// Image is the docker image to run.
	Image *string `json:"image,omitempty"`
	// Name is used to identify the container in the machine.
	Name *string `json:"name,omitempty"`
	// Restart is used to define the restart policy for the container. NOTE: spot-price is not supported for containers.
	Restart *FlyMachineRestart `json:"restart,omitempty"`
	// Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used.
	Secrets []FlyMachineSecret `json:"secrets,omitempty"`
	// Stop is used to define the signal and timeout for stopping the container.
	Stop *FlyStopConfig `json:"stop,omitempty"`
	// UserOverride is used to override the default user of the image.
	User *string `json:"user,omitempty"`
}

FlyContainerConfig struct for FlyContainerConfig

func NewFlyContainerConfig

func NewFlyContainerConfig() *FlyContainerConfig

NewFlyContainerConfig instantiates a new FlyContainerConfig 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 NewFlyContainerConfigWithDefaults

func NewFlyContainerConfigWithDefaults() *FlyContainerConfig

NewFlyContainerConfigWithDefaults instantiates a new FlyContainerConfig 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 (*FlyContainerConfig) GetCmd

func (o *FlyContainerConfig) GetCmd() []string

GetCmd returns the Cmd field value if set, zero value otherwise.

func (*FlyContainerConfig) GetCmdOk

func (o *FlyContainerConfig) GetCmdOk() ([]string, bool)

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

func (*FlyContainerConfig) GetDependsOn

func (o *FlyContainerConfig) GetDependsOn() []FlyContainerDependency

GetDependsOn returns the DependsOn field value if set, zero value otherwise.

func (*FlyContainerConfig) GetDependsOnOk

func (o *FlyContainerConfig) GetDependsOnOk() ([]FlyContainerDependency, bool)

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

func (*FlyContainerConfig) GetEntrypoint

func (o *FlyContainerConfig) GetEntrypoint() []string

GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.

func (*FlyContainerConfig) GetEntrypointOk

func (o *FlyContainerConfig) GetEntrypointOk() ([]string, bool)

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

func (*FlyContainerConfig) GetEnv

func (o *FlyContainerConfig) GetEnv() map[string]string

GetEnv returns the Env field value if set, zero value otherwise.

func (*FlyContainerConfig) GetEnvFrom

func (o *FlyContainerConfig) GetEnvFrom() []FlyEnvFrom

GetEnvFrom returns the EnvFrom field value if set, zero value otherwise.

func (*FlyContainerConfig) GetEnvFromOk

func (o *FlyContainerConfig) GetEnvFromOk() ([]FlyEnvFrom, bool)

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

func (*FlyContainerConfig) GetEnvOk

func (o *FlyContainerConfig) GetEnvOk() (*map[string]string, bool)

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

func (*FlyContainerConfig) GetExec

func (o *FlyContainerConfig) GetExec() []string

GetExec returns the Exec field value if set, zero value otherwise.

func (*FlyContainerConfig) GetExecOk

func (o *FlyContainerConfig) GetExecOk() ([]string, bool)

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

func (*FlyContainerConfig) GetFiles

func (o *FlyContainerConfig) GetFiles() []FlyFile

GetFiles returns the Files field value if set, zero value otherwise.

func (*FlyContainerConfig) GetFilesOk

func (o *FlyContainerConfig) GetFilesOk() ([]FlyFile, bool)

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

func (*FlyContainerConfig) GetHealthchecks

func (o *FlyContainerConfig) GetHealthchecks() []FlyContainerHealthcheck

GetHealthchecks returns the Healthchecks field value if set, zero value otherwise.

func (*FlyContainerConfig) GetHealthchecksOk

func (o *FlyContainerConfig) GetHealthchecksOk() ([]FlyContainerHealthcheck, bool)

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

func (*FlyContainerConfig) GetImage

func (o *FlyContainerConfig) GetImage() string

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

func (*FlyContainerConfig) GetImageOk

func (o *FlyContainerConfig) 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 (*FlyContainerConfig) GetName

func (o *FlyContainerConfig) GetName() string

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

func (*FlyContainerConfig) GetNameOk

func (o *FlyContainerConfig) 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 (*FlyContainerConfig) GetRestart

func (o *FlyContainerConfig) GetRestart() FlyMachineRestart

GetRestart returns the Restart field value if set, zero value otherwise.

func (*FlyContainerConfig) GetRestartOk

func (o *FlyContainerConfig) GetRestartOk() (*FlyMachineRestart, bool)

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

func (*FlyContainerConfig) GetSecrets

func (o *FlyContainerConfig) GetSecrets() []FlyMachineSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*FlyContainerConfig) GetSecretsOk

func (o *FlyContainerConfig) GetSecretsOk() ([]FlyMachineSecret, bool)

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

func (*FlyContainerConfig) GetStop

func (o *FlyContainerConfig) GetStop() FlyStopConfig

GetStop returns the Stop field value if set, zero value otherwise.

func (*FlyContainerConfig) GetStopOk

func (o *FlyContainerConfig) GetStopOk() (*FlyStopConfig, bool)

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

func (*FlyContainerConfig) GetUser

func (o *FlyContainerConfig) GetUser() string

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

func (*FlyContainerConfig) GetUserOk

func (o *FlyContainerConfig) 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 (*FlyContainerConfig) HasCmd

func (o *FlyContainerConfig) HasCmd() bool

HasCmd returns a boolean if a field has been set.

func (*FlyContainerConfig) HasDependsOn

func (o *FlyContainerConfig) HasDependsOn() bool

HasDependsOn returns a boolean if a field has been set.

func (*FlyContainerConfig) HasEntrypoint

func (o *FlyContainerConfig) HasEntrypoint() bool

HasEntrypoint returns a boolean if a field has been set.

func (*FlyContainerConfig) HasEnv

func (o *FlyContainerConfig) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*FlyContainerConfig) HasEnvFrom

func (o *FlyContainerConfig) HasEnvFrom() bool

HasEnvFrom returns a boolean if a field has been set.

func (*FlyContainerConfig) HasExec

func (o *FlyContainerConfig) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*FlyContainerConfig) HasFiles

func (o *FlyContainerConfig) HasFiles() bool

HasFiles returns a boolean if a field has been set.

func (*FlyContainerConfig) HasHealthchecks

func (o *FlyContainerConfig) HasHealthchecks() bool

HasHealthchecks returns a boolean if a field has been set.

func (*FlyContainerConfig) HasImage

func (o *FlyContainerConfig) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*FlyContainerConfig) HasName

func (o *FlyContainerConfig) HasName() bool

HasName returns a boolean if a field has been set.

func (*FlyContainerConfig) HasRestart

func (o *FlyContainerConfig) HasRestart() bool

HasRestart returns a boolean if a field has been set.

func (*FlyContainerConfig) HasSecrets

func (o *FlyContainerConfig) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (*FlyContainerConfig) HasStop

func (o *FlyContainerConfig) HasStop() bool

HasStop returns a boolean if a field has been set.

func (*FlyContainerConfig) HasUser

func (o *FlyContainerConfig) HasUser() bool

HasUser returns a boolean if a field has been set.

func (FlyContainerConfig) MarshalJSON

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

func (*FlyContainerConfig) SetCmd

func (o *FlyContainerConfig) SetCmd(v []string)

SetCmd gets a reference to the given []string and assigns it to the Cmd field.

func (*FlyContainerConfig) SetDependsOn

func (o *FlyContainerConfig) SetDependsOn(v []FlyContainerDependency)

SetDependsOn gets a reference to the given []FlyContainerDependency and assigns it to the DependsOn field.

func (*FlyContainerConfig) SetEntrypoint

func (o *FlyContainerConfig) SetEntrypoint(v []string)

SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.

func (*FlyContainerConfig) SetEnv

func (o *FlyContainerConfig) SetEnv(v map[string]string)

SetEnv gets a reference to the given map[string]string and assigns it to the Env field.

func (*FlyContainerConfig) SetEnvFrom

func (o *FlyContainerConfig) SetEnvFrom(v []FlyEnvFrom)

SetEnvFrom gets a reference to the given []FlyEnvFrom and assigns it to the EnvFrom field.

func (*FlyContainerConfig) SetExec

func (o *FlyContainerConfig) SetExec(v []string)

SetExec gets a reference to the given []string and assigns it to the Exec field.

func (*FlyContainerConfig) SetFiles

func (o *FlyContainerConfig) SetFiles(v []FlyFile)

SetFiles gets a reference to the given []FlyFile and assigns it to the Files field.

func (*FlyContainerConfig) SetHealthchecks

func (o *FlyContainerConfig) SetHealthchecks(v []FlyContainerHealthcheck)

SetHealthchecks gets a reference to the given []FlyContainerHealthcheck and assigns it to the Healthchecks field.

func (*FlyContainerConfig) SetImage

func (o *FlyContainerConfig) SetImage(v string)

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

func (*FlyContainerConfig) SetName

func (o *FlyContainerConfig) SetName(v string)

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

func (*FlyContainerConfig) SetRestart

func (o *FlyContainerConfig) SetRestart(v FlyMachineRestart)

SetRestart gets a reference to the given FlyMachineRestart and assigns it to the Restart field.

func (*FlyContainerConfig) SetSecrets

func (o *FlyContainerConfig) SetSecrets(v []FlyMachineSecret)

SetSecrets gets a reference to the given []FlyMachineSecret and assigns it to the Secrets field.

func (*FlyContainerConfig) SetStop

func (o *FlyContainerConfig) SetStop(v FlyStopConfig)

SetStop gets a reference to the given FlyStopConfig and assigns it to the Stop field.

func (*FlyContainerConfig) SetUser

func (o *FlyContainerConfig) SetUser(v string)

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

func (FlyContainerConfig) ToMap

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

type FlyContainerDependency

type FlyContainerDependency struct {
	Condition *FlyContainerDependencyCondition `json:"condition,omitempty"`
	Name      *string                          `json:"name,omitempty"`
}

FlyContainerDependency struct for FlyContainerDependency

func NewFlyContainerDependency

func NewFlyContainerDependency() *FlyContainerDependency

NewFlyContainerDependency instantiates a new FlyContainerDependency 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 NewFlyContainerDependencyWithDefaults

func NewFlyContainerDependencyWithDefaults() *FlyContainerDependency

NewFlyContainerDependencyWithDefaults instantiates a new FlyContainerDependency 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 (*FlyContainerDependency) GetCondition

GetCondition returns the Condition field value if set, zero value otherwise.

func (*FlyContainerDependency) GetConditionOk

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

func (*FlyContainerDependency) GetName

func (o *FlyContainerDependency) GetName() string

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

func (*FlyContainerDependency) GetNameOk

func (o *FlyContainerDependency) 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 (*FlyContainerDependency) HasCondition

func (o *FlyContainerDependency) HasCondition() bool

HasCondition returns a boolean if a field has been set.

func (*FlyContainerDependency) HasName

func (o *FlyContainerDependency) HasName() bool

HasName returns a boolean if a field has been set.

func (FlyContainerDependency) MarshalJSON

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

func (*FlyContainerDependency) SetCondition

SetCondition gets a reference to the given FlyContainerDependencyCondition and assigns it to the Condition field.

func (*FlyContainerDependency) SetName

func (o *FlyContainerDependency) SetName(v string)

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

func (FlyContainerDependency) ToMap

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

type FlyContainerDependencyCondition

type FlyContainerDependencyCondition string

FlyContainerDependencyCondition the model 'FlyContainerDependencyCondition'

const (
	ExitedSuccessfully FlyContainerDependencyCondition = "exited_successfully"
	Healthy            FlyContainerDependencyCondition = "healthy"
	Started            FlyContainerDependencyCondition = "started"
)

List of fly.ContainerDependencyCondition

func NewFlyContainerDependencyConditionFromValue

func NewFlyContainerDependencyConditionFromValue(v string) (*FlyContainerDependencyCondition, error)

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

func (FlyContainerDependencyCondition) IsValid

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

func (FlyContainerDependencyCondition) Ptr

Ptr returns reference to fly.ContainerDependencyCondition value

func (*FlyContainerDependencyCondition) UnmarshalJSON

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

type FlyContainerHealthcheck

type FlyContainerHealthcheck struct {
	Exec *FlyExecHealthcheck `json:"exec,omitempty"`
	// The number of times the check must fail before considering the container unhealthy.
	FailureThreshold *int64 `json:"failure_threshold,omitempty"`
	// The time in seconds to wait after a container starts before checking its health.
	GracePeriod *int64              `json:"grace_period,omitempty"`
	Http        *FlyHTTPHealthcheck `json:"http,omitempty"`
	// The time in seconds between executing the defined check.
	Interval *int64 `json:"interval,omitempty"`
	// Kind of healthcheck (readiness, liveness)
	Kind *FlyContainerHealthcheckKind `json:"kind,omitempty"`
	// The name of the check. Must be unique within the container.
	Name *string `json:"name,omitempty"`
	// The number of times the check must succeeed before considering the container healthy.
	SuccessThreshold *int64             `json:"success_threshold,omitempty"`
	Tcp              *FlyTCPHealthcheck `json:"tcp,omitempty"`
	// The time in seconds to wait for the check to complete.
	Timeout *int64 `json:"timeout,omitempty"`
	// Unhealthy policy that determines what action to take if a container is deemed unhealthy
	Unhealthy *FlyUnhealthyPolicy `json:"unhealthy,omitempty"`
}

FlyContainerHealthcheck struct for FlyContainerHealthcheck

func NewFlyContainerHealthcheck

func NewFlyContainerHealthcheck() *FlyContainerHealthcheck

NewFlyContainerHealthcheck instantiates a new FlyContainerHealthcheck 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 NewFlyContainerHealthcheckWithDefaults

func NewFlyContainerHealthcheckWithDefaults() *FlyContainerHealthcheck

NewFlyContainerHealthcheckWithDefaults instantiates a new FlyContainerHealthcheck 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 (*FlyContainerHealthcheck) GetExec

GetExec returns the Exec field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetExecOk

func (o *FlyContainerHealthcheck) GetExecOk() (*FlyExecHealthcheck, bool)

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

func (*FlyContainerHealthcheck) GetFailureThreshold

func (o *FlyContainerHealthcheck) GetFailureThreshold() int64

GetFailureThreshold returns the FailureThreshold field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetFailureThresholdOk

func (o *FlyContainerHealthcheck) GetFailureThresholdOk() (*int64, bool)

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

func (*FlyContainerHealthcheck) GetGracePeriod

func (o *FlyContainerHealthcheck) GetGracePeriod() int64

GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetGracePeriodOk

func (o *FlyContainerHealthcheck) GetGracePeriodOk() (*int64, bool)

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

func (*FlyContainerHealthcheck) GetHttp

GetHttp returns the Http field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetHttpOk

func (o *FlyContainerHealthcheck) GetHttpOk() (*FlyHTTPHealthcheck, bool)

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

func (*FlyContainerHealthcheck) GetInterval

func (o *FlyContainerHealthcheck) GetInterval() int64

GetInterval returns the Interval field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetIntervalOk

func (o *FlyContainerHealthcheck) GetIntervalOk() (*int64, bool)

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

func (*FlyContainerHealthcheck) GetKind

GetKind returns the Kind field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetKindOk

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

func (*FlyContainerHealthcheck) GetName

func (o *FlyContainerHealthcheck) GetName() string

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

func (*FlyContainerHealthcheck) GetNameOk

func (o *FlyContainerHealthcheck) 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 (*FlyContainerHealthcheck) GetSuccessThreshold

func (o *FlyContainerHealthcheck) GetSuccessThreshold() int64

GetSuccessThreshold returns the SuccessThreshold field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetSuccessThresholdOk

func (o *FlyContainerHealthcheck) GetSuccessThresholdOk() (*int64, bool)

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

func (*FlyContainerHealthcheck) GetTcp

GetTcp returns the Tcp field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetTcpOk

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

func (*FlyContainerHealthcheck) GetTimeout

func (o *FlyContainerHealthcheck) GetTimeout() int64

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetTimeoutOk

func (o *FlyContainerHealthcheck) GetTimeoutOk() (*int64, bool)

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

func (*FlyContainerHealthcheck) GetUnhealthy

func (o *FlyContainerHealthcheck) GetUnhealthy() FlyUnhealthyPolicy

GetUnhealthy returns the Unhealthy field value if set, zero value otherwise.

func (*FlyContainerHealthcheck) GetUnhealthyOk

func (o *FlyContainerHealthcheck) GetUnhealthyOk() (*FlyUnhealthyPolicy, bool)

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

func (*FlyContainerHealthcheck) HasExec

func (o *FlyContainerHealthcheck) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasFailureThreshold

func (o *FlyContainerHealthcheck) HasFailureThreshold() bool

HasFailureThreshold returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasGracePeriod

func (o *FlyContainerHealthcheck) HasGracePeriod() bool

HasGracePeriod returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasHttp

func (o *FlyContainerHealthcheck) HasHttp() bool

HasHttp returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasInterval

func (o *FlyContainerHealthcheck) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasKind

func (o *FlyContainerHealthcheck) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasName

func (o *FlyContainerHealthcheck) HasName() bool

HasName returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasSuccessThreshold

func (o *FlyContainerHealthcheck) HasSuccessThreshold() bool

HasSuccessThreshold returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasTcp

func (o *FlyContainerHealthcheck) HasTcp() bool

HasTcp returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasTimeout

func (o *FlyContainerHealthcheck) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*FlyContainerHealthcheck) HasUnhealthy

func (o *FlyContainerHealthcheck) HasUnhealthy() bool

HasUnhealthy returns a boolean if a field has been set.

func (FlyContainerHealthcheck) MarshalJSON

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

func (*FlyContainerHealthcheck) SetExec

SetExec gets a reference to the given FlyExecHealthcheck and assigns it to the Exec field.

func (*FlyContainerHealthcheck) SetFailureThreshold

func (o *FlyContainerHealthcheck) SetFailureThreshold(v int64)

SetFailureThreshold gets a reference to the given int64 and assigns it to the FailureThreshold field.

func (*FlyContainerHealthcheck) SetGracePeriod

func (o *FlyContainerHealthcheck) SetGracePeriod(v int64)

SetGracePeriod gets a reference to the given int64 and assigns it to the GracePeriod field.

func (*FlyContainerHealthcheck) SetHttp

SetHttp gets a reference to the given FlyHTTPHealthcheck and assigns it to the Http field.

func (*FlyContainerHealthcheck) SetInterval

func (o *FlyContainerHealthcheck) SetInterval(v int64)

SetInterval gets a reference to the given int64 and assigns it to the Interval field.

func (*FlyContainerHealthcheck) SetKind

SetKind gets a reference to the given FlyContainerHealthcheckKind and assigns it to the Kind field.

func (*FlyContainerHealthcheck) SetName

func (o *FlyContainerHealthcheck) SetName(v string)

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

func (*FlyContainerHealthcheck) SetSuccessThreshold

func (o *FlyContainerHealthcheck) SetSuccessThreshold(v int64)

SetSuccessThreshold gets a reference to the given int64 and assigns it to the SuccessThreshold field.

func (*FlyContainerHealthcheck) SetTcp

SetTcp gets a reference to the given FlyTCPHealthcheck and assigns it to the Tcp field.

func (*FlyContainerHealthcheck) SetTimeout

func (o *FlyContainerHealthcheck) SetTimeout(v int64)

SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.

func (*FlyContainerHealthcheck) SetUnhealthy

func (o *FlyContainerHealthcheck) SetUnhealthy(v FlyUnhealthyPolicy)

SetUnhealthy gets a reference to the given FlyUnhealthyPolicy and assigns it to the Unhealthy field.

func (FlyContainerHealthcheck) ToMap

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

type FlyContainerHealthcheckKind

type FlyContainerHealthcheckKind string

FlyContainerHealthcheckKind the model 'FlyContainerHealthcheckKind'

const (
	Readiness FlyContainerHealthcheckKind = "readiness"
	Liveness  FlyContainerHealthcheckKind = "liveness"
)

List of fly.ContainerHealthcheckKind

func NewFlyContainerHealthcheckKindFromValue

func NewFlyContainerHealthcheckKindFromValue(v string) (*FlyContainerHealthcheckKind, error)

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

func (FlyContainerHealthcheckKind) IsValid

func (v FlyContainerHealthcheckKind) IsValid() bool

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

func (FlyContainerHealthcheckKind) Ptr

Ptr returns reference to fly.ContainerHealthcheckKind value

func (*FlyContainerHealthcheckKind) UnmarshalJSON

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

type FlyContainerHealthcheckScheme

type FlyContainerHealthcheckScheme string

FlyContainerHealthcheckScheme the model 'FlyContainerHealthcheckScheme'

const (
	HTTP  FlyContainerHealthcheckScheme = "http"
	HTTPS FlyContainerHealthcheckScheme = "https"
)

List of fly.ContainerHealthcheckScheme

func NewFlyContainerHealthcheckSchemeFromValue

func NewFlyContainerHealthcheckSchemeFromValue(v string) (*FlyContainerHealthcheckScheme, error)

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

func (FlyContainerHealthcheckScheme) IsValid

func (v FlyContainerHealthcheckScheme) IsValid() bool

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

func (FlyContainerHealthcheckScheme) Ptr

Ptr returns reference to fly.ContainerHealthcheckScheme value

func (*FlyContainerHealthcheckScheme) UnmarshalJSON

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

type FlyDNSConfig

type FlyDNSConfig struct {
	DnsForwardRules  []FlyDnsForwardRule `json:"dns_forward_rules,omitempty"`
	Hostname         *string             `json:"hostname,omitempty"`
	HostnameFqdn     *string             `json:"hostname_fqdn,omitempty"`
	Nameservers      []string            `json:"nameservers,omitempty"`
	Options          []FlyDnsOption      `json:"options,omitempty"`
	Searches         []string            `json:"searches,omitempty"`
	SkipRegistration *bool               `json:"skip_registration,omitempty"`
}

FlyDNSConfig struct for FlyDNSConfig

func NewFlyDNSConfig

func NewFlyDNSConfig() *FlyDNSConfig

NewFlyDNSConfig instantiates a new FlyDNSConfig 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 NewFlyDNSConfigWithDefaults

func NewFlyDNSConfigWithDefaults() *FlyDNSConfig

NewFlyDNSConfigWithDefaults instantiates a new FlyDNSConfig 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 (*FlyDNSConfig) GetDnsForwardRules

func (o *FlyDNSConfig) GetDnsForwardRules() []FlyDnsForwardRule

GetDnsForwardRules returns the DnsForwardRules field value if set, zero value otherwise.

func (*FlyDNSConfig) GetDnsForwardRulesOk

func (o *FlyDNSConfig) GetDnsForwardRulesOk() ([]FlyDnsForwardRule, bool)

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

func (*FlyDNSConfig) GetHostname

func (o *FlyDNSConfig) GetHostname() string

GetHostname returns the Hostname field value if set, zero value otherwise.

func (*FlyDNSConfig) GetHostnameFqdn

func (o *FlyDNSConfig) GetHostnameFqdn() string

GetHostnameFqdn returns the HostnameFqdn field value if set, zero value otherwise.

func (*FlyDNSConfig) GetHostnameFqdnOk

func (o *FlyDNSConfig) GetHostnameFqdnOk() (*string, bool)

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

func (*FlyDNSConfig) GetHostnameOk

func (o *FlyDNSConfig) GetHostnameOk() (*string, bool)

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

func (*FlyDNSConfig) GetNameservers

func (o *FlyDNSConfig) GetNameservers() []string

GetNameservers returns the Nameservers field value if set, zero value otherwise.

func (*FlyDNSConfig) GetNameserversOk

func (o *FlyDNSConfig) GetNameserversOk() ([]string, bool)

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

func (*FlyDNSConfig) GetOptions

func (o *FlyDNSConfig) GetOptions() []FlyDnsOption

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

func (*FlyDNSConfig) GetOptionsOk

func (o *FlyDNSConfig) GetOptionsOk() ([]FlyDnsOption, 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 (*FlyDNSConfig) GetSearches

func (o *FlyDNSConfig) GetSearches() []string

GetSearches returns the Searches field value if set, zero value otherwise.

func (*FlyDNSConfig) GetSearchesOk

func (o *FlyDNSConfig) GetSearchesOk() ([]string, bool)

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

func (*FlyDNSConfig) GetSkipRegistration

func (o *FlyDNSConfig) GetSkipRegistration() bool

GetSkipRegistration returns the SkipRegistration field value if set, zero value otherwise.

func (*FlyDNSConfig) GetSkipRegistrationOk

func (o *FlyDNSConfig) GetSkipRegistrationOk() (*bool, bool)

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

func (*FlyDNSConfig) HasDnsForwardRules

func (o *FlyDNSConfig) HasDnsForwardRules() bool

HasDnsForwardRules returns a boolean if a field has been set.

func (*FlyDNSConfig) HasHostname

func (o *FlyDNSConfig) HasHostname() bool

HasHostname returns a boolean if a field has been set.

func (*FlyDNSConfig) HasHostnameFqdn

func (o *FlyDNSConfig) HasHostnameFqdn() bool

HasHostnameFqdn returns a boolean if a field has been set.

func (*FlyDNSConfig) HasNameservers

func (o *FlyDNSConfig) HasNameservers() bool

HasNameservers returns a boolean if a field has been set.

func (*FlyDNSConfig) HasOptions

func (o *FlyDNSConfig) HasOptions() bool

HasOptions returns a boolean if a field has been set.

func (*FlyDNSConfig) HasSearches

func (o *FlyDNSConfig) HasSearches() bool

HasSearches returns a boolean if a field has been set.

func (*FlyDNSConfig) HasSkipRegistration

func (o *FlyDNSConfig) HasSkipRegistration() bool

HasSkipRegistration returns a boolean if a field has been set.

func (FlyDNSConfig) MarshalJSON

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

func (*FlyDNSConfig) SetDnsForwardRules

func (o *FlyDNSConfig) SetDnsForwardRules(v []FlyDnsForwardRule)

SetDnsForwardRules gets a reference to the given []FlyDnsForwardRule and assigns it to the DnsForwardRules field.

func (*FlyDNSConfig) SetHostname

func (o *FlyDNSConfig) SetHostname(v string)

SetHostname gets a reference to the given string and assigns it to the Hostname field.

func (*FlyDNSConfig) SetHostnameFqdn

func (o *FlyDNSConfig) SetHostnameFqdn(v string)

SetHostnameFqdn gets a reference to the given string and assigns it to the HostnameFqdn field.

func (*FlyDNSConfig) SetNameservers

func (o *FlyDNSConfig) SetNameservers(v []string)

SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.

func (*FlyDNSConfig) SetOptions

func (o *FlyDNSConfig) SetOptions(v []FlyDnsOption)

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

func (*FlyDNSConfig) SetSearches

func (o *FlyDNSConfig) SetSearches(v []string)

SetSearches gets a reference to the given []string and assigns it to the Searches field.

func (*FlyDNSConfig) SetSkipRegistration

func (o *FlyDNSConfig) SetSkipRegistration(v bool)

SetSkipRegistration gets a reference to the given bool and assigns it to the SkipRegistration field.

func (FlyDNSConfig) ToMap

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

type FlyDnsForwardRule

type FlyDnsForwardRule struct {
	Addr     *string `json:"addr,omitempty"`
	Basename *string `json:"basename,omitempty"`
}

FlyDnsForwardRule struct for FlyDnsForwardRule

func NewFlyDnsForwardRule

func NewFlyDnsForwardRule() *FlyDnsForwardRule

NewFlyDnsForwardRule instantiates a new FlyDnsForwardRule 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 NewFlyDnsForwardRuleWithDefaults

func NewFlyDnsForwardRuleWithDefaults() *FlyDnsForwardRule

NewFlyDnsForwardRuleWithDefaults instantiates a new FlyDnsForwardRule 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 (*FlyDnsForwardRule) GetAddr

func (o *FlyDnsForwardRule) GetAddr() string

GetAddr returns the Addr field value if set, zero value otherwise.

func (*FlyDnsForwardRule) GetAddrOk

func (o *FlyDnsForwardRule) GetAddrOk() (*string, bool)

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

func (*FlyDnsForwardRule) GetBasename

func (o *FlyDnsForwardRule) GetBasename() string

GetBasename returns the Basename field value if set, zero value otherwise.

func (*FlyDnsForwardRule) GetBasenameOk

func (o *FlyDnsForwardRule) GetBasenameOk() (*string, bool)

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

func (*FlyDnsForwardRule) HasAddr

func (o *FlyDnsForwardRule) HasAddr() bool

HasAddr returns a boolean if a field has been set.

func (*FlyDnsForwardRule) HasBasename

func (o *FlyDnsForwardRule) HasBasename() bool

HasBasename returns a boolean if a field has been set.

func (FlyDnsForwardRule) MarshalJSON

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

func (*FlyDnsForwardRule) SetAddr

func (o *FlyDnsForwardRule) SetAddr(v string)

SetAddr gets a reference to the given string and assigns it to the Addr field.

func (*FlyDnsForwardRule) SetBasename

func (o *FlyDnsForwardRule) SetBasename(v string)

SetBasename gets a reference to the given string and assigns it to the Basename field.

func (FlyDnsForwardRule) ToMap

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

type FlyDnsOption

type FlyDnsOption struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

FlyDnsOption struct for FlyDnsOption

func NewFlyDnsOption

func NewFlyDnsOption() *FlyDnsOption

NewFlyDnsOption instantiates a new FlyDnsOption 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 NewFlyDnsOptionWithDefaults

func NewFlyDnsOptionWithDefaults() *FlyDnsOption

NewFlyDnsOptionWithDefaults instantiates a new FlyDnsOption 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 (*FlyDnsOption) GetName

func (o *FlyDnsOption) GetName() string

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

func (*FlyDnsOption) GetNameOk

func (o *FlyDnsOption) 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 (*FlyDnsOption) GetValue

func (o *FlyDnsOption) GetValue() string

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

func (*FlyDnsOption) GetValueOk

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

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

func (*FlyDnsOption) HasName

func (o *FlyDnsOption) HasName() bool

HasName returns a boolean if a field has been set.

func (*FlyDnsOption) HasValue

func (o *FlyDnsOption) HasValue() bool

HasValue returns a boolean if a field has been set.

func (FlyDnsOption) MarshalJSON

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

func (*FlyDnsOption) SetName

func (o *FlyDnsOption) SetName(v string)

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

func (*FlyDnsOption) SetValue

func (o *FlyDnsOption) SetValue(v string)

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

func (FlyDnsOption) ToMap

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

type FlyDuration

type FlyDuration struct {
	TimeDuration *int64 `json:"time.Duration,omitempty"`
}

FlyDuration struct for FlyDuration

func NewFlyDuration

func NewFlyDuration() *FlyDuration

NewFlyDuration instantiates a new FlyDuration 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 NewFlyDurationWithDefaults

func NewFlyDurationWithDefaults() *FlyDuration

NewFlyDurationWithDefaults instantiates a new FlyDuration 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 (*FlyDuration) GetTimeDuration

func (o *FlyDuration) GetTimeDuration() int64

GetTimeDuration returns the TimeDuration field value if set, zero value otherwise.

func (*FlyDuration) GetTimeDurationOk

func (o *FlyDuration) GetTimeDurationOk() (*int64, bool)

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

func (*FlyDuration) HasTimeDuration

func (o *FlyDuration) HasTimeDuration() bool

HasTimeDuration returns a boolean if a field has been set.

func (FlyDuration) MarshalJSON

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

func (*FlyDuration) SetTimeDuration

func (o *FlyDuration) SetTimeDuration(v int64)

SetTimeDuration gets a reference to the given int64 and assigns it to the TimeDuration field.

func (FlyDuration) ToMap

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

type FlyEnvFrom

type FlyEnvFrom struct {
	// EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name.
	EnvVar *string `json:"env_var,omitempty"`
	// FieldRef selects a field of the Machine: supports id, version, app_name, private_ip, region, image.
	FieldRef *string `json:"field_ref,omitempty"`
}

FlyEnvFrom EnvVar defines an environment variable to be populated from a machine field, env_var

func NewFlyEnvFrom

func NewFlyEnvFrom() *FlyEnvFrom

NewFlyEnvFrom instantiates a new FlyEnvFrom 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 NewFlyEnvFromWithDefaults

func NewFlyEnvFromWithDefaults() *FlyEnvFrom

NewFlyEnvFromWithDefaults instantiates a new FlyEnvFrom 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 (*FlyEnvFrom) GetEnvVar

func (o *FlyEnvFrom) GetEnvVar() string

GetEnvVar returns the EnvVar field value if set, zero value otherwise.

func (*FlyEnvFrom) GetEnvVarOk

func (o *FlyEnvFrom) GetEnvVarOk() (*string, bool)

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

func (*FlyEnvFrom) GetFieldRef

func (o *FlyEnvFrom) GetFieldRef() string

GetFieldRef returns the FieldRef field value if set, zero value otherwise.

func (*FlyEnvFrom) GetFieldRefOk

func (o *FlyEnvFrom) GetFieldRefOk() (*string, bool)

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

func (*FlyEnvFrom) HasEnvVar

func (o *FlyEnvFrom) HasEnvVar() bool

HasEnvVar returns a boolean if a field has been set.

func (*FlyEnvFrom) HasFieldRef

func (o *FlyEnvFrom) HasFieldRef() bool

HasFieldRef returns a boolean if a field has been set.

func (FlyEnvFrom) MarshalJSON

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

func (*FlyEnvFrom) SetEnvVar

func (o *FlyEnvFrom) SetEnvVar(v string)

SetEnvVar gets a reference to the given string and assigns it to the EnvVar field.

func (*FlyEnvFrom) SetFieldRef

func (o *FlyEnvFrom) SetFieldRef(v string)

SetFieldRef gets a reference to the given string and assigns it to the FieldRef field.

func (FlyEnvFrom) ToMap

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

type FlyExecHealthcheck

type FlyExecHealthcheck struct {
	// The command to run to check the health of the container (e.g. [\"cat\", \"/tmp/healthy\"])
	Command []string `json:"command,omitempty"`
}

FlyExecHealthcheck struct for FlyExecHealthcheck

func NewFlyExecHealthcheck

func NewFlyExecHealthcheck() *FlyExecHealthcheck

NewFlyExecHealthcheck instantiates a new FlyExecHealthcheck 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 NewFlyExecHealthcheckWithDefaults

func NewFlyExecHealthcheckWithDefaults() *FlyExecHealthcheck

NewFlyExecHealthcheckWithDefaults instantiates a new FlyExecHealthcheck 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 (*FlyExecHealthcheck) GetCommand

func (o *FlyExecHealthcheck) GetCommand() []string

GetCommand returns the Command field value if set, zero value otherwise.

func (*FlyExecHealthcheck) GetCommandOk

func (o *FlyExecHealthcheck) GetCommandOk() ([]string, bool)

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

func (*FlyExecHealthcheck) HasCommand

func (o *FlyExecHealthcheck) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (FlyExecHealthcheck) MarshalJSON

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

func (*FlyExecHealthcheck) SetCommand

func (o *FlyExecHealthcheck) SetCommand(v []string)

SetCommand gets a reference to the given []string and assigns it to the Command field.

func (FlyExecHealthcheck) ToMap

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

type FlyFile

type FlyFile struct {
	// GuestPath is the path on the machine where the file will be written and must be an absolute path. For example: /full/path/to/file.json
	GuestPath *string `json:"guest_path,omitempty"`
	// The name of an image to use the OCI image config as the file contents.
	ImageConfig *string `json:"image_config,omitempty"`
	// Mode bits used to set permissions on this file as accepted by chmod(2).
	Mode *int64 `json:"mode,omitempty"`
	// The base64 encoded string of the file contents.
	RawValue *string `json:"raw_value,omitempty"`
	// The name of the secret that contains the base64 encoded file contents.
	SecretName *string `json:"secret_name,omitempty"`
}

FlyFile A file that will be written to the Machine. One of RawValue or SecretName must be set.

func NewFlyFile

func NewFlyFile() *FlyFile

NewFlyFile instantiates a new FlyFile 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 NewFlyFileWithDefaults

func NewFlyFileWithDefaults() *FlyFile

NewFlyFileWithDefaults instantiates a new FlyFile 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 (*FlyFile) GetGuestPath

func (o *FlyFile) GetGuestPath() string

GetGuestPath returns the GuestPath field value if set, zero value otherwise.

func (*FlyFile) GetGuestPathOk

func (o *FlyFile) GetGuestPathOk() (*string, bool)

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

func (*FlyFile) GetImageConfig

func (o *FlyFile) GetImageConfig() string

GetImageConfig returns the ImageConfig field value if set, zero value otherwise.

func (*FlyFile) GetImageConfigOk

func (o *FlyFile) GetImageConfigOk() (*string, bool)

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

func (*FlyFile) GetMode

func (o *FlyFile) GetMode() int64

GetMode returns the Mode field value if set, zero value otherwise.

func (*FlyFile) GetModeOk

func (o *FlyFile) GetModeOk() (*int64, bool)

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

func (*FlyFile) GetRawValue

func (o *FlyFile) GetRawValue() string

GetRawValue returns the RawValue field value if set, zero value otherwise.

func (*FlyFile) GetRawValueOk

func (o *FlyFile) GetRawValueOk() (*string, bool)

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

func (*FlyFile) GetSecretName

func (o *FlyFile) GetSecretName() string

GetSecretName returns the SecretName field value if set, zero value otherwise.

func (*FlyFile) GetSecretNameOk

func (o *FlyFile) GetSecretNameOk() (*string, bool)

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

func (*FlyFile) HasGuestPath

func (o *FlyFile) HasGuestPath() bool

HasGuestPath returns a boolean if a field has been set.

func (*FlyFile) HasImageConfig

func (o *FlyFile) HasImageConfig() bool

HasImageConfig returns a boolean if a field has been set.

func (*FlyFile) HasMode

func (o *FlyFile) HasMode() bool

HasMode returns a boolean if a field has been set.

func (*FlyFile) HasRawValue

func (o *FlyFile) HasRawValue() bool

HasRawValue returns a boolean if a field has been set.

func (*FlyFile) HasSecretName

func (o *FlyFile) HasSecretName() bool

HasSecretName returns a boolean if a field has been set.

func (FlyFile) MarshalJSON

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

func (*FlyFile) SetGuestPath

func (o *FlyFile) SetGuestPath(v string)

SetGuestPath gets a reference to the given string and assigns it to the GuestPath field.

func (*FlyFile) SetImageConfig

func (o *FlyFile) SetImageConfig(v string)

SetImageConfig gets a reference to the given string and assigns it to the ImageConfig field.

func (*FlyFile) SetMode

func (o *FlyFile) SetMode(v int64)

SetMode gets a reference to the given int64 and assigns it to the Mode field.

func (*FlyFile) SetRawValue

func (o *FlyFile) SetRawValue(v string)

SetRawValue gets a reference to the given string and assigns it to the RawValue field.

func (*FlyFile) SetSecretName

func (o *FlyFile) SetSecretName(v string)

SetSecretName gets a reference to the given string and assigns it to the SecretName field.

func (FlyFile) ToMap

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

type FlyHTTPHealthcheck

type FlyHTTPHealthcheck struct {
	// Additional headers to send with the request
	Headers []FlyMachineHTTPHeader `json:"headers,omitempty"`
	// The HTTP method to use to when making the request
	Method *string `json:"method,omitempty"`
	// The path to send the request to
	Path *string `json:"path,omitempty"`
	// The port to connect to, often the same as internal_port
	Port *int64 `json:"port,omitempty"`
	// Whether to use http or https
	Scheme *FlyContainerHealthcheckScheme `json:"scheme,omitempty"`
	// If the protocol is https, the hostname to use for TLS certificate validation
	TlsServerName *string `json:"tls_server_name,omitempty"`
	// If the protocol is https, whether or not to verify the TLS certificate
	TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
}

FlyHTTPHealthcheck struct for FlyHTTPHealthcheck

func NewFlyHTTPHealthcheck

func NewFlyHTTPHealthcheck() *FlyHTTPHealthcheck

NewFlyHTTPHealthcheck instantiates a new FlyHTTPHealthcheck 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 NewFlyHTTPHealthcheckWithDefaults

func NewFlyHTTPHealthcheckWithDefaults() *FlyHTTPHealthcheck

NewFlyHTTPHealthcheckWithDefaults instantiates a new FlyHTTPHealthcheck 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 (*FlyHTTPHealthcheck) GetHeaders

func (o *FlyHTTPHealthcheck) GetHeaders() []FlyMachineHTTPHeader

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*FlyHTTPHealthcheck) GetHeadersOk

func (o *FlyHTTPHealthcheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)

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

func (*FlyHTTPHealthcheck) GetMethod

func (o *FlyHTTPHealthcheck) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*FlyHTTPHealthcheck) GetMethodOk

func (o *FlyHTTPHealthcheck) GetMethodOk() (*string, bool)

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

func (*FlyHTTPHealthcheck) GetPath

func (o *FlyHTTPHealthcheck) GetPath() string

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

func (*FlyHTTPHealthcheck) GetPathOk

func (o *FlyHTTPHealthcheck) 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 (*FlyHTTPHealthcheck) GetPort

func (o *FlyHTTPHealthcheck) GetPort() int64

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

func (*FlyHTTPHealthcheck) GetPortOk

func (o *FlyHTTPHealthcheck) GetPortOk() (*int64, 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 (*FlyHTTPHealthcheck) GetScheme

GetScheme returns the Scheme field value if set, zero value otherwise.

func (*FlyHTTPHealthcheck) GetSchemeOk

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

func (*FlyHTTPHealthcheck) GetTlsServerName

func (o *FlyHTTPHealthcheck) GetTlsServerName() string

GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.

func (*FlyHTTPHealthcheck) GetTlsServerNameOk

func (o *FlyHTTPHealthcheck) GetTlsServerNameOk() (*string, bool)

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

func (*FlyHTTPHealthcheck) GetTlsSkipVerify

func (o *FlyHTTPHealthcheck) GetTlsSkipVerify() bool

GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.

func (*FlyHTTPHealthcheck) GetTlsSkipVerifyOk

func (o *FlyHTTPHealthcheck) GetTlsSkipVerifyOk() (*bool, bool)

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

func (*FlyHTTPHealthcheck) HasHeaders

func (o *FlyHTTPHealthcheck) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasMethod

func (o *FlyHTTPHealthcheck) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasPath

func (o *FlyHTTPHealthcheck) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasPort

func (o *FlyHTTPHealthcheck) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasScheme

func (o *FlyHTTPHealthcheck) HasScheme() bool

HasScheme returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasTlsServerName

func (o *FlyHTTPHealthcheck) HasTlsServerName() bool

HasTlsServerName returns a boolean if a field has been set.

func (*FlyHTTPHealthcheck) HasTlsSkipVerify

func (o *FlyHTTPHealthcheck) HasTlsSkipVerify() bool

HasTlsSkipVerify returns a boolean if a field has been set.

func (FlyHTTPHealthcheck) MarshalJSON

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

func (*FlyHTTPHealthcheck) SetHeaders

func (o *FlyHTTPHealthcheck) SetHeaders(v []FlyMachineHTTPHeader)

SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.

func (*FlyHTTPHealthcheck) SetMethod

func (o *FlyHTTPHealthcheck) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*FlyHTTPHealthcheck) SetPath

func (o *FlyHTTPHealthcheck) SetPath(v string)

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

func (*FlyHTTPHealthcheck) SetPort

func (o *FlyHTTPHealthcheck) SetPort(v int64)

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

func (*FlyHTTPHealthcheck) SetScheme

SetScheme gets a reference to the given FlyContainerHealthcheckScheme and assigns it to the Scheme field.

func (*FlyHTTPHealthcheck) SetTlsServerName

func (o *FlyHTTPHealthcheck) SetTlsServerName(v string)

SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.

func (*FlyHTTPHealthcheck) SetTlsSkipVerify

func (o *FlyHTTPHealthcheck) SetTlsSkipVerify(v bool)

SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.

func (FlyHTTPHealthcheck) ToMap

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

type FlyHTTPOptions

type FlyHTTPOptions struct {
	Compress           *bool                   `json:"compress,omitempty"`
	H2Backend          *bool                   `json:"h2_backend,omitempty"`
	HeadersReadTimeout *int64                  `json:"headers_read_timeout,omitempty"`
	IdleTimeout        *int64                  `json:"idle_timeout,omitempty"`
	Response           *FlyHTTPResponseOptions `json:"response,omitempty"`
}

FlyHTTPOptions struct for FlyHTTPOptions

func NewFlyHTTPOptions

func NewFlyHTTPOptions() *FlyHTTPOptions

NewFlyHTTPOptions instantiates a new FlyHTTPOptions 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 NewFlyHTTPOptionsWithDefaults

func NewFlyHTTPOptionsWithDefaults() *FlyHTTPOptions

NewFlyHTTPOptionsWithDefaults instantiates a new FlyHTTPOptions 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 (*FlyHTTPOptions) GetCompress

func (o *FlyHTTPOptions) GetCompress() bool

GetCompress returns the Compress field value if set, zero value otherwise.

func (*FlyHTTPOptions) GetCompressOk

func (o *FlyHTTPOptions) GetCompressOk() (*bool, bool)

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

func (*FlyHTTPOptions) GetH2Backend

func (o *FlyHTTPOptions) GetH2Backend() bool

GetH2Backend returns the H2Backend field value if set, zero value otherwise.

func (*FlyHTTPOptions) GetH2BackendOk

func (o *FlyHTTPOptions) GetH2BackendOk() (*bool, bool)

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

func (*FlyHTTPOptions) GetHeadersReadTimeout

func (o *FlyHTTPOptions) GetHeadersReadTimeout() int64

GetHeadersReadTimeout returns the HeadersReadTimeout field value if set, zero value otherwise.

func (*FlyHTTPOptions) GetHeadersReadTimeoutOk

func (o *FlyHTTPOptions) GetHeadersReadTimeoutOk() (*int64, bool)

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

func (*FlyHTTPOptions) GetIdleTimeout

func (o *FlyHTTPOptions) GetIdleTimeout() int64

GetIdleTimeout returns the IdleTimeout field value if set, zero value otherwise.

func (*FlyHTTPOptions) GetIdleTimeoutOk

func (o *FlyHTTPOptions) GetIdleTimeoutOk() (*int64, bool)

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

func (*FlyHTTPOptions) GetResponse

func (o *FlyHTTPOptions) GetResponse() FlyHTTPResponseOptions

GetResponse returns the Response field value if set, zero value otherwise.

func (*FlyHTTPOptions) GetResponseOk

func (o *FlyHTTPOptions) GetResponseOk() (*FlyHTTPResponseOptions, bool)

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

func (*FlyHTTPOptions) HasCompress

func (o *FlyHTTPOptions) HasCompress() bool

HasCompress returns a boolean if a field has been set.

func (*FlyHTTPOptions) HasH2Backend

func (o *FlyHTTPOptions) HasH2Backend() bool

HasH2Backend returns a boolean if a field has been set.

func (*FlyHTTPOptions) HasHeadersReadTimeout

func (o *FlyHTTPOptions) HasHeadersReadTimeout() bool

HasHeadersReadTimeout returns a boolean if a field has been set.

func (*FlyHTTPOptions) HasIdleTimeout

func (o *FlyHTTPOptions) HasIdleTimeout() bool

HasIdleTimeout returns a boolean if a field has been set.

func (*FlyHTTPOptions) HasResponse

func (o *FlyHTTPOptions) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (FlyHTTPOptions) MarshalJSON

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

func (*FlyHTTPOptions) SetCompress

func (o *FlyHTTPOptions) SetCompress(v bool)

SetCompress gets a reference to the given bool and assigns it to the Compress field.

func (*FlyHTTPOptions) SetH2Backend

func (o *FlyHTTPOptions) SetH2Backend(v bool)

SetH2Backend gets a reference to the given bool and assigns it to the H2Backend field.

func (*FlyHTTPOptions) SetHeadersReadTimeout

func (o *FlyHTTPOptions) SetHeadersReadTimeout(v int64)

SetHeadersReadTimeout gets a reference to the given int64 and assigns it to the HeadersReadTimeout field.

func (*FlyHTTPOptions) SetIdleTimeout

func (o *FlyHTTPOptions) SetIdleTimeout(v int64)

SetIdleTimeout gets a reference to the given int64 and assigns it to the IdleTimeout field.

func (*FlyHTTPOptions) SetResponse

func (o *FlyHTTPOptions) SetResponse(v FlyHTTPResponseOptions)

SetResponse gets a reference to the given FlyHTTPResponseOptions and assigns it to the Response field.

func (FlyHTTPOptions) ToMap

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

type FlyHTTPResponseOptions

type FlyHTTPResponseOptions struct {
	Headers  map[string]map[string]interface{} `json:"headers,omitempty"`
	Pristine *bool                             `json:"pristine,omitempty"`
}

FlyHTTPResponseOptions struct for FlyHTTPResponseOptions

func NewFlyHTTPResponseOptions

func NewFlyHTTPResponseOptions() *FlyHTTPResponseOptions

NewFlyHTTPResponseOptions instantiates a new FlyHTTPResponseOptions 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 NewFlyHTTPResponseOptionsWithDefaults

func NewFlyHTTPResponseOptionsWithDefaults() *FlyHTTPResponseOptions

NewFlyHTTPResponseOptionsWithDefaults instantiates a new FlyHTTPResponseOptions 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 (*FlyHTTPResponseOptions) GetHeaders

func (o *FlyHTTPResponseOptions) GetHeaders() map[string]map[string]interface{}

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*FlyHTTPResponseOptions) GetHeadersOk

func (o *FlyHTTPResponseOptions) GetHeadersOk() (map[string]map[string]interface{}, bool)

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

func (*FlyHTTPResponseOptions) GetPristine

func (o *FlyHTTPResponseOptions) GetPristine() bool

GetPristine returns the Pristine field value if set, zero value otherwise.

func (*FlyHTTPResponseOptions) GetPristineOk

func (o *FlyHTTPResponseOptions) GetPristineOk() (*bool, bool)

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

func (*FlyHTTPResponseOptions) HasHeaders

func (o *FlyHTTPResponseOptions) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*FlyHTTPResponseOptions) HasPristine

func (o *FlyHTTPResponseOptions) HasPristine() bool

HasPristine returns a boolean if a field has been set.

func (FlyHTTPResponseOptions) MarshalJSON

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

func (*FlyHTTPResponseOptions) SetHeaders

func (o *FlyHTTPResponseOptions) SetHeaders(v map[string]map[string]interface{})

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

func (*FlyHTTPResponseOptions) SetPristine

func (o *FlyHTTPResponseOptions) SetPristine(v bool)

SetPristine gets a reference to the given bool and assigns it to the Pristine field.

func (FlyHTTPResponseOptions) ToMap

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

type FlyMachineCheck

type FlyMachineCheck struct {
	// The time to wait after a VM starts before checking its health
	GracePeriod *FlyDuration           `json:"grace_period,omitempty"`
	Headers     []FlyMachineHTTPHeader `json:"headers,omitempty"`
	// The time between connectivity checks
	Interval *FlyDuration `json:"interval,omitempty"`
	// Kind of the check (informational, readiness)
	Kind *string `json:"kind,omitempty"`
	// For http checks, the HTTP method to use to when making the request
	Method *string `json:"method,omitempty"`
	// For http checks, the path to send the request to
	Path *string `json:"path,omitempty"`
	// The port to connect to, often the same as internal_port
	Port *int64 `json:"port,omitempty"`
	// For http checks, whether to use http or https
	Protocol *string `json:"protocol,omitempty"`
	// The maximum time a connection can take before being reported as failing its health check
	Timeout *FlyDuration `json:"timeout,omitempty"`
	// If the protocol is https, the hostname to use for TLS certificate validation
	TlsServerName *string `json:"tls_server_name,omitempty"`
	// For http checks with https protocol, whether or not to verify the TLS certificate
	TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
	// tcp or http
	Type *string `json:"type,omitempty"`
}

FlyMachineCheck struct for FlyMachineCheck

func NewFlyMachineCheck

func NewFlyMachineCheck() *FlyMachineCheck

NewFlyMachineCheck instantiates a new FlyMachineCheck 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 NewFlyMachineCheckWithDefaults

func NewFlyMachineCheckWithDefaults() *FlyMachineCheck

NewFlyMachineCheckWithDefaults instantiates a new FlyMachineCheck 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 (*FlyMachineCheck) GetGracePeriod

func (o *FlyMachineCheck) GetGracePeriod() FlyDuration

GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.

func (*FlyMachineCheck) GetGracePeriodOk

func (o *FlyMachineCheck) GetGracePeriodOk() (*FlyDuration, bool)

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

func (*FlyMachineCheck) GetHeaders

func (o *FlyMachineCheck) GetHeaders() []FlyMachineHTTPHeader

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*FlyMachineCheck) GetHeadersOk

func (o *FlyMachineCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)

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

func (*FlyMachineCheck) GetInterval

func (o *FlyMachineCheck) GetInterval() FlyDuration

GetInterval returns the Interval field value if set, zero value otherwise.

func (*FlyMachineCheck) GetIntervalOk

func (o *FlyMachineCheck) GetIntervalOk() (*FlyDuration, bool)

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

func (*FlyMachineCheck) GetKind

func (o *FlyMachineCheck) GetKind() string

GetKind returns the Kind field value if set, zero value otherwise.

func (*FlyMachineCheck) GetKindOk

func (o *FlyMachineCheck) GetKindOk() (*string, bool)

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

func (*FlyMachineCheck) GetMethod

func (o *FlyMachineCheck) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*FlyMachineCheck) GetMethodOk

func (o *FlyMachineCheck) GetMethodOk() (*string, bool)

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

func (*FlyMachineCheck) GetPath

func (o *FlyMachineCheck) GetPath() string

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

func (*FlyMachineCheck) GetPathOk

func (o *FlyMachineCheck) 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 (*FlyMachineCheck) GetPort

func (o *FlyMachineCheck) GetPort() int64

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

func (*FlyMachineCheck) GetPortOk

func (o *FlyMachineCheck) GetPortOk() (*int64, 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 (*FlyMachineCheck) GetProtocol

func (o *FlyMachineCheck) GetProtocol() string

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

func (*FlyMachineCheck) GetProtocolOk

func (o *FlyMachineCheck) 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 (*FlyMachineCheck) GetTimeout

func (o *FlyMachineCheck) GetTimeout() FlyDuration

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*FlyMachineCheck) GetTimeoutOk

func (o *FlyMachineCheck) GetTimeoutOk() (*FlyDuration, bool)

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

func (*FlyMachineCheck) GetTlsServerName

func (o *FlyMachineCheck) GetTlsServerName() string

GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.

func (*FlyMachineCheck) GetTlsServerNameOk

func (o *FlyMachineCheck) GetTlsServerNameOk() (*string, bool)

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

func (*FlyMachineCheck) GetTlsSkipVerify

func (o *FlyMachineCheck) GetTlsSkipVerify() bool

GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.

func (*FlyMachineCheck) GetTlsSkipVerifyOk

func (o *FlyMachineCheck) GetTlsSkipVerifyOk() (*bool, bool)

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

func (*FlyMachineCheck) GetType

func (o *FlyMachineCheck) GetType() string

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

func (*FlyMachineCheck) GetTypeOk

func (o *FlyMachineCheck) GetTypeOk() (*string, 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 (*FlyMachineCheck) HasGracePeriod

func (o *FlyMachineCheck) HasGracePeriod() bool

HasGracePeriod returns a boolean if a field has been set.

func (*FlyMachineCheck) HasHeaders

func (o *FlyMachineCheck) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*FlyMachineCheck) HasInterval

func (o *FlyMachineCheck) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*FlyMachineCheck) HasKind

func (o *FlyMachineCheck) HasKind() bool

HasKind returns a boolean if a field has been set.

func (*FlyMachineCheck) HasMethod

func (o *FlyMachineCheck) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*FlyMachineCheck) HasPath

func (o *FlyMachineCheck) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*FlyMachineCheck) HasPort

func (o *FlyMachineCheck) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*FlyMachineCheck) HasProtocol

func (o *FlyMachineCheck) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*FlyMachineCheck) HasTimeout

func (o *FlyMachineCheck) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*FlyMachineCheck) HasTlsServerName

func (o *FlyMachineCheck) HasTlsServerName() bool

HasTlsServerName returns a boolean if a field has been set.

func (*FlyMachineCheck) HasTlsSkipVerify

func (o *FlyMachineCheck) HasTlsSkipVerify() bool

HasTlsSkipVerify returns a boolean if a field has been set.

func (*FlyMachineCheck) HasType

func (o *FlyMachineCheck) HasType() bool

HasType returns a boolean if a field has been set.

func (FlyMachineCheck) MarshalJSON

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

func (*FlyMachineCheck) SetGracePeriod

func (o *FlyMachineCheck) SetGracePeriod(v FlyDuration)

SetGracePeriod gets a reference to the given FlyDuration and assigns it to the GracePeriod field.

func (*FlyMachineCheck) SetHeaders

func (o *FlyMachineCheck) SetHeaders(v []FlyMachineHTTPHeader)

SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.

func (*FlyMachineCheck) SetInterval

func (o *FlyMachineCheck) SetInterval(v FlyDuration)

SetInterval gets a reference to the given FlyDuration and assigns it to the Interval field.

func (*FlyMachineCheck) SetKind

func (o *FlyMachineCheck) SetKind(v string)

SetKind gets a reference to the given string and assigns it to the Kind field.

func (*FlyMachineCheck) SetMethod

func (o *FlyMachineCheck) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*FlyMachineCheck) SetPath

func (o *FlyMachineCheck) SetPath(v string)

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

func (*FlyMachineCheck) SetPort

func (o *FlyMachineCheck) SetPort(v int64)

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

func (*FlyMachineCheck) SetProtocol

func (o *FlyMachineCheck) SetProtocol(v string)

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

func (*FlyMachineCheck) SetTimeout

func (o *FlyMachineCheck) SetTimeout(v FlyDuration)

SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.

func (*FlyMachineCheck) SetTlsServerName

func (o *FlyMachineCheck) SetTlsServerName(v string)

SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.

func (*FlyMachineCheck) SetTlsSkipVerify

func (o *FlyMachineCheck) SetTlsSkipVerify(v bool)

SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.

func (*FlyMachineCheck) SetType

func (o *FlyMachineCheck) SetType(v string)

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

func (FlyMachineCheck) ToMap

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

type FlyMachineConfig

type FlyMachineConfig struct {
	// Optional boolean telling the Machine to destroy itself once it’s complete (default false)
	AutoDestroy *bool `json:"auto_destroy,omitempty"`
	// An optional object that defines one or more named top-level checks. The key for each check is the check name.
	Checks *map[string]FlyMachineCheck `json:"checks,omitempty"`
	// Containers are a list of containers that will run in the machine. Currently restricted to only specific organizations.
	Containers []FlyContainerConfig `json:"containers,omitempty"`
	// Deprecated: use Service.Autostart instead
	DisableMachineAutostart *bool         `json:"disable_machine_autostart,omitempty"`
	Dns                     *FlyDNSConfig `json:"dns,omitempty"`
	// An object filled with key/value pairs to be set as environment variables
	Env   *map[string]string `json:"env,omitempty"`
	Files []FlyFile          `json:"files,omitempty"`
	Guest *FlyMachineGuest   `json:"guest,omitempty"`
	// The docker image to run
	Image     *string             `json:"image,omitempty"`
	Init      *FlyMachineInit     `json:"init,omitempty"`
	Metadata  *map[string]string  `json:"metadata,omitempty"`
	Metrics   *FlyMachineMetrics  `json:"metrics,omitempty"`
	Processes []FlyMachineProcess `json:"processes,omitempty"`
	Restart   *FlyMachineRestart  `json:"restart,omitempty"`
	Schedule  *string             `json:"schedule,omitempty"`
	Services  []FlyMachineService `json:"services,omitempty"`
	// Deprecated: use Guest instead
	Size *string `json:"size,omitempty"`
	// Standbys enable a machine to be a standby for another. In the event of a hardware failure, the standby machine will be started.
	Standbys   []string       `json:"standbys,omitempty"`
	Statics    []FlyStatic    `json:"statics,omitempty"`
	StopConfig *FlyStopConfig `json:"stop_config,omitempty"`
}

FlyMachineConfig struct for FlyMachineConfig

func NewFlyMachineConfig

func NewFlyMachineConfig() *FlyMachineConfig

NewFlyMachineConfig instantiates a new FlyMachineConfig 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 NewFlyMachineConfigWithDefaults

func NewFlyMachineConfigWithDefaults() *FlyMachineConfig

NewFlyMachineConfigWithDefaults instantiates a new FlyMachineConfig 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 (*FlyMachineConfig) GetAutoDestroy

func (o *FlyMachineConfig) GetAutoDestroy() bool

GetAutoDestroy returns the AutoDestroy field value if set, zero value otherwise.

func (*FlyMachineConfig) GetAutoDestroyOk

func (o *FlyMachineConfig) GetAutoDestroyOk() (*bool, bool)

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

func (*FlyMachineConfig) GetChecks

func (o *FlyMachineConfig) GetChecks() map[string]FlyMachineCheck

GetChecks returns the Checks field value if set, zero value otherwise.

func (*FlyMachineConfig) GetChecksOk

func (o *FlyMachineConfig) GetChecksOk() (*map[string]FlyMachineCheck, bool)

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

func (*FlyMachineConfig) GetContainers

func (o *FlyMachineConfig) GetContainers() []FlyContainerConfig

GetContainers returns the Containers field value if set, zero value otherwise.

func (*FlyMachineConfig) GetContainersOk

func (o *FlyMachineConfig) GetContainersOk() ([]FlyContainerConfig, bool)

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

func (*FlyMachineConfig) GetDisableMachineAutostart

func (o *FlyMachineConfig) GetDisableMachineAutostart() bool

GetDisableMachineAutostart returns the DisableMachineAutostart field value if set, zero value otherwise.

func (*FlyMachineConfig) GetDisableMachineAutostartOk

func (o *FlyMachineConfig) GetDisableMachineAutostartOk() (*bool, bool)

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

func (*FlyMachineConfig) GetDns

func (o *FlyMachineConfig) GetDns() FlyDNSConfig

GetDns returns the Dns field value if set, zero value otherwise.

func (*FlyMachineConfig) GetDnsOk

func (o *FlyMachineConfig) GetDnsOk() (*FlyDNSConfig, bool)

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

func (*FlyMachineConfig) GetEnv

func (o *FlyMachineConfig) GetEnv() map[string]string

GetEnv returns the Env field value if set, zero value otherwise.

func (*FlyMachineConfig) GetEnvOk

func (o *FlyMachineConfig) GetEnvOk() (*map[string]string, bool)

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

func (*FlyMachineConfig) GetFiles

func (o *FlyMachineConfig) GetFiles() []FlyFile

GetFiles returns the Files field value if set, zero value otherwise.

func (*FlyMachineConfig) GetFilesOk

func (o *FlyMachineConfig) GetFilesOk() ([]FlyFile, bool)

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

func (*FlyMachineConfig) GetGuest

func (o *FlyMachineConfig) GetGuest() FlyMachineGuest

GetGuest returns the Guest field value if set, zero value otherwise.

func (*FlyMachineConfig) GetGuestOk

func (o *FlyMachineConfig) GetGuestOk() (*FlyMachineGuest, bool)

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

func (*FlyMachineConfig) GetImage

func (o *FlyMachineConfig) GetImage() string

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

func (*FlyMachineConfig) GetImageOk

func (o *FlyMachineConfig) 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 (*FlyMachineConfig) GetInit

func (o *FlyMachineConfig) GetInit() FlyMachineInit

GetInit returns the Init field value if set, zero value otherwise.

func (*FlyMachineConfig) GetInitOk

func (o *FlyMachineConfig) GetInitOk() (*FlyMachineInit, bool)

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

func (*FlyMachineConfig) GetMetadata

func (o *FlyMachineConfig) GetMetadata() map[string]string

GetMetadata returns the Metadata field value if set, zero value otherwise.

func (*FlyMachineConfig) GetMetadataOk

func (o *FlyMachineConfig) GetMetadataOk() (*map[string]string, bool)

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

func (*FlyMachineConfig) GetMetrics

func (o *FlyMachineConfig) GetMetrics() FlyMachineMetrics

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*FlyMachineConfig) GetMetricsOk

func (o *FlyMachineConfig) GetMetricsOk() (*FlyMachineMetrics, bool)

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

func (*FlyMachineConfig) GetProcesses

func (o *FlyMachineConfig) GetProcesses() []FlyMachineProcess

GetProcesses returns the Processes field value if set, zero value otherwise.

func (*FlyMachineConfig) GetProcessesOk

func (o *FlyMachineConfig) GetProcessesOk() ([]FlyMachineProcess, bool)

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

func (*FlyMachineConfig) GetRestart

func (o *FlyMachineConfig) GetRestart() FlyMachineRestart

GetRestart returns the Restart field value if set, zero value otherwise.

func (*FlyMachineConfig) GetRestartOk

func (o *FlyMachineConfig) GetRestartOk() (*FlyMachineRestart, bool)

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

func (*FlyMachineConfig) GetSchedule

func (o *FlyMachineConfig) GetSchedule() string

GetSchedule returns the Schedule field value if set, zero value otherwise.

func (*FlyMachineConfig) GetScheduleOk

func (o *FlyMachineConfig) GetScheduleOk() (*string, bool)

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

func (*FlyMachineConfig) GetServices

func (o *FlyMachineConfig) GetServices() []FlyMachineService

GetServices returns the Services field value if set, zero value otherwise.

func (*FlyMachineConfig) GetServicesOk

func (o *FlyMachineConfig) GetServicesOk() ([]FlyMachineService, bool)

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

func (*FlyMachineConfig) GetSize

func (o *FlyMachineConfig) GetSize() string

GetSize returns the Size field value if set, zero value otherwise.

func (*FlyMachineConfig) GetSizeOk

func (o *FlyMachineConfig) GetSizeOk() (*string, bool)

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

func (*FlyMachineConfig) GetStandbys

func (o *FlyMachineConfig) GetStandbys() []string

GetStandbys returns the Standbys field value if set, zero value otherwise.

func (*FlyMachineConfig) GetStandbysOk

func (o *FlyMachineConfig) GetStandbysOk() ([]string, bool)

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

func (*FlyMachineConfig) GetStatics

func (o *FlyMachineConfig) GetStatics() []FlyStatic

GetStatics returns the Statics field value if set, zero value otherwise.

func (*FlyMachineConfig) GetStaticsOk

func (o *FlyMachineConfig) GetStaticsOk() ([]FlyStatic, bool)

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

func (*FlyMachineConfig) GetStopConfig

func (o *FlyMachineConfig) GetStopConfig() FlyStopConfig

GetStopConfig returns the StopConfig field value if set, zero value otherwise.

func (*FlyMachineConfig) GetStopConfigOk

func (o *FlyMachineConfig) GetStopConfigOk() (*FlyStopConfig, bool)

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

func (*FlyMachineConfig) HasAutoDestroy

func (o *FlyMachineConfig) HasAutoDestroy() bool

HasAutoDestroy returns a boolean if a field has been set.

func (*FlyMachineConfig) HasChecks

func (o *FlyMachineConfig) HasChecks() bool

HasChecks returns a boolean if a field has been set.

func (*FlyMachineConfig) HasContainers

func (o *FlyMachineConfig) HasContainers() bool

HasContainers returns a boolean if a field has been set.

func (*FlyMachineConfig) HasDisableMachineAutostart

func (o *FlyMachineConfig) HasDisableMachineAutostart() bool

HasDisableMachineAutostart returns a boolean if a field has been set.

func (*FlyMachineConfig) HasDns

func (o *FlyMachineConfig) HasDns() bool

HasDns returns a boolean if a field has been set.

func (*FlyMachineConfig) HasEnv

func (o *FlyMachineConfig) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*FlyMachineConfig) HasFiles

func (o *FlyMachineConfig) HasFiles() bool

HasFiles returns a boolean if a field has been set.

func (*FlyMachineConfig) HasGuest

func (o *FlyMachineConfig) HasGuest() bool

HasGuest returns a boolean if a field has been set.

func (*FlyMachineConfig) HasImage

func (o *FlyMachineConfig) HasImage() bool

HasImage returns a boolean if a field has been set.

func (*FlyMachineConfig) HasInit

func (o *FlyMachineConfig) HasInit() bool

HasInit returns a boolean if a field has been set.

func (*FlyMachineConfig) HasMetadata

func (o *FlyMachineConfig) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

func (*FlyMachineConfig) HasMetrics

func (o *FlyMachineConfig) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*FlyMachineConfig) HasProcesses

func (o *FlyMachineConfig) HasProcesses() bool

HasProcesses returns a boolean if a field has been set.

func (*FlyMachineConfig) HasRestart

func (o *FlyMachineConfig) HasRestart() bool

HasRestart returns a boolean if a field has been set.

func (*FlyMachineConfig) HasSchedule

func (o *FlyMachineConfig) HasSchedule() bool

HasSchedule returns a boolean if a field has been set.

func (*FlyMachineConfig) HasServices

func (o *FlyMachineConfig) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*FlyMachineConfig) HasSize

func (o *FlyMachineConfig) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*FlyMachineConfig) HasStandbys

func (o *FlyMachineConfig) HasStandbys() bool

HasStandbys returns a boolean if a field has been set.

func (*FlyMachineConfig) HasStatics

func (o *FlyMachineConfig) HasStatics() bool

HasStatics returns a boolean if a field has been set.

func (*FlyMachineConfig) HasStopConfig

func (o *FlyMachineConfig) HasStopConfig() bool

HasStopConfig returns a boolean if a field has been set.

func (FlyMachineConfig) MarshalJSON

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

func (*FlyMachineConfig) SetAutoDestroy

func (o *FlyMachineConfig) SetAutoDestroy(v bool)

SetAutoDestroy gets a reference to the given bool and assigns it to the AutoDestroy field.

func (*FlyMachineConfig) SetChecks

func (o *FlyMachineConfig) SetChecks(v map[string]FlyMachineCheck)

SetChecks gets a reference to the given map[string]FlyMachineCheck and assigns it to the Checks field.

func (*FlyMachineConfig) SetContainers

func (o *FlyMachineConfig) SetContainers(v []FlyContainerConfig)

SetContainers gets a reference to the given []FlyContainerConfig and assigns it to the Containers field.

func (*FlyMachineConfig) SetDisableMachineAutostart

func (o *FlyMachineConfig) SetDisableMachineAutostart(v bool)

SetDisableMachineAutostart gets a reference to the given bool and assigns it to the DisableMachineAutostart field.

func (*FlyMachineConfig) SetDns

func (o *FlyMachineConfig) SetDns(v FlyDNSConfig)

SetDns gets a reference to the given FlyDNSConfig and assigns it to the Dns field.

func (*FlyMachineConfig) SetEnv

func (o *FlyMachineConfig) SetEnv(v map[string]string)

SetEnv gets a reference to the given map[string]string and assigns it to the Env field.

func (*FlyMachineConfig) SetFiles

func (o *FlyMachineConfig) SetFiles(v []FlyFile)

SetFiles gets a reference to the given []FlyFile and assigns it to the Files field.

func (*FlyMachineConfig) SetGuest

func (o *FlyMachineConfig) SetGuest(v FlyMachineGuest)

SetGuest gets a reference to the given FlyMachineGuest and assigns it to the Guest field.

func (*FlyMachineConfig) SetImage

func (o *FlyMachineConfig) SetImage(v string)

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

func (*FlyMachineConfig) SetInit

func (o *FlyMachineConfig) SetInit(v FlyMachineInit)

SetInit gets a reference to the given FlyMachineInit and assigns it to the Init field.

func (*FlyMachineConfig) SetMetadata

func (o *FlyMachineConfig) SetMetadata(v map[string]string)

SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.

func (*FlyMachineConfig) SetMetrics

func (o *FlyMachineConfig) SetMetrics(v FlyMachineMetrics)

SetMetrics gets a reference to the given FlyMachineMetrics and assigns it to the Metrics field.

func (*FlyMachineConfig) SetProcesses

func (o *FlyMachineConfig) SetProcesses(v []FlyMachineProcess)

SetProcesses gets a reference to the given []FlyMachineProcess and assigns it to the Processes field.

func (*FlyMachineConfig) SetRestart

func (o *FlyMachineConfig) SetRestart(v FlyMachineRestart)

SetRestart gets a reference to the given FlyMachineRestart and assigns it to the Restart field.

func (*FlyMachineConfig) SetSchedule

func (o *FlyMachineConfig) SetSchedule(v string)

SetSchedule gets a reference to the given string and assigns it to the Schedule field.

func (*FlyMachineConfig) SetServices

func (o *FlyMachineConfig) SetServices(v []FlyMachineService)

SetServices gets a reference to the given []FlyMachineService and assigns it to the Services field.

func (*FlyMachineConfig) SetSize

func (o *FlyMachineConfig) SetSize(v string)

SetSize gets a reference to the given string and assigns it to the Size field.

func (*FlyMachineConfig) SetStandbys

func (o *FlyMachineConfig) SetStandbys(v []string)

SetStandbys gets a reference to the given []string and assigns it to the Standbys field.

func (*FlyMachineConfig) SetStatics

func (o *FlyMachineConfig) SetStatics(v []FlyStatic)

SetStatics gets a reference to the given []FlyStatic and assigns it to the Statics field.

func (*FlyMachineConfig) SetStopConfig

func (o *FlyMachineConfig) SetStopConfig(v FlyStopConfig)

SetStopConfig gets a reference to the given FlyStopConfig and assigns it to the StopConfig field.

func (FlyMachineConfig) ToMap

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

type FlyMachineGuest

type FlyMachineGuest struct {
	CpuKind          *string  `json:"cpu_kind,omitempty"`
	Cpus             *int64   `json:"cpus,omitempty"`
	GpuKind          *string  `json:"gpu_kind,omitempty"`
	Gpus             *int64   `json:"gpus,omitempty"`
	HostDedicationId *string  `json:"host_dedication_id,omitempty"`
	KernelArgs       []string `json:"kernel_args,omitempty"`
	MemoryMb         *int64   `json:"memory_mb,omitempty"`
}

FlyMachineGuest struct for FlyMachineGuest

func NewFlyMachineGuest

func NewFlyMachineGuest() *FlyMachineGuest

NewFlyMachineGuest instantiates a new FlyMachineGuest 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 NewFlyMachineGuestWithDefaults

func NewFlyMachineGuestWithDefaults() *FlyMachineGuest

NewFlyMachineGuestWithDefaults instantiates a new FlyMachineGuest 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 (*FlyMachineGuest) GetCpuKind

func (o *FlyMachineGuest) GetCpuKind() string

GetCpuKind returns the CpuKind field value if set, zero value otherwise.

func (*FlyMachineGuest) GetCpuKindOk

func (o *FlyMachineGuest) GetCpuKindOk() (*string, bool)

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

func (*FlyMachineGuest) GetCpus

func (o *FlyMachineGuest) GetCpus() int64

GetCpus returns the Cpus field value if set, zero value otherwise.

func (*FlyMachineGuest) GetCpusOk

func (o *FlyMachineGuest) GetCpusOk() (*int64, bool)

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

func (*FlyMachineGuest) GetGpuKind

func (o *FlyMachineGuest) GetGpuKind() string

GetGpuKind returns the GpuKind field value if set, zero value otherwise.

func (*FlyMachineGuest) GetGpuKindOk

func (o *FlyMachineGuest) GetGpuKindOk() (*string, bool)

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

func (*FlyMachineGuest) GetGpus

func (o *FlyMachineGuest) GetGpus() int64

GetGpus returns the Gpus field value if set, zero value otherwise.

func (*FlyMachineGuest) GetGpusOk

func (o *FlyMachineGuest) GetGpusOk() (*int64, bool)

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

func (*FlyMachineGuest) GetHostDedicationId

func (o *FlyMachineGuest) GetHostDedicationId() string

GetHostDedicationId returns the HostDedicationId field value if set, zero value otherwise.

func (*FlyMachineGuest) GetHostDedicationIdOk

func (o *FlyMachineGuest) GetHostDedicationIdOk() (*string, bool)

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

func (*FlyMachineGuest) GetKernelArgs

func (o *FlyMachineGuest) GetKernelArgs() []string

GetKernelArgs returns the KernelArgs field value if set, zero value otherwise.

func (*FlyMachineGuest) GetKernelArgsOk

func (o *FlyMachineGuest) GetKernelArgsOk() ([]string, bool)

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

func (*FlyMachineGuest) GetMemoryMb

func (o *FlyMachineGuest) GetMemoryMb() int64

GetMemoryMb returns the MemoryMb field value if set, zero value otherwise.

func (*FlyMachineGuest) GetMemoryMbOk

func (o *FlyMachineGuest) GetMemoryMbOk() (*int64, bool)

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

func (*FlyMachineGuest) HasCpuKind

func (o *FlyMachineGuest) HasCpuKind() bool

HasCpuKind returns a boolean if a field has been set.

func (*FlyMachineGuest) HasCpus

func (o *FlyMachineGuest) HasCpus() bool

HasCpus returns a boolean if a field has been set.

func (*FlyMachineGuest) HasGpuKind

func (o *FlyMachineGuest) HasGpuKind() bool

HasGpuKind returns a boolean if a field has been set.

func (*FlyMachineGuest) HasGpus

func (o *FlyMachineGuest) HasGpus() bool

HasGpus returns a boolean if a field has been set.

func (*FlyMachineGuest) HasHostDedicationId

func (o *FlyMachineGuest) HasHostDedicationId() bool

HasHostDedicationId returns a boolean if a field has been set.

func (*FlyMachineGuest) HasKernelArgs

func (o *FlyMachineGuest) HasKernelArgs() bool

HasKernelArgs returns a boolean if a field has been set.

func (*FlyMachineGuest) HasMemoryMb

func (o *FlyMachineGuest) HasMemoryMb() bool

HasMemoryMb returns a boolean if a field has been set.

func (FlyMachineGuest) MarshalJSON

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

func (*FlyMachineGuest) SetCpuKind

func (o *FlyMachineGuest) SetCpuKind(v string)

SetCpuKind gets a reference to the given string and assigns it to the CpuKind field.

func (*FlyMachineGuest) SetCpus

func (o *FlyMachineGuest) SetCpus(v int64)

SetCpus gets a reference to the given int64 and assigns it to the Cpus field.

func (*FlyMachineGuest) SetGpuKind

func (o *FlyMachineGuest) SetGpuKind(v string)

SetGpuKind gets a reference to the given string and assigns it to the GpuKind field.

func (*FlyMachineGuest) SetGpus

func (o *FlyMachineGuest) SetGpus(v int64)

SetGpus gets a reference to the given int64 and assigns it to the Gpus field.

func (*FlyMachineGuest) SetHostDedicationId

func (o *FlyMachineGuest) SetHostDedicationId(v string)

SetHostDedicationId gets a reference to the given string and assigns it to the HostDedicationId field.

func (*FlyMachineGuest) SetKernelArgs

func (o *FlyMachineGuest) SetKernelArgs(v []string)

SetKernelArgs gets a reference to the given []string and assigns it to the KernelArgs field.

func (*FlyMachineGuest) SetMemoryMb

func (o *FlyMachineGuest) SetMemoryMb(v int64)

SetMemoryMb gets a reference to the given int64 and assigns it to the MemoryMb field.

func (FlyMachineGuest) ToMap

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

type FlyMachineHTTPHeader

type FlyMachineHTTPHeader struct {
	// The header name
	Name *string `json:"name,omitempty"`
	// The header value
	Values []string `json:"values,omitempty"`
}

FlyMachineHTTPHeader For http checks, an array of objects with string field Name and array of strings field Values. The key/value pairs specify header and header values that will get passed with the check call.

func NewFlyMachineHTTPHeader

func NewFlyMachineHTTPHeader() *FlyMachineHTTPHeader

NewFlyMachineHTTPHeader instantiates a new FlyMachineHTTPHeader 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 NewFlyMachineHTTPHeaderWithDefaults

func NewFlyMachineHTTPHeaderWithDefaults() *FlyMachineHTTPHeader

NewFlyMachineHTTPHeaderWithDefaults instantiates a new FlyMachineHTTPHeader 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 (*FlyMachineHTTPHeader) GetName

func (o *FlyMachineHTTPHeader) GetName() string

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

func (*FlyMachineHTTPHeader) GetNameOk

func (o *FlyMachineHTTPHeader) 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 (*FlyMachineHTTPHeader) GetValues

func (o *FlyMachineHTTPHeader) GetValues() []string

GetValues returns the Values field value if set, zero value otherwise.

func (*FlyMachineHTTPHeader) GetValuesOk

func (o *FlyMachineHTTPHeader) GetValuesOk() ([]string, bool)

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

func (*FlyMachineHTTPHeader) HasName

func (o *FlyMachineHTTPHeader) HasName() bool

HasName returns a boolean if a field has been set.

func (*FlyMachineHTTPHeader) HasValues

func (o *FlyMachineHTTPHeader) HasValues() bool

HasValues returns a boolean if a field has been set.

func (FlyMachineHTTPHeader) MarshalJSON

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

func (*FlyMachineHTTPHeader) SetName

func (o *FlyMachineHTTPHeader) SetName(v string)

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

func (*FlyMachineHTTPHeader) SetValues

func (o *FlyMachineHTTPHeader) SetValues(v []string)

SetValues gets a reference to the given []string and assigns it to the Values field.

func (FlyMachineHTTPHeader) ToMap

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

type FlyMachineInit

type FlyMachineInit struct {
	Cmd        []string `json:"cmd,omitempty"`
	Entrypoint []string `json:"entrypoint,omitempty"`
	Exec       []string `json:"exec,omitempty"`
	KernelArgs []string `json:"kernel_args,omitempty"`
	SwapSizeMb *int64   `json:"swap_size_mb,omitempty"`
	Tty        *bool    `json:"tty,omitempty"`
}

FlyMachineInit struct for FlyMachineInit

func NewFlyMachineInit

func NewFlyMachineInit() *FlyMachineInit

NewFlyMachineInit instantiates a new FlyMachineInit 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 NewFlyMachineInitWithDefaults

func NewFlyMachineInitWithDefaults() *FlyMachineInit

NewFlyMachineInitWithDefaults instantiates a new FlyMachineInit 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 (*FlyMachineInit) GetCmd

func (o *FlyMachineInit) GetCmd() []string

GetCmd returns the Cmd field value if set, zero value otherwise.

func (*FlyMachineInit) GetCmdOk

func (o *FlyMachineInit) GetCmdOk() ([]string, bool)

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

func (*FlyMachineInit) GetEntrypoint

func (o *FlyMachineInit) GetEntrypoint() []string

GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.

func (*FlyMachineInit) GetEntrypointOk

func (o *FlyMachineInit) GetEntrypointOk() ([]string, bool)

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

func (*FlyMachineInit) GetExec

func (o *FlyMachineInit) GetExec() []string

GetExec returns the Exec field value if set, zero value otherwise.

func (*FlyMachineInit) GetExecOk

func (o *FlyMachineInit) GetExecOk() ([]string, bool)

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

func (*FlyMachineInit) GetKernelArgs

func (o *FlyMachineInit) GetKernelArgs() []string

GetKernelArgs returns the KernelArgs field value if set, zero value otherwise.

func (*FlyMachineInit) GetKernelArgsOk

func (o *FlyMachineInit) GetKernelArgsOk() ([]string, bool)

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

func (*FlyMachineInit) GetSwapSizeMb

func (o *FlyMachineInit) GetSwapSizeMb() int64

GetSwapSizeMb returns the SwapSizeMb field value if set, zero value otherwise.

func (*FlyMachineInit) GetSwapSizeMbOk

func (o *FlyMachineInit) GetSwapSizeMbOk() (*int64, bool)

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

func (*FlyMachineInit) GetTty

func (o *FlyMachineInit) GetTty() bool

GetTty returns the Tty field value if set, zero value otherwise.

func (*FlyMachineInit) GetTtyOk

func (o *FlyMachineInit) GetTtyOk() (*bool, bool)

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

func (*FlyMachineInit) HasCmd

func (o *FlyMachineInit) HasCmd() bool

HasCmd returns a boolean if a field has been set.

func (*FlyMachineInit) HasEntrypoint

func (o *FlyMachineInit) HasEntrypoint() bool

HasEntrypoint returns a boolean if a field has been set.

func (*FlyMachineInit) HasExec

func (o *FlyMachineInit) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*FlyMachineInit) HasKernelArgs

func (o *FlyMachineInit) HasKernelArgs() bool

HasKernelArgs returns a boolean if a field has been set.

func (*FlyMachineInit) HasSwapSizeMb

func (o *FlyMachineInit) HasSwapSizeMb() bool

HasSwapSizeMb returns a boolean if a field has been set.

func (*FlyMachineInit) HasTty

func (o *FlyMachineInit) HasTty() bool

HasTty returns a boolean if a field has been set.

func (FlyMachineInit) MarshalJSON

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

func (*FlyMachineInit) SetCmd

func (o *FlyMachineInit) SetCmd(v []string)

SetCmd gets a reference to the given []string and assigns it to the Cmd field.

func (*FlyMachineInit) SetEntrypoint

func (o *FlyMachineInit) SetEntrypoint(v []string)

SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.

func (*FlyMachineInit) SetExec

func (o *FlyMachineInit) SetExec(v []string)

SetExec gets a reference to the given []string and assigns it to the Exec field.

func (*FlyMachineInit) SetKernelArgs

func (o *FlyMachineInit) SetKernelArgs(v []string)

SetKernelArgs gets a reference to the given []string and assigns it to the KernelArgs field.

func (*FlyMachineInit) SetSwapSizeMb

func (o *FlyMachineInit) SetSwapSizeMb(v int64)

SetSwapSizeMb gets a reference to the given int64 and assigns it to the SwapSizeMb field.

func (*FlyMachineInit) SetTty

func (o *FlyMachineInit) SetTty(v bool)

SetTty gets a reference to the given bool and assigns it to the Tty field.

func (FlyMachineInit) ToMap

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

type FlyMachineMetrics

type FlyMachineMetrics struct {
	Https *bool   `json:"https,omitempty"`
	Path  *string `json:"path,omitempty"`
	Port  *int64  `json:"port,omitempty"`
}

FlyMachineMetrics struct for FlyMachineMetrics

func NewFlyMachineMetrics

func NewFlyMachineMetrics() *FlyMachineMetrics

NewFlyMachineMetrics instantiates a new FlyMachineMetrics 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 NewFlyMachineMetricsWithDefaults

func NewFlyMachineMetricsWithDefaults() *FlyMachineMetrics

NewFlyMachineMetricsWithDefaults instantiates a new FlyMachineMetrics 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 (*FlyMachineMetrics) GetHttps

func (o *FlyMachineMetrics) GetHttps() bool

GetHttps returns the Https field value if set, zero value otherwise.

func (*FlyMachineMetrics) GetHttpsOk

func (o *FlyMachineMetrics) GetHttpsOk() (*bool, bool)

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

func (*FlyMachineMetrics) GetPath

func (o *FlyMachineMetrics) GetPath() string

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

func (*FlyMachineMetrics) GetPathOk

func (o *FlyMachineMetrics) 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 (*FlyMachineMetrics) GetPort

func (o *FlyMachineMetrics) GetPort() int64

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

func (*FlyMachineMetrics) GetPortOk

func (o *FlyMachineMetrics) GetPortOk() (*int64, 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 (*FlyMachineMetrics) HasHttps

func (o *FlyMachineMetrics) HasHttps() bool

HasHttps returns a boolean if a field has been set.

func (*FlyMachineMetrics) HasPath

func (o *FlyMachineMetrics) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*FlyMachineMetrics) HasPort

func (o *FlyMachineMetrics) HasPort() bool

HasPort returns a boolean if a field has been set.

func (FlyMachineMetrics) MarshalJSON

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

func (*FlyMachineMetrics) SetHttps

func (o *FlyMachineMetrics) SetHttps(v bool)

SetHttps gets a reference to the given bool and assigns it to the Https field.

func (*FlyMachineMetrics) SetPath

func (o *FlyMachineMetrics) SetPath(v string)

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

func (*FlyMachineMetrics) SetPort

func (o *FlyMachineMetrics) SetPort(v int64)

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

func (FlyMachineMetrics) ToMap

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

type FlyMachinePort

type FlyMachinePort struct {
	EndPort           *int64                `json:"end_port,omitempty"`
	ForceHttps        *bool                 `json:"force_https,omitempty"`
	Handlers          []string              `json:"handlers,omitempty"`
	HttpOptions       *FlyHTTPOptions       `json:"http_options,omitempty"`
	Port              *int64                `json:"port,omitempty"`
	ProxyProtoOptions *FlyProxyProtoOptions `json:"proxy_proto_options,omitempty"`
	StartPort         *int64                `json:"start_port,omitempty"`
	TlsOptions        *FlyTLSOptions        `json:"tls_options,omitempty"`
}

FlyMachinePort struct for FlyMachinePort

func NewFlyMachinePort

func NewFlyMachinePort() *FlyMachinePort

NewFlyMachinePort instantiates a new FlyMachinePort 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 NewFlyMachinePortWithDefaults

func NewFlyMachinePortWithDefaults() *FlyMachinePort

NewFlyMachinePortWithDefaults instantiates a new FlyMachinePort 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 (*FlyMachinePort) GetEndPort

func (o *FlyMachinePort) GetEndPort() int64

GetEndPort returns the EndPort field value if set, zero value otherwise.

func (*FlyMachinePort) GetEndPortOk

func (o *FlyMachinePort) GetEndPortOk() (*int64, bool)

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

func (*FlyMachinePort) GetForceHttps

func (o *FlyMachinePort) GetForceHttps() bool

GetForceHttps returns the ForceHttps field value if set, zero value otherwise.

func (*FlyMachinePort) GetForceHttpsOk

func (o *FlyMachinePort) GetForceHttpsOk() (*bool, bool)

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

func (*FlyMachinePort) GetHandlers

func (o *FlyMachinePort) GetHandlers() []string

GetHandlers returns the Handlers field value if set, zero value otherwise.

func (*FlyMachinePort) GetHandlersOk

func (o *FlyMachinePort) GetHandlersOk() ([]string, bool)

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

func (*FlyMachinePort) GetHttpOptions

func (o *FlyMachinePort) GetHttpOptions() FlyHTTPOptions

GetHttpOptions returns the HttpOptions field value if set, zero value otherwise.

func (*FlyMachinePort) GetHttpOptionsOk

func (o *FlyMachinePort) GetHttpOptionsOk() (*FlyHTTPOptions, bool)

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

func (*FlyMachinePort) GetPort

func (o *FlyMachinePort) GetPort() int64

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

func (*FlyMachinePort) GetPortOk

func (o *FlyMachinePort) GetPortOk() (*int64, 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 (*FlyMachinePort) GetProxyProtoOptions

func (o *FlyMachinePort) GetProxyProtoOptions() FlyProxyProtoOptions

GetProxyProtoOptions returns the ProxyProtoOptions field value if set, zero value otherwise.

func (*FlyMachinePort) GetProxyProtoOptionsOk

func (o *FlyMachinePort) GetProxyProtoOptionsOk() (*FlyProxyProtoOptions, bool)

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

func (*FlyMachinePort) GetStartPort

func (o *FlyMachinePort) GetStartPort() int64

GetStartPort returns the StartPort field value if set, zero value otherwise.

func (*FlyMachinePort) GetStartPortOk

func (o *FlyMachinePort) GetStartPortOk() (*int64, bool)

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

func (*FlyMachinePort) GetTlsOptions

func (o *FlyMachinePort) GetTlsOptions() FlyTLSOptions

GetTlsOptions returns the TlsOptions field value if set, zero value otherwise.

func (*FlyMachinePort) GetTlsOptionsOk

func (o *FlyMachinePort) GetTlsOptionsOk() (*FlyTLSOptions, bool)

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

func (*FlyMachinePort) HasEndPort

func (o *FlyMachinePort) HasEndPort() bool

HasEndPort returns a boolean if a field has been set.

func (*FlyMachinePort) HasForceHttps

func (o *FlyMachinePort) HasForceHttps() bool

HasForceHttps returns a boolean if a field has been set.

func (*FlyMachinePort) HasHandlers

func (o *FlyMachinePort) HasHandlers() bool

HasHandlers returns a boolean if a field has been set.

func (*FlyMachinePort) HasHttpOptions

func (o *FlyMachinePort) HasHttpOptions() bool

HasHttpOptions returns a boolean if a field has been set.

func (*FlyMachinePort) HasPort

func (o *FlyMachinePort) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*FlyMachinePort) HasProxyProtoOptions

func (o *FlyMachinePort) HasProxyProtoOptions() bool

HasProxyProtoOptions returns a boolean if a field has been set.

func (*FlyMachinePort) HasStartPort

func (o *FlyMachinePort) HasStartPort() bool

HasStartPort returns a boolean if a field has been set.

func (*FlyMachinePort) HasTlsOptions

func (o *FlyMachinePort) HasTlsOptions() bool

HasTlsOptions returns a boolean if a field has been set.

func (FlyMachinePort) MarshalJSON

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

func (*FlyMachinePort) SetEndPort

func (o *FlyMachinePort) SetEndPort(v int64)

SetEndPort gets a reference to the given int64 and assigns it to the EndPort field.

func (*FlyMachinePort) SetForceHttps

func (o *FlyMachinePort) SetForceHttps(v bool)

SetForceHttps gets a reference to the given bool and assigns it to the ForceHttps field.

func (*FlyMachinePort) SetHandlers

func (o *FlyMachinePort) SetHandlers(v []string)

SetHandlers gets a reference to the given []string and assigns it to the Handlers field.

func (*FlyMachinePort) SetHttpOptions

func (o *FlyMachinePort) SetHttpOptions(v FlyHTTPOptions)

SetHttpOptions gets a reference to the given FlyHTTPOptions and assigns it to the HttpOptions field.

func (*FlyMachinePort) SetPort

func (o *FlyMachinePort) SetPort(v int64)

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

func (*FlyMachinePort) SetProxyProtoOptions

func (o *FlyMachinePort) SetProxyProtoOptions(v FlyProxyProtoOptions)

SetProxyProtoOptions gets a reference to the given FlyProxyProtoOptions and assigns it to the ProxyProtoOptions field.

func (*FlyMachinePort) SetStartPort

func (o *FlyMachinePort) SetStartPort(v int64)

SetStartPort gets a reference to the given int64 and assigns it to the StartPort field.

func (*FlyMachinePort) SetTlsOptions

func (o *FlyMachinePort) SetTlsOptions(v FlyTLSOptions)

SetTlsOptions gets a reference to the given FlyTLSOptions and assigns it to the TlsOptions field.

func (FlyMachinePort) ToMap

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

type FlyMachineProcess

type FlyMachineProcess struct {
	Cmd        []string           `json:"cmd,omitempty"`
	Entrypoint []string           `json:"entrypoint,omitempty"`
	Env        *map[string]string `json:"env,omitempty"`
	// EnvFrom can be provided to set environment variables from machine fields.
	EnvFrom []FlyEnvFrom `json:"env_from,omitempty"`
	Exec    []string     `json:"exec,omitempty"`
	// IgnoreAppSecrets can be set to true to ignore the secrets for the App the Machine belongs to and only use the secrets provided at the process level. The default/legacy behavior is to use the secrets provided at the App level.
	IgnoreAppSecrets *bool `json:"ignore_app_secrets,omitempty"`
	// Secrets can be provided at the process level to explicitly indicate which secrets should be used for the process. If not provided, the secrets provided at the machine level will be used.
	Secrets []FlyMachineSecret `json:"secrets,omitempty"`
	User    *string            `json:"user,omitempty"`
}

FlyMachineProcess struct for FlyMachineProcess

func NewFlyMachineProcess

func NewFlyMachineProcess() *FlyMachineProcess

NewFlyMachineProcess instantiates a new FlyMachineProcess 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 NewFlyMachineProcessWithDefaults

func NewFlyMachineProcessWithDefaults() *FlyMachineProcess

NewFlyMachineProcessWithDefaults instantiates a new FlyMachineProcess 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 (*FlyMachineProcess) GetCmd

func (o *FlyMachineProcess) GetCmd() []string

GetCmd returns the Cmd field value if set, zero value otherwise.

func (*FlyMachineProcess) GetCmdOk

func (o *FlyMachineProcess) GetCmdOk() ([]string, bool)

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

func (*FlyMachineProcess) GetEntrypoint

func (o *FlyMachineProcess) GetEntrypoint() []string

GetEntrypoint returns the Entrypoint field value if set, zero value otherwise.

func (*FlyMachineProcess) GetEntrypointOk

func (o *FlyMachineProcess) GetEntrypointOk() ([]string, bool)

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

func (*FlyMachineProcess) GetEnv

func (o *FlyMachineProcess) GetEnv() map[string]string

GetEnv returns the Env field value if set, zero value otherwise.

func (*FlyMachineProcess) GetEnvFrom

func (o *FlyMachineProcess) GetEnvFrom() []FlyEnvFrom

GetEnvFrom returns the EnvFrom field value if set, zero value otherwise.

func (*FlyMachineProcess) GetEnvFromOk

func (o *FlyMachineProcess) GetEnvFromOk() ([]FlyEnvFrom, bool)

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

func (*FlyMachineProcess) GetEnvOk

func (o *FlyMachineProcess) GetEnvOk() (*map[string]string, bool)

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

func (*FlyMachineProcess) GetExec

func (o *FlyMachineProcess) GetExec() []string

GetExec returns the Exec field value if set, zero value otherwise.

func (*FlyMachineProcess) GetExecOk

func (o *FlyMachineProcess) GetExecOk() ([]string, bool)

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

func (*FlyMachineProcess) GetIgnoreAppSecrets

func (o *FlyMachineProcess) GetIgnoreAppSecrets() bool

GetIgnoreAppSecrets returns the IgnoreAppSecrets field value if set, zero value otherwise.

func (*FlyMachineProcess) GetIgnoreAppSecretsOk

func (o *FlyMachineProcess) GetIgnoreAppSecretsOk() (*bool, bool)

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

func (*FlyMachineProcess) GetSecrets

func (o *FlyMachineProcess) GetSecrets() []FlyMachineSecret

GetSecrets returns the Secrets field value if set, zero value otherwise.

func (*FlyMachineProcess) GetSecretsOk

func (o *FlyMachineProcess) GetSecretsOk() ([]FlyMachineSecret, bool)

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

func (*FlyMachineProcess) GetUser

func (o *FlyMachineProcess) GetUser() string

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

func (*FlyMachineProcess) GetUserOk

func (o *FlyMachineProcess) 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 (*FlyMachineProcess) HasCmd

func (o *FlyMachineProcess) HasCmd() bool

HasCmd returns a boolean if a field has been set.

func (*FlyMachineProcess) HasEntrypoint

func (o *FlyMachineProcess) HasEntrypoint() bool

HasEntrypoint returns a boolean if a field has been set.

func (*FlyMachineProcess) HasEnv

func (o *FlyMachineProcess) HasEnv() bool

HasEnv returns a boolean if a field has been set.

func (*FlyMachineProcess) HasEnvFrom

func (o *FlyMachineProcess) HasEnvFrom() bool

HasEnvFrom returns a boolean if a field has been set.

func (*FlyMachineProcess) HasExec

func (o *FlyMachineProcess) HasExec() bool

HasExec returns a boolean if a field has been set.

func (*FlyMachineProcess) HasIgnoreAppSecrets

func (o *FlyMachineProcess) HasIgnoreAppSecrets() bool

HasIgnoreAppSecrets returns a boolean if a field has been set.

func (*FlyMachineProcess) HasSecrets

func (o *FlyMachineProcess) HasSecrets() bool

HasSecrets returns a boolean if a field has been set.

func (*FlyMachineProcess) HasUser

func (o *FlyMachineProcess) HasUser() bool

HasUser returns a boolean if a field has been set.

func (FlyMachineProcess) MarshalJSON

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

func (*FlyMachineProcess) SetCmd

func (o *FlyMachineProcess) SetCmd(v []string)

SetCmd gets a reference to the given []string and assigns it to the Cmd field.

func (*FlyMachineProcess) SetEntrypoint

func (o *FlyMachineProcess) SetEntrypoint(v []string)

SetEntrypoint gets a reference to the given []string and assigns it to the Entrypoint field.

func (*FlyMachineProcess) SetEnv

func (o *FlyMachineProcess) SetEnv(v map[string]string)

SetEnv gets a reference to the given map[string]string and assigns it to the Env field.

func (*FlyMachineProcess) SetEnvFrom

func (o *FlyMachineProcess) SetEnvFrom(v []FlyEnvFrom)

SetEnvFrom gets a reference to the given []FlyEnvFrom and assigns it to the EnvFrom field.

func (*FlyMachineProcess) SetExec

func (o *FlyMachineProcess) SetExec(v []string)

SetExec gets a reference to the given []string and assigns it to the Exec field.

func (*FlyMachineProcess) SetIgnoreAppSecrets

func (o *FlyMachineProcess) SetIgnoreAppSecrets(v bool)

SetIgnoreAppSecrets gets a reference to the given bool and assigns it to the IgnoreAppSecrets field.

func (*FlyMachineProcess) SetSecrets

func (o *FlyMachineProcess) SetSecrets(v []FlyMachineSecret)

SetSecrets gets a reference to the given []FlyMachineSecret and assigns it to the Secrets field.

func (*FlyMachineProcess) SetUser

func (o *FlyMachineProcess) SetUser(v string)

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

func (FlyMachineProcess) ToMap

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

type FlyMachineRestart

type FlyMachineRestart struct {
	// GPU bid price for spot Machines.
	GpuBidPrice *float32 `json:"gpu_bid_price,omitempty"`
	// When policy is on-failure, the maximum number of times to attempt to restart the Machine before letting it stop.
	MaxRetries *int64 `json:"max_retries,omitempty"`
	// * no - Never try to restart a Machine automatically when its main process exits, whether that’s on purpose or on a crash. * always - Always restart a Machine automatically and never let it enter a stopped state, even when the main process exits cleanly. * on-failure - Try up to MaxRetries times to automatically restart the Machine if it exits with a non-zero exit code. Default when no explicit policy is set, and for Machines with schedules. * spot-price - Starts the Machine only when there is capacity and the spot price is less than or equal to the bid price.
	Policy *string `json:"policy,omitempty"`
}

FlyMachineRestart The Machine restart policy defines whether and how flyd restarts a Machine after its main process exits. See https://fly.io/docs/machines/guides-examples/machine-restart-policy/.

func NewFlyMachineRestart

func NewFlyMachineRestart() *FlyMachineRestart

NewFlyMachineRestart instantiates a new FlyMachineRestart 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 NewFlyMachineRestartWithDefaults

func NewFlyMachineRestartWithDefaults() *FlyMachineRestart

NewFlyMachineRestartWithDefaults instantiates a new FlyMachineRestart 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 (*FlyMachineRestart) GetGpuBidPrice

func (o *FlyMachineRestart) GetGpuBidPrice() float32

GetGpuBidPrice returns the GpuBidPrice field value if set, zero value otherwise.

func (*FlyMachineRestart) GetGpuBidPriceOk

func (o *FlyMachineRestart) GetGpuBidPriceOk() (*float32, bool)

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

func (*FlyMachineRestart) GetMaxRetries

func (o *FlyMachineRestart) GetMaxRetries() int64

GetMaxRetries returns the MaxRetries field value if set, zero value otherwise.

func (*FlyMachineRestart) GetMaxRetriesOk

func (o *FlyMachineRestart) GetMaxRetriesOk() (*int64, bool)

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

func (*FlyMachineRestart) GetPolicy

func (o *FlyMachineRestart) GetPolicy() string

GetPolicy returns the Policy field value if set, zero value otherwise.

func (*FlyMachineRestart) GetPolicyOk

func (o *FlyMachineRestart) GetPolicyOk() (*string, bool)

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

func (*FlyMachineRestart) HasGpuBidPrice

func (o *FlyMachineRestart) HasGpuBidPrice() bool

HasGpuBidPrice returns a boolean if a field has been set.

func (*FlyMachineRestart) HasMaxRetries

func (o *FlyMachineRestart) HasMaxRetries() bool

HasMaxRetries returns a boolean if a field has been set.

func (*FlyMachineRestart) HasPolicy

func (o *FlyMachineRestart) HasPolicy() bool

HasPolicy returns a boolean if a field has been set.

func (FlyMachineRestart) MarshalJSON

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

func (*FlyMachineRestart) SetGpuBidPrice

func (o *FlyMachineRestart) SetGpuBidPrice(v float32)

SetGpuBidPrice gets a reference to the given float32 and assigns it to the GpuBidPrice field.

func (*FlyMachineRestart) SetMaxRetries

func (o *FlyMachineRestart) SetMaxRetries(v int64)

SetMaxRetries gets a reference to the given int64 and assigns it to the MaxRetries field.

func (*FlyMachineRestart) SetPolicy

func (o *FlyMachineRestart) SetPolicy(v string)

SetPolicy gets a reference to the given string and assigns it to the Policy field.

func (FlyMachineRestart) ToMap

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

type FlyMachineSecret

type FlyMachineSecret struct {
	// EnvVar is required and is the name of the environment variable that will be set from the secret. It must be a valid environment variable name.
	EnvVar *string `json:"env_var,omitempty"`
	// Name is optional and when provided is used to reference a secret name where the EnvVar is different from what was set as the secret name.
	Name *string `json:"name,omitempty"`
}

FlyMachineSecret A Secret needing to be set in the environment of the Machine. env_var is required

func NewFlyMachineSecret

func NewFlyMachineSecret() *FlyMachineSecret

NewFlyMachineSecret instantiates a new FlyMachineSecret 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 NewFlyMachineSecretWithDefaults

func NewFlyMachineSecretWithDefaults() *FlyMachineSecret

NewFlyMachineSecretWithDefaults instantiates a new FlyMachineSecret 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 (*FlyMachineSecret) GetEnvVar

func (o *FlyMachineSecret) GetEnvVar() string

GetEnvVar returns the EnvVar field value if set, zero value otherwise.

func (*FlyMachineSecret) GetEnvVarOk

func (o *FlyMachineSecret) GetEnvVarOk() (*string, bool)

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

func (*FlyMachineSecret) GetName

func (o *FlyMachineSecret) GetName() string

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

func (*FlyMachineSecret) GetNameOk

func (o *FlyMachineSecret) 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 (*FlyMachineSecret) HasEnvVar

func (o *FlyMachineSecret) HasEnvVar() bool

HasEnvVar returns a boolean if a field has been set.

func (*FlyMachineSecret) HasName

func (o *FlyMachineSecret) HasName() bool

HasName returns a boolean if a field has been set.

func (FlyMachineSecret) MarshalJSON

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

func (*FlyMachineSecret) SetEnvVar

func (o *FlyMachineSecret) SetEnvVar(v string)

SetEnvVar gets a reference to the given string and assigns it to the EnvVar field.

func (*FlyMachineSecret) SetName

func (o *FlyMachineSecret) SetName(v string)

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

func (FlyMachineSecret) ToMap

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

type FlyMachineService

type FlyMachineService struct {
	Autostart *bool `json:"autostart,omitempty"`
	// Accepts a string (new format) or a boolean (old format). For backward compatibility with older clients, the API continues to use booleans for \"off\" and \"stop\" in responses. * \"off\" or false - Do not autostop the Machine. * \"stop\" or true - Automatically stop the Machine. * \"suspend\" - Automatically suspend the Machine, falling back to a full stop if this is not possible.
	Autostop *string `json:"autostop,omitempty"`
	// An optional list of service checks
	Checks                   []FlyMachineServiceCheck      `json:"checks,omitempty"`
	Concurrency              *FlyMachineServiceConcurrency `json:"concurrency,omitempty"`
	ForceInstanceDescription *string                       `json:"force_instance_description,omitempty"`
	ForceInstanceKey         *string                       `json:"force_instance_key,omitempty"`
	InternalPort             *int64                        `json:"internal_port,omitempty"`
	MinMachinesRunning       *int64                        `json:"min_machines_running,omitempty"`
	Ports                    []FlyMachinePort              `json:"ports,omitempty"`
	Protocol                 *string                       `json:"protocol,omitempty"`
}

FlyMachineService struct for FlyMachineService

func NewFlyMachineService

func NewFlyMachineService() *FlyMachineService

NewFlyMachineService instantiates a new FlyMachineService 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 NewFlyMachineServiceWithDefaults

func NewFlyMachineServiceWithDefaults() *FlyMachineService

NewFlyMachineServiceWithDefaults instantiates a new FlyMachineService 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 (*FlyMachineService) GetAutostart

func (o *FlyMachineService) GetAutostart() bool

GetAutostart returns the Autostart field value if set, zero value otherwise.

func (*FlyMachineService) GetAutostartOk

func (o *FlyMachineService) GetAutostartOk() (*bool, bool)

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

func (*FlyMachineService) GetAutostop

func (o *FlyMachineService) GetAutostop() string

GetAutostop returns the Autostop field value if set, zero value otherwise.

func (*FlyMachineService) GetAutostopOk

func (o *FlyMachineService) GetAutostopOk() (*string, bool)

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

func (*FlyMachineService) GetChecks

func (o *FlyMachineService) GetChecks() []FlyMachineServiceCheck

GetChecks returns the Checks field value if set, zero value otherwise.

func (*FlyMachineService) GetChecksOk

func (o *FlyMachineService) GetChecksOk() ([]FlyMachineServiceCheck, bool)

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

func (*FlyMachineService) GetConcurrency

func (o *FlyMachineService) GetConcurrency() FlyMachineServiceConcurrency

GetConcurrency returns the Concurrency field value if set, zero value otherwise.

func (*FlyMachineService) GetConcurrencyOk

func (o *FlyMachineService) GetConcurrencyOk() (*FlyMachineServiceConcurrency, bool)

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

func (*FlyMachineService) GetForceInstanceDescription

func (o *FlyMachineService) GetForceInstanceDescription() string

GetForceInstanceDescription returns the ForceInstanceDescription field value if set, zero value otherwise.

func (*FlyMachineService) GetForceInstanceDescriptionOk

func (o *FlyMachineService) GetForceInstanceDescriptionOk() (*string, bool)

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

func (*FlyMachineService) GetForceInstanceKey

func (o *FlyMachineService) GetForceInstanceKey() string

GetForceInstanceKey returns the ForceInstanceKey field value if set, zero value otherwise.

func (*FlyMachineService) GetForceInstanceKeyOk

func (o *FlyMachineService) GetForceInstanceKeyOk() (*string, bool)

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

func (*FlyMachineService) GetInternalPort

func (o *FlyMachineService) GetInternalPort() int64

GetInternalPort returns the InternalPort field value if set, zero value otherwise.

func (*FlyMachineService) GetInternalPortOk

func (o *FlyMachineService) GetInternalPortOk() (*int64, bool)

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

func (*FlyMachineService) GetMinMachinesRunning

func (o *FlyMachineService) GetMinMachinesRunning() int64

GetMinMachinesRunning returns the MinMachinesRunning field value if set, zero value otherwise.

func (*FlyMachineService) GetMinMachinesRunningOk

func (o *FlyMachineService) GetMinMachinesRunningOk() (*int64, bool)

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

func (*FlyMachineService) GetPorts

func (o *FlyMachineService) GetPorts() []FlyMachinePort

GetPorts returns the Ports field value if set, zero value otherwise.

func (*FlyMachineService) GetPortsOk

func (o *FlyMachineService) GetPortsOk() ([]FlyMachinePort, bool)

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

func (*FlyMachineService) GetProtocol

func (o *FlyMachineService) GetProtocol() string

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

func (*FlyMachineService) GetProtocolOk

func (o *FlyMachineService) 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 (*FlyMachineService) HasAutostart

func (o *FlyMachineService) HasAutostart() bool

HasAutostart returns a boolean if a field has been set.

func (*FlyMachineService) HasAutostop

func (o *FlyMachineService) HasAutostop() bool

HasAutostop returns a boolean if a field has been set.

func (*FlyMachineService) HasChecks

func (o *FlyMachineService) HasChecks() bool

HasChecks returns a boolean if a field has been set.

func (*FlyMachineService) HasConcurrency

func (o *FlyMachineService) HasConcurrency() bool

HasConcurrency returns a boolean if a field has been set.

func (*FlyMachineService) HasForceInstanceDescription

func (o *FlyMachineService) HasForceInstanceDescription() bool

HasForceInstanceDescription returns a boolean if a field has been set.

func (*FlyMachineService) HasForceInstanceKey

func (o *FlyMachineService) HasForceInstanceKey() bool

HasForceInstanceKey returns a boolean if a field has been set.

func (*FlyMachineService) HasInternalPort

func (o *FlyMachineService) HasInternalPort() bool

HasInternalPort returns a boolean if a field has been set.

func (*FlyMachineService) HasMinMachinesRunning

func (o *FlyMachineService) HasMinMachinesRunning() bool

HasMinMachinesRunning returns a boolean if a field has been set.

func (*FlyMachineService) HasPorts

func (o *FlyMachineService) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (*FlyMachineService) HasProtocol

func (o *FlyMachineService) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (FlyMachineService) MarshalJSON

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

func (*FlyMachineService) SetAutostart

func (o *FlyMachineService) SetAutostart(v bool)

SetAutostart gets a reference to the given bool and assigns it to the Autostart field.

func (*FlyMachineService) SetAutostop

func (o *FlyMachineService) SetAutostop(v string)

SetAutostop gets a reference to the given string and assigns it to the Autostop field.

func (*FlyMachineService) SetChecks

func (o *FlyMachineService) SetChecks(v []FlyMachineServiceCheck)

SetChecks gets a reference to the given []FlyMachineServiceCheck and assigns it to the Checks field.

func (*FlyMachineService) SetConcurrency

func (o *FlyMachineService) SetConcurrency(v FlyMachineServiceConcurrency)

SetConcurrency gets a reference to the given FlyMachineServiceConcurrency and assigns it to the Concurrency field.

func (*FlyMachineService) SetForceInstanceDescription

func (o *FlyMachineService) SetForceInstanceDescription(v string)

SetForceInstanceDescription gets a reference to the given string and assigns it to the ForceInstanceDescription field.

func (*FlyMachineService) SetForceInstanceKey

func (o *FlyMachineService) SetForceInstanceKey(v string)

SetForceInstanceKey gets a reference to the given string and assigns it to the ForceInstanceKey field.

func (*FlyMachineService) SetInternalPort

func (o *FlyMachineService) SetInternalPort(v int64)

SetInternalPort gets a reference to the given int64 and assigns it to the InternalPort field.

func (*FlyMachineService) SetMinMachinesRunning

func (o *FlyMachineService) SetMinMachinesRunning(v int64)

SetMinMachinesRunning gets a reference to the given int64 and assigns it to the MinMachinesRunning field.

func (*FlyMachineService) SetPorts

func (o *FlyMachineService) SetPorts(v []FlyMachinePort)

SetPorts gets a reference to the given []FlyMachinePort and assigns it to the Ports field.

func (*FlyMachineService) SetProtocol

func (o *FlyMachineService) SetProtocol(v string)

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

func (FlyMachineService) ToMap

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

type FlyMachineServiceCheck

type FlyMachineServiceCheck struct {
	// The time to wait after a VM starts before checking its health
	GracePeriod *FlyDuration           `json:"grace_period,omitempty"`
	Headers     []FlyMachineHTTPHeader `json:"headers,omitempty"`
	// The time between connectivity checks
	Interval *FlyDuration `json:"interval,omitempty"`
	// For http checks, the HTTP method to use to when making the request
	Method *string `json:"method,omitempty"`
	// For http checks, the path to send the request to
	Path *string `json:"path,omitempty"`
	// The port to connect to, often the same as internal_port
	Port *int64 `json:"port,omitempty"`
	// For http checks, whether to use http or https
	Protocol *string `json:"protocol,omitempty"`
	// The maximum time a connection can take before being reported as failing its health check
	Timeout *FlyDuration `json:"timeout,omitempty"`
	// If the protocol is https, the hostname to use for TLS certificate validation
	TlsServerName *string `json:"tls_server_name,omitempty"`
	// For http checks with https protocol, whether or not to verify the TLS certificate
	TlsSkipVerify *bool `json:"tls_skip_verify,omitempty"`
	// tcp or http
	Type *string `json:"type,omitempty"`
}

FlyMachineServiceCheck struct for FlyMachineServiceCheck

func NewFlyMachineServiceCheck

func NewFlyMachineServiceCheck() *FlyMachineServiceCheck

NewFlyMachineServiceCheck instantiates a new FlyMachineServiceCheck 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 NewFlyMachineServiceCheckWithDefaults

func NewFlyMachineServiceCheckWithDefaults() *FlyMachineServiceCheck

NewFlyMachineServiceCheckWithDefaults instantiates a new FlyMachineServiceCheck 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 (*FlyMachineServiceCheck) GetGracePeriod

func (o *FlyMachineServiceCheck) GetGracePeriod() FlyDuration

GetGracePeriod returns the GracePeriod field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetGracePeriodOk

func (o *FlyMachineServiceCheck) GetGracePeriodOk() (*FlyDuration, bool)

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

func (*FlyMachineServiceCheck) GetHeaders

func (o *FlyMachineServiceCheck) GetHeaders() []FlyMachineHTTPHeader

GetHeaders returns the Headers field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetHeadersOk

func (o *FlyMachineServiceCheck) GetHeadersOk() ([]FlyMachineHTTPHeader, bool)

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

func (*FlyMachineServiceCheck) GetInterval

func (o *FlyMachineServiceCheck) GetInterval() FlyDuration

GetInterval returns the Interval field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetIntervalOk

func (o *FlyMachineServiceCheck) GetIntervalOk() (*FlyDuration, bool)

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

func (*FlyMachineServiceCheck) GetMethod

func (o *FlyMachineServiceCheck) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetMethodOk

func (o *FlyMachineServiceCheck) GetMethodOk() (*string, bool)

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

func (*FlyMachineServiceCheck) GetPath

func (o *FlyMachineServiceCheck) GetPath() string

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

func (*FlyMachineServiceCheck) GetPathOk

func (o *FlyMachineServiceCheck) 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 (*FlyMachineServiceCheck) GetPort

func (o *FlyMachineServiceCheck) GetPort() int64

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

func (*FlyMachineServiceCheck) GetPortOk

func (o *FlyMachineServiceCheck) GetPortOk() (*int64, 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 (*FlyMachineServiceCheck) GetProtocol

func (o *FlyMachineServiceCheck) GetProtocol() string

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

func (*FlyMachineServiceCheck) GetProtocolOk

func (o *FlyMachineServiceCheck) 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 (*FlyMachineServiceCheck) GetTimeout

func (o *FlyMachineServiceCheck) GetTimeout() FlyDuration

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetTimeoutOk

func (o *FlyMachineServiceCheck) GetTimeoutOk() (*FlyDuration, bool)

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

func (*FlyMachineServiceCheck) GetTlsServerName

func (o *FlyMachineServiceCheck) GetTlsServerName() string

GetTlsServerName returns the TlsServerName field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetTlsServerNameOk

func (o *FlyMachineServiceCheck) GetTlsServerNameOk() (*string, bool)

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

func (*FlyMachineServiceCheck) GetTlsSkipVerify

func (o *FlyMachineServiceCheck) GetTlsSkipVerify() bool

GetTlsSkipVerify returns the TlsSkipVerify field value if set, zero value otherwise.

func (*FlyMachineServiceCheck) GetTlsSkipVerifyOk

func (o *FlyMachineServiceCheck) GetTlsSkipVerifyOk() (*bool, bool)

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

func (*FlyMachineServiceCheck) GetType

func (o *FlyMachineServiceCheck) GetType() string

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

func (*FlyMachineServiceCheck) GetTypeOk

func (o *FlyMachineServiceCheck) GetTypeOk() (*string, 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 (*FlyMachineServiceCheck) HasGracePeriod

func (o *FlyMachineServiceCheck) HasGracePeriod() bool

HasGracePeriod returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasHeaders

func (o *FlyMachineServiceCheck) HasHeaders() bool

HasHeaders returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasInterval

func (o *FlyMachineServiceCheck) HasInterval() bool

HasInterval returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasMethod

func (o *FlyMachineServiceCheck) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasPath

func (o *FlyMachineServiceCheck) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasPort

func (o *FlyMachineServiceCheck) HasPort() bool

HasPort returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasProtocol

func (o *FlyMachineServiceCheck) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasTimeout

func (o *FlyMachineServiceCheck) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasTlsServerName

func (o *FlyMachineServiceCheck) HasTlsServerName() bool

HasTlsServerName returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasTlsSkipVerify

func (o *FlyMachineServiceCheck) HasTlsSkipVerify() bool

HasTlsSkipVerify returns a boolean if a field has been set.

func (*FlyMachineServiceCheck) HasType

func (o *FlyMachineServiceCheck) HasType() bool

HasType returns a boolean if a field has been set.

func (FlyMachineServiceCheck) MarshalJSON

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

func (*FlyMachineServiceCheck) SetGracePeriod

func (o *FlyMachineServiceCheck) SetGracePeriod(v FlyDuration)

SetGracePeriod gets a reference to the given FlyDuration and assigns it to the GracePeriod field.

func (*FlyMachineServiceCheck) SetHeaders

func (o *FlyMachineServiceCheck) SetHeaders(v []FlyMachineHTTPHeader)

SetHeaders gets a reference to the given []FlyMachineHTTPHeader and assigns it to the Headers field.

func (*FlyMachineServiceCheck) SetInterval

func (o *FlyMachineServiceCheck) SetInterval(v FlyDuration)

SetInterval gets a reference to the given FlyDuration and assigns it to the Interval field.

func (*FlyMachineServiceCheck) SetMethod

func (o *FlyMachineServiceCheck) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*FlyMachineServiceCheck) SetPath

func (o *FlyMachineServiceCheck) SetPath(v string)

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

func (*FlyMachineServiceCheck) SetPort

func (o *FlyMachineServiceCheck) SetPort(v int64)

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

func (*FlyMachineServiceCheck) SetProtocol

func (o *FlyMachineServiceCheck) SetProtocol(v string)

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

func (*FlyMachineServiceCheck) SetTimeout

func (o *FlyMachineServiceCheck) SetTimeout(v FlyDuration)

SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.

func (*FlyMachineServiceCheck) SetTlsServerName

func (o *FlyMachineServiceCheck) SetTlsServerName(v string)

SetTlsServerName gets a reference to the given string and assigns it to the TlsServerName field.

func (*FlyMachineServiceCheck) SetTlsSkipVerify

func (o *FlyMachineServiceCheck) SetTlsSkipVerify(v bool)

SetTlsSkipVerify gets a reference to the given bool and assigns it to the TlsSkipVerify field.

func (*FlyMachineServiceCheck) SetType

func (o *FlyMachineServiceCheck) SetType(v string)

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

func (FlyMachineServiceCheck) ToMap

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

type FlyMachineServiceConcurrency

type FlyMachineServiceConcurrency struct {
	HardLimit *int64  `json:"hard_limit,omitempty"`
	SoftLimit *int64  `json:"soft_limit,omitempty"`
	Type      *string `json:"type,omitempty"`
}

FlyMachineServiceConcurrency struct for FlyMachineServiceConcurrency

func NewFlyMachineServiceConcurrency

func NewFlyMachineServiceConcurrency() *FlyMachineServiceConcurrency

NewFlyMachineServiceConcurrency instantiates a new FlyMachineServiceConcurrency 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 NewFlyMachineServiceConcurrencyWithDefaults

func NewFlyMachineServiceConcurrencyWithDefaults() *FlyMachineServiceConcurrency

NewFlyMachineServiceConcurrencyWithDefaults instantiates a new FlyMachineServiceConcurrency 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 (*FlyMachineServiceConcurrency) GetHardLimit

func (o *FlyMachineServiceConcurrency) GetHardLimit() int64

GetHardLimit returns the HardLimit field value if set, zero value otherwise.

func (*FlyMachineServiceConcurrency) GetHardLimitOk

func (o *FlyMachineServiceConcurrency) GetHardLimitOk() (*int64, bool)

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

func (*FlyMachineServiceConcurrency) GetSoftLimit

func (o *FlyMachineServiceConcurrency) GetSoftLimit() int64

GetSoftLimit returns the SoftLimit field value if set, zero value otherwise.

func (*FlyMachineServiceConcurrency) GetSoftLimitOk

func (o *FlyMachineServiceConcurrency) GetSoftLimitOk() (*int64, bool)

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

func (*FlyMachineServiceConcurrency) GetType

func (o *FlyMachineServiceConcurrency) GetType() string

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

func (*FlyMachineServiceConcurrency) GetTypeOk

func (o *FlyMachineServiceConcurrency) GetTypeOk() (*string, 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 (*FlyMachineServiceConcurrency) HasHardLimit

func (o *FlyMachineServiceConcurrency) HasHardLimit() bool

HasHardLimit returns a boolean if a field has been set.

func (*FlyMachineServiceConcurrency) HasSoftLimit

func (o *FlyMachineServiceConcurrency) HasSoftLimit() bool

HasSoftLimit returns a boolean if a field has been set.

func (*FlyMachineServiceConcurrency) HasType

func (o *FlyMachineServiceConcurrency) HasType() bool

HasType returns a boolean if a field has been set.

func (FlyMachineServiceConcurrency) MarshalJSON

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

func (*FlyMachineServiceConcurrency) SetHardLimit

func (o *FlyMachineServiceConcurrency) SetHardLimit(v int64)

SetHardLimit gets a reference to the given int64 and assigns it to the HardLimit field.

func (*FlyMachineServiceConcurrency) SetSoftLimit

func (o *FlyMachineServiceConcurrency) SetSoftLimit(v int64)

SetSoftLimit gets a reference to the given int64 and assigns it to the SoftLimit field.

func (*FlyMachineServiceConcurrency) SetType

func (o *FlyMachineServiceConcurrency) SetType(v string)

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

func (FlyMachineServiceConcurrency) ToMap

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

type FlyProxyProtoOptions

type FlyProxyProtoOptions struct {
	Version *string `json:"version,omitempty"`
}

FlyProxyProtoOptions struct for FlyProxyProtoOptions

func NewFlyProxyProtoOptions

func NewFlyProxyProtoOptions() *FlyProxyProtoOptions

NewFlyProxyProtoOptions instantiates a new FlyProxyProtoOptions 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 NewFlyProxyProtoOptionsWithDefaults

func NewFlyProxyProtoOptionsWithDefaults() *FlyProxyProtoOptions

NewFlyProxyProtoOptionsWithDefaults instantiates a new FlyProxyProtoOptions 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 (*FlyProxyProtoOptions) GetVersion

func (o *FlyProxyProtoOptions) GetVersion() string

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

func (*FlyProxyProtoOptions) GetVersionOk

func (o *FlyProxyProtoOptions) 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 (*FlyProxyProtoOptions) HasVersion

func (o *FlyProxyProtoOptions) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (FlyProxyProtoOptions) MarshalJSON

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

func (*FlyProxyProtoOptions) SetVersion

func (o *FlyProxyProtoOptions) SetVersion(v string)

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

func (FlyProxyProtoOptions) ToMap

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

type FlyStatic

type FlyStatic struct {
	GuestPath     string  `json:"guest_path"`
	IndexDocument *string `json:"index_document,omitempty"`
	TigrisBucket  *string `json:"tigris_bucket,omitempty"`
	UrlPrefix     string  `json:"url_prefix"`
}

FlyStatic struct for FlyStatic

func NewFlyStatic

func NewFlyStatic(guestPath string, urlPrefix string) *FlyStatic

NewFlyStatic instantiates a new FlyStatic 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 NewFlyStaticWithDefaults

func NewFlyStaticWithDefaults() *FlyStatic

NewFlyStaticWithDefaults instantiates a new FlyStatic 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 (*FlyStatic) GetGuestPath

func (o *FlyStatic) GetGuestPath() string

GetGuestPath returns the GuestPath field value

func (*FlyStatic) GetGuestPathOk

func (o *FlyStatic) GetGuestPathOk() (*string, bool)

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

func (*FlyStatic) GetIndexDocument

func (o *FlyStatic) GetIndexDocument() string

GetIndexDocument returns the IndexDocument field value if set, zero value otherwise.

func (*FlyStatic) GetIndexDocumentOk

func (o *FlyStatic) GetIndexDocumentOk() (*string, bool)

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

func (*FlyStatic) GetTigrisBucket

func (o *FlyStatic) GetTigrisBucket() string

GetTigrisBucket returns the TigrisBucket field value if set, zero value otherwise.

func (*FlyStatic) GetTigrisBucketOk

func (o *FlyStatic) GetTigrisBucketOk() (*string, bool)

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

func (*FlyStatic) GetUrlPrefix

func (o *FlyStatic) GetUrlPrefix() string

GetUrlPrefix returns the UrlPrefix field value

func (*FlyStatic) GetUrlPrefixOk

func (o *FlyStatic) GetUrlPrefixOk() (*string, bool)

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

func (*FlyStatic) HasIndexDocument

func (o *FlyStatic) HasIndexDocument() bool

HasIndexDocument returns a boolean if a field has been set.

func (*FlyStatic) HasTigrisBucket

func (o *FlyStatic) HasTigrisBucket() bool

HasTigrisBucket returns a boolean if a field has been set.

func (FlyStatic) MarshalJSON

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

func (*FlyStatic) SetGuestPath

func (o *FlyStatic) SetGuestPath(v string)

SetGuestPath sets field value

func (*FlyStatic) SetIndexDocument

func (o *FlyStatic) SetIndexDocument(v string)

SetIndexDocument gets a reference to the given string and assigns it to the IndexDocument field.

func (*FlyStatic) SetTigrisBucket

func (o *FlyStatic) SetTigrisBucket(v string)

SetTigrisBucket gets a reference to the given string and assigns it to the TigrisBucket field.

func (*FlyStatic) SetUrlPrefix

func (o *FlyStatic) SetUrlPrefix(v string)

SetUrlPrefix sets field value

func (FlyStatic) ToMap

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

func (*FlyStatic) UnmarshalJSON

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

type FlyStopConfig

type FlyStopConfig struct {
	Signal  *string      `json:"signal,omitempty"`
	Timeout *FlyDuration `json:"timeout,omitempty"`
}

FlyStopConfig struct for FlyStopConfig

func NewFlyStopConfig

func NewFlyStopConfig() *FlyStopConfig

NewFlyStopConfig instantiates a new FlyStopConfig 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 NewFlyStopConfigWithDefaults

func NewFlyStopConfigWithDefaults() *FlyStopConfig

NewFlyStopConfigWithDefaults instantiates a new FlyStopConfig 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 (*FlyStopConfig) GetSignal

func (o *FlyStopConfig) GetSignal() string

GetSignal returns the Signal field value if set, zero value otherwise.

func (*FlyStopConfig) GetSignalOk

func (o *FlyStopConfig) GetSignalOk() (*string, bool)

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

func (*FlyStopConfig) GetTimeout

func (o *FlyStopConfig) GetTimeout() FlyDuration

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*FlyStopConfig) GetTimeoutOk

func (o *FlyStopConfig) GetTimeoutOk() (*FlyDuration, bool)

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

func (*FlyStopConfig) HasSignal

func (o *FlyStopConfig) HasSignal() bool

HasSignal returns a boolean if a field has been set.

func (*FlyStopConfig) HasTimeout

func (o *FlyStopConfig) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (FlyStopConfig) MarshalJSON

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

func (*FlyStopConfig) SetSignal

func (o *FlyStopConfig) SetSignal(v string)

SetSignal gets a reference to the given string and assigns it to the Signal field.

func (*FlyStopConfig) SetTimeout

func (o *FlyStopConfig) SetTimeout(v FlyDuration)

SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.

func (FlyStopConfig) ToMap

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

type FlyTCPHealthcheck

type FlyTCPHealthcheck struct {
	// The port to connect to, often the same as internal_port
	Port *int64 `json:"port,omitempty"`
}

FlyTCPHealthcheck struct for FlyTCPHealthcheck

func NewFlyTCPHealthcheck

func NewFlyTCPHealthcheck() *FlyTCPHealthcheck

NewFlyTCPHealthcheck instantiates a new FlyTCPHealthcheck 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 NewFlyTCPHealthcheckWithDefaults

func NewFlyTCPHealthcheckWithDefaults() *FlyTCPHealthcheck

NewFlyTCPHealthcheckWithDefaults instantiates a new FlyTCPHealthcheck 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 (*FlyTCPHealthcheck) GetPort

func (o *FlyTCPHealthcheck) GetPort() int64

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

func (*FlyTCPHealthcheck) GetPortOk

func (o *FlyTCPHealthcheck) GetPortOk() (*int64, 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 (*FlyTCPHealthcheck) HasPort

func (o *FlyTCPHealthcheck) HasPort() bool

HasPort returns a boolean if a field has been set.

func (FlyTCPHealthcheck) MarshalJSON

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

func (*FlyTCPHealthcheck) SetPort

func (o *FlyTCPHealthcheck) SetPort(v int64)

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

func (FlyTCPHealthcheck) ToMap

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

type FlyTLSOptions

type FlyTLSOptions struct {
	Alpn              []string `json:"alpn,omitempty"`
	DefaultSelfSigned *bool    `json:"default_self_signed,omitempty"`
	Versions          []string `json:"versions,omitempty"`
}

FlyTLSOptions struct for FlyTLSOptions

func NewFlyTLSOptions

func NewFlyTLSOptions() *FlyTLSOptions

NewFlyTLSOptions instantiates a new FlyTLSOptions 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 NewFlyTLSOptionsWithDefaults

func NewFlyTLSOptionsWithDefaults() *FlyTLSOptions

NewFlyTLSOptionsWithDefaults instantiates a new FlyTLSOptions 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 (*FlyTLSOptions) GetAlpn

func (o *FlyTLSOptions) GetAlpn() []string

GetAlpn returns the Alpn field value if set, zero value otherwise.

func (*FlyTLSOptions) GetAlpnOk

func (o *FlyTLSOptions) GetAlpnOk() ([]string, bool)

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

func (*FlyTLSOptions) GetDefaultSelfSigned

func (o *FlyTLSOptions) GetDefaultSelfSigned() bool

GetDefaultSelfSigned returns the DefaultSelfSigned field value if set, zero value otherwise.

func (*FlyTLSOptions) GetDefaultSelfSignedOk

func (o *FlyTLSOptions) GetDefaultSelfSignedOk() (*bool, bool)

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

func (*FlyTLSOptions) GetVersions

func (o *FlyTLSOptions) GetVersions() []string

GetVersions returns the Versions field value if set, zero value otherwise.

func (*FlyTLSOptions) GetVersionsOk

func (o *FlyTLSOptions) GetVersionsOk() ([]string, bool)

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

func (*FlyTLSOptions) HasAlpn

func (o *FlyTLSOptions) HasAlpn() bool

HasAlpn returns a boolean if a field has been set.

func (*FlyTLSOptions) HasDefaultSelfSigned

func (o *FlyTLSOptions) HasDefaultSelfSigned() bool

HasDefaultSelfSigned returns a boolean if a field has been set.

func (*FlyTLSOptions) HasVersions

func (o *FlyTLSOptions) HasVersions() bool

HasVersions returns a boolean if a field has been set.

func (FlyTLSOptions) MarshalJSON

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

func (*FlyTLSOptions) SetAlpn

func (o *FlyTLSOptions) SetAlpn(v []string)

SetAlpn gets a reference to the given []string and assigns it to the Alpn field.

func (*FlyTLSOptions) SetDefaultSelfSigned

func (o *FlyTLSOptions) SetDefaultSelfSigned(v bool)

SetDefaultSelfSigned gets a reference to the given bool and assigns it to the DefaultSelfSigned field.

func (*FlyTLSOptions) SetVersions

func (o *FlyTLSOptions) SetVersions(v []string)

SetVersions gets a reference to the given []string and assigns it to the Versions field.

func (FlyTLSOptions) ToMap

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

type FlyUnhealthyPolicy

type FlyUnhealthyPolicy string

FlyUnhealthyPolicy the model 'FlyUnhealthyPolicy'

const (
	UnhealthyPolicyStop FlyUnhealthyPolicy = "stop"
)

List of fly.UnhealthyPolicy

func NewFlyUnhealthyPolicyFromValue

func NewFlyUnhealthyPolicyFromValue(v string) (*FlyUnhealthyPolicy, error)

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

func (FlyUnhealthyPolicy) IsValid

func (v FlyUnhealthyPolicy) IsValid() bool

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

func (FlyUnhealthyPolicy) Ptr

Ptr returns reference to fly.UnhealthyPolicy value

func (*FlyUnhealthyPolicy) UnmarshalJSON

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

type Flydv1ExecResponse

type Flydv1ExecResponse struct {
	ExitCode   *int64  `json:"exit_code,omitempty"`
	ExitSignal *int64  `json:"exit_signal,omitempty"`
	Stderr     *string `json:"stderr,omitempty"`
	Stdout     *string `json:"stdout,omitempty"`
}

Flydv1ExecResponse struct for Flydv1ExecResponse

func NewFlydv1ExecResponse

func NewFlydv1ExecResponse() *Flydv1ExecResponse

NewFlydv1ExecResponse instantiates a new Flydv1ExecResponse 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 NewFlydv1ExecResponseWithDefaults

func NewFlydv1ExecResponseWithDefaults() *Flydv1ExecResponse

NewFlydv1ExecResponseWithDefaults instantiates a new Flydv1ExecResponse 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 (*Flydv1ExecResponse) GetExitCode

func (o *Flydv1ExecResponse) GetExitCode() int64

GetExitCode returns the ExitCode field value if set, zero value otherwise.

func (*Flydv1ExecResponse) GetExitCodeOk

func (o *Flydv1ExecResponse) GetExitCodeOk() (*int64, bool)

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

func (*Flydv1ExecResponse) GetExitSignal

func (o *Flydv1ExecResponse) GetExitSignal() int64

GetExitSignal returns the ExitSignal field value if set, zero value otherwise.

func (*Flydv1ExecResponse) GetExitSignalOk

func (o *Flydv1ExecResponse) GetExitSignalOk() (*int64, bool)

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

func (*Flydv1ExecResponse) GetStderr

func (o *Flydv1ExecResponse) GetStderr() string

GetStderr returns the Stderr field value if set, zero value otherwise.

func (*Flydv1ExecResponse) GetStderrOk

func (o *Flydv1ExecResponse) GetStderrOk() (*string, bool)

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

func (*Flydv1ExecResponse) GetStdout

func (o *Flydv1ExecResponse) GetStdout() string

GetStdout returns the Stdout field value if set, zero value otherwise.

func (*Flydv1ExecResponse) GetStdoutOk

func (o *Flydv1ExecResponse) GetStdoutOk() (*string, bool)

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

func (*Flydv1ExecResponse) HasExitCode

func (o *Flydv1ExecResponse) HasExitCode() bool

HasExitCode returns a boolean if a field has been set.

func (*Flydv1ExecResponse) HasExitSignal

func (o *Flydv1ExecResponse) HasExitSignal() bool

HasExitSignal returns a boolean if a field has been set.

func (*Flydv1ExecResponse) HasStderr

func (o *Flydv1ExecResponse) HasStderr() bool

HasStderr returns a boolean if a field has been set.

func (*Flydv1ExecResponse) HasStdout

func (o *Flydv1ExecResponse) HasStdout() bool

HasStdout returns a boolean if a field has been set.

func (Flydv1ExecResponse) MarshalJSON

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

func (*Flydv1ExecResponse) SetExitCode

func (o *Flydv1ExecResponse) SetExitCode(v int64)

SetExitCode gets a reference to the given int64 and assigns it to the ExitCode field.

func (*Flydv1ExecResponse) SetExitSignal

func (o *Flydv1ExecResponse) SetExitSignal(v int64)

SetExitSignal gets a reference to the given int64 and assigns it to the ExitSignal field.

func (*Flydv1ExecResponse) SetStderr

func (o *Flydv1ExecResponse) SetStderr(v string)

SetStderr gets a reference to the given string and assigns it to the Stderr field.

func (*Flydv1ExecResponse) SetStdout

func (o *Flydv1ExecResponse) SetStdout(v string)

SetStdout gets a reference to the given string and assigns it to the Stdout field.

func (Flydv1ExecResponse) ToMap

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

type ImageRef struct {
	Digest     *string            `json:"digest,omitempty"`
	Labels     *map[string]string `json:"labels,omitempty"`
	Registry   *string            `json:"registry,omitempty"`
	Repository *string            `json:"repository,omitempty"`
	Tag        *string            `json:"tag,omitempty"`
}

ImageRef struct for ImageRef

func NewImageRef

func NewImageRef() *ImageRef

NewImageRef instantiates a new ImageRef 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 NewImageRefWithDefaults

func NewImageRefWithDefaults() *ImageRef

NewImageRefWithDefaults instantiates a new ImageRef 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 (*ImageRef) GetDigest

func (o *ImageRef) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*ImageRef) GetDigestOk

func (o *ImageRef) GetDigestOk() (*string, bool)

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

func (*ImageRef) GetLabels

func (o *ImageRef) GetLabels() map[string]string

GetLabels returns the Labels field value if set, zero value otherwise.

func (*ImageRef) GetLabelsOk

func (o *ImageRef) GetLabelsOk() (*map[string]string, bool)

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

func (*ImageRef) GetRegistry

func (o *ImageRef) GetRegistry() string

GetRegistry returns the Registry field value if set, zero value otherwise.

func (*ImageRef) GetRegistryOk

func (o *ImageRef) GetRegistryOk() (*string, bool)

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

func (*ImageRef) GetRepository

func (o *ImageRef) GetRepository() string

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

func (*ImageRef) GetRepositoryOk

func (o *ImageRef) GetRepositoryOk() (*string, 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 (*ImageRef) GetTag

func (o *ImageRef) GetTag() string

GetTag returns the Tag field value if set, zero value otherwise.

func (*ImageRef) GetTagOk

func (o *ImageRef) GetTagOk() (*string, bool)

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

func (*ImageRef) HasDigest

func (o *ImageRef) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*ImageRef) HasLabels

func (o *ImageRef) HasLabels() bool

HasLabels returns a boolean if a field has been set.

func (*ImageRef) HasRegistry

func (o *ImageRef) HasRegistry() bool

HasRegistry returns a boolean if a field has been set.

func (*ImageRef) HasRepository

func (o *ImageRef) HasRepository() bool

HasRepository returns a boolean if a field has been set.

func (*ImageRef) HasTag

func (o *ImageRef) HasTag() bool

HasTag returns a boolean if a field has been set.

func (ImageRef) MarshalJSON

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

func (*ImageRef) SetDigest

func (o *ImageRef) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*ImageRef) SetLabels

func (o *ImageRef) SetLabels(v map[string]string)

SetLabels gets a reference to the given map[string]string and assigns it to the Labels field.

func (*ImageRef) SetRegistry

func (o *ImageRef) SetRegistry(v string)

SetRegistry gets a reference to the given string and assigns it to the Registry field.

func (*ImageRef) SetRepository

func (o *ImageRef) SetRepository(v string)

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

func (*ImageRef) SetTag

func (o *ImageRef) SetTag(v string)

SetTag gets a reference to the given string and assigns it to the Tag field.

func (ImageRef) ToMap

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

type Lease

type Lease struct {
	// Description or reason for the Lease.
	Description *string `json:"description,omitempty"`
	// ExpiresAt is the unix timestamp in UTC to denote when the Lease will no longer be valid.
	ExpiresAt *int64 `json:"expires_at,omitempty"`
	// Nonce is the unique ID autogenerated and associated with the Lease.
	Nonce *string `json:"nonce,omitempty"`
	// Owner is the user identifier which acquired the Lease.
	Owner *string `json:"owner,omitempty"`
	// Machine version
	Version *string `json:"version,omitempty"`
}

Lease struct for Lease

func NewLease

func NewLease() *Lease

NewLease instantiates a new Lease 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 NewLeaseWithDefaults

func NewLeaseWithDefaults() *Lease

NewLeaseWithDefaults instantiates a new Lease 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 (*Lease) GetDescription

func (o *Lease) GetDescription() string

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

func (*Lease) GetDescriptionOk

func (o *Lease) 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 (*Lease) GetExpiresAt

func (o *Lease) GetExpiresAt() int64

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*Lease) GetExpiresAtOk

func (o *Lease) GetExpiresAtOk() (*int64, bool)

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

func (*Lease) GetNonce

func (o *Lease) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*Lease) GetNonceOk

func (o *Lease) GetNonceOk() (*string, bool)

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

func (*Lease) GetOwner

func (o *Lease) GetOwner() string

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

func (*Lease) GetOwnerOk

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

func (o *Lease) GetVersion() string

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

func (*Lease) GetVersionOk

func (o *Lease) 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 (*Lease) HasDescription

func (o *Lease) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Lease) HasExpiresAt

func (o *Lease) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*Lease) HasNonce

func (o *Lease) HasNonce() bool

HasNonce returns a boolean if a field has been set.

func (*Lease) HasOwner

func (o *Lease) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*Lease) HasVersion

func (o *Lease) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Lease) MarshalJSON

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

func (*Lease) SetDescription

func (o *Lease) SetDescription(v string)

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

func (*Lease) SetExpiresAt

func (o *Lease) SetExpiresAt(v int64)

SetExpiresAt gets a reference to the given int64 and assigns it to the ExpiresAt field.

func (*Lease) SetNonce

func (o *Lease) SetNonce(v string)

SetNonce gets a reference to the given string and assigns it to the Nonce field.

func (*Lease) SetOwner

func (o *Lease) SetOwner(v string)

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

func (*Lease) SetVersion

func (o *Lease) SetVersion(v string)

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

func (Lease) ToMap

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

type ListApp

type ListApp struct {
	Id           *string                `json:"id,omitempty"`
	MachineCount *int64                 `json:"machine_count,omitempty"`
	Name         *string                `json:"name,omitempty"`
	Network      map[string]interface{} `json:"network,omitempty"`
}

ListApp struct for ListApp

func NewListApp

func NewListApp() *ListApp

NewListApp instantiates a new ListApp 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 NewListAppWithDefaults

func NewListAppWithDefaults() *ListApp

NewListAppWithDefaults instantiates a new ListApp 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 (*ListApp) GetId

func (o *ListApp) GetId() string

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

func (*ListApp) GetIdOk

func (o *ListApp) 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 (*ListApp) GetMachineCount

func (o *ListApp) GetMachineCount() int64

GetMachineCount returns the MachineCount field value if set, zero value otherwise.

func (*ListApp) GetMachineCountOk

func (o *ListApp) GetMachineCountOk() (*int64, bool)

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

func (*ListApp) GetName

func (o *ListApp) GetName() string

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

func (*ListApp) GetNameOk

func (o *ListApp) 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 (*ListApp) GetNetwork

func (o *ListApp) GetNetwork() map[string]interface{}

GetNetwork returns the Network field value if set, zero value otherwise.

func (*ListApp) GetNetworkOk

func (o *ListApp) GetNetworkOk() (map[string]interface{}, bool)

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

func (*ListApp) HasId

func (o *ListApp) HasId() bool

HasId returns a boolean if a field has been set.

func (*ListApp) HasMachineCount

func (o *ListApp) HasMachineCount() bool

HasMachineCount returns a boolean if a field has been set.

func (*ListApp) HasName

func (o *ListApp) HasName() bool

HasName returns a boolean if a field has been set.

func (*ListApp) HasNetwork

func (o *ListApp) HasNetwork() bool

HasNetwork returns a boolean if a field has been set.

func (ListApp) MarshalJSON

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

func (*ListApp) SetId

func (o *ListApp) SetId(v string)

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

func (*ListApp) SetMachineCount

func (o *ListApp) SetMachineCount(v int64)

SetMachineCount gets a reference to the given int64 and assigns it to the MachineCount field.

func (*ListApp) SetName

func (o *ListApp) SetName(v string)

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

func (*ListApp) SetNetwork

func (o *ListApp) SetNetwork(v map[string]interface{})

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

func (ListApp) ToMap

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

type ListAppsResponse

type ListAppsResponse struct {
	Apps      []ListApp `json:"apps,omitempty"`
	TotalApps *int64    `json:"total_apps,omitempty"`
}

ListAppsResponse struct for ListAppsResponse

func NewListAppsResponse

func NewListAppsResponse() *ListAppsResponse

NewListAppsResponse instantiates a new ListAppsResponse 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 NewListAppsResponseWithDefaults

func NewListAppsResponseWithDefaults() *ListAppsResponse

NewListAppsResponseWithDefaults instantiates a new ListAppsResponse 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 (*ListAppsResponse) GetApps

func (o *ListAppsResponse) GetApps() []ListApp

GetApps returns the Apps field value if set, zero value otherwise.

func (*ListAppsResponse) GetAppsOk

func (o *ListAppsResponse) GetAppsOk() ([]ListApp, bool)

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

func (*ListAppsResponse) GetTotalApps

func (o *ListAppsResponse) GetTotalApps() int64

GetTotalApps returns the TotalApps field value if set, zero value otherwise.

func (*ListAppsResponse) GetTotalAppsOk

func (o *ListAppsResponse) GetTotalAppsOk() (*int64, bool)

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

func (*ListAppsResponse) HasApps

func (o *ListAppsResponse) HasApps() bool

HasApps returns a boolean if a field has been set.

func (*ListAppsResponse) HasTotalApps

func (o *ListAppsResponse) HasTotalApps() bool

HasTotalApps returns a boolean if a field has been set.

func (ListAppsResponse) MarshalJSON

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

func (*ListAppsResponse) SetApps

func (o *ListAppsResponse) SetApps(v []ListApp)

SetApps gets a reference to the given []ListApp and assigns it to the Apps field.

func (*ListAppsResponse) SetTotalApps

func (o *ListAppsResponse) SetTotalApps(v int64)

SetTotalApps gets a reference to the given int64 and assigns it to the TotalApps field.

func (ListAppsResponse) ToMap

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

type ListenSocket

type ListenSocket struct {
	Address *string `json:"address,omitempty"`
	Proto   *string `json:"proto,omitempty"`
}

ListenSocket struct for ListenSocket

func NewListenSocket

func NewListenSocket() *ListenSocket

NewListenSocket instantiates a new ListenSocket 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 NewListenSocketWithDefaults

func NewListenSocketWithDefaults() *ListenSocket

NewListenSocketWithDefaults instantiates a new ListenSocket 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 (*ListenSocket) GetAddress

func (o *ListenSocket) GetAddress() string

GetAddress returns the Address field value if set, zero value otherwise.

func (*ListenSocket) GetAddressOk

func (o *ListenSocket) GetAddressOk() (*string, bool)

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

func (*ListenSocket) GetProto

func (o *ListenSocket) GetProto() string

GetProto returns the Proto field value if set, zero value otherwise.

func (*ListenSocket) GetProtoOk

func (o *ListenSocket) GetProtoOk() (*string, bool)

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

func (*ListenSocket) HasAddress

func (o *ListenSocket) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*ListenSocket) HasProto

func (o *ListenSocket) HasProto() bool

HasProto returns a boolean if a field has been set.

func (ListenSocket) MarshalJSON

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

func (*ListenSocket) SetAddress

func (o *ListenSocket) SetAddress(v string)

SetAddress gets a reference to the given string and assigns it to the Address field.

func (*ListenSocket) SetProto

func (o *ListenSocket) SetProto(v string)

SetProto gets a reference to the given string and assigns it to the Proto field.

func (ListenSocket) ToMap

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

type Machine

type Machine struct {
	Checks           []CheckStatus     `json:"checks,omitempty"`
	Config           *FlyMachineConfig `json:"config,omitempty"`
	CreatedAt        *string           `json:"created_at,omitempty"`
	Events           []MachineEvent    `json:"events,omitempty"`
	HostStatus       *string           `json:"host_status,omitempty"`
	Id               *string           `json:"id,omitempty"`
	ImageRef         *ImageRef         `json:"image_ref,omitempty"`
	IncompleteConfig *FlyMachineConfig `json:"incomplete_config,omitempty"`
	// InstanceID is unique for each version of the machine
	InstanceId *string `json:"instance_id,omitempty"`
	Name       *string `json:"name,omitempty"`
	// Nonce is only every returned on machine creation if a lease_duration was provided.
	Nonce *string `json:"nonce,omitempty"`
	// PrivateIP is the internal 6PN address of the machine.
	PrivateIp *string `json:"private_ip,omitempty"`
	Region    *string `json:"region,omitempty"`
	State     *string `json:"state,omitempty"`
	UpdatedAt *string `json:"updated_at,omitempty"`
}

Machine struct for Machine

func NewMachine

func NewMachine() *Machine

NewMachine instantiates a new Machine 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 NewMachineWithDefaults

func NewMachineWithDefaults() *Machine

NewMachineWithDefaults instantiates a new Machine 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 (*Machine) GetChecks

func (o *Machine) GetChecks() []CheckStatus

GetChecks returns the Checks field value if set, zero value otherwise.

func (*Machine) GetChecksOk

func (o *Machine) GetChecksOk() ([]CheckStatus, bool)

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

func (*Machine) GetConfig

func (o *Machine) GetConfig() FlyMachineConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*Machine) GetConfigOk

func (o *Machine) GetConfigOk() (*FlyMachineConfig, bool)

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

func (*Machine) GetCreatedAt

func (o *Machine) GetCreatedAt() string

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

func (*Machine) GetCreatedAtOk

func (o *Machine) GetCreatedAtOk() (*string, bool)

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

func (*Machine) GetEvents

func (o *Machine) GetEvents() []MachineEvent

GetEvents returns the Events field value if set, zero value otherwise.

func (*Machine) GetEventsOk

func (o *Machine) GetEventsOk() ([]MachineEvent, bool)

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

func (*Machine) GetHostStatus

func (o *Machine) GetHostStatus() string

GetHostStatus returns the HostStatus field value if set, zero value otherwise.

func (*Machine) GetHostStatusOk

func (o *Machine) GetHostStatusOk() (*string, bool)

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

func (*Machine) GetId

func (o *Machine) GetId() string

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

func (*Machine) GetIdOk

func (o *Machine) 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 (*Machine) GetImageRef

func (o *Machine) GetImageRef() ImageRef

GetImageRef returns the ImageRef field value if set, zero value otherwise.

func (*Machine) GetImageRefOk

func (o *Machine) GetImageRefOk() (*ImageRef, bool)

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

func (*Machine) GetIncompleteConfig

func (o *Machine) GetIncompleteConfig() FlyMachineConfig

GetIncompleteConfig returns the IncompleteConfig field value if set, zero value otherwise.

func (*Machine) GetIncompleteConfigOk

func (o *Machine) GetIncompleteConfigOk() (*FlyMachineConfig, bool)

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

func (*Machine) GetInstanceId

func (o *Machine) GetInstanceId() string

GetInstanceId returns the InstanceId field value if set, zero value otherwise.

func (*Machine) GetInstanceIdOk

func (o *Machine) GetInstanceIdOk() (*string, bool)

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

func (*Machine) GetName

func (o *Machine) GetName() string

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

func (*Machine) GetNameOk

func (o *Machine) 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 (*Machine) GetNonce

func (o *Machine) GetNonce() string

GetNonce returns the Nonce field value if set, zero value otherwise.

func (*Machine) GetNonceOk

func (o *Machine) GetNonceOk() (*string, bool)

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

func (*Machine) GetPrivateIp

func (o *Machine) GetPrivateIp() string

GetPrivateIp returns the PrivateIp field value if set, zero value otherwise.

func (*Machine) GetPrivateIpOk

func (o *Machine) GetPrivateIpOk() (*string, bool)

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

func (*Machine) GetRegion

func (o *Machine) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*Machine) GetRegionOk

func (o *Machine) GetRegionOk() (*string, bool)

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

func (*Machine) GetState

func (o *Machine) GetState() string

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

func (*Machine) GetStateOk

func (o *Machine) GetStateOk() (*string, 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 (*Machine) GetUpdatedAt

func (o *Machine) GetUpdatedAt() string

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

func (*Machine) GetUpdatedAtOk

func (o *Machine) 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 (*Machine) HasChecks

func (o *Machine) HasChecks() bool

HasChecks returns a boolean if a field has been set.

func (*Machine) HasConfig

func (o *Machine) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*Machine) HasCreatedAt

func (o *Machine) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Machine) HasEvents

func (o *Machine) HasEvents() bool

HasEvents returns a boolean if a field has been set.

func (*Machine) HasHostStatus

func (o *Machine) HasHostStatus() bool

HasHostStatus returns a boolean if a field has been set.

func (*Machine) HasId

func (o *Machine) HasId() bool

HasId returns a boolean if a field has been set.

func (*Machine) HasImageRef

func (o *Machine) HasImageRef() bool

HasImageRef returns a boolean if a field has been set.

func (*Machine) HasIncompleteConfig

func (o *Machine) HasIncompleteConfig() bool

HasIncompleteConfig returns a boolean if a field has been set.

func (*Machine) HasInstanceId

func (o *Machine) HasInstanceId() bool

HasInstanceId returns a boolean if a field has been set.

func (*Machine) HasName

func (o *Machine) HasName() bool

HasName returns a boolean if a field has been set.

func (*Machine) HasNonce

func (o *Machine) HasNonce() bool

HasNonce returns a boolean if a field has been set.

func (*Machine) HasPrivateIp

func (o *Machine) HasPrivateIp() bool

HasPrivateIp returns a boolean if a field has been set.

func (*Machine) HasRegion

func (o *Machine) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*Machine) HasState

func (o *Machine) HasState() bool

HasState returns a boolean if a field has been set.

func (*Machine) HasUpdatedAt

func (o *Machine) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (Machine) MarshalJSON

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

func (*Machine) SetChecks

func (o *Machine) SetChecks(v []CheckStatus)

SetChecks gets a reference to the given []CheckStatus and assigns it to the Checks field.

func (*Machine) SetConfig

func (o *Machine) SetConfig(v FlyMachineConfig)

SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.

func (*Machine) SetCreatedAt

func (o *Machine) SetCreatedAt(v string)

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

func (*Machine) SetEvents

func (o *Machine) SetEvents(v []MachineEvent)

SetEvents gets a reference to the given []MachineEvent and assigns it to the Events field.

func (*Machine) SetHostStatus

func (o *Machine) SetHostStatus(v string)

SetHostStatus gets a reference to the given string and assigns it to the HostStatus field.

func (*Machine) SetId

func (o *Machine) SetId(v string)

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

func (*Machine) SetImageRef

func (o *Machine) SetImageRef(v ImageRef)

SetImageRef gets a reference to the given ImageRef and assigns it to the ImageRef field.

func (*Machine) SetIncompleteConfig

func (o *Machine) SetIncompleteConfig(v FlyMachineConfig)

SetIncompleteConfig gets a reference to the given FlyMachineConfig and assigns it to the IncompleteConfig field.

func (*Machine) SetInstanceId

func (o *Machine) SetInstanceId(v string)

SetInstanceId gets a reference to the given string and assigns it to the InstanceId field.

func (*Machine) SetName

func (o *Machine) SetName(v string)

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

func (*Machine) SetNonce

func (o *Machine) SetNonce(v string)

SetNonce gets a reference to the given string and assigns it to the Nonce field.

func (*Machine) SetPrivateIp

func (o *Machine) SetPrivateIp(v string)

SetPrivateIp gets a reference to the given string and assigns it to the PrivateIp field.

func (*Machine) SetRegion

func (o *Machine) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*Machine) SetState

func (o *Machine) SetState(v string)

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

func (*Machine) SetUpdatedAt

func (o *Machine) SetUpdatedAt(v string)

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

func (Machine) ToMap

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

type MachineEvent

type MachineEvent struct {
	Id        *string                `json:"id,omitempty"`
	Request   map[string]interface{} `json:"request,omitempty"`
	Source    *string                `json:"source,omitempty"`
	Status    *string                `json:"status,omitempty"`
	Timestamp *int64                 `json:"timestamp,omitempty"`
	Type      *string                `json:"type,omitempty"`
}

MachineEvent struct for MachineEvent

func NewMachineEvent

func NewMachineEvent() *MachineEvent

NewMachineEvent instantiates a new MachineEvent 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 NewMachineEventWithDefaults

func NewMachineEventWithDefaults() *MachineEvent

NewMachineEventWithDefaults instantiates a new MachineEvent 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 (*MachineEvent) GetId

func (o *MachineEvent) GetId() string

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

func (*MachineEvent) GetIdOk

func (o *MachineEvent) 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 (*MachineEvent) GetRequest

func (o *MachineEvent) GetRequest() map[string]interface{}

GetRequest returns the Request field value if set, zero value otherwise.

func (*MachineEvent) GetRequestOk

func (o *MachineEvent) GetRequestOk() (map[string]interface{}, bool)

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

func (*MachineEvent) GetSource

func (o *MachineEvent) GetSource() string

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

func (*MachineEvent) GetSourceOk

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

func (o *MachineEvent) GetStatus() string

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

func (*MachineEvent) GetStatusOk

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

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

func (*MachineEvent) GetTimestamp

func (o *MachineEvent) GetTimestamp() int64

GetTimestamp returns the Timestamp field value if set, zero value otherwise.

func (*MachineEvent) GetTimestampOk

func (o *MachineEvent) GetTimestampOk() (*int64, bool)

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

func (*MachineEvent) GetType

func (o *MachineEvent) GetType() string

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

func (*MachineEvent) GetTypeOk

func (o *MachineEvent) GetTypeOk() (*string, 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 (*MachineEvent) HasId

func (o *MachineEvent) HasId() bool

HasId returns a boolean if a field has been set.

func (*MachineEvent) HasRequest

func (o *MachineEvent) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*MachineEvent) HasSource

func (o *MachineEvent) HasSource() bool

HasSource returns a boolean if a field has been set.

func (*MachineEvent) HasStatus

func (o *MachineEvent) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*MachineEvent) HasTimestamp

func (o *MachineEvent) HasTimestamp() bool

HasTimestamp returns a boolean if a field has been set.

func (*MachineEvent) HasType

func (o *MachineEvent) HasType() bool

HasType returns a boolean if a field has been set.

func (MachineEvent) MarshalJSON

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

func (*MachineEvent) SetId

func (o *MachineEvent) SetId(v string)

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

func (*MachineEvent) SetRequest

func (o *MachineEvent) SetRequest(v map[string]interface{})

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

func (*MachineEvent) SetSource

func (o *MachineEvent) SetSource(v string)

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

func (*MachineEvent) SetStatus

func (o *MachineEvent) SetStatus(v string)

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

func (*MachineEvent) SetTimestamp

func (o *MachineEvent) SetTimestamp(v int64)

SetTimestamp gets a reference to the given int64 and assigns it to the Timestamp field.

func (*MachineEvent) SetType

func (o *MachineEvent) SetType(v string)

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

func (MachineEvent) ToMap

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

type MachineExecRequest

type MachineExecRequest struct {
	// Deprecated: use Command instead
	Cmd       *string  `json:"cmd,omitempty"`
	Command   []string `json:"command,omitempty"`
	Container *string  `json:"container,omitempty"`
	Stdin     *string  `json:"stdin,omitempty"`
	Timeout   *int64   `json:"timeout,omitempty"`
}

MachineExecRequest struct for MachineExecRequest

func NewMachineExecRequest

func NewMachineExecRequest() *MachineExecRequest

NewMachineExecRequest instantiates a new MachineExecRequest 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 NewMachineExecRequestWithDefaults

func NewMachineExecRequestWithDefaults() *MachineExecRequest

NewMachineExecRequestWithDefaults instantiates a new MachineExecRequest 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 (*MachineExecRequest) GetCmd

func (o *MachineExecRequest) GetCmd() string

GetCmd returns the Cmd field value if set, zero value otherwise.

func (*MachineExecRequest) GetCmdOk

func (o *MachineExecRequest) GetCmdOk() (*string, bool)

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

func (*MachineExecRequest) GetCommand

func (o *MachineExecRequest) GetCommand() []string

GetCommand returns the Command field value if set, zero value otherwise.

func (*MachineExecRequest) GetCommandOk

func (o *MachineExecRequest) GetCommandOk() ([]string, bool)

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

func (*MachineExecRequest) GetContainer

func (o *MachineExecRequest) GetContainer() string

GetContainer returns the Container field value if set, zero value otherwise.

func (*MachineExecRequest) GetContainerOk

func (o *MachineExecRequest) GetContainerOk() (*string, bool)

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

func (*MachineExecRequest) GetStdin

func (o *MachineExecRequest) GetStdin() string

GetStdin returns the Stdin field value if set, zero value otherwise.

func (*MachineExecRequest) GetStdinOk

func (o *MachineExecRequest) GetStdinOk() (*string, bool)

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

func (*MachineExecRequest) GetTimeout

func (o *MachineExecRequest) GetTimeout() int64

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*MachineExecRequest) GetTimeoutOk

func (o *MachineExecRequest) GetTimeoutOk() (*int64, bool)

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

func (*MachineExecRequest) HasCmd

func (o *MachineExecRequest) HasCmd() bool

HasCmd returns a boolean if a field has been set.

func (*MachineExecRequest) HasCommand

func (o *MachineExecRequest) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*MachineExecRequest) HasContainer

func (o *MachineExecRequest) HasContainer() bool

HasContainer returns a boolean if a field has been set.

func (*MachineExecRequest) HasStdin

func (o *MachineExecRequest) HasStdin() bool

HasStdin returns a boolean if a field has been set.

func (*MachineExecRequest) HasTimeout

func (o *MachineExecRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (MachineExecRequest) MarshalJSON

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

func (*MachineExecRequest) SetCmd

func (o *MachineExecRequest) SetCmd(v string)

SetCmd gets a reference to the given string and assigns it to the Cmd field.

func (*MachineExecRequest) SetCommand

func (o *MachineExecRequest) SetCommand(v []string)

SetCommand gets a reference to the given []string and assigns it to the Command field.

func (*MachineExecRequest) SetContainer

func (o *MachineExecRequest) SetContainer(v string)

SetContainer gets a reference to the given string and assigns it to the Container field.

func (*MachineExecRequest) SetStdin

func (o *MachineExecRequest) SetStdin(v string)

SetStdin gets a reference to the given string and assigns it to the Stdin field.

func (*MachineExecRequest) SetTimeout

func (o *MachineExecRequest) SetTimeout(v int64)

SetTimeout gets a reference to the given int64 and assigns it to the Timeout field.

func (MachineExecRequest) ToMap

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

type MachineVersion

type MachineVersion struct {
	UserConfig *FlyMachineConfig `json:"user_config,omitempty"`
	Version    *string           `json:"version,omitempty"`
}

MachineVersion struct for MachineVersion

func NewMachineVersion

func NewMachineVersion() *MachineVersion

NewMachineVersion instantiates a new MachineVersion 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 NewMachineVersionWithDefaults

func NewMachineVersionWithDefaults() *MachineVersion

NewMachineVersionWithDefaults instantiates a new MachineVersion 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 (*MachineVersion) GetUserConfig

func (o *MachineVersion) GetUserConfig() FlyMachineConfig

GetUserConfig returns the UserConfig field value if set, zero value otherwise.

func (*MachineVersion) GetUserConfigOk

func (o *MachineVersion) GetUserConfigOk() (*FlyMachineConfig, bool)

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

func (*MachineVersion) GetVersion

func (o *MachineVersion) GetVersion() string

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

func (*MachineVersion) GetVersionOk

func (o *MachineVersion) 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 (*MachineVersion) HasUserConfig

func (o *MachineVersion) HasUserConfig() bool

HasUserConfig returns a boolean if a field has been set.

func (*MachineVersion) HasVersion

func (o *MachineVersion) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (MachineVersion) MarshalJSON

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

func (*MachineVersion) SetUserConfig

func (o *MachineVersion) SetUserConfig(v FlyMachineConfig)

SetUserConfig gets a reference to the given FlyMachineConfig and assigns it to the UserConfig field.

func (*MachineVersion) SetVersion

func (o *MachineVersion) SetVersion(v string)

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

func (MachineVersion) ToMap

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

type MachinesAPIService

type MachinesAPIService service

MachinesAPIService MachinesAPI service

func (*MachinesAPIService) MachinesCordon

func (a *MachinesAPIService) MachinesCordon(ctx context.Context, appName string, machineId string) ApiMachinesCordonRequest

MachinesCordon Cordon Machine

“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesCordonRequest

func (*MachinesAPIService) MachinesCordonExecute

func (a *MachinesAPIService) MachinesCordonExecute(r ApiMachinesCordonRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesCreate

func (a *MachinesAPIService) MachinesCreate(ctx context.Context, appName string) ApiMachinesCreateRequest

MachinesCreate Create Machine

Create a Machine within a specific app using the details provided in the request body.

**Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration!

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

func (*MachinesAPIService) MachinesCreateExecute

func (a *MachinesAPIService) MachinesCreateExecute(r ApiMachinesCreateRequest) (*Machine, *http.Response, error)

Execute executes the request

@return Machine

func (*MachinesAPIService) MachinesCreateLease

func (a *MachinesAPIService) MachinesCreateLease(ctx context.Context, appName string, machineId string) ApiMachinesCreateLeaseRequest

MachinesCreateLease Create Lease

Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesCreateLeaseRequest

func (*MachinesAPIService) MachinesCreateLeaseExecute

func (a *MachinesAPIService) MachinesCreateLeaseExecute(r ApiMachinesCreateLeaseRequest) (*Lease, *http.Response, error)

Execute executes the request

@return Lease

func (*MachinesAPIService) MachinesDelete

func (a *MachinesAPIService) MachinesDelete(ctx context.Context, appName string, machineId string) ApiMachinesDeleteRequest

MachinesDelete Destroy Machine

Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesDeleteRequest

func (*MachinesAPIService) MachinesDeleteExecute

func (a *MachinesAPIService) MachinesDeleteExecute(r ApiMachinesDeleteRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesDeleteMetadata

func (a *MachinesAPIService) MachinesDeleteMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesDeleteMetadataRequest

MachinesDeleteMetadata Delete Metadata

Delete metadata for a specific Machine within an app by providing a metadata key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@param key Metadata Key
@return ApiMachinesDeleteMetadataRequest

func (*MachinesAPIService) MachinesDeleteMetadataExecute

func (a *MachinesAPIService) MachinesDeleteMetadataExecute(r ApiMachinesDeleteMetadataRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesExec

func (a *MachinesAPIService) MachinesExec(ctx context.Context, appName string, machineId string) ApiMachinesExecRequest

MachinesExec Execute Command

Execute a command on a specific Machine and return the raw command output bytes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesExecRequest

func (*MachinesAPIService) MachinesExecExecute

Execute executes the request

@return Flydv1ExecResponse

func (*MachinesAPIService) MachinesList

func (a *MachinesAPIService) MachinesList(ctx context.Context, appName string) ApiMachinesListRequest

MachinesList List Machines

List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.

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

func (*MachinesAPIService) MachinesListEvents

func (a *MachinesAPIService) MachinesListEvents(ctx context.Context, appName string, machineId string) ApiMachinesListEventsRequest

MachinesListEvents List Events

List all events associated with a specific Machine within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesListEventsRequest

func (*MachinesAPIService) MachinesListEventsExecute

func (a *MachinesAPIService) MachinesListEventsExecute(r ApiMachinesListEventsRequest) ([]MachineEvent, *http.Response, error)

Execute executes the request

@return []MachineEvent

func (*MachinesAPIService) MachinesListExecute

func (a *MachinesAPIService) MachinesListExecute(r ApiMachinesListRequest) ([]Machine, *http.Response, error)

Execute executes the request

@return []Machine

func (*MachinesAPIService) MachinesListProcesses

func (a *MachinesAPIService) MachinesListProcesses(ctx context.Context, appName string, machineId string) ApiMachinesListProcessesRequest

MachinesListProcesses List Processes

List all processes running on a specific Machine within an app, with optional sorting parameters.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesListProcessesRequest

func (*MachinesAPIService) MachinesListProcessesExecute

func (a *MachinesAPIService) MachinesListProcessesExecute(r ApiMachinesListProcessesRequest) ([]ProcessStat, *http.Response, error)

Execute executes the request

@return []ProcessStat

func (*MachinesAPIService) MachinesListVersions

func (a *MachinesAPIService) MachinesListVersions(ctx context.Context, appName string, machineId string) ApiMachinesListVersionsRequest

MachinesListVersions List Versions

List all versions of the configuration for a specific Machine within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesListVersionsRequest

func (*MachinesAPIService) MachinesListVersionsExecute

func (a *MachinesAPIService) MachinesListVersionsExecute(r ApiMachinesListVersionsRequest) ([]MachineVersion, *http.Response, error)

Execute executes the request

@return []MachineVersion

func (*MachinesAPIService) MachinesReleaseLease

func (a *MachinesAPIService) MachinesReleaseLease(ctx context.Context, appName string, machineId string) ApiMachinesReleaseLeaseRequest

MachinesReleaseLease Release Lease

Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesReleaseLeaseRequest

func (*MachinesAPIService) MachinesReleaseLeaseExecute

func (a *MachinesAPIService) MachinesReleaseLeaseExecute(r ApiMachinesReleaseLeaseRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesRestart

func (a *MachinesAPIService) MachinesRestart(ctx context.Context, appName string, machineId string) ApiMachinesRestartRequest

MachinesRestart Restart Machine

Restart a specific Machine within an app, with an optional timeout parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesRestartRequest

func (*MachinesAPIService) MachinesRestartExecute

func (a *MachinesAPIService) MachinesRestartExecute(r ApiMachinesRestartRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesShow

func (a *MachinesAPIService) MachinesShow(ctx context.Context, appName string, machineId string) ApiMachinesShowRequest

MachinesShow Get Machine

Get details of a specific Machine within an app by the Machine ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesShowRequest

func (*MachinesAPIService) MachinesShowExecute

func (a *MachinesAPIService) MachinesShowExecute(r ApiMachinesShowRequest) (*Machine, *http.Response, error)

Execute executes the request

@return Machine

func (*MachinesAPIService) MachinesShowLease

func (a *MachinesAPIService) MachinesShowLease(ctx context.Context, appName string, machineId string) ApiMachinesShowLeaseRequest

MachinesShowLease Get Lease

Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesShowLeaseRequest

func (*MachinesAPIService) MachinesShowLeaseExecute

func (a *MachinesAPIService) MachinesShowLeaseExecute(r ApiMachinesShowLeaseRequest) (*Lease, *http.Response, error)

Execute executes the request

@return Lease

func (*MachinesAPIService) MachinesShowMetadata

func (a *MachinesAPIService) MachinesShowMetadata(ctx context.Context, appName string, machineId string) ApiMachinesShowMetadataRequest

MachinesShowMetadata Get Metadata

Retrieve metadata for a specific Machine within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesShowMetadataRequest

func (*MachinesAPIService) MachinesShowMetadataExecute

func (a *MachinesAPIService) MachinesShowMetadataExecute(r ApiMachinesShowMetadataRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*MachinesAPIService) MachinesSignal

func (a *MachinesAPIService) MachinesSignal(ctx context.Context, appName string, machineId string) ApiMachinesSignalRequest

MachinesSignal Signal Machine

Send a signal to a specific Machine within an app using the details provided in the request body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesSignalRequest

func (*MachinesAPIService) MachinesSignalExecute

func (a *MachinesAPIService) MachinesSignalExecute(r ApiMachinesSignalRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesStart

func (a *MachinesAPIService) MachinesStart(ctx context.Context, appName string, machineId string) ApiMachinesStartRequest

MachinesStart Start Machine

Start a specific Machine within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesStartRequest

func (*MachinesAPIService) MachinesStartExecute

func (a *MachinesAPIService) MachinesStartExecute(r ApiMachinesStartRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesStop

func (a *MachinesAPIService) MachinesStop(ctx context.Context, appName string, machineId string) ApiMachinesStopRequest

MachinesStop Stop Machine

Stop a specific Machine within an app, with an optional request body to specify signal and timeout.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesStopRequest

func (*MachinesAPIService) MachinesStopExecute

func (a *MachinesAPIService) MachinesStopExecute(r ApiMachinesStopRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesSuspend

func (a *MachinesAPIService) MachinesSuspend(ctx context.Context, appName string, machineId string) ApiMachinesSuspendRequest

MachinesSuspend Suspend Machine

Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesSuspendRequest

func (*MachinesAPIService) MachinesSuspendExecute

func (a *MachinesAPIService) MachinesSuspendExecute(r ApiMachinesSuspendRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesUncordon

func (a *MachinesAPIService) MachinesUncordon(ctx context.Context, appName string, machineId string) ApiMachinesUncordonRequest

MachinesUncordon Uncordon Machine

“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesUncordonRequest

func (*MachinesAPIService) MachinesUncordonExecute

func (a *MachinesAPIService) MachinesUncordonExecute(r ApiMachinesUncordonRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesUpdate

func (a *MachinesAPIService) MachinesUpdate(ctx context.Context, appName string, machineId string) ApiMachinesUpdateRequest

MachinesUpdate Update Machine

Update a Machine's configuration using the details provided in the request body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesUpdateRequest

func (*MachinesAPIService) MachinesUpdateExecute

func (a *MachinesAPIService) MachinesUpdateExecute(r ApiMachinesUpdateRequest) (*Machine, *http.Response, error)

Execute executes the request

@return Machine

func (*MachinesAPIService) MachinesUpdateMetadata

func (a *MachinesAPIService) MachinesUpdateMetadata(ctx context.Context, appName string, machineId string, key string) ApiMachinesUpdateMetadataRequest

MachinesUpdateMetadata Update Metadata

Update metadata for a specific machine within an app by providing a metadata key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@param key Metadata Key
@return ApiMachinesUpdateMetadataRequest

func (*MachinesAPIService) MachinesUpdateMetadataExecute

func (a *MachinesAPIService) MachinesUpdateMetadataExecute(r ApiMachinesUpdateMetadataRequest) (*http.Response, error)

Execute executes the request

func (*MachinesAPIService) MachinesWait

func (a *MachinesAPIService) MachinesWait(ctx context.Context, appName string, machineId string) ApiMachinesWaitRequest

MachinesWait Wait for State

Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`.

This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param machineId Machine ID
@return ApiMachinesWaitRequest

func (*MachinesAPIService) MachinesWaitExecute

func (a *MachinesAPIService) MachinesWaitExecute(r ApiMachinesWaitRequest) (*http.Response, error)

Execute executes the request

type MainGetPlacementsRequest

type MainGetPlacementsRequest struct {
	// Resource requirements for the Machine to simulate. Defaults to a performance-1x machine
	Compute *FlyMachineGuest `json:"compute,omitempty"`
	// Number of machines to simulate placement. Defaults to 0, which returns the org-specific limit for each region.
	Count   *int64 `json:"count,omitempty"`
	OrgSlug string `json:"org_slug"`
	// Region expression for placement as a comma-delimited set of regions or aliases. Defaults to \"[region],any\", to prefer the API endpoint's local region with any other region as fallback.
	Region          *string `json:"region,omitempty"`
	VolumeName      *string `json:"volume_name,omitempty"`
	VolumeSizeBytes *int64  `json:"volume_size_bytes,omitempty"`
	// Optional weights to override default placement preferences.
	Weights *map[string]int64 `json:"weights,omitempty"`
}

MainGetPlacementsRequest struct for MainGetPlacementsRequest

func NewMainGetPlacementsRequest

func NewMainGetPlacementsRequest(orgSlug string) *MainGetPlacementsRequest

NewMainGetPlacementsRequest instantiates a new MainGetPlacementsRequest 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 NewMainGetPlacementsRequestWithDefaults

func NewMainGetPlacementsRequestWithDefaults() *MainGetPlacementsRequest

NewMainGetPlacementsRequestWithDefaults instantiates a new MainGetPlacementsRequest 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 (*MainGetPlacementsRequest) GetCompute

func (o *MainGetPlacementsRequest) GetCompute() FlyMachineGuest

GetCompute returns the Compute field value if set, zero value otherwise.

func (*MainGetPlacementsRequest) GetComputeOk

func (o *MainGetPlacementsRequest) GetComputeOk() (*FlyMachineGuest, bool)

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

func (*MainGetPlacementsRequest) GetCount

func (o *MainGetPlacementsRequest) GetCount() int64

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

func (*MainGetPlacementsRequest) GetCountOk

func (o *MainGetPlacementsRequest) GetCountOk() (*int64, bool)

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

func (*MainGetPlacementsRequest) GetOrgSlug

func (o *MainGetPlacementsRequest) GetOrgSlug() string

GetOrgSlug returns the OrgSlug field value

func (*MainGetPlacementsRequest) GetOrgSlugOk

func (o *MainGetPlacementsRequest) GetOrgSlugOk() (*string, bool)

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

func (*MainGetPlacementsRequest) GetRegion

func (o *MainGetPlacementsRequest) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*MainGetPlacementsRequest) GetRegionOk

func (o *MainGetPlacementsRequest) GetRegionOk() (*string, bool)

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

func (*MainGetPlacementsRequest) GetVolumeName

func (o *MainGetPlacementsRequest) GetVolumeName() string

GetVolumeName returns the VolumeName field value if set, zero value otherwise.

func (*MainGetPlacementsRequest) GetVolumeNameOk

func (o *MainGetPlacementsRequest) GetVolumeNameOk() (*string, bool)

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

func (*MainGetPlacementsRequest) GetVolumeSizeBytes

func (o *MainGetPlacementsRequest) GetVolumeSizeBytes() int64

GetVolumeSizeBytes returns the VolumeSizeBytes field value if set, zero value otherwise.

func (*MainGetPlacementsRequest) GetVolumeSizeBytesOk

func (o *MainGetPlacementsRequest) GetVolumeSizeBytesOk() (*int64, bool)

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

func (*MainGetPlacementsRequest) GetWeights

func (o *MainGetPlacementsRequest) GetWeights() map[string]int64

GetWeights returns the Weights field value if set, zero value otherwise.

func (*MainGetPlacementsRequest) GetWeightsOk

func (o *MainGetPlacementsRequest) GetWeightsOk() (*map[string]int64, bool)

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

func (*MainGetPlacementsRequest) HasCompute

func (o *MainGetPlacementsRequest) HasCompute() bool

HasCompute returns a boolean if a field has been set.

func (*MainGetPlacementsRequest) HasCount

func (o *MainGetPlacementsRequest) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*MainGetPlacementsRequest) HasRegion

func (o *MainGetPlacementsRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*MainGetPlacementsRequest) HasVolumeName

func (o *MainGetPlacementsRequest) HasVolumeName() bool

HasVolumeName returns a boolean if a field has been set.

func (*MainGetPlacementsRequest) HasVolumeSizeBytes

func (o *MainGetPlacementsRequest) HasVolumeSizeBytes() bool

HasVolumeSizeBytes returns a boolean if a field has been set.

func (*MainGetPlacementsRequest) HasWeights

func (o *MainGetPlacementsRequest) HasWeights() bool

HasWeights returns a boolean if a field has been set.

func (MainGetPlacementsRequest) MarshalJSON

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

func (*MainGetPlacementsRequest) SetCompute

func (o *MainGetPlacementsRequest) SetCompute(v FlyMachineGuest)

SetCompute gets a reference to the given FlyMachineGuest and assigns it to the Compute field.

func (*MainGetPlacementsRequest) SetCount

func (o *MainGetPlacementsRequest) SetCount(v int64)

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

func (*MainGetPlacementsRequest) SetOrgSlug

func (o *MainGetPlacementsRequest) SetOrgSlug(v string)

SetOrgSlug sets field value

func (*MainGetPlacementsRequest) SetRegion

func (o *MainGetPlacementsRequest) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*MainGetPlacementsRequest) SetVolumeName

func (o *MainGetPlacementsRequest) SetVolumeName(v string)

SetVolumeName gets a reference to the given string and assigns it to the VolumeName field.

func (*MainGetPlacementsRequest) SetVolumeSizeBytes

func (o *MainGetPlacementsRequest) SetVolumeSizeBytes(v int64)

SetVolumeSizeBytes gets a reference to the given int64 and assigns it to the VolumeSizeBytes field.

func (*MainGetPlacementsRequest) SetWeights

func (o *MainGetPlacementsRequest) SetWeights(v map[string]int64)

SetWeights gets a reference to the given map[string]int64 and assigns it to the Weights field.

func (MainGetPlacementsRequest) ToMap

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

func (*MainGetPlacementsRequest) UnmarshalJSON

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

type MainGetPlacementsResponse

type MainGetPlacementsResponse struct {
	Regions []PlacementRegionPlacement `json:"regions,omitempty"`
}

MainGetPlacementsResponse struct for MainGetPlacementsResponse

func NewMainGetPlacementsResponse

func NewMainGetPlacementsResponse() *MainGetPlacementsResponse

NewMainGetPlacementsResponse instantiates a new MainGetPlacementsResponse 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 NewMainGetPlacementsResponseWithDefaults

func NewMainGetPlacementsResponseWithDefaults() *MainGetPlacementsResponse

NewMainGetPlacementsResponseWithDefaults instantiates a new MainGetPlacementsResponse 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 (*MainGetPlacementsResponse) GetRegions

GetRegions returns the Regions field value if set, zero value otherwise.

func (*MainGetPlacementsResponse) GetRegionsOk

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

func (*MainGetPlacementsResponse) HasRegions

func (o *MainGetPlacementsResponse) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (MainGetPlacementsResponse) MarshalJSON

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

func (*MainGetPlacementsResponse) SetRegions

SetRegions gets a reference to the given []PlacementRegionPlacement and assigns it to the Regions field.

func (MainGetPlacementsResponse) ToMap

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

type MainRegionResponse

type MainRegionResponse struct {
	Regions []ReadsGetCapacityPerRegionRow `json:"regions,omitempty"`
}

MainRegionResponse struct for MainRegionResponse

func NewMainRegionResponse

func NewMainRegionResponse() *MainRegionResponse

NewMainRegionResponse instantiates a new MainRegionResponse 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 NewMainRegionResponseWithDefaults

func NewMainRegionResponseWithDefaults() *MainRegionResponse

NewMainRegionResponseWithDefaults instantiates a new MainRegionResponse 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 (*MainRegionResponse) GetRegions

GetRegions returns the Regions field value if set, zero value otherwise.

func (*MainRegionResponse) GetRegionsOk

func (o *MainRegionResponse) GetRegionsOk() ([]ReadsGetCapacityPerRegionRow, bool)

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

func (*MainRegionResponse) HasRegions

func (o *MainRegionResponse) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (MainRegionResponse) MarshalJSON

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

func (*MainRegionResponse) SetRegions

SetRegions gets a reference to the given []ReadsGetCapacityPerRegionRow and assigns it to the Regions field.

func (MainRegionResponse) ToMap

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

type MainStatusCode

type MainStatusCode string

MainStatusCode the model 'MainStatusCode'

func NewMainStatusCodeFromValue

func NewMainStatusCodeFromValue(v string) (*MainStatusCode, error)

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

func (MainStatusCode) IsValid

func (v MainStatusCode) IsValid() bool

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

func (MainStatusCode) Ptr

func (v MainStatusCode) Ptr() *MainStatusCode

Ptr returns reference to main.statusCode value

func (*MainStatusCode) UnmarshalJSON

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

type MappedNullable

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

type NullableApp

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

func NewNullableApp

func NewNullableApp(val *App) *NullableApp

func (NullableApp) Get

func (v NullableApp) Get() *App

func (NullableApp) IsSet

func (v NullableApp) IsSet() bool

func (NullableApp) MarshalJSON

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

func (*NullableApp) Set

func (v *NullableApp) Set(val *App)

func (*NullableApp) UnmarshalJSON

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

func (*NullableApp) Unset

func (v *NullableApp) Unset()

type NullableAppSecret

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

func NewNullableAppSecret

func NewNullableAppSecret(val *AppSecret) *NullableAppSecret

func (NullableAppSecret) Get

func (v NullableAppSecret) Get() *AppSecret

func (NullableAppSecret) IsSet

func (v NullableAppSecret) IsSet() bool

func (NullableAppSecret) MarshalJSON

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

func (*NullableAppSecret) Set

func (v *NullableAppSecret) Set(val *AppSecret)

func (*NullableAppSecret) UnmarshalJSON

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

func (*NullableAppSecret) Unset

func (v *NullableAppSecret) Unset()

type NullableAppSecrets

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

func NewNullableAppSecrets

func NewNullableAppSecrets(val *AppSecrets) *NullableAppSecrets

func (NullableAppSecrets) Get

func (v NullableAppSecrets) Get() *AppSecrets

func (NullableAppSecrets) IsSet

func (v NullableAppSecrets) IsSet() bool

func (NullableAppSecrets) MarshalJSON

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

func (*NullableAppSecrets) Set

func (v *NullableAppSecrets) Set(val *AppSecrets)

func (*NullableAppSecrets) UnmarshalJSON

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

func (*NullableAppSecrets) Unset

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

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

func NewNullableCheckStatus

func NewNullableCheckStatus(val *CheckStatus) *NullableCheckStatus

func (NullableCheckStatus) Get

func (NullableCheckStatus) IsSet

func (v NullableCheckStatus) IsSet() bool

func (NullableCheckStatus) MarshalJSON

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

func (*NullableCheckStatus) Set

func (v *NullableCheckStatus) Set(val *CheckStatus)

func (*NullableCheckStatus) UnmarshalJSON

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

func (*NullableCheckStatus) Unset

func (v *NullableCheckStatus) Unset()

type NullableCreateAppRequest

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

func NewNullableCreateAppRequest

func NewNullableCreateAppRequest(val *CreateAppRequest) *NullableCreateAppRequest

func (NullableCreateAppRequest) Get

func (NullableCreateAppRequest) IsSet

func (v NullableCreateAppRequest) IsSet() bool

func (NullableCreateAppRequest) MarshalJSON

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

func (*NullableCreateAppRequest) Set

func (*NullableCreateAppRequest) UnmarshalJSON

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

func (*NullableCreateAppRequest) Unset

func (v *NullableCreateAppRequest) Unset()

type NullableCreateLeaseRequest

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

func NewNullableCreateLeaseRequest

func NewNullableCreateLeaseRequest(val *CreateLeaseRequest) *NullableCreateLeaseRequest

func (NullableCreateLeaseRequest) Get

func (NullableCreateLeaseRequest) IsSet

func (v NullableCreateLeaseRequest) IsSet() bool

func (NullableCreateLeaseRequest) MarshalJSON

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

func (*NullableCreateLeaseRequest) Set

func (*NullableCreateLeaseRequest) UnmarshalJSON

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

func (*NullableCreateLeaseRequest) Unset

func (v *NullableCreateLeaseRequest) Unset()

type NullableCreateMachineRequest

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

func NewNullableCreateMachineRequest

func NewNullableCreateMachineRequest(val *CreateMachineRequest) *NullableCreateMachineRequest

func (NullableCreateMachineRequest) Get

func (NullableCreateMachineRequest) IsSet

func (NullableCreateMachineRequest) MarshalJSON

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

func (*NullableCreateMachineRequest) Set

func (*NullableCreateMachineRequest) UnmarshalJSON

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

func (*NullableCreateMachineRequest) Unset

func (v *NullableCreateMachineRequest) Unset()

type NullableCreateOIDCTokenRequest

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

func (NullableCreateOIDCTokenRequest) Get

func (NullableCreateOIDCTokenRequest) IsSet

func (NullableCreateOIDCTokenRequest) MarshalJSON

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

func (*NullableCreateOIDCTokenRequest) Set

func (*NullableCreateOIDCTokenRequest) UnmarshalJSON

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

func (*NullableCreateOIDCTokenRequest) Unset

func (v *NullableCreateOIDCTokenRequest) Unset()

type NullableCreateVolumeRequest

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

func NewNullableCreateVolumeRequest

func NewNullableCreateVolumeRequest(val *CreateVolumeRequest) *NullableCreateVolumeRequest

func (NullableCreateVolumeRequest) Get

func (NullableCreateVolumeRequest) IsSet

func (NullableCreateVolumeRequest) MarshalJSON

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

func (*NullableCreateVolumeRequest) Set

func (*NullableCreateVolumeRequest) UnmarshalJSON

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

func (*NullableCreateVolumeRequest) Unset

func (v *NullableCreateVolumeRequest) Unset()

type NullableDecryptSecretkeyRequest

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

func (NullableDecryptSecretkeyRequest) Get

func (NullableDecryptSecretkeyRequest) IsSet

func (NullableDecryptSecretkeyRequest) MarshalJSON

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

func (*NullableDecryptSecretkeyRequest) Set

func (*NullableDecryptSecretkeyRequest) UnmarshalJSON

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

func (*NullableDecryptSecretkeyRequest) Unset

type NullableDecryptSecretkeyResponse

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

func (NullableDecryptSecretkeyResponse) Get

func (NullableDecryptSecretkeyResponse) IsSet

func (NullableDecryptSecretkeyResponse) MarshalJSON

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

func (*NullableDecryptSecretkeyResponse) Set

func (*NullableDecryptSecretkeyResponse) UnmarshalJSON

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

func (*NullableDecryptSecretkeyResponse) Unset

type NullableEncryptSecretkeyRequest

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

func (NullableEncryptSecretkeyRequest) Get

func (NullableEncryptSecretkeyRequest) IsSet

func (NullableEncryptSecretkeyRequest) MarshalJSON

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

func (*NullableEncryptSecretkeyRequest) Set

func (*NullableEncryptSecretkeyRequest) UnmarshalJSON

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

func (*NullableEncryptSecretkeyRequest) Unset

type NullableEncryptSecretkeyResponse

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

func (NullableEncryptSecretkeyResponse) Get

func (NullableEncryptSecretkeyResponse) IsSet

func (NullableEncryptSecretkeyResponse) MarshalJSON

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

func (*NullableEncryptSecretkeyResponse) Set

func (*NullableEncryptSecretkeyResponse) UnmarshalJSON

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

func (*NullableEncryptSecretkeyResponse) Unset

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) Unset()

type NullableExtendVolumeRequest

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

func NewNullableExtendVolumeRequest

func NewNullableExtendVolumeRequest(val *ExtendVolumeRequest) *NullableExtendVolumeRequest

func (NullableExtendVolumeRequest) Get

func (NullableExtendVolumeRequest) IsSet

func (NullableExtendVolumeRequest) MarshalJSON

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

func (*NullableExtendVolumeRequest) Set

func (*NullableExtendVolumeRequest) UnmarshalJSON

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

func (*NullableExtendVolumeRequest) Unset

func (v *NullableExtendVolumeRequest) Unset()

type NullableExtendVolumeResponse

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

func NewNullableExtendVolumeResponse

func NewNullableExtendVolumeResponse(val *ExtendVolumeResponse) *NullableExtendVolumeResponse

func (NullableExtendVolumeResponse) Get

func (NullableExtendVolumeResponse) IsSet

func (NullableExtendVolumeResponse) MarshalJSON

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

func (*NullableExtendVolumeResponse) Set

func (*NullableExtendVolumeResponse) UnmarshalJSON

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

func (*NullableExtendVolumeResponse) Unset

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

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

func NewNullableFlyContainerConfig

func NewNullableFlyContainerConfig(val *FlyContainerConfig) *NullableFlyContainerConfig

func (NullableFlyContainerConfig) Get

func (NullableFlyContainerConfig) IsSet

func (v NullableFlyContainerConfig) IsSet() bool

func (NullableFlyContainerConfig) MarshalJSON

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

func (*NullableFlyContainerConfig) Set

func (*NullableFlyContainerConfig) UnmarshalJSON

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

func (*NullableFlyContainerConfig) Unset

func (v *NullableFlyContainerConfig) Unset()

type NullableFlyContainerDependency

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

func (NullableFlyContainerDependency) Get

func (NullableFlyContainerDependency) IsSet

func (NullableFlyContainerDependency) MarshalJSON

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

func (*NullableFlyContainerDependency) Set

func (*NullableFlyContainerDependency) UnmarshalJSON

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

func (*NullableFlyContainerDependency) Unset

func (v *NullableFlyContainerDependency) Unset()

type NullableFlyContainerDependencyCondition

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

func (NullableFlyContainerDependencyCondition) Get

func (NullableFlyContainerDependencyCondition) IsSet

func (NullableFlyContainerDependencyCondition) MarshalJSON

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

func (*NullableFlyContainerDependencyCondition) Set

func (*NullableFlyContainerDependencyCondition) UnmarshalJSON

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

func (*NullableFlyContainerDependencyCondition) Unset

type NullableFlyContainerHealthcheck

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

func (NullableFlyContainerHealthcheck) Get

func (NullableFlyContainerHealthcheck) IsSet

func (NullableFlyContainerHealthcheck) MarshalJSON

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

func (*NullableFlyContainerHealthcheck) Set

func (*NullableFlyContainerHealthcheck) UnmarshalJSON

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

func (*NullableFlyContainerHealthcheck) Unset

type NullableFlyContainerHealthcheckKind

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

func (NullableFlyContainerHealthcheckKind) Get

func (NullableFlyContainerHealthcheckKind) IsSet

func (NullableFlyContainerHealthcheckKind) MarshalJSON

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

func (*NullableFlyContainerHealthcheckKind) Set

func (*NullableFlyContainerHealthcheckKind) UnmarshalJSON

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

func (*NullableFlyContainerHealthcheckKind) Unset

type NullableFlyContainerHealthcheckScheme

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

func (NullableFlyContainerHealthcheckScheme) Get

func (NullableFlyContainerHealthcheckScheme) IsSet

func (NullableFlyContainerHealthcheckScheme) MarshalJSON

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

func (*NullableFlyContainerHealthcheckScheme) Set

func (*NullableFlyContainerHealthcheckScheme) UnmarshalJSON

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

func (*NullableFlyContainerHealthcheckScheme) Unset

type NullableFlyDNSConfig

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

func NewNullableFlyDNSConfig

func NewNullableFlyDNSConfig(val *FlyDNSConfig) *NullableFlyDNSConfig

func (NullableFlyDNSConfig) Get

func (NullableFlyDNSConfig) IsSet

func (v NullableFlyDNSConfig) IsSet() bool

func (NullableFlyDNSConfig) MarshalJSON

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

func (*NullableFlyDNSConfig) Set

func (v *NullableFlyDNSConfig) Set(val *FlyDNSConfig)

func (*NullableFlyDNSConfig) UnmarshalJSON

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

func (*NullableFlyDNSConfig) Unset

func (v *NullableFlyDNSConfig) Unset()

type NullableFlyDnsForwardRule

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

func NewNullableFlyDnsForwardRule

func NewNullableFlyDnsForwardRule(val *FlyDnsForwardRule) *NullableFlyDnsForwardRule

func (NullableFlyDnsForwardRule) Get

func (NullableFlyDnsForwardRule) IsSet

func (v NullableFlyDnsForwardRule) IsSet() bool

func (NullableFlyDnsForwardRule) MarshalJSON

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

func (*NullableFlyDnsForwardRule) Set

func (*NullableFlyDnsForwardRule) UnmarshalJSON

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

func (*NullableFlyDnsForwardRule) Unset

func (v *NullableFlyDnsForwardRule) Unset()

type NullableFlyDnsOption

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

func NewNullableFlyDnsOption

func NewNullableFlyDnsOption(val *FlyDnsOption) *NullableFlyDnsOption

func (NullableFlyDnsOption) Get

func (NullableFlyDnsOption) IsSet

func (v NullableFlyDnsOption) IsSet() bool

func (NullableFlyDnsOption) MarshalJSON

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

func (*NullableFlyDnsOption) Set

func (v *NullableFlyDnsOption) Set(val *FlyDnsOption)

func (*NullableFlyDnsOption) UnmarshalJSON

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

func (*NullableFlyDnsOption) Unset

func (v *NullableFlyDnsOption) Unset()

type NullableFlyDuration

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

func NewNullableFlyDuration

func NewNullableFlyDuration(val *FlyDuration) *NullableFlyDuration

func (NullableFlyDuration) Get

func (NullableFlyDuration) IsSet

func (v NullableFlyDuration) IsSet() bool

func (NullableFlyDuration) MarshalJSON

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

func (*NullableFlyDuration) Set

func (v *NullableFlyDuration) Set(val *FlyDuration)

func (*NullableFlyDuration) UnmarshalJSON

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

func (*NullableFlyDuration) Unset

func (v *NullableFlyDuration) Unset()

type NullableFlyEnvFrom

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

func NewNullableFlyEnvFrom

func NewNullableFlyEnvFrom(val *FlyEnvFrom) *NullableFlyEnvFrom

func (NullableFlyEnvFrom) Get

func (v NullableFlyEnvFrom) Get() *FlyEnvFrom

func (NullableFlyEnvFrom) IsSet

func (v NullableFlyEnvFrom) IsSet() bool

func (NullableFlyEnvFrom) MarshalJSON

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

func (*NullableFlyEnvFrom) Set

func (v *NullableFlyEnvFrom) Set(val *FlyEnvFrom)

func (*NullableFlyEnvFrom) UnmarshalJSON

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

func (*NullableFlyEnvFrom) Unset

func (v *NullableFlyEnvFrom) Unset()

type NullableFlyExecHealthcheck

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

func NewNullableFlyExecHealthcheck

func NewNullableFlyExecHealthcheck(val *FlyExecHealthcheck) *NullableFlyExecHealthcheck

func (NullableFlyExecHealthcheck) Get

func (NullableFlyExecHealthcheck) IsSet

func (v NullableFlyExecHealthcheck) IsSet() bool

func (NullableFlyExecHealthcheck) MarshalJSON

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

func (*NullableFlyExecHealthcheck) Set

func (*NullableFlyExecHealthcheck) UnmarshalJSON

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

func (*NullableFlyExecHealthcheck) Unset

func (v *NullableFlyExecHealthcheck) Unset()

type NullableFlyFile

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

func NewNullableFlyFile

func NewNullableFlyFile(val *FlyFile) *NullableFlyFile

func (NullableFlyFile) Get

func (v NullableFlyFile) Get() *FlyFile

func (NullableFlyFile) IsSet

func (v NullableFlyFile) IsSet() bool

func (NullableFlyFile) MarshalJSON

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

func (*NullableFlyFile) Set

func (v *NullableFlyFile) Set(val *FlyFile)

func (*NullableFlyFile) UnmarshalJSON

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

func (*NullableFlyFile) Unset

func (v *NullableFlyFile) Unset()

type NullableFlyHTTPHealthcheck

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

func NewNullableFlyHTTPHealthcheck

func NewNullableFlyHTTPHealthcheck(val *FlyHTTPHealthcheck) *NullableFlyHTTPHealthcheck

func (NullableFlyHTTPHealthcheck) Get

func (NullableFlyHTTPHealthcheck) IsSet

func (v NullableFlyHTTPHealthcheck) IsSet() bool

func (NullableFlyHTTPHealthcheck) MarshalJSON

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

func (*NullableFlyHTTPHealthcheck) Set

func (*NullableFlyHTTPHealthcheck) UnmarshalJSON

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

func (*NullableFlyHTTPHealthcheck) Unset

func (v *NullableFlyHTTPHealthcheck) Unset()

type NullableFlyHTTPOptions

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

func NewNullableFlyHTTPOptions

func NewNullableFlyHTTPOptions(val *FlyHTTPOptions) *NullableFlyHTTPOptions

func (NullableFlyHTTPOptions) Get

func (NullableFlyHTTPOptions) IsSet

func (v NullableFlyHTTPOptions) IsSet() bool

func (NullableFlyHTTPOptions) MarshalJSON

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

func (*NullableFlyHTTPOptions) Set

func (*NullableFlyHTTPOptions) UnmarshalJSON

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

func (*NullableFlyHTTPOptions) Unset

func (v *NullableFlyHTTPOptions) Unset()

type NullableFlyHTTPResponseOptions

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

func (NullableFlyHTTPResponseOptions) Get

func (NullableFlyHTTPResponseOptions) IsSet

func (NullableFlyHTTPResponseOptions) MarshalJSON

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

func (*NullableFlyHTTPResponseOptions) Set

func (*NullableFlyHTTPResponseOptions) UnmarshalJSON

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

func (*NullableFlyHTTPResponseOptions) Unset

func (v *NullableFlyHTTPResponseOptions) Unset()

type NullableFlyMachineCheck

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

func NewNullableFlyMachineCheck

func NewNullableFlyMachineCheck(val *FlyMachineCheck) *NullableFlyMachineCheck

func (NullableFlyMachineCheck) Get

func (NullableFlyMachineCheck) IsSet

func (v NullableFlyMachineCheck) IsSet() bool

func (NullableFlyMachineCheck) MarshalJSON

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

func (*NullableFlyMachineCheck) Set

func (*NullableFlyMachineCheck) UnmarshalJSON

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

func (*NullableFlyMachineCheck) Unset

func (v *NullableFlyMachineCheck) Unset()

type NullableFlyMachineConfig

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

func NewNullableFlyMachineConfig

func NewNullableFlyMachineConfig(val *FlyMachineConfig) *NullableFlyMachineConfig

func (NullableFlyMachineConfig) Get

func (NullableFlyMachineConfig) IsSet

func (v NullableFlyMachineConfig) IsSet() bool

func (NullableFlyMachineConfig) MarshalJSON

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

func (*NullableFlyMachineConfig) Set

func (*NullableFlyMachineConfig) UnmarshalJSON

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

func (*NullableFlyMachineConfig) Unset

func (v *NullableFlyMachineConfig) Unset()

type NullableFlyMachineGuest

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

func NewNullableFlyMachineGuest

func NewNullableFlyMachineGuest(val *FlyMachineGuest) *NullableFlyMachineGuest

func (NullableFlyMachineGuest) Get

func (NullableFlyMachineGuest) IsSet

func (v NullableFlyMachineGuest) IsSet() bool

func (NullableFlyMachineGuest) MarshalJSON

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

func (*NullableFlyMachineGuest) Set

func (*NullableFlyMachineGuest) UnmarshalJSON

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

func (*NullableFlyMachineGuest) Unset

func (v *NullableFlyMachineGuest) Unset()

type NullableFlyMachineHTTPHeader

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

func NewNullableFlyMachineHTTPHeader

func NewNullableFlyMachineHTTPHeader(val *FlyMachineHTTPHeader) *NullableFlyMachineHTTPHeader

func (NullableFlyMachineHTTPHeader) Get

func (NullableFlyMachineHTTPHeader) IsSet

func (NullableFlyMachineHTTPHeader) MarshalJSON

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

func (*NullableFlyMachineHTTPHeader) Set

func (*NullableFlyMachineHTTPHeader) UnmarshalJSON

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

func (*NullableFlyMachineHTTPHeader) Unset

func (v *NullableFlyMachineHTTPHeader) Unset()

type NullableFlyMachineInit

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

func NewNullableFlyMachineInit

func NewNullableFlyMachineInit(val *FlyMachineInit) *NullableFlyMachineInit

func (NullableFlyMachineInit) Get

func (NullableFlyMachineInit) IsSet

func (v NullableFlyMachineInit) IsSet() bool

func (NullableFlyMachineInit) MarshalJSON

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

func (*NullableFlyMachineInit) Set

func (*NullableFlyMachineInit) UnmarshalJSON

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

func (*NullableFlyMachineInit) Unset

func (v *NullableFlyMachineInit) Unset()

type NullableFlyMachineMetrics

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

func NewNullableFlyMachineMetrics

func NewNullableFlyMachineMetrics(val *FlyMachineMetrics) *NullableFlyMachineMetrics

func (NullableFlyMachineMetrics) Get

func (NullableFlyMachineMetrics) IsSet

func (v NullableFlyMachineMetrics) IsSet() bool

func (NullableFlyMachineMetrics) MarshalJSON

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

func (*NullableFlyMachineMetrics) Set

func (*NullableFlyMachineMetrics) UnmarshalJSON

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

func (*NullableFlyMachineMetrics) Unset

func (v *NullableFlyMachineMetrics) Unset()

type NullableFlyMachinePort

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

func NewNullableFlyMachinePort

func NewNullableFlyMachinePort(val *FlyMachinePort) *NullableFlyMachinePort

func (NullableFlyMachinePort) Get

func (NullableFlyMachinePort) IsSet

func (v NullableFlyMachinePort) IsSet() bool

func (NullableFlyMachinePort) MarshalJSON

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

func (*NullableFlyMachinePort) Set

func (*NullableFlyMachinePort) UnmarshalJSON

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

func (*NullableFlyMachinePort) Unset

func (v *NullableFlyMachinePort) Unset()

type NullableFlyMachineProcess

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

func NewNullableFlyMachineProcess

func NewNullableFlyMachineProcess(val *FlyMachineProcess) *NullableFlyMachineProcess

func (NullableFlyMachineProcess) Get

func (NullableFlyMachineProcess) IsSet

func (v NullableFlyMachineProcess) IsSet() bool

func (NullableFlyMachineProcess) MarshalJSON

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

func (*NullableFlyMachineProcess) Set

func (*NullableFlyMachineProcess) UnmarshalJSON

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

func (*NullableFlyMachineProcess) Unset

func (v *NullableFlyMachineProcess) Unset()

type NullableFlyMachineRestart

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

func NewNullableFlyMachineRestart

func NewNullableFlyMachineRestart(val *FlyMachineRestart) *NullableFlyMachineRestart

func (NullableFlyMachineRestart) Get

func (NullableFlyMachineRestart) IsSet

func (v NullableFlyMachineRestart) IsSet() bool

func (NullableFlyMachineRestart) MarshalJSON

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

func (*NullableFlyMachineRestart) Set

func (*NullableFlyMachineRestart) UnmarshalJSON

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

func (*NullableFlyMachineRestart) Unset

func (v *NullableFlyMachineRestart) Unset()

type NullableFlyMachineSecret

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

func NewNullableFlyMachineSecret

func NewNullableFlyMachineSecret(val *FlyMachineSecret) *NullableFlyMachineSecret

func (NullableFlyMachineSecret) Get

func (NullableFlyMachineSecret) IsSet

func (v NullableFlyMachineSecret) IsSet() bool

func (NullableFlyMachineSecret) MarshalJSON

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

func (*NullableFlyMachineSecret) Set

func (*NullableFlyMachineSecret) UnmarshalJSON

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

func (*NullableFlyMachineSecret) Unset

func (v *NullableFlyMachineSecret) Unset()

type NullableFlyMachineService

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

func NewNullableFlyMachineService

func NewNullableFlyMachineService(val *FlyMachineService) *NullableFlyMachineService

func (NullableFlyMachineService) Get

func (NullableFlyMachineService) IsSet

func (v NullableFlyMachineService) IsSet() bool

func (NullableFlyMachineService) MarshalJSON

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

func (*NullableFlyMachineService) Set

func (*NullableFlyMachineService) UnmarshalJSON

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

func (*NullableFlyMachineService) Unset

func (v *NullableFlyMachineService) Unset()

type NullableFlyMachineServiceCheck

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

func (NullableFlyMachineServiceCheck) Get

func (NullableFlyMachineServiceCheck) IsSet

func (NullableFlyMachineServiceCheck) MarshalJSON

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

func (*NullableFlyMachineServiceCheck) Set

func (*NullableFlyMachineServiceCheck) UnmarshalJSON

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

func (*NullableFlyMachineServiceCheck) Unset

func (v *NullableFlyMachineServiceCheck) Unset()

type NullableFlyMachineServiceConcurrency

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

func (NullableFlyMachineServiceConcurrency) Get

func (NullableFlyMachineServiceConcurrency) IsSet

func (NullableFlyMachineServiceConcurrency) MarshalJSON

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

func (*NullableFlyMachineServiceConcurrency) Set

func (*NullableFlyMachineServiceConcurrency) UnmarshalJSON

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

func (*NullableFlyMachineServiceConcurrency) Unset

type NullableFlyProxyProtoOptions

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

func NewNullableFlyProxyProtoOptions

func NewNullableFlyProxyProtoOptions(val *FlyProxyProtoOptions) *NullableFlyProxyProtoOptions

func (NullableFlyProxyProtoOptions) Get

func (NullableFlyProxyProtoOptions) IsSet

func (NullableFlyProxyProtoOptions) MarshalJSON

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

func (*NullableFlyProxyProtoOptions) Set

func (*NullableFlyProxyProtoOptions) UnmarshalJSON

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

func (*NullableFlyProxyProtoOptions) Unset

func (v *NullableFlyProxyProtoOptions) Unset()

type NullableFlyStatic

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

func NewNullableFlyStatic

func NewNullableFlyStatic(val *FlyStatic) *NullableFlyStatic

func (NullableFlyStatic) Get

func (v NullableFlyStatic) Get() *FlyStatic

func (NullableFlyStatic) IsSet

func (v NullableFlyStatic) IsSet() bool

func (NullableFlyStatic) MarshalJSON

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

func (*NullableFlyStatic) Set

func (v *NullableFlyStatic) Set(val *FlyStatic)

func (*NullableFlyStatic) UnmarshalJSON

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

func (*NullableFlyStatic) Unset

func (v *NullableFlyStatic) Unset()

type NullableFlyStopConfig

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

func NewNullableFlyStopConfig

func NewNullableFlyStopConfig(val *FlyStopConfig) *NullableFlyStopConfig

func (NullableFlyStopConfig) Get

func (NullableFlyStopConfig) IsSet

func (v NullableFlyStopConfig) IsSet() bool

func (NullableFlyStopConfig) MarshalJSON

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

func (*NullableFlyStopConfig) Set

func (v *NullableFlyStopConfig) Set(val *FlyStopConfig)

func (*NullableFlyStopConfig) UnmarshalJSON

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

func (*NullableFlyStopConfig) Unset

func (v *NullableFlyStopConfig) Unset()

type NullableFlyTCPHealthcheck

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

func NewNullableFlyTCPHealthcheck

func NewNullableFlyTCPHealthcheck(val *FlyTCPHealthcheck) *NullableFlyTCPHealthcheck

func (NullableFlyTCPHealthcheck) Get

func (NullableFlyTCPHealthcheck) IsSet

func (v NullableFlyTCPHealthcheck) IsSet() bool

func (NullableFlyTCPHealthcheck) MarshalJSON

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

func (*NullableFlyTCPHealthcheck) Set

func (*NullableFlyTCPHealthcheck) UnmarshalJSON

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

func (*NullableFlyTCPHealthcheck) Unset

func (v *NullableFlyTCPHealthcheck) Unset()

type NullableFlyTLSOptions

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

func NewNullableFlyTLSOptions

func NewNullableFlyTLSOptions(val *FlyTLSOptions) *NullableFlyTLSOptions

func (NullableFlyTLSOptions) Get

func (NullableFlyTLSOptions) IsSet

func (v NullableFlyTLSOptions) IsSet() bool

func (NullableFlyTLSOptions) MarshalJSON

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

func (*NullableFlyTLSOptions) Set

func (v *NullableFlyTLSOptions) Set(val *FlyTLSOptions)

func (*NullableFlyTLSOptions) UnmarshalJSON

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

func (*NullableFlyTLSOptions) Unset

func (v *NullableFlyTLSOptions) Unset()

type NullableFlyUnhealthyPolicy

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

func NewNullableFlyUnhealthyPolicy

func NewNullableFlyUnhealthyPolicy(val *FlyUnhealthyPolicy) *NullableFlyUnhealthyPolicy

func (NullableFlyUnhealthyPolicy) Get

func (NullableFlyUnhealthyPolicy) IsSet

func (v NullableFlyUnhealthyPolicy) IsSet() bool

func (NullableFlyUnhealthyPolicy) MarshalJSON

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

func (*NullableFlyUnhealthyPolicy) Set

func (*NullableFlyUnhealthyPolicy) UnmarshalJSON

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

func (*NullableFlyUnhealthyPolicy) Unset

func (v *NullableFlyUnhealthyPolicy) Unset()

type NullableFlydv1ExecResponse

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

func NewNullableFlydv1ExecResponse

func NewNullableFlydv1ExecResponse(val *Flydv1ExecResponse) *NullableFlydv1ExecResponse

func (NullableFlydv1ExecResponse) Get

func (NullableFlydv1ExecResponse) IsSet

func (v NullableFlydv1ExecResponse) IsSet() bool

func (NullableFlydv1ExecResponse) MarshalJSON

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

func (*NullableFlydv1ExecResponse) Set

func (*NullableFlydv1ExecResponse) UnmarshalJSON

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

func (*NullableFlydv1ExecResponse) Unset

func (v *NullableFlydv1ExecResponse) Unset()

type NullableImageRef

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

func NewNullableImageRef

func NewNullableImageRef(val *ImageRef) *NullableImageRef

func (NullableImageRef) Get

func (v NullableImageRef) Get() *ImageRef

func (NullableImageRef) IsSet

func (v NullableImageRef) IsSet() bool

func (NullableImageRef) MarshalJSON

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

func (*NullableImageRef) Set

func (v *NullableImageRef) Set(val *ImageRef)

func (*NullableImageRef) UnmarshalJSON

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

func (*NullableImageRef) Unset

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

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

func NewNullableLease

func NewNullableLease(val *Lease) *NullableLease

func (NullableLease) Get

func (v NullableLease) Get() *Lease

func (NullableLease) IsSet

func (v NullableLease) IsSet() bool

func (NullableLease) MarshalJSON

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

func (*NullableLease) Set

func (v *NullableLease) Set(val *Lease)

func (*NullableLease) UnmarshalJSON

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

func (*NullableLease) Unset

func (v *NullableLease) Unset()

type NullableListApp

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

func NewNullableListApp

func NewNullableListApp(val *ListApp) *NullableListApp

func (NullableListApp) Get

func (v NullableListApp) Get() *ListApp

func (NullableListApp) IsSet

func (v NullableListApp) IsSet() bool

func (NullableListApp) MarshalJSON

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

func (*NullableListApp) Set

func (v *NullableListApp) Set(val *ListApp)

func (*NullableListApp) UnmarshalJSON

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

func (*NullableListApp) Unset

func (v *NullableListApp) Unset()

type NullableListAppsResponse

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

func NewNullableListAppsResponse

func NewNullableListAppsResponse(val *ListAppsResponse) *NullableListAppsResponse

func (NullableListAppsResponse) Get

func (NullableListAppsResponse) IsSet

func (v NullableListAppsResponse) IsSet() bool

func (NullableListAppsResponse) MarshalJSON

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

func (*NullableListAppsResponse) Set

func (*NullableListAppsResponse) UnmarshalJSON

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

func (*NullableListAppsResponse) Unset

func (v *NullableListAppsResponse) Unset()

type NullableListenSocket

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

func NewNullableListenSocket

func NewNullableListenSocket(val *ListenSocket) *NullableListenSocket

func (NullableListenSocket) Get

func (NullableListenSocket) IsSet

func (v NullableListenSocket) IsSet() bool

func (NullableListenSocket) MarshalJSON

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

func (*NullableListenSocket) Set

func (v *NullableListenSocket) Set(val *ListenSocket)

func (*NullableListenSocket) UnmarshalJSON

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

func (*NullableListenSocket) Unset

func (v *NullableListenSocket) Unset()

type NullableMachine

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

func NewNullableMachine

func NewNullableMachine(val *Machine) *NullableMachine

func (NullableMachine) Get

func (v NullableMachine) Get() *Machine

func (NullableMachine) IsSet

func (v NullableMachine) IsSet() bool

func (NullableMachine) MarshalJSON

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

func (*NullableMachine) Set

func (v *NullableMachine) Set(val *Machine)

func (*NullableMachine) UnmarshalJSON

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

func (*NullableMachine) Unset

func (v *NullableMachine) Unset()

type NullableMachineEvent

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

func NewNullableMachineEvent

func NewNullableMachineEvent(val *MachineEvent) *NullableMachineEvent

func (NullableMachineEvent) Get

func (NullableMachineEvent) IsSet

func (v NullableMachineEvent) IsSet() bool

func (NullableMachineEvent) MarshalJSON

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

func (*NullableMachineEvent) Set

func (v *NullableMachineEvent) Set(val *MachineEvent)

func (*NullableMachineEvent) UnmarshalJSON

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

func (*NullableMachineEvent) Unset

func (v *NullableMachineEvent) Unset()

type NullableMachineExecRequest

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

func NewNullableMachineExecRequest

func NewNullableMachineExecRequest(val *MachineExecRequest) *NullableMachineExecRequest

func (NullableMachineExecRequest) Get

func (NullableMachineExecRequest) IsSet

func (v NullableMachineExecRequest) IsSet() bool

func (NullableMachineExecRequest) MarshalJSON

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

func (*NullableMachineExecRequest) Set

func (*NullableMachineExecRequest) UnmarshalJSON

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

func (*NullableMachineExecRequest) Unset

func (v *NullableMachineExecRequest) Unset()

type NullableMachineVersion

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

func NewNullableMachineVersion

func NewNullableMachineVersion(val *MachineVersion) *NullableMachineVersion

func (NullableMachineVersion) Get

func (NullableMachineVersion) IsSet

func (v NullableMachineVersion) IsSet() bool

func (NullableMachineVersion) MarshalJSON

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

func (*NullableMachineVersion) Set

func (*NullableMachineVersion) UnmarshalJSON

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

func (*NullableMachineVersion) Unset

func (v *NullableMachineVersion) Unset()

type NullableMainGetPlacementsRequest

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

func (NullableMainGetPlacementsRequest) Get

func (NullableMainGetPlacementsRequest) IsSet

func (NullableMainGetPlacementsRequest) MarshalJSON

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

func (*NullableMainGetPlacementsRequest) Set

func (*NullableMainGetPlacementsRequest) UnmarshalJSON

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

func (*NullableMainGetPlacementsRequest) Unset

type NullableMainGetPlacementsResponse

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

func (NullableMainGetPlacementsResponse) Get

func (NullableMainGetPlacementsResponse) IsSet

func (NullableMainGetPlacementsResponse) MarshalJSON

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

func (*NullableMainGetPlacementsResponse) Set

func (*NullableMainGetPlacementsResponse) UnmarshalJSON

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

func (*NullableMainGetPlacementsResponse) Unset

type NullableMainRegionResponse

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

func NewNullableMainRegionResponse

func NewNullableMainRegionResponse(val *MainRegionResponse) *NullableMainRegionResponse

func (NullableMainRegionResponse) Get

func (NullableMainRegionResponse) IsSet

func (v NullableMainRegionResponse) IsSet() bool

func (NullableMainRegionResponse) MarshalJSON

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

func (*NullableMainRegionResponse) Set

func (*NullableMainRegionResponse) UnmarshalJSON

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

func (*NullableMainRegionResponse) Unset

func (v *NullableMainRegionResponse) Unset()

type NullableMainStatusCode

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

func NewNullableMainStatusCode

func NewNullableMainStatusCode(val *MainStatusCode) *NullableMainStatusCode

func (NullableMainStatusCode) Get

func (NullableMainStatusCode) IsSet

func (v NullableMainStatusCode) IsSet() bool

func (NullableMainStatusCode) MarshalJSON

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

func (*NullableMainStatusCode) Set

func (*NullableMainStatusCode) UnmarshalJSON

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

func (*NullableMainStatusCode) Unset

func (v *NullableMainStatusCode) Unset()

type NullableOrganization

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

func NewNullableOrganization

func NewNullableOrganization(val *Organization) *NullableOrganization

func (NullableOrganization) Get

func (NullableOrganization) IsSet

func (v NullableOrganization) IsSet() bool

func (NullableOrganization) MarshalJSON

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

func (*NullableOrganization) Set

func (v *NullableOrganization) Set(val *Organization)

func (*NullableOrganization) UnmarshalJSON

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

func (*NullableOrganization) Unset

func (v *NullableOrganization) Unset()

type NullablePlacementRegionPlacement

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

func (NullablePlacementRegionPlacement) Get

func (NullablePlacementRegionPlacement) IsSet

func (NullablePlacementRegionPlacement) MarshalJSON

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

func (*NullablePlacementRegionPlacement) Set

func (*NullablePlacementRegionPlacement) UnmarshalJSON

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

func (*NullablePlacementRegionPlacement) Unset

type NullableProcessStat

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

func NewNullableProcessStat

func NewNullableProcessStat(val *ProcessStat) *NullableProcessStat

func (NullableProcessStat) Get

func (NullableProcessStat) IsSet

func (v NullableProcessStat) IsSet() bool

func (NullableProcessStat) MarshalJSON

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

func (*NullableProcessStat) Set

func (v *NullableProcessStat) Set(val *ProcessStat)

func (*NullableProcessStat) UnmarshalJSON

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

func (*NullableProcessStat) Unset

func (v *NullableProcessStat) Unset()

type NullableReadsGetCapacityPerRegionRow

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

func (NullableReadsGetCapacityPerRegionRow) Get

func (NullableReadsGetCapacityPerRegionRow) IsSet

func (NullableReadsGetCapacityPerRegionRow) MarshalJSON

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

func (*NullableReadsGetCapacityPerRegionRow) Set

func (*NullableReadsGetCapacityPerRegionRow) UnmarshalJSON

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

func (*NullableReadsGetCapacityPerRegionRow) Unset

type NullableSecretKey

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

func NewNullableSecretKey

func NewNullableSecretKey(val *SecretKey) *NullableSecretKey

func (NullableSecretKey) Get

func (v NullableSecretKey) Get() *SecretKey

func (NullableSecretKey) IsSet

func (v NullableSecretKey) IsSet() bool

func (NullableSecretKey) MarshalJSON

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

func (*NullableSecretKey) Set

func (v *NullableSecretKey) Set(val *SecretKey)

func (*NullableSecretKey) UnmarshalJSON

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

func (*NullableSecretKey) Unset

func (v *NullableSecretKey) Unset()

type NullableSecretKeys

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

func NewNullableSecretKeys

func NewNullableSecretKeys(val *SecretKeys) *NullableSecretKeys

func (NullableSecretKeys) Get

func (v NullableSecretKeys) Get() *SecretKeys

func (NullableSecretKeys) IsSet

func (v NullableSecretKeys) IsSet() bool

func (NullableSecretKeys) MarshalJSON

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

func (*NullableSecretKeys) Set

func (v *NullableSecretKeys) Set(val *SecretKeys)

func (*NullableSecretKeys) UnmarshalJSON

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

func (*NullableSecretKeys) Unset

func (v *NullableSecretKeys) Unset()

type NullableSetAppSecretRequest

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

func NewNullableSetAppSecretRequest

func NewNullableSetAppSecretRequest(val *SetAppSecretRequest) *NullableSetAppSecretRequest

func (NullableSetAppSecretRequest) Get

func (NullableSetAppSecretRequest) IsSet

func (NullableSetAppSecretRequest) MarshalJSON

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

func (*NullableSetAppSecretRequest) Set

func (*NullableSetAppSecretRequest) UnmarshalJSON

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

func (*NullableSetAppSecretRequest) Unset

func (v *NullableSetAppSecretRequest) Unset()

type NullableSetAppSecretResponse

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

func NewNullableSetAppSecretResponse

func NewNullableSetAppSecretResponse(val *SetAppSecretResponse) *NullableSetAppSecretResponse

func (NullableSetAppSecretResponse) Get

func (NullableSetAppSecretResponse) IsSet

func (NullableSetAppSecretResponse) MarshalJSON

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

func (*NullableSetAppSecretResponse) Set

func (*NullableSetAppSecretResponse) UnmarshalJSON

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

func (*NullableSetAppSecretResponse) Unset

func (v *NullableSetAppSecretResponse) Unset()

type NullableSetSecretkeyRequest

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

func NewNullableSetSecretkeyRequest

func NewNullableSetSecretkeyRequest(val *SetSecretkeyRequest) *NullableSetSecretkeyRequest

func (NullableSetSecretkeyRequest) Get

func (NullableSetSecretkeyRequest) IsSet

func (NullableSetSecretkeyRequest) MarshalJSON

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

func (*NullableSetSecretkeyRequest) Set

func (*NullableSetSecretkeyRequest) UnmarshalJSON

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

func (*NullableSetSecretkeyRequest) Unset

func (v *NullableSetSecretkeyRequest) Unset()

type NullableSetSecretkeyResponse

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

func NewNullableSetSecretkeyResponse

func NewNullableSetSecretkeyResponse(val *SetSecretkeyResponse) *NullableSetSecretkeyResponse

func (NullableSetSecretkeyResponse) Get

func (NullableSetSecretkeyResponse) IsSet

func (NullableSetSecretkeyResponse) MarshalJSON

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

func (*NullableSetSecretkeyResponse) Set

func (*NullableSetSecretkeyResponse) UnmarshalJSON

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

func (*NullableSetSecretkeyResponse) Unset

func (v *NullableSetSecretkeyResponse) Unset()

type NullableSignSecretkeyRequest

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

func NewNullableSignSecretkeyRequest

func NewNullableSignSecretkeyRequest(val *SignSecretkeyRequest) *NullableSignSecretkeyRequest

func (NullableSignSecretkeyRequest) Get

func (NullableSignSecretkeyRequest) IsSet

func (NullableSignSecretkeyRequest) MarshalJSON

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

func (*NullableSignSecretkeyRequest) Set

func (*NullableSignSecretkeyRequest) UnmarshalJSON

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

func (*NullableSignSecretkeyRequest) Unset

func (v *NullableSignSecretkeyRequest) Unset()

type NullableSignSecretkeyResponse

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

func (NullableSignSecretkeyResponse) Get

func (NullableSignSecretkeyResponse) IsSet

func (NullableSignSecretkeyResponse) MarshalJSON

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

func (*NullableSignSecretkeyResponse) Set

func (*NullableSignSecretkeyResponse) UnmarshalJSON

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

func (*NullableSignSecretkeyResponse) Unset

func (v *NullableSignSecretkeyResponse) Unset()

type NullableSignalRequest

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

func NewNullableSignalRequest

func NewNullableSignalRequest(val *SignalRequest) *NullableSignalRequest

func (NullableSignalRequest) Get

func (NullableSignalRequest) IsSet

func (v NullableSignalRequest) IsSet() bool

func (NullableSignalRequest) MarshalJSON

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

func (*NullableSignalRequest) Set

func (v *NullableSignalRequest) Set(val *SignalRequest)

func (*NullableSignalRequest) UnmarshalJSON

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

func (*NullableSignalRequest) Unset

func (v *NullableSignalRequest) Unset()

type NullableStopRequest

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

func NewNullableStopRequest

func NewNullableStopRequest(val *StopRequest) *NullableStopRequest

func (NullableStopRequest) Get

func (NullableStopRequest) IsSet

func (v NullableStopRequest) IsSet() bool

func (NullableStopRequest) MarshalJSON

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

func (*NullableStopRequest) Set

func (v *NullableStopRequest) Set(val *StopRequest)

func (*NullableStopRequest) UnmarshalJSON

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

func (*NullableStopRequest) Unset

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

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

func NewNullableUpdateMachineRequest

func NewNullableUpdateMachineRequest(val *UpdateMachineRequest) *NullableUpdateMachineRequest

func (NullableUpdateMachineRequest) Get

func (NullableUpdateMachineRequest) IsSet

func (NullableUpdateMachineRequest) MarshalJSON

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

func (*NullableUpdateMachineRequest) Set

func (*NullableUpdateMachineRequest) UnmarshalJSON

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

func (*NullableUpdateMachineRequest) Unset

func (v *NullableUpdateMachineRequest) Unset()

type NullableUpdateVolumeRequest

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

func NewNullableUpdateVolumeRequest

func NewNullableUpdateVolumeRequest(val *UpdateVolumeRequest) *NullableUpdateVolumeRequest

func (NullableUpdateVolumeRequest) Get

func (NullableUpdateVolumeRequest) IsSet

func (NullableUpdateVolumeRequest) MarshalJSON

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

func (*NullableUpdateVolumeRequest) Set

func (*NullableUpdateVolumeRequest) UnmarshalJSON

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

func (*NullableUpdateVolumeRequest) Unset

func (v *NullableUpdateVolumeRequest) Unset()

type NullableVerifySecretkeyRequest

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

func (NullableVerifySecretkeyRequest) Get

func (NullableVerifySecretkeyRequest) IsSet

func (NullableVerifySecretkeyRequest) MarshalJSON

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

func (*NullableVerifySecretkeyRequest) Set

func (*NullableVerifySecretkeyRequest) UnmarshalJSON

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

func (*NullableVerifySecretkeyRequest) Unset

func (v *NullableVerifySecretkeyRequest) Unset()

type NullableVolume

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

func NewNullableVolume

func NewNullableVolume(val *Volume) *NullableVolume

func (NullableVolume) Get

func (v NullableVolume) Get() *Volume

func (NullableVolume) IsSet

func (v NullableVolume) IsSet() bool

func (NullableVolume) MarshalJSON

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

func (*NullableVolume) Set

func (v *NullableVolume) Set(val *Volume)

func (*NullableVolume) UnmarshalJSON

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

func (*NullableVolume) Unset

func (v *NullableVolume) Unset()

type NullableVolumeSnapshot

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

func NewNullableVolumeSnapshot

func NewNullableVolumeSnapshot(val *VolumeSnapshot) *NullableVolumeSnapshot

func (NullableVolumeSnapshot) Get

func (NullableVolumeSnapshot) IsSet

func (v NullableVolumeSnapshot) IsSet() bool

func (NullableVolumeSnapshot) MarshalJSON

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

func (*NullableVolumeSnapshot) Set

func (*NullableVolumeSnapshot) UnmarshalJSON

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

func (*NullableVolumeSnapshot) Unset

func (v *NullableVolumeSnapshot) Unset()

type Organization

type Organization struct {
	Name *string `json:"name,omitempty"`
	Slug *string `json:"slug,omitempty"`
}

Organization struct for Organization

func NewOrganization

func NewOrganization() *Organization

NewOrganization instantiates a new Organization 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 NewOrganizationWithDefaults

func NewOrganizationWithDefaults() *Organization

NewOrganizationWithDefaults instantiates a new Organization 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 (*Organization) GetName

func (o *Organization) GetName() string

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

func (*Organization) GetNameOk

func (o *Organization) 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 (*Organization) GetSlug

func (o *Organization) GetSlug() string

GetSlug returns the Slug field value if set, zero value otherwise.

func (*Organization) GetSlugOk

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

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

func (*Organization) HasName

func (o *Organization) HasName() bool

HasName returns a boolean if a field has been set.

func (*Organization) HasSlug

func (o *Organization) HasSlug() bool

HasSlug returns a boolean if a field has been set.

func (Organization) MarshalJSON

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

func (*Organization) SetName

func (o *Organization) SetName(v string)

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

func (*Organization) SetSlug

func (o *Organization) SetSlug(v string)

SetSlug gets a reference to the given string and assigns it to the Slug field.

func (Organization) ToMap

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

type PlacementRegionPlacement

type PlacementRegionPlacement struct {
	// Hint on the number of machines in this region can be created concurrently. Equal to the number of unique hosts selected for placement.
	Concurrency *int64  `json:"concurrency,omitempty"`
	Count       *int64  `json:"count,omitempty"`
	Region      *string `json:"region,omitempty"`
}

PlacementRegionPlacement struct for PlacementRegionPlacement

func NewPlacementRegionPlacement

func NewPlacementRegionPlacement() *PlacementRegionPlacement

NewPlacementRegionPlacement instantiates a new PlacementRegionPlacement 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 NewPlacementRegionPlacementWithDefaults

func NewPlacementRegionPlacementWithDefaults() *PlacementRegionPlacement

NewPlacementRegionPlacementWithDefaults instantiates a new PlacementRegionPlacement 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 (*PlacementRegionPlacement) GetConcurrency

func (o *PlacementRegionPlacement) GetConcurrency() int64

GetConcurrency returns the Concurrency field value if set, zero value otherwise.

func (*PlacementRegionPlacement) GetConcurrencyOk

func (o *PlacementRegionPlacement) GetConcurrencyOk() (*int64, bool)

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

func (*PlacementRegionPlacement) GetCount

func (o *PlacementRegionPlacement) GetCount() int64

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

func (*PlacementRegionPlacement) GetCountOk

func (o *PlacementRegionPlacement) GetCountOk() (*int64, bool)

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

func (*PlacementRegionPlacement) GetRegion

func (o *PlacementRegionPlacement) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*PlacementRegionPlacement) GetRegionOk

func (o *PlacementRegionPlacement) GetRegionOk() (*string, bool)

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

func (*PlacementRegionPlacement) HasConcurrency

func (o *PlacementRegionPlacement) HasConcurrency() bool

HasConcurrency returns a boolean if a field has been set.

func (*PlacementRegionPlacement) HasCount

func (o *PlacementRegionPlacement) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*PlacementRegionPlacement) HasRegion

func (o *PlacementRegionPlacement) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (PlacementRegionPlacement) MarshalJSON

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

func (*PlacementRegionPlacement) SetConcurrency

func (o *PlacementRegionPlacement) SetConcurrency(v int64)

SetConcurrency gets a reference to the given int64 and assigns it to the Concurrency field.

func (*PlacementRegionPlacement) SetCount

func (o *PlacementRegionPlacement) SetCount(v int64)

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

func (*PlacementRegionPlacement) SetRegion

func (o *PlacementRegionPlacement) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (PlacementRegionPlacement) ToMap

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

type PlatformAPIService

type PlatformAPIService service

PlatformAPIService PlatformAPI service

func (*PlatformAPIService) PlatformPlacementsPost

func (a *PlatformAPIService) PlatformPlacementsPost(ctx context.Context) ApiPlatformPlacementsPostRequest

PlatformPlacementsPost Get Placements

Simulates placing the specified number of machines into regions, depending on available capacity and limits.

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

func (*PlatformAPIService) PlatformPlacementsPostExecute

Execute executes the request

@return MainGetPlacementsResponse

func (*PlatformAPIService) PlatformRegionsGet

PlatformRegionsGet Get Regions

List all regions on the platform with their current Machine capacity.

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

func (*PlatformAPIService) PlatformRegionsGetExecute

Execute executes the request

@return MainRegionResponse

type ProcessStat

type ProcessStat struct {
	Command       *string        `json:"command,omitempty"`
	Cpu           *int64         `json:"cpu,omitempty"`
	Directory     *string        `json:"directory,omitempty"`
	ListenSockets []ListenSocket `json:"listen_sockets,omitempty"`
	Pid           *int64         `json:"pid,omitempty"`
	Rss           *int64         `json:"rss,omitempty"`
	Rtime         *int64         `json:"rtime,omitempty"`
	Stime         *int64         `json:"stime,omitempty"`
}

ProcessStat struct for ProcessStat

func NewProcessStat

func NewProcessStat() *ProcessStat

NewProcessStat instantiates a new ProcessStat 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 NewProcessStatWithDefaults

func NewProcessStatWithDefaults() *ProcessStat

NewProcessStatWithDefaults instantiates a new ProcessStat 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 (*ProcessStat) GetCommand

func (o *ProcessStat) GetCommand() string

GetCommand returns the Command field value if set, zero value otherwise.

func (*ProcessStat) GetCommandOk

func (o *ProcessStat) GetCommandOk() (*string, bool)

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

func (*ProcessStat) GetCpu

func (o *ProcessStat) GetCpu() int64

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*ProcessStat) GetCpuOk

func (o *ProcessStat) GetCpuOk() (*int64, bool)

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

func (*ProcessStat) GetDirectory

func (o *ProcessStat) GetDirectory() string

GetDirectory returns the Directory field value if set, zero value otherwise.

func (*ProcessStat) GetDirectoryOk

func (o *ProcessStat) GetDirectoryOk() (*string, bool)

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

func (*ProcessStat) GetListenSockets

func (o *ProcessStat) GetListenSockets() []ListenSocket

GetListenSockets returns the ListenSockets field value if set, zero value otherwise.

func (*ProcessStat) GetListenSocketsOk

func (o *ProcessStat) GetListenSocketsOk() ([]ListenSocket, bool)

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

func (*ProcessStat) GetPid

func (o *ProcessStat) GetPid() int64

GetPid returns the Pid field value if set, zero value otherwise.

func (*ProcessStat) GetPidOk

func (o *ProcessStat) GetPidOk() (*int64, bool)

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

func (*ProcessStat) GetRss

func (o *ProcessStat) GetRss() int64

GetRss returns the Rss field value if set, zero value otherwise.

func (*ProcessStat) GetRssOk

func (o *ProcessStat) GetRssOk() (*int64, bool)

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

func (*ProcessStat) GetRtime

func (o *ProcessStat) GetRtime() int64

GetRtime returns the Rtime field value if set, zero value otherwise.

func (*ProcessStat) GetRtimeOk

func (o *ProcessStat) GetRtimeOk() (*int64, bool)

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

func (*ProcessStat) GetStime

func (o *ProcessStat) GetStime() int64

GetStime returns the Stime field value if set, zero value otherwise.

func (*ProcessStat) GetStimeOk

func (o *ProcessStat) GetStimeOk() (*int64, bool)

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

func (*ProcessStat) HasCommand

func (o *ProcessStat) HasCommand() bool

HasCommand returns a boolean if a field has been set.

func (*ProcessStat) HasCpu

func (o *ProcessStat) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*ProcessStat) HasDirectory

func (o *ProcessStat) HasDirectory() bool

HasDirectory returns a boolean if a field has been set.

func (*ProcessStat) HasListenSockets

func (o *ProcessStat) HasListenSockets() bool

HasListenSockets returns a boolean if a field has been set.

func (*ProcessStat) HasPid

func (o *ProcessStat) HasPid() bool

HasPid returns a boolean if a field has been set.

func (*ProcessStat) HasRss

func (o *ProcessStat) HasRss() bool

HasRss returns a boolean if a field has been set.

func (*ProcessStat) HasRtime

func (o *ProcessStat) HasRtime() bool

HasRtime returns a boolean if a field has been set.

func (*ProcessStat) HasStime

func (o *ProcessStat) HasStime() bool

HasStime returns a boolean if a field has been set.

func (ProcessStat) MarshalJSON

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

func (*ProcessStat) SetCommand

func (o *ProcessStat) SetCommand(v string)

SetCommand gets a reference to the given string and assigns it to the Command field.

func (*ProcessStat) SetCpu

func (o *ProcessStat) SetCpu(v int64)

SetCpu gets a reference to the given int64 and assigns it to the Cpu field.

func (*ProcessStat) SetDirectory

func (o *ProcessStat) SetDirectory(v string)

SetDirectory gets a reference to the given string and assigns it to the Directory field.

func (*ProcessStat) SetListenSockets

func (o *ProcessStat) SetListenSockets(v []ListenSocket)

SetListenSockets gets a reference to the given []ListenSocket and assigns it to the ListenSockets field.

func (*ProcessStat) SetPid

func (o *ProcessStat) SetPid(v int64)

SetPid gets a reference to the given int64 and assigns it to the Pid field.

func (*ProcessStat) SetRss

func (o *ProcessStat) SetRss(v int64)

SetRss gets a reference to the given int64 and assigns it to the Rss field.

func (*ProcessStat) SetRtime

func (o *ProcessStat) SetRtime(v int64)

SetRtime gets a reference to the given int64 and assigns it to the Rtime field.

func (*ProcessStat) SetStime

func (o *ProcessStat) SetStime(v int64)

SetStime gets a reference to the given int64 and assigns it to the Stime field.

func (ProcessStat) ToMap

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

type ReadsGetCapacityPerRegionRow

type ReadsGetCapacityPerRegionRow struct {
	Capacity         *int64   `json:"capacity,omitempty"`
	Code             *string  `json:"code,omitempty"`
	GatewayAvailable *bool    `json:"gateway_available,omitempty"`
	GeoRegion        *string  `json:"geo_region,omitempty"`
	Latitude         *float32 `json:"latitude,omitempty"`
	Longitude        *float32 `json:"longitude,omitempty"`
	Name             *string  `json:"name,omitempty"`
	RequiresPaidPlan *bool    `json:"requires_paid_plan,omitempty"`
}

ReadsGetCapacityPerRegionRow struct for ReadsGetCapacityPerRegionRow

func NewReadsGetCapacityPerRegionRow

func NewReadsGetCapacityPerRegionRow() *ReadsGetCapacityPerRegionRow

NewReadsGetCapacityPerRegionRow instantiates a new ReadsGetCapacityPerRegionRow 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 NewReadsGetCapacityPerRegionRowWithDefaults

func NewReadsGetCapacityPerRegionRowWithDefaults() *ReadsGetCapacityPerRegionRow

NewReadsGetCapacityPerRegionRowWithDefaults instantiates a new ReadsGetCapacityPerRegionRow 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 (*ReadsGetCapacityPerRegionRow) GetCapacity

func (o *ReadsGetCapacityPerRegionRow) GetCapacity() int64

GetCapacity returns the Capacity field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetCapacityOk

func (o *ReadsGetCapacityPerRegionRow) GetCapacityOk() (*int64, bool)

GetCapacityOk returns a tuple with the Capacity field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetCode

func (o *ReadsGetCapacityPerRegionRow) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetCodeOk

func (o *ReadsGetCapacityPerRegionRow) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetGatewayAvailable

func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailable() bool

GetGatewayAvailable returns the GatewayAvailable field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetGatewayAvailableOk

func (o *ReadsGetCapacityPerRegionRow) GetGatewayAvailableOk() (*bool, bool)

GetGatewayAvailableOk returns a tuple with the GatewayAvailable field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetGeoRegion

func (o *ReadsGetCapacityPerRegionRow) GetGeoRegion() string

GetGeoRegion returns the GeoRegion field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetGeoRegionOk

func (o *ReadsGetCapacityPerRegionRow) GetGeoRegionOk() (*string, bool)

GetGeoRegionOk returns a tuple with the GeoRegion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetLatitude

func (o *ReadsGetCapacityPerRegionRow) GetLatitude() float32

GetLatitude returns the Latitude field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetLatitudeOk

func (o *ReadsGetCapacityPerRegionRow) GetLatitudeOk() (*float32, bool)

GetLatitudeOk returns a tuple with the Latitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetLongitude

func (o *ReadsGetCapacityPerRegionRow) GetLongitude() float32

GetLongitude returns the Longitude field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetLongitudeOk

func (o *ReadsGetCapacityPerRegionRow) GetLongitudeOk() (*float32, bool)

GetLongitudeOk returns a tuple with the Longitude field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) GetName

func (o *ReadsGetCapacityPerRegionRow) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetNameOk

func (o *ReadsGetCapacityPerRegionRow) 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 (*ReadsGetCapacityPerRegionRow) GetRequiresPaidPlan

func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlan() bool

GetRequiresPaidPlan returns the RequiresPaidPlan field value if set, zero value otherwise.

func (*ReadsGetCapacityPerRegionRow) GetRequiresPaidPlanOk

func (o *ReadsGetCapacityPerRegionRow) GetRequiresPaidPlanOk() (*bool, bool)

GetRequiresPaidPlanOk returns a tuple with the RequiresPaidPlan field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ReadsGetCapacityPerRegionRow) HasCapacity

func (o *ReadsGetCapacityPerRegionRow) HasCapacity() bool

HasCapacity returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasCode

func (o *ReadsGetCapacityPerRegionRow) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasGatewayAvailable

func (o *ReadsGetCapacityPerRegionRow) HasGatewayAvailable() bool

HasGatewayAvailable returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasGeoRegion

func (o *ReadsGetCapacityPerRegionRow) HasGeoRegion() bool

HasGeoRegion returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasLatitude

func (o *ReadsGetCapacityPerRegionRow) HasLatitude() bool

HasLatitude returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasLongitude

func (o *ReadsGetCapacityPerRegionRow) HasLongitude() bool

HasLongitude returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasName

func (o *ReadsGetCapacityPerRegionRow) HasName() bool

HasName returns a boolean if a field has been set.

func (*ReadsGetCapacityPerRegionRow) HasRequiresPaidPlan

func (o *ReadsGetCapacityPerRegionRow) HasRequiresPaidPlan() bool

HasRequiresPaidPlan returns a boolean if a field has been set.

func (ReadsGetCapacityPerRegionRow) MarshalJSON

func (o ReadsGetCapacityPerRegionRow) MarshalJSON() ([]byte, error)

func (*ReadsGetCapacityPerRegionRow) SetCapacity

func (o *ReadsGetCapacityPerRegionRow) SetCapacity(v int64)

SetCapacity gets a reference to the given int64 and assigns it to the Capacity field.

func (*ReadsGetCapacityPerRegionRow) SetCode

func (o *ReadsGetCapacityPerRegionRow) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*ReadsGetCapacityPerRegionRow) SetGatewayAvailable

func (o *ReadsGetCapacityPerRegionRow) SetGatewayAvailable(v bool)

SetGatewayAvailable gets a reference to the given bool and assigns it to the GatewayAvailable field.

func (*ReadsGetCapacityPerRegionRow) SetGeoRegion

func (o *ReadsGetCapacityPerRegionRow) SetGeoRegion(v string)

SetGeoRegion gets a reference to the given string and assigns it to the GeoRegion field.

func (*ReadsGetCapacityPerRegionRow) SetLatitude

func (o *ReadsGetCapacityPerRegionRow) SetLatitude(v float32)

SetLatitude gets a reference to the given float32 and assigns it to the Latitude field.

func (*ReadsGetCapacityPerRegionRow) SetLongitude

func (o *ReadsGetCapacityPerRegionRow) SetLongitude(v float32)

SetLongitude gets a reference to the given float32 and assigns it to the Longitude field.

func (*ReadsGetCapacityPerRegionRow) SetName

func (o *ReadsGetCapacityPerRegionRow) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*ReadsGetCapacityPerRegionRow) SetRequiresPaidPlan

func (o *ReadsGetCapacityPerRegionRow) SetRequiresPaidPlan(v bool)

SetRequiresPaidPlan gets a reference to the given bool and assigns it to the RequiresPaidPlan field.

func (ReadsGetCapacityPerRegionRow) ToMap

func (o ReadsGetCapacityPerRegionRow) ToMap() (map[string]interface{}, error)

type SecretKey

type SecretKey struct {
	Name      *string `json:"name,omitempty"`
	PublicKey []int64 `json:"public_key,omitempty"`
	Type      *string `json:"type,omitempty"`
}

SecretKey struct for SecretKey

func NewSecretKey

func NewSecretKey() *SecretKey

NewSecretKey instantiates a new SecretKey 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 NewSecretKeyWithDefaults

func NewSecretKeyWithDefaults() *SecretKey

NewSecretKeyWithDefaults instantiates a new SecretKey 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 (*SecretKey) GetName

func (o *SecretKey) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SecretKey) GetNameOk

func (o *SecretKey) 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 (*SecretKey) GetPublicKey

func (o *SecretKey) GetPublicKey() []int64

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*SecretKey) GetPublicKeyOk

func (o *SecretKey) GetPublicKeyOk() ([]int64, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecretKey) GetType

func (o *SecretKey) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SecretKey) GetTypeOk

func (o *SecretKey) GetTypeOk() (*string, 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 (*SecretKey) HasName

func (o *SecretKey) HasName() bool

HasName returns a boolean if a field has been set.

func (*SecretKey) HasPublicKey

func (o *SecretKey) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*SecretKey) HasType

func (o *SecretKey) HasType() bool

HasType returns a boolean if a field has been set.

func (SecretKey) MarshalJSON

func (o SecretKey) MarshalJSON() ([]byte, error)

func (*SecretKey) SetName

func (o *SecretKey) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SecretKey) SetPublicKey

func (o *SecretKey) SetPublicKey(v []int64)

SetPublicKey gets a reference to the given []int64 and assigns it to the PublicKey field.

func (*SecretKey) SetType

func (o *SecretKey) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (SecretKey) ToMap

func (o SecretKey) ToMap() (map[string]interface{}, error)

type SecretKeys

type SecretKeys struct {
	SecretKeys []SecretKey `json:"secret_keys,omitempty"`
}

SecretKeys struct for SecretKeys

func NewSecretKeys

func NewSecretKeys() *SecretKeys

NewSecretKeys instantiates a new SecretKeys 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 NewSecretKeysWithDefaults

func NewSecretKeysWithDefaults() *SecretKeys

NewSecretKeysWithDefaults instantiates a new SecretKeys 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 (*SecretKeys) GetSecretKeys

func (o *SecretKeys) GetSecretKeys() []SecretKey

GetSecretKeys returns the SecretKeys field value if set, zero value otherwise.

func (*SecretKeys) GetSecretKeysOk

func (o *SecretKeys) GetSecretKeysOk() ([]SecretKey, bool)

GetSecretKeysOk returns a tuple with the SecretKeys field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SecretKeys) HasSecretKeys

func (o *SecretKeys) HasSecretKeys() bool

HasSecretKeys returns a boolean if a field has been set.

func (SecretKeys) MarshalJSON

func (o SecretKeys) MarshalJSON() ([]byte, error)

func (*SecretKeys) SetSecretKeys

func (o *SecretKeys) SetSecretKeys(v []SecretKey)

SetSecretKeys gets a reference to the given []SecretKey and assigns it to the SecretKeys field.

func (SecretKeys) ToMap

func (o SecretKeys) ToMap() (map[string]interface{}, error)

type SecretsAPIService

type SecretsAPIService service

SecretsAPIService SecretsAPI service

func (*SecretsAPIService) SecretCreate

func (a *SecretsAPIService) SecretCreate(ctx context.Context, appName string, secretName string) ApiSecretCreateRequest

SecretCreate Create or update Secret

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName App secret name
@return ApiSecretCreateRequest

func (*SecretsAPIService) SecretCreateExecute

Execute executes the request

@return SetAppSecretResponse

func (*SecretsAPIService) SecretDelete

func (a *SecretsAPIService) SecretDelete(ctx context.Context, appName string, secretName string) ApiSecretDeleteRequest

SecretDelete Delete an app secret

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName App secret name
@return ApiSecretDeleteRequest

func (*SecretsAPIService) SecretDeleteExecute

func (a *SecretsAPIService) SecretDeleteExecute(r ApiSecretDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SecretsAPIService) SecretGet

func (a *SecretsAPIService) SecretGet(ctx context.Context, appName string, secretName string) ApiSecretGetRequest

SecretGet Get an app secret

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName App secret name
@return ApiSecretGetRequest

func (*SecretsAPIService) SecretGetExecute

func (a *SecretsAPIService) SecretGetExecute(r ApiSecretGetRequest) (*AppSecret, *http.Response, error)

Execute executes the request

@return AppSecret

func (*SecretsAPIService) SecretkeyDecrypt

func (a *SecretsAPIService) SecretkeyDecrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyDecryptRequest

SecretkeyDecrypt Decrypt with a secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyDecryptRequest

func (*SecretsAPIService) SecretkeyDecryptExecute

Execute executes the request

@return DecryptSecretkeyResponse

func (*SecretsAPIService) SecretkeyDelete

func (a *SecretsAPIService) SecretkeyDelete(ctx context.Context, appName string, secretName string) ApiSecretkeyDeleteRequest

SecretkeyDelete Delete an app's secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyDeleteRequest

func (*SecretsAPIService) SecretkeyDeleteExecute

func (a *SecretsAPIService) SecretkeyDeleteExecute(r ApiSecretkeyDeleteRequest) (*http.Response, error)

Execute executes the request

func (*SecretsAPIService) SecretkeyEncrypt

func (a *SecretsAPIService) SecretkeyEncrypt(ctx context.Context, appName string, secretName string) ApiSecretkeyEncryptRequest

SecretkeyEncrypt Encrypt with a secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyEncryptRequest

func (*SecretsAPIService) SecretkeyEncryptExecute

Execute executes the request

@return EncryptSecretkeyResponse

func (*SecretsAPIService) SecretkeyGenerate

func (a *SecretsAPIService) SecretkeyGenerate(ctx context.Context, appName string, secretName string) ApiSecretkeyGenerateRequest

SecretkeyGenerate Generate a random secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyGenerateRequest

func (*SecretsAPIService) SecretkeyGenerateExecute

Execute executes the request

@return SetSecretkeyResponse

func (*SecretsAPIService) SecretkeyGet

func (a *SecretsAPIService) SecretkeyGet(ctx context.Context, appName string, secretName string) ApiSecretkeyGetRequest

SecretkeyGet Get an app's secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyGetRequest

func (*SecretsAPIService) SecretkeyGetExecute

func (a *SecretsAPIService) SecretkeyGetExecute(r ApiSecretkeyGetRequest) (*SecretKey, *http.Response, error)

Execute executes the request

@return SecretKey

func (*SecretsAPIService) SecretkeySet

func (a *SecretsAPIService) SecretkeySet(ctx context.Context, appName string, secretName string) ApiSecretkeySetRequest

SecretkeySet Create or update a secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeySetRequest

func (*SecretsAPIService) SecretkeySetExecute

Execute executes the request

@return SetSecretkeyResponse

func (*SecretsAPIService) SecretkeySign

func (a *SecretsAPIService) SecretkeySign(ctx context.Context, appName string, secretName string) ApiSecretkeySignRequest

SecretkeySign Sign with a secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeySignRequest

func (*SecretsAPIService) SecretkeySignExecute

Execute executes the request

@return SignSecretkeyResponse

func (*SecretsAPIService) SecretkeyVerify

func (a *SecretsAPIService) SecretkeyVerify(ctx context.Context, appName string, secretName string) ApiSecretkeyVerifyRequest

SecretkeyVerify Verify with a secret key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param secretName Secret key name
@return ApiSecretkeyVerifyRequest

func (*SecretsAPIService) SecretkeyVerifyExecute

func (a *SecretsAPIService) SecretkeyVerifyExecute(r ApiSecretkeyVerifyRequest) (*http.Response, error)

Execute executes the request

func (*SecretsAPIService) SecretkeysList

func (a *SecretsAPIService) SecretkeysList(ctx context.Context, appName string) ApiSecretkeysListRequest

SecretkeysList List secret keys belonging to an app

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@return ApiSecretkeysListRequest

func (*SecretsAPIService) SecretkeysListExecute

func (a *SecretsAPIService) SecretkeysListExecute(r ApiSecretkeysListRequest) (*SecretKeys, *http.Response, error)

Execute executes the request

@return SecretKeys

func (*SecretsAPIService) SecretsList

func (a *SecretsAPIService) SecretsList(ctx context.Context, appName string) ApiSecretsListRequest

SecretsList List app secrets belonging to an app

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@return ApiSecretsListRequest

func (*SecretsAPIService) SecretsListExecute

func (a *SecretsAPIService) SecretsListExecute(r ApiSecretsListRequest) (*AppSecrets, *http.Response, error)

Execute executes the request

@return AppSecrets

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 SetAppSecretRequest

type SetAppSecretRequest struct {
	Value *string `json:"value,omitempty"`
}

SetAppSecretRequest struct for SetAppSecretRequest

func NewSetAppSecretRequest

func NewSetAppSecretRequest() *SetAppSecretRequest

NewSetAppSecretRequest instantiates a new SetAppSecretRequest 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 NewSetAppSecretRequestWithDefaults

func NewSetAppSecretRequestWithDefaults() *SetAppSecretRequest

NewSetAppSecretRequestWithDefaults instantiates a new SetAppSecretRequest 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 (*SetAppSecretRequest) GetValue

func (o *SetAppSecretRequest) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*SetAppSecretRequest) GetValueOk

func (o *SetAppSecretRequest) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetAppSecretRequest) HasValue

func (o *SetAppSecretRequest) HasValue() bool

HasValue returns a boolean if a field has been set.

func (SetAppSecretRequest) MarshalJSON

func (o SetAppSecretRequest) MarshalJSON() ([]byte, error)

func (*SetAppSecretRequest) SetValue

func (o *SetAppSecretRequest) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (SetAppSecretRequest) ToMap

func (o SetAppSecretRequest) ToMap() (map[string]interface{}, error)

type SetAppSecretResponse

type SetAppSecretResponse struct {
	Digest  *string `json:"digest,omitempty"`
	Name    *string `json:"name,omitempty"`
	Value   *string `json:"value,omitempty"`
	Version *int64  `json:"version,omitempty"`
}

SetAppSecretResponse struct for SetAppSecretResponse

func NewSetAppSecretResponse

func NewSetAppSecretResponse() *SetAppSecretResponse

NewSetAppSecretResponse instantiates a new SetAppSecretResponse 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 NewSetAppSecretResponseWithDefaults

func NewSetAppSecretResponseWithDefaults() *SetAppSecretResponse

NewSetAppSecretResponseWithDefaults instantiates a new SetAppSecretResponse 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 (*SetAppSecretResponse) GetDigest

func (o *SetAppSecretResponse) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*SetAppSecretResponse) GetDigestOk

func (o *SetAppSecretResponse) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetAppSecretResponse) GetName

func (o *SetAppSecretResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SetAppSecretResponse) GetNameOk

func (o *SetAppSecretResponse) 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 (*SetAppSecretResponse) GetValue

func (o *SetAppSecretResponse) GetValue() string

GetValue returns the Value field value if set, zero value otherwise.

func (*SetAppSecretResponse) GetValueOk

func (o *SetAppSecretResponse) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetAppSecretResponse) GetVersion

func (o *SetAppSecretResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SetAppSecretResponse) GetVersionOk

func (o *SetAppSecretResponse) GetVersionOk() (*int64, 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 (*SetAppSecretResponse) HasDigest

func (o *SetAppSecretResponse) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*SetAppSecretResponse) HasName

func (o *SetAppSecretResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*SetAppSecretResponse) HasValue

func (o *SetAppSecretResponse) HasValue() bool

HasValue returns a boolean if a field has been set.

func (*SetAppSecretResponse) HasVersion

func (o *SetAppSecretResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SetAppSecretResponse) MarshalJSON

func (o SetAppSecretResponse) MarshalJSON() ([]byte, error)

func (*SetAppSecretResponse) SetDigest

func (o *SetAppSecretResponse) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*SetAppSecretResponse) SetName

func (o *SetAppSecretResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SetAppSecretResponse) SetValue

func (o *SetAppSecretResponse) SetValue(v string)

SetValue gets a reference to the given string and assigns it to the Value field.

func (*SetAppSecretResponse) SetVersion

func (o *SetAppSecretResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (SetAppSecretResponse) ToMap

func (o SetAppSecretResponse) ToMap() (map[string]interface{}, error)

type SetSecretkeyRequest

type SetSecretkeyRequest struct {
	Type  *string `json:"type,omitempty"`
	Value []int64 `json:"value,omitempty"`
}

SetSecretkeyRequest struct for SetSecretkeyRequest

func NewSetSecretkeyRequest

func NewSetSecretkeyRequest() *SetSecretkeyRequest

NewSetSecretkeyRequest instantiates a new SetSecretkeyRequest 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 NewSetSecretkeyRequestWithDefaults

func NewSetSecretkeyRequestWithDefaults() *SetSecretkeyRequest

NewSetSecretkeyRequestWithDefaults instantiates a new SetSecretkeyRequest 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 (*SetSecretkeyRequest) GetType

func (o *SetSecretkeyRequest) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SetSecretkeyRequest) GetTypeOk

func (o *SetSecretkeyRequest) GetTypeOk() (*string, 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 (*SetSecretkeyRequest) GetValue

func (o *SetSecretkeyRequest) GetValue() []int64

GetValue returns the Value field value if set, zero value otherwise.

func (*SetSecretkeyRequest) GetValueOk

func (o *SetSecretkeyRequest) GetValueOk() ([]int64, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetSecretkeyRequest) HasType

func (o *SetSecretkeyRequest) HasType() bool

HasType returns a boolean if a field has been set.

func (*SetSecretkeyRequest) HasValue

func (o *SetSecretkeyRequest) HasValue() bool

HasValue returns a boolean if a field has been set.

func (SetSecretkeyRequest) MarshalJSON

func (o SetSecretkeyRequest) MarshalJSON() ([]byte, error)

func (*SetSecretkeyRequest) SetType

func (o *SetSecretkeyRequest) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*SetSecretkeyRequest) SetValue

func (o *SetSecretkeyRequest) SetValue(v []int64)

SetValue gets a reference to the given []int64 and assigns it to the Value field.

func (SetSecretkeyRequest) ToMap

func (o SetSecretkeyRequest) ToMap() (map[string]interface{}, error)

type SetSecretkeyResponse

type SetSecretkeyResponse struct {
	Name      *string `json:"name,omitempty"`
	PublicKey []int64 `json:"public_key,omitempty"`
	Type      *string `json:"type,omitempty"`
	Version   *int64  `json:"version,omitempty"`
}

SetSecretkeyResponse struct for SetSecretkeyResponse

func NewSetSecretkeyResponse

func NewSetSecretkeyResponse() *SetSecretkeyResponse

NewSetSecretkeyResponse instantiates a new SetSecretkeyResponse 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 NewSetSecretkeyResponseWithDefaults

func NewSetSecretkeyResponseWithDefaults() *SetSecretkeyResponse

NewSetSecretkeyResponseWithDefaults instantiates a new SetSecretkeyResponse 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 (*SetSecretkeyResponse) GetName

func (o *SetSecretkeyResponse) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*SetSecretkeyResponse) GetNameOk

func (o *SetSecretkeyResponse) 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 (*SetSecretkeyResponse) GetPublicKey

func (o *SetSecretkeyResponse) GetPublicKey() []int64

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*SetSecretkeyResponse) GetPublicKeyOk

func (o *SetSecretkeyResponse) GetPublicKeyOk() ([]int64, bool)

GetPublicKeyOk returns a tuple with the PublicKey field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SetSecretkeyResponse) GetType

func (o *SetSecretkeyResponse) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*SetSecretkeyResponse) GetTypeOk

func (o *SetSecretkeyResponse) GetTypeOk() (*string, 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 (*SetSecretkeyResponse) GetVersion

func (o *SetSecretkeyResponse) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*SetSecretkeyResponse) GetVersionOk

func (o *SetSecretkeyResponse) GetVersionOk() (*int64, 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 (*SetSecretkeyResponse) HasName

func (o *SetSecretkeyResponse) HasName() bool

HasName returns a boolean if a field has been set.

func (*SetSecretkeyResponse) HasPublicKey

func (o *SetSecretkeyResponse) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (*SetSecretkeyResponse) HasType

func (o *SetSecretkeyResponse) HasType() bool

HasType returns a boolean if a field has been set.

func (*SetSecretkeyResponse) HasVersion

func (o *SetSecretkeyResponse) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (SetSecretkeyResponse) MarshalJSON

func (o SetSecretkeyResponse) MarshalJSON() ([]byte, error)

func (*SetSecretkeyResponse) SetName

func (o *SetSecretkeyResponse) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*SetSecretkeyResponse) SetPublicKey

func (o *SetSecretkeyResponse) SetPublicKey(v []int64)

SetPublicKey gets a reference to the given []int64 and assigns it to the PublicKey field.

func (*SetSecretkeyResponse) SetType

func (o *SetSecretkeyResponse) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*SetSecretkeyResponse) SetVersion

func (o *SetSecretkeyResponse) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

func (SetSecretkeyResponse) ToMap

func (o SetSecretkeyResponse) ToMap() (map[string]interface{}, error)

type SignSecretkeyRequest

type SignSecretkeyRequest struct {
	Plaintext []int64 `json:"plaintext,omitempty"`
}

SignSecretkeyRequest struct for SignSecretkeyRequest

func NewSignSecretkeyRequest

func NewSignSecretkeyRequest() *SignSecretkeyRequest

NewSignSecretkeyRequest instantiates a new SignSecretkeyRequest 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 NewSignSecretkeyRequestWithDefaults

func NewSignSecretkeyRequestWithDefaults() *SignSecretkeyRequest

NewSignSecretkeyRequestWithDefaults instantiates a new SignSecretkeyRequest 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 (*SignSecretkeyRequest) GetPlaintext

func (o *SignSecretkeyRequest) GetPlaintext() []int64

GetPlaintext returns the Plaintext field value if set, zero value otherwise.

func (*SignSecretkeyRequest) GetPlaintextOk

func (o *SignSecretkeyRequest) GetPlaintextOk() ([]int64, bool)

GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignSecretkeyRequest) HasPlaintext

func (o *SignSecretkeyRequest) HasPlaintext() bool

HasPlaintext returns a boolean if a field has been set.

func (SignSecretkeyRequest) MarshalJSON

func (o SignSecretkeyRequest) MarshalJSON() ([]byte, error)

func (*SignSecretkeyRequest) SetPlaintext

func (o *SignSecretkeyRequest) SetPlaintext(v []int64)

SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.

func (SignSecretkeyRequest) ToMap

func (o SignSecretkeyRequest) ToMap() (map[string]interface{}, error)

type SignSecretkeyResponse

type SignSecretkeyResponse struct {
	Signature []int64 `json:"signature,omitempty"`
}

SignSecretkeyResponse struct for SignSecretkeyResponse

func NewSignSecretkeyResponse

func NewSignSecretkeyResponse() *SignSecretkeyResponse

NewSignSecretkeyResponse instantiates a new SignSecretkeyResponse 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 NewSignSecretkeyResponseWithDefaults

func NewSignSecretkeyResponseWithDefaults() *SignSecretkeyResponse

NewSignSecretkeyResponseWithDefaults instantiates a new SignSecretkeyResponse 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 (*SignSecretkeyResponse) GetSignature

func (o *SignSecretkeyResponse) GetSignature() []int64

GetSignature returns the Signature field value if set, zero value otherwise.

func (*SignSecretkeyResponse) GetSignatureOk

func (o *SignSecretkeyResponse) GetSignatureOk() ([]int64, bool)

GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignSecretkeyResponse) HasSignature

func (o *SignSecretkeyResponse) HasSignature() bool

HasSignature returns a boolean if a field has been set.

func (SignSecretkeyResponse) MarshalJSON

func (o SignSecretkeyResponse) MarshalJSON() ([]byte, error)

func (*SignSecretkeyResponse) SetSignature

func (o *SignSecretkeyResponse) SetSignature(v []int64)

SetSignature gets a reference to the given []int64 and assigns it to the Signature field.

func (SignSecretkeyResponse) ToMap

func (o SignSecretkeyResponse) ToMap() (map[string]interface{}, error)

type SignalRequest

type SignalRequest struct {
	Signal *string `json:"signal,omitempty"`
}

SignalRequest struct for SignalRequest

func NewSignalRequest

func NewSignalRequest() *SignalRequest

NewSignalRequest instantiates a new SignalRequest 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 NewSignalRequestWithDefaults

func NewSignalRequestWithDefaults() *SignalRequest

NewSignalRequestWithDefaults instantiates a new SignalRequest 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 (*SignalRequest) GetSignal

func (o *SignalRequest) GetSignal() string

GetSignal returns the Signal field value if set, zero value otherwise.

func (*SignalRequest) GetSignalOk

func (o *SignalRequest) GetSignalOk() (*string, bool)

GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*SignalRequest) HasSignal

func (o *SignalRequest) HasSignal() bool

HasSignal returns a boolean if a field has been set.

func (SignalRequest) MarshalJSON

func (o SignalRequest) MarshalJSON() ([]byte, error)

func (*SignalRequest) SetSignal

func (o *SignalRequest) SetSignal(v string)

SetSignal gets a reference to the given string and assigns it to the Signal field.

func (SignalRequest) ToMap

func (o SignalRequest) ToMap() (map[string]interface{}, error)

type StopRequest

type StopRequest struct {
	Signal  *string      `json:"signal,omitempty"`
	Timeout *FlyDuration `json:"timeout,omitempty"`
}

StopRequest struct for StopRequest

func NewStopRequest

func NewStopRequest() *StopRequest

NewStopRequest instantiates a new StopRequest 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 NewStopRequestWithDefaults

func NewStopRequestWithDefaults() *StopRequest

NewStopRequestWithDefaults instantiates a new StopRequest 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 (*StopRequest) GetSignal

func (o *StopRequest) GetSignal() string

GetSignal returns the Signal field value if set, zero value otherwise.

func (*StopRequest) GetSignalOk

func (o *StopRequest) GetSignalOk() (*string, bool)

GetSignalOk returns a tuple with the Signal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StopRequest) GetTimeout

func (o *StopRequest) GetTimeout() FlyDuration

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*StopRequest) GetTimeoutOk

func (o *StopRequest) GetTimeoutOk() (*FlyDuration, bool)

GetTimeoutOk returns a tuple with the Timeout field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StopRequest) HasSignal

func (o *StopRequest) HasSignal() bool

HasSignal returns a boolean if a field has been set.

func (*StopRequest) HasTimeout

func (o *StopRequest) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (StopRequest) MarshalJSON

func (o StopRequest) MarshalJSON() ([]byte, error)

func (*StopRequest) SetSignal

func (o *StopRequest) SetSignal(v string)

SetSignal gets a reference to the given string and assigns it to the Signal field.

func (*StopRequest) SetTimeout

func (o *StopRequest) SetTimeout(v FlyDuration)

SetTimeout gets a reference to the given FlyDuration and assigns it to the Timeout field.

func (StopRequest) ToMap

func (o StopRequest) ToMap() (map[string]interface{}, error)

type TokensAPIService

type TokensAPIService service

TokensAPIService TokensAPI service

func (*TokensAPIService) TokensRequestKms

TokensRequestKms Request a Petsem token for accessing KMS

This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTokensRequestKmsRequest

func (*TokensAPIService) TokensRequestKmsExecute

func (a *TokensAPIService) TokensRequestKmsExecute(r ApiTokensRequestKmsRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*TokensAPIService) TokensRequestOIDC

func (a *TokensAPIService) TokensRequestOIDC(ctx context.Context) ApiTokensRequestOIDCRequest

TokensRequestOIDC Request an OIDC token

Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiTokensRequestOIDCRequest

func (*TokensAPIService) TokensRequestOIDCExecute

func (a *TokensAPIService) TokensRequestOIDCExecute(r ApiTokensRequestOIDCRequest) (string, *http.Response, error)

Execute executes the request

@return string

type UpdateMachineRequest

type UpdateMachineRequest struct {
	// An object defining the Machine configuration
	Config         *FlyMachineConfig `json:"config,omitempty"`
	CurrentVersion *string           `json:"current_version,omitempty"`
	LeaseTtl       *int64            `json:"lease_ttl,omitempty"`
	Lsvd           *bool             `json:"lsvd,omitempty"`
	// Unique name for this Machine. If omitted, one is generated for you
	Name *string `json:"name,omitempty"`
	// The target region. Omitting this param launches in the same region as your WireGuard peer connection (somewhere near you).
	Region                  *string `json:"region,omitempty"`
	SkipLaunch              *bool   `json:"skip_launch,omitempty"`
	SkipSecrets             *bool   `json:"skip_secrets,omitempty"`
	SkipServiceRegistration *bool   `json:"skip_service_registration,omitempty"`
}

UpdateMachineRequest struct for UpdateMachineRequest

func NewUpdateMachineRequest

func NewUpdateMachineRequest() *UpdateMachineRequest

NewUpdateMachineRequest instantiates a new UpdateMachineRequest 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 NewUpdateMachineRequestWithDefaults

func NewUpdateMachineRequestWithDefaults() *UpdateMachineRequest

NewUpdateMachineRequestWithDefaults instantiates a new UpdateMachineRequest 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 (*UpdateMachineRequest) GetConfig

func (o *UpdateMachineRequest) GetConfig() FlyMachineConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetConfigOk

func (o *UpdateMachineRequest) GetConfigOk() (*FlyMachineConfig, bool)

GetConfigOk returns a tuple with the Config field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetCurrentVersion

func (o *UpdateMachineRequest) GetCurrentVersion() string

GetCurrentVersion returns the CurrentVersion field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetCurrentVersionOk

func (o *UpdateMachineRequest) GetCurrentVersionOk() (*string, bool)

GetCurrentVersionOk returns a tuple with the CurrentVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetLeaseTtl

func (o *UpdateMachineRequest) GetLeaseTtl() int64

GetLeaseTtl returns the LeaseTtl field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetLeaseTtlOk

func (o *UpdateMachineRequest) GetLeaseTtlOk() (*int64, bool)

GetLeaseTtlOk returns a tuple with the LeaseTtl field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetLsvd

func (o *UpdateMachineRequest) GetLsvd() bool

GetLsvd returns the Lsvd field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetLsvdOk

func (o *UpdateMachineRequest) GetLsvdOk() (*bool, bool)

GetLsvdOk returns a tuple with the Lsvd field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetName

func (o *UpdateMachineRequest) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetNameOk

func (o *UpdateMachineRequest) 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 (*UpdateMachineRequest) GetRegion

func (o *UpdateMachineRequest) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetRegionOk

func (o *UpdateMachineRequest) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetSkipLaunch

func (o *UpdateMachineRequest) GetSkipLaunch() bool

GetSkipLaunch returns the SkipLaunch field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetSkipLaunchOk

func (o *UpdateMachineRequest) GetSkipLaunchOk() (*bool, bool)

GetSkipLaunchOk returns a tuple with the SkipLaunch field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetSkipSecrets

func (o *UpdateMachineRequest) GetSkipSecrets() bool

GetSkipSecrets returns the SkipSecrets field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetSkipSecretsOk

func (o *UpdateMachineRequest) GetSkipSecretsOk() (*bool, bool)

GetSkipSecretsOk returns a tuple with the SkipSecrets field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) GetSkipServiceRegistration

func (o *UpdateMachineRequest) GetSkipServiceRegistration() bool

GetSkipServiceRegistration returns the SkipServiceRegistration field value if set, zero value otherwise.

func (*UpdateMachineRequest) GetSkipServiceRegistrationOk

func (o *UpdateMachineRequest) GetSkipServiceRegistrationOk() (*bool, bool)

GetSkipServiceRegistrationOk returns a tuple with the SkipServiceRegistration field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateMachineRequest) HasConfig

func (o *UpdateMachineRequest) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasCurrentVersion

func (o *UpdateMachineRequest) HasCurrentVersion() bool

HasCurrentVersion returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasLeaseTtl

func (o *UpdateMachineRequest) HasLeaseTtl() bool

HasLeaseTtl returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasLsvd

func (o *UpdateMachineRequest) HasLsvd() bool

HasLsvd returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasName

func (o *UpdateMachineRequest) HasName() bool

HasName returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasRegion

func (o *UpdateMachineRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasSkipLaunch

func (o *UpdateMachineRequest) HasSkipLaunch() bool

HasSkipLaunch returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasSkipSecrets

func (o *UpdateMachineRequest) HasSkipSecrets() bool

HasSkipSecrets returns a boolean if a field has been set.

func (*UpdateMachineRequest) HasSkipServiceRegistration

func (o *UpdateMachineRequest) HasSkipServiceRegistration() bool

HasSkipServiceRegistration returns a boolean if a field has been set.

func (UpdateMachineRequest) MarshalJSON

func (o UpdateMachineRequest) MarshalJSON() ([]byte, error)

func (*UpdateMachineRequest) SetConfig

func (o *UpdateMachineRequest) SetConfig(v FlyMachineConfig)

SetConfig gets a reference to the given FlyMachineConfig and assigns it to the Config field.

func (*UpdateMachineRequest) SetCurrentVersion

func (o *UpdateMachineRequest) SetCurrentVersion(v string)

SetCurrentVersion gets a reference to the given string and assigns it to the CurrentVersion field.

func (*UpdateMachineRequest) SetLeaseTtl

func (o *UpdateMachineRequest) SetLeaseTtl(v int64)

SetLeaseTtl gets a reference to the given int64 and assigns it to the LeaseTtl field.

func (*UpdateMachineRequest) SetLsvd

func (o *UpdateMachineRequest) SetLsvd(v bool)

SetLsvd gets a reference to the given bool and assigns it to the Lsvd field.

func (*UpdateMachineRequest) SetName

func (o *UpdateMachineRequest) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*UpdateMachineRequest) SetRegion

func (o *UpdateMachineRequest) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*UpdateMachineRequest) SetSkipLaunch

func (o *UpdateMachineRequest) SetSkipLaunch(v bool)

SetSkipLaunch gets a reference to the given bool and assigns it to the SkipLaunch field.

func (*UpdateMachineRequest) SetSkipSecrets

func (o *UpdateMachineRequest) SetSkipSecrets(v bool)

SetSkipSecrets gets a reference to the given bool and assigns it to the SkipSecrets field.

func (*UpdateMachineRequest) SetSkipServiceRegistration

func (o *UpdateMachineRequest) SetSkipServiceRegistration(v bool)

SetSkipServiceRegistration gets a reference to the given bool and assigns it to the SkipServiceRegistration field.

func (UpdateMachineRequest) ToMap

func (o UpdateMachineRequest) ToMap() (map[string]interface{}, error)

type UpdateVolumeRequest

type UpdateVolumeRequest struct {
	AutoBackupEnabled *bool  `json:"auto_backup_enabled,omitempty"`
	SnapshotRetention *int64 `json:"snapshot_retention,omitempty"`
}

UpdateVolumeRequest struct for UpdateVolumeRequest

func NewUpdateVolumeRequest

func NewUpdateVolumeRequest() *UpdateVolumeRequest

NewUpdateVolumeRequest instantiates a new UpdateVolumeRequest 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 NewUpdateVolumeRequestWithDefaults

func NewUpdateVolumeRequestWithDefaults() *UpdateVolumeRequest

NewUpdateVolumeRequestWithDefaults instantiates a new UpdateVolumeRequest 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 (*UpdateVolumeRequest) GetAutoBackupEnabled

func (o *UpdateVolumeRequest) GetAutoBackupEnabled() bool

GetAutoBackupEnabled returns the AutoBackupEnabled field value if set, zero value otherwise.

func (*UpdateVolumeRequest) GetAutoBackupEnabledOk

func (o *UpdateVolumeRequest) GetAutoBackupEnabledOk() (*bool, bool)

GetAutoBackupEnabledOk returns a tuple with the AutoBackupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeRequest) GetSnapshotRetention

func (o *UpdateVolumeRequest) GetSnapshotRetention() int64

GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.

func (*UpdateVolumeRequest) GetSnapshotRetentionOk

func (o *UpdateVolumeRequest) GetSnapshotRetentionOk() (*int64, bool)

GetSnapshotRetentionOk returns a tuple with the SnapshotRetention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*UpdateVolumeRequest) HasAutoBackupEnabled

func (o *UpdateVolumeRequest) HasAutoBackupEnabled() bool

HasAutoBackupEnabled returns a boolean if a field has been set.

func (*UpdateVolumeRequest) HasSnapshotRetention

func (o *UpdateVolumeRequest) HasSnapshotRetention() bool

HasSnapshotRetention returns a boolean if a field has been set.

func (UpdateVolumeRequest) MarshalJSON

func (o UpdateVolumeRequest) MarshalJSON() ([]byte, error)

func (*UpdateVolumeRequest) SetAutoBackupEnabled

func (o *UpdateVolumeRequest) SetAutoBackupEnabled(v bool)

SetAutoBackupEnabled gets a reference to the given bool and assigns it to the AutoBackupEnabled field.

func (*UpdateVolumeRequest) SetSnapshotRetention

func (o *UpdateVolumeRequest) SetSnapshotRetention(v int64)

SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.

func (UpdateVolumeRequest) ToMap

func (o UpdateVolumeRequest) ToMap() (map[string]interface{}, error)

type VerifySecretkeyRequest

type VerifySecretkeyRequest struct {
	Plaintext []int64 `json:"plaintext,omitempty"`
	Signature []int64 `json:"signature,omitempty"`
}

VerifySecretkeyRequest struct for VerifySecretkeyRequest

func NewVerifySecretkeyRequest

func NewVerifySecretkeyRequest() *VerifySecretkeyRequest

NewVerifySecretkeyRequest instantiates a new VerifySecretkeyRequest 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 NewVerifySecretkeyRequestWithDefaults

func NewVerifySecretkeyRequestWithDefaults() *VerifySecretkeyRequest

NewVerifySecretkeyRequestWithDefaults instantiates a new VerifySecretkeyRequest 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 (*VerifySecretkeyRequest) GetPlaintext

func (o *VerifySecretkeyRequest) GetPlaintext() []int64

GetPlaintext returns the Plaintext field value if set, zero value otherwise.

func (*VerifySecretkeyRequest) GetPlaintextOk

func (o *VerifySecretkeyRequest) GetPlaintextOk() ([]int64, bool)

GetPlaintextOk returns a tuple with the Plaintext field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifySecretkeyRequest) GetSignature

func (o *VerifySecretkeyRequest) GetSignature() []int64

GetSignature returns the Signature field value if set, zero value otherwise.

func (*VerifySecretkeyRequest) GetSignatureOk

func (o *VerifySecretkeyRequest) GetSignatureOk() ([]int64, bool)

GetSignatureOk returns a tuple with the Signature field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VerifySecretkeyRequest) HasPlaintext

func (o *VerifySecretkeyRequest) HasPlaintext() bool

HasPlaintext returns a boolean if a field has been set.

func (*VerifySecretkeyRequest) HasSignature

func (o *VerifySecretkeyRequest) HasSignature() bool

HasSignature returns a boolean if a field has been set.

func (VerifySecretkeyRequest) MarshalJSON

func (o VerifySecretkeyRequest) MarshalJSON() ([]byte, error)

func (*VerifySecretkeyRequest) SetPlaintext

func (o *VerifySecretkeyRequest) SetPlaintext(v []int64)

SetPlaintext gets a reference to the given []int64 and assigns it to the Plaintext field.

func (*VerifySecretkeyRequest) SetSignature

func (o *VerifySecretkeyRequest) SetSignature(v []int64)

SetSignature gets a reference to the given []int64 and assigns it to the Signature field.

func (VerifySecretkeyRequest) ToMap

func (o VerifySecretkeyRequest) ToMap() (map[string]interface{}, error)

type Volume

type Volume struct {
	AttachedAllocId   *string `json:"attached_alloc_id,omitempty"`
	AttachedMachineId *string `json:"attached_machine_id,omitempty"`
	AutoBackupEnabled *bool   `json:"auto_backup_enabled,omitempty"`
	BlockSize         *int64  `json:"block_size,omitempty"`
	Blocks            *int64  `json:"blocks,omitempty"`
	BlocksAvail       *int64  `json:"blocks_avail,omitempty"`
	BlocksFree        *int64  `json:"blocks_free,omitempty"`
	BytesTotal        *int64  `json:"bytes_total,omitempty"`
	BytesUsed         *int64  `json:"bytes_used,omitempty"`
	CreatedAt         *string `json:"created_at,omitempty"`
	Encrypted         *bool   `json:"encrypted,omitempty"`
	Fstype            *string `json:"fstype,omitempty"`
	HostStatus        *string `json:"host_status,omitempty"`
	Id                *string `json:"id,omitempty"`
	Name              *string `json:"name,omitempty"`
	Region            *string `json:"region,omitempty"`
	SizeGb            *int64  `json:"size_gb,omitempty"`
	SnapshotRetention *int64  `json:"snapshot_retention,omitempty"`
	State             *string `json:"state,omitempty"`
	Zone              *string `json:"zone,omitempty"`
}

Volume struct for Volume

func NewVolume

func NewVolume() *Volume

NewVolume instantiates a new Volume 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 NewVolumeWithDefaults

func NewVolumeWithDefaults() *Volume

NewVolumeWithDefaults instantiates a new Volume 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 (*Volume) GetAttachedAllocId

func (o *Volume) GetAttachedAllocId() string

GetAttachedAllocId returns the AttachedAllocId field value if set, zero value otherwise.

func (*Volume) GetAttachedAllocIdOk

func (o *Volume) GetAttachedAllocIdOk() (*string, bool)

GetAttachedAllocIdOk returns a tuple with the AttachedAllocId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetAttachedMachineId

func (o *Volume) GetAttachedMachineId() string

GetAttachedMachineId returns the AttachedMachineId field value if set, zero value otherwise.

func (*Volume) GetAttachedMachineIdOk

func (o *Volume) GetAttachedMachineIdOk() (*string, bool)

GetAttachedMachineIdOk returns a tuple with the AttachedMachineId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetAutoBackupEnabled

func (o *Volume) GetAutoBackupEnabled() bool

GetAutoBackupEnabled returns the AutoBackupEnabled field value if set, zero value otherwise.

func (*Volume) GetAutoBackupEnabledOk

func (o *Volume) GetAutoBackupEnabledOk() (*bool, bool)

GetAutoBackupEnabledOk returns a tuple with the AutoBackupEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBlockSize

func (o *Volume) GetBlockSize() int64

GetBlockSize returns the BlockSize field value if set, zero value otherwise.

func (*Volume) GetBlockSizeOk

func (o *Volume) GetBlockSizeOk() (*int64, bool)

GetBlockSizeOk returns a tuple with the BlockSize field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBlocks

func (o *Volume) GetBlocks() int64

GetBlocks returns the Blocks field value if set, zero value otherwise.

func (*Volume) GetBlocksAvail

func (o *Volume) GetBlocksAvail() int64

GetBlocksAvail returns the BlocksAvail field value if set, zero value otherwise.

func (*Volume) GetBlocksAvailOk

func (o *Volume) GetBlocksAvailOk() (*int64, bool)

GetBlocksAvailOk returns a tuple with the BlocksAvail field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBlocksFree

func (o *Volume) GetBlocksFree() int64

GetBlocksFree returns the BlocksFree field value if set, zero value otherwise.

func (*Volume) GetBlocksFreeOk

func (o *Volume) GetBlocksFreeOk() (*int64, bool)

GetBlocksFreeOk returns a tuple with the BlocksFree field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBlocksOk

func (o *Volume) GetBlocksOk() (*int64, bool)

GetBlocksOk returns a tuple with the Blocks field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBytesTotal

func (o *Volume) GetBytesTotal() int64

GetBytesTotal returns the BytesTotal field value if set, zero value otherwise.

func (*Volume) GetBytesTotalOk

func (o *Volume) GetBytesTotalOk() (*int64, bool)

GetBytesTotalOk returns a tuple with the BytesTotal field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetBytesUsed

func (o *Volume) GetBytesUsed() int64

GetBytesUsed returns the BytesUsed field value if set, zero value otherwise.

func (*Volume) GetBytesUsedOk

func (o *Volume) GetBytesUsedOk() (*int64, bool)

GetBytesUsedOk returns a tuple with the BytesUsed field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetCreatedAt

func (o *Volume) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*Volume) GetCreatedAtOk

func (o *Volume) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetEncrypted

func (o *Volume) GetEncrypted() bool

GetEncrypted returns the Encrypted field value if set, zero value otherwise.

func (*Volume) GetEncryptedOk

func (o *Volume) GetEncryptedOk() (*bool, bool)

GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetFstype

func (o *Volume) GetFstype() string

GetFstype returns the Fstype field value if set, zero value otherwise.

func (*Volume) GetFstypeOk

func (o *Volume) GetFstypeOk() (*string, bool)

GetFstypeOk returns a tuple with the Fstype field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetHostStatus

func (o *Volume) GetHostStatus() string

GetHostStatus returns the HostStatus field value if set, zero value otherwise.

func (*Volume) GetHostStatusOk

func (o *Volume) GetHostStatusOk() (*string, bool)

GetHostStatusOk returns a tuple with the HostStatus field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetId

func (o *Volume) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*Volume) GetIdOk

func (o *Volume) 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 (*Volume) GetName

func (o *Volume) GetName() string

GetName returns the Name field value if set, zero value otherwise.

func (*Volume) GetNameOk

func (o *Volume) 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 (*Volume) GetRegion

func (o *Volume) GetRegion() string

GetRegion returns the Region field value if set, zero value otherwise.

func (*Volume) GetRegionOk

func (o *Volume) GetRegionOk() (*string, bool)

GetRegionOk returns a tuple with the Region field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetSizeGb

func (o *Volume) GetSizeGb() int64

GetSizeGb returns the SizeGb field value if set, zero value otherwise.

func (*Volume) GetSizeGbOk

func (o *Volume) GetSizeGbOk() (*int64, bool)

GetSizeGbOk returns a tuple with the SizeGb field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetSnapshotRetention

func (o *Volume) GetSnapshotRetention() int64

GetSnapshotRetention returns the SnapshotRetention field value if set, zero value otherwise.

func (*Volume) GetSnapshotRetentionOk

func (o *Volume) GetSnapshotRetentionOk() (*int64, bool)

GetSnapshotRetentionOk returns a tuple with the SnapshotRetention field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) GetState

func (o *Volume) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Volume) GetStateOk

func (o *Volume) GetStateOk() (*string, 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 (*Volume) GetZone

func (o *Volume) GetZone() string

GetZone returns the Zone field value if set, zero value otherwise.

func (*Volume) GetZoneOk

func (o *Volume) GetZoneOk() (*string, bool)

GetZoneOk returns a tuple with the Zone field value if set, nil otherwise and a boolean to check if the value has been set.

func (*Volume) HasAttachedAllocId

func (o *Volume) HasAttachedAllocId() bool

HasAttachedAllocId returns a boolean if a field has been set.

func (*Volume) HasAttachedMachineId

func (o *Volume) HasAttachedMachineId() bool

HasAttachedMachineId returns a boolean if a field has been set.

func (*Volume) HasAutoBackupEnabled

func (o *Volume) HasAutoBackupEnabled() bool

HasAutoBackupEnabled returns a boolean if a field has been set.

func (*Volume) HasBlockSize

func (o *Volume) HasBlockSize() bool

HasBlockSize returns a boolean if a field has been set.

func (*Volume) HasBlocks

func (o *Volume) HasBlocks() bool

HasBlocks returns a boolean if a field has been set.

func (*Volume) HasBlocksAvail

func (o *Volume) HasBlocksAvail() bool

HasBlocksAvail returns a boolean if a field has been set.

func (*Volume) HasBlocksFree

func (o *Volume) HasBlocksFree() bool

HasBlocksFree returns a boolean if a field has been set.

func (*Volume) HasBytesTotal

func (o *Volume) HasBytesTotal() bool

HasBytesTotal returns a boolean if a field has been set.

func (*Volume) HasBytesUsed

func (o *Volume) HasBytesUsed() bool

HasBytesUsed returns a boolean if a field has been set.

func (*Volume) HasCreatedAt

func (o *Volume) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Volume) HasEncrypted

func (o *Volume) HasEncrypted() bool

HasEncrypted returns a boolean if a field has been set.

func (*Volume) HasFstype

func (o *Volume) HasFstype() bool

HasFstype returns a boolean if a field has been set.

func (*Volume) HasHostStatus

func (o *Volume) HasHostStatus() bool

HasHostStatus returns a boolean if a field has been set.

func (*Volume) HasId

func (o *Volume) HasId() bool

HasId returns a boolean if a field has been set.

func (*Volume) HasName

func (o *Volume) HasName() bool

HasName returns a boolean if a field has been set.

func (*Volume) HasRegion

func (o *Volume) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*Volume) HasSizeGb

func (o *Volume) HasSizeGb() bool

HasSizeGb returns a boolean if a field has been set.

func (*Volume) HasSnapshotRetention

func (o *Volume) HasSnapshotRetention() bool

HasSnapshotRetention returns a boolean if a field has been set.

func (*Volume) HasState

func (o *Volume) HasState() bool

HasState returns a boolean if a field has been set.

func (*Volume) HasZone

func (o *Volume) HasZone() bool

HasZone returns a boolean if a field has been set.

func (Volume) MarshalJSON

func (o Volume) MarshalJSON() ([]byte, error)

func (*Volume) SetAttachedAllocId

func (o *Volume) SetAttachedAllocId(v string)

SetAttachedAllocId gets a reference to the given string and assigns it to the AttachedAllocId field.

func (*Volume) SetAttachedMachineId

func (o *Volume) SetAttachedMachineId(v string)

SetAttachedMachineId gets a reference to the given string and assigns it to the AttachedMachineId field.

func (*Volume) SetAutoBackupEnabled

func (o *Volume) SetAutoBackupEnabled(v bool)

SetAutoBackupEnabled gets a reference to the given bool and assigns it to the AutoBackupEnabled field.

func (*Volume) SetBlockSize

func (o *Volume) SetBlockSize(v int64)

SetBlockSize gets a reference to the given int64 and assigns it to the BlockSize field.

func (*Volume) SetBlocks

func (o *Volume) SetBlocks(v int64)

SetBlocks gets a reference to the given int64 and assigns it to the Blocks field.

func (*Volume) SetBlocksAvail

func (o *Volume) SetBlocksAvail(v int64)

SetBlocksAvail gets a reference to the given int64 and assigns it to the BlocksAvail field.

func (*Volume) SetBlocksFree

func (o *Volume) SetBlocksFree(v int64)

SetBlocksFree gets a reference to the given int64 and assigns it to the BlocksFree field.

func (*Volume) SetBytesTotal

func (o *Volume) SetBytesTotal(v int64)

SetBytesTotal gets a reference to the given int64 and assigns it to the BytesTotal field.

func (*Volume) SetBytesUsed

func (o *Volume) SetBytesUsed(v int64)

SetBytesUsed gets a reference to the given int64 and assigns it to the BytesUsed field.

func (*Volume) SetCreatedAt

func (o *Volume) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*Volume) SetEncrypted

func (o *Volume) SetEncrypted(v bool)

SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.

func (*Volume) SetFstype

func (o *Volume) SetFstype(v string)

SetFstype gets a reference to the given string and assigns it to the Fstype field.

func (*Volume) SetHostStatus

func (o *Volume) SetHostStatus(v string)

SetHostStatus gets a reference to the given string and assigns it to the HostStatus field.

func (*Volume) SetId

func (o *Volume) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*Volume) SetName

func (o *Volume) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

func (*Volume) SetRegion

func (o *Volume) SetRegion(v string)

SetRegion gets a reference to the given string and assigns it to the Region field.

func (*Volume) SetSizeGb

func (o *Volume) SetSizeGb(v int64)

SetSizeGb gets a reference to the given int64 and assigns it to the SizeGb field.

func (*Volume) SetSnapshotRetention

func (o *Volume) SetSnapshotRetention(v int64)

SetSnapshotRetention gets a reference to the given int64 and assigns it to the SnapshotRetention field.

func (*Volume) SetState

func (o *Volume) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (*Volume) SetZone

func (o *Volume) SetZone(v string)

SetZone gets a reference to the given string and assigns it to the Zone field.

func (Volume) ToMap

func (o Volume) ToMap() (map[string]interface{}, error)

type VolumeSnapshot

type VolumeSnapshot struct {
	CreatedAt     *string `json:"created_at,omitempty"`
	Digest        *string `json:"digest,omitempty"`
	Id            *string `json:"id,omitempty"`
	RetentionDays *int64  `json:"retention_days,omitempty"`
	Size          *int64  `json:"size,omitempty"`
	Status        *string `json:"status,omitempty"`
}

VolumeSnapshot struct for VolumeSnapshot

func NewVolumeSnapshot

func NewVolumeSnapshot() *VolumeSnapshot

NewVolumeSnapshot instantiates a new VolumeSnapshot 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 NewVolumeSnapshotWithDefaults

func NewVolumeSnapshotWithDefaults() *VolumeSnapshot

NewVolumeSnapshotWithDefaults instantiates a new VolumeSnapshot 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 (*VolumeSnapshot) GetCreatedAt

func (o *VolumeSnapshot) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VolumeSnapshot) GetCreatedAtOk

func (o *VolumeSnapshot) GetCreatedAtOk() (*string, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetDigest

func (o *VolumeSnapshot) GetDigest() string

GetDigest returns the Digest field value if set, zero value otherwise.

func (*VolumeSnapshot) GetDigestOk

func (o *VolumeSnapshot) GetDigestOk() (*string, bool)

GetDigestOk returns a tuple with the Digest field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetId

func (o *VolumeSnapshot) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*VolumeSnapshot) GetIdOk

func (o *VolumeSnapshot) 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 (*VolumeSnapshot) GetRetentionDays

func (o *VolumeSnapshot) GetRetentionDays() int64

GetRetentionDays returns the RetentionDays field value if set, zero value otherwise.

func (*VolumeSnapshot) GetRetentionDaysOk

func (o *VolumeSnapshot) GetRetentionDaysOk() (*int64, bool)

GetRetentionDaysOk returns a tuple with the RetentionDays field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetSize

func (o *VolumeSnapshot) GetSize() int64

GetSize returns the Size field value if set, zero value otherwise.

func (*VolumeSnapshot) GetSizeOk

func (o *VolumeSnapshot) GetSizeOk() (*int64, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) GetStatus

func (o *VolumeSnapshot) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*VolumeSnapshot) GetStatusOk

func (o *VolumeSnapshot) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.

func (*VolumeSnapshot) HasCreatedAt

func (o *VolumeSnapshot) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VolumeSnapshot) HasDigest

func (o *VolumeSnapshot) HasDigest() bool

HasDigest returns a boolean if a field has been set.

func (*VolumeSnapshot) HasId

func (o *VolumeSnapshot) HasId() bool

HasId returns a boolean if a field has been set.

func (*VolumeSnapshot) HasRetentionDays

func (o *VolumeSnapshot) HasRetentionDays() bool

HasRetentionDays returns a boolean if a field has been set.

func (*VolumeSnapshot) HasSize

func (o *VolumeSnapshot) HasSize() bool

HasSize returns a boolean if a field has been set.

func (*VolumeSnapshot) HasStatus

func (o *VolumeSnapshot) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (VolumeSnapshot) MarshalJSON

func (o VolumeSnapshot) MarshalJSON() ([]byte, error)

func (*VolumeSnapshot) SetCreatedAt

func (o *VolumeSnapshot) SetCreatedAt(v string)

SetCreatedAt gets a reference to the given string and assigns it to the CreatedAt field.

func (*VolumeSnapshot) SetDigest

func (o *VolumeSnapshot) SetDigest(v string)

SetDigest gets a reference to the given string and assigns it to the Digest field.

func (*VolumeSnapshot) SetId

func (o *VolumeSnapshot) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*VolumeSnapshot) SetRetentionDays

func (o *VolumeSnapshot) SetRetentionDays(v int64)

SetRetentionDays gets a reference to the given int64 and assigns it to the RetentionDays field.

func (*VolumeSnapshot) SetSize

func (o *VolumeSnapshot) SetSize(v int64)

SetSize gets a reference to the given int64 and assigns it to the Size field.

func (*VolumeSnapshot) SetStatus

func (o *VolumeSnapshot) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (VolumeSnapshot) ToMap

func (o VolumeSnapshot) ToMap() (map[string]interface{}, error)

type VolumesAPIService

type VolumesAPIService service

VolumesAPIService VolumesAPI service

func (*VolumesAPIService) CreateVolumeSnapshot

func (a *VolumesAPIService) CreateVolumeSnapshot(ctx context.Context, appName string, volumeId string) ApiCreateVolumeSnapshotRequest

CreateVolumeSnapshot Create Snapshot

Create a snapshot for a specific volume within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiCreateVolumeSnapshotRequest

func (*VolumesAPIService) CreateVolumeSnapshotExecute

func (a *VolumesAPIService) CreateVolumeSnapshotExecute(r ApiCreateVolumeSnapshotRequest) (*http.Response, error)

Execute executes the request

func (*VolumesAPIService) VolumeDelete

func (a *VolumesAPIService) VolumeDelete(ctx context.Context, appName string, volumeId string) ApiVolumeDeleteRequest

VolumeDelete Destroy Volume

Delete a specific volume within an app by volume ID.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiVolumeDeleteRequest

func (*VolumesAPIService) VolumeDeleteExecute

func (a *VolumesAPIService) VolumeDeleteExecute(r ApiVolumeDeleteRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) VolumesCreate

func (a *VolumesAPIService) VolumesCreate(ctx context.Context, appName string) ApiVolumesCreateRequest

VolumesCreate Create Volume

Create a volume for a specific app using the details provided in the request body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@return ApiVolumesCreateRequest

func (*VolumesAPIService) VolumesCreateExecute

func (a *VolumesAPIService) VolumesCreateExecute(r ApiVolumesCreateRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) VolumesExtend

func (a *VolumesAPIService) VolumesExtend(ctx context.Context, appName string, volumeId string) ApiVolumesExtendRequest

VolumesExtend Extend Volume

Extend a volume's size within an app using the details provided in the request body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiVolumesExtendRequest

func (*VolumesAPIService) VolumesExtendExecute

Execute executes the request

@return ExtendVolumeResponse

func (*VolumesAPIService) VolumesGetById

func (a *VolumesAPIService) VolumesGetById(ctx context.Context, appName string, volumeId string) ApiVolumesGetByIdRequest

VolumesGetById Get Volume

Retrieve details about a specific volume by its ID within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiVolumesGetByIdRequest

func (*VolumesAPIService) VolumesGetByIdExecute

func (a *VolumesAPIService) VolumesGetByIdExecute(r ApiVolumesGetByIdRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

func (*VolumesAPIService) VolumesList

func (a *VolumesAPIService) VolumesList(ctx context.Context, appName string) ApiVolumesListRequest

VolumesList List Volumes

List all volumes associated with a specific app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@return ApiVolumesListRequest

func (*VolumesAPIService) VolumesListExecute

func (a *VolumesAPIService) VolumesListExecute(r ApiVolumesListRequest) ([]Volume, *http.Response, error)

Execute executes the request

@return []Volume

func (*VolumesAPIService) VolumesListSnapshots

func (a *VolumesAPIService) VolumesListSnapshots(ctx context.Context, appName string, volumeId string) ApiVolumesListSnapshotsRequest

VolumesListSnapshots List Snapshots

List all snapshots for a specific volume within an app.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiVolumesListSnapshotsRequest

func (*VolumesAPIService) VolumesListSnapshotsExecute

func (a *VolumesAPIService) VolumesListSnapshotsExecute(r ApiVolumesListSnapshotsRequest) ([]VolumeSnapshot, *http.Response, error)

Execute executes the request

@return []VolumeSnapshot

func (*VolumesAPIService) VolumesUpdate

func (a *VolumesAPIService) VolumesUpdate(ctx context.Context, appName string, volumeId string) ApiVolumesUpdateRequest

VolumesUpdate Update Volume

Update a volume's configuration using the details provided in the request body.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param appName Fly App Name
@param volumeId Volume ID
@return ApiVolumesUpdateRequest

func (*VolumesAPIService) VolumesUpdateExecute

func (a *VolumesAPIService) VolumesUpdateExecute(r ApiVolumesUpdateRequest) (*Volume, *http.Response, error)

Execute executes the request

@return Volume

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL