autogenerated

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

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

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

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

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

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	RpaasApi *RpaasApiService

	RpaasPurgerApi *RpaasPurgerApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Reverse Proxy as a Service API vv2 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 AdditionalInstanceInfo

type AdditionalInstanceInfo struct {
	Label *string `json:"label,omitempty"`
	Value *string `json:"value,omitempty"`
}

AdditionalInstanceInfo struct for AdditionalInstanceInfo

func NewAdditionalInstanceInfo

func NewAdditionalInstanceInfo() *AdditionalInstanceInfo

NewAdditionalInstanceInfo instantiates a new AdditionalInstanceInfo 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 NewAdditionalInstanceInfoWithDefaults

func NewAdditionalInstanceInfoWithDefaults() *AdditionalInstanceInfo

NewAdditionalInstanceInfoWithDefaults instantiates a new AdditionalInstanceInfo 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 (*AdditionalInstanceInfo) GetLabel

func (o *AdditionalInstanceInfo) GetLabel() string

GetLabel returns the Label field value if set, zero value otherwise.

func (*AdditionalInstanceInfo) GetLabelOk

func (o *AdditionalInstanceInfo) GetLabelOk() (*string, bool)

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

func (*AdditionalInstanceInfo) GetValue

func (o *AdditionalInstanceInfo) GetValue() string

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

func (*AdditionalInstanceInfo) GetValueOk

func (o *AdditionalInstanceInfo) 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 (*AdditionalInstanceInfo) HasLabel

func (o *AdditionalInstanceInfo) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*AdditionalInstanceInfo) HasValue

func (o *AdditionalInstanceInfo) HasValue() bool

HasValue returns a boolean if a field has been set.

func (AdditionalInstanceInfo) MarshalJSON

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

func (*AdditionalInstanceInfo) SetLabel

func (o *AdditionalInstanceInfo) SetLabel(v string)

SetLabel gets a reference to the given string and assigns it to the Label field.

func (*AdditionalInstanceInfo) SetValue

func (o *AdditionalInstanceInfo) SetValue(v string)

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

func (AdditionalInstanceInfo) ToMap

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

type ApiBindAppRequest

type ApiBindAppRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiBindAppRequest) AppHost

func (r ApiBindAppRequest) AppHost(appHost string) ApiBindAppRequest

func (ApiBindAppRequest) AppHosts

func (r ApiBindAppRequest) AppHosts(appHosts []string) ApiBindAppRequest

func (ApiBindAppRequest) AppInternalHosts

func (r ApiBindAppRequest) AppInternalHosts(appInternalHosts []string) ApiBindAppRequest

func (ApiBindAppRequest) AppName

func (r ApiBindAppRequest) AppName(appName string) ApiBindAppRequest

func (ApiBindAppRequest) Eventid

func (r ApiBindAppRequest) Eventid(eventid string) ApiBindAppRequest

func (ApiBindAppRequest) Execute

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

func (ApiBindAppRequest) User

type ApiBindInstanceRequest

type ApiBindInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiBindInstanceRequest) Execute

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

type ApiCreateAutoscaleRequest

type ApiCreateAutoscaleRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiCreateAutoscaleRequest) Autoscale

func (ApiCreateAutoscaleRequest) Execute

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

type ApiCreateInstanceRequest

type ApiCreateInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiCreateInstanceRequest) CreateInstance

func (r ApiCreateInstanceRequest) CreateInstance(createInstance CreateInstance) ApiCreateInstanceRequest

func (ApiCreateInstanceRequest) Execute

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

type ApiDeleteInstanceRequest

type ApiDeleteInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiDeleteInstanceRequest) Execute

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

type ApiGetAutoscaleRequest

type ApiGetAutoscaleRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiGetAutoscaleRequest) Execute

type ApiGetInstanceInfoRequest

type ApiGetInstanceInfoRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiGetInstanceInfoRequest) Execute

type ApiGetInstanceRequest

type ApiGetInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiGetInstanceRequest) Execute

type ApiHealthcheckRequest

type ApiHealthcheckRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiHealthcheckRequest) Execute

func (r ApiHealthcheckRequest) Execute() (string, *http.Response, error)

type ApiListFlavorsByInstanceRequest

type ApiListFlavorsByInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiListFlavorsByInstanceRequest) Execute

type ApiListFlavorsRequest

type ApiListFlavorsRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiListFlavorsRequest) Execute

func (r ApiListFlavorsRequest) Execute() ([]Flavor, *http.Response, error)

type ApiListPlansByInstanceRequest

type ApiListPlansByInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiListPlansByInstanceRequest) Execute

type ApiListPlansRequest

type ApiListPlansRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiListPlansRequest) Execute

func (r ApiListPlansRequest) Execute() ([]Plan, *http.Response, error)

type ApiPurgeBulkCacheRequest

type ApiPurgeBulkCacheRequest struct {
	ApiService *RpaasPurgerApiService
	// contains filtered or unexported fields
}

func (ApiPurgeBulkCacheRequest) Execute

func (ApiPurgeBulkCacheRequest) Purge

type ApiPurgeCacheRequest

type ApiPurgeCacheRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiPurgeCacheRequest) Execute

func (r ApiPurgeCacheRequest) Execute() (string, *http.Response, error)

func (ApiPurgeCacheRequest) Purge

type ApiRemoveAutoscaleRequest

type ApiRemoveAutoscaleRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiRemoveAutoscaleRequest) Execute

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

type ApiResourcesInstanceStatusGetRequest

type ApiResourcesInstanceStatusGetRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiResourcesInstanceStatusGetRequest) Execute

type ApiUnbindInstanceRequest

type ApiUnbindInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiUnbindInstanceRequest) Execute

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

type ApiUpdateAutoscaleRequest

type ApiUpdateAutoscaleRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAutoscaleRequest) Autoscale

func (ApiUpdateAutoscaleRequest) Execute

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

type ApiUpdateInstanceRequest

type ApiUpdateInstanceRequest struct {
	ApiService *RpaasApiService
	// contains filtered or unexported fields
}

func (ApiUpdateInstanceRequest) Description

func (r ApiUpdateInstanceRequest) Description(description string) ApiUpdateInstanceRequest

func (ApiUpdateInstanceRequest) Execute

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

func (ApiUpdateInstanceRequest) Parameters

func (ApiUpdateInstanceRequest) Tags

func (ApiUpdateInstanceRequest) Team

type Autoscale

type Autoscale struct {
	// The lower limit for the number of replicas to which the autoscaler can scale down. It cannot be greater than `maxReplicas`. It can be zero when set along with `rps` and/or `schedules` targets.
	MinReplicas int32 `json:"minReplicas"`
	// The upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that `minReplicas`.
	MaxReplicas int32 `json:"maxReplicas"`
	// Target average of CPU utilization over running replicas (e.g. 95 means 95%)
	Cpu *int32 `json:"cpu,omitempty"`
	// Target average of memory utilization over running replicas (e.g. 80 means 80%)
	Memory *int32 `json:"memory,omitempty"`
	// Target average of HTTP requests per seconds over running replicas (e.g. 100 means 100 req/s)
	Rps *int32 `json:"rps,omitempty"`
	// Schedules are recurring or not time-windows where the instance can scale in/out regardless of traffic or resource utilization.
	Schedules []ScheduledWindow `json:"schedules,omitempty"`
}

Autoscale struct for Autoscale

func NewAutoscale

func NewAutoscale(minReplicas int32, maxReplicas int32) *Autoscale

NewAutoscale instantiates a new Autoscale 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 NewAutoscaleWithDefaults

func NewAutoscaleWithDefaults() *Autoscale

NewAutoscaleWithDefaults instantiates a new Autoscale 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 (*Autoscale) GetCpu

func (o *Autoscale) GetCpu() int32

GetCpu returns the Cpu field value if set, zero value otherwise.

func (*Autoscale) GetCpuOk

func (o *Autoscale) GetCpuOk() (*int32, 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 (*Autoscale) GetMaxReplicas

func (o *Autoscale) GetMaxReplicas() int32

GetMaxReplicas returns the MaxReplicas field value

func (*Autoscale) GetMaxReplicasOk

func (o *Autoscale) GetMaxReplicasOk() (*int32, bool)

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

func (*Autoscale) GetMemory

func (o *Autoscale) GetMemory() int32

GetMemory returns the Memory field value if set, zero value otherwise.

func (*Autoscale) GetMemoryOk

func (o *Autoscale) GetMemoryOk() (*int32, bool)

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

func (*Autoscale) GetMinReplicas

func (o *Autoscale) GetMinReplicas() int32

GetMinReplicas returns the MinReplicas field value

func (*Autoscale) GetMinReplicasOk

func (o *Autoscale) GetMinReplicasOk() (*int32, bool)

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

func (*Autoscale) GetRps

func (o *Autoscale) GetRps() int32

GetRps returns the Rps field value if set, zero value otherwise.

func (*Autoscale) GetRpsOk

func (o *Autoscale) GetRpsOk() (*int32, bool)

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

func (*Autoscale) GetSchedules

func (o *Autoscale) GetSchedules() []ScheduledWindow

GetSchedules returns the Schedules field value if set, zero value otherwise.

func (*Autoscale) GetSchedulesOk

func (o *Autoscale) GetSchedulesOk() ([]ScheduledWindow, bool)

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

func (*Autoscale) HasCpu

func (o *Autoscale) HasCpu() bool

HasCpu returns a boolean if a field has been set.

func (*Autoscale) HasMemory

func (o *Autoscale) HasMemory() bool

HasMemory returns a boolean if a field has been set.

func (*Autoscale) HasRps

func (o *Autoscale) HasRps() bool

HasRps returns a boolean if a field has been set.

func (*Autoscale) HasSchedules

func (o *Autoscale) HasSchedules() bool

HasSchedules returns a boolean if a field has been set.

func (Autoscale) MarshalJSON

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

func (*Autoscale) SetCpu

func (o *Autoscale) SetCpu(v int32)

SetCpu gets a reference to the given int32 and assigns it to the Cpu field.

func (*Autoscale) SetMaxReplicas

func (o *Autoscale) SetMaxReplicas(v int32)

SetMaxReplicas sets field value

func (*Autoscale) SetMemory

func (o *Autoscale) SetMemory(v int32)

SetMemory gets a reference to the given int32 and assigns it to the Memory field.

func (*Autoscale) SetMinReplicas

func (o *Autoscale) SetMinReplicas(v int32)

SetMinReplicas sets field value

func (*Autoscale) SetRps

func (o *Autoscale) SetRps(v int32)

SetRps gets a reference to the given int32 and assigns it to the Rps field.

func (*Autoscale) SetSchedules

func (o *Autoscale) SetSchedules(v []ScheduledWindow)

SetSchedules gets a reference to the given []ScheduledWindow and assigns it to the Schedules field.

func (Autoscale) ToMap

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

type BasicAuth

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

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

type Block

type Block struct {
	BlockName *string `json:"block_name,omitempty"`
	Content   *string `json:"content,omitempty"`
}

Block struct for Block

func NewBlock

func NewBlock() *Block

NewBlock instantiates a new Block 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 NewBlockWithDefaults

func NewBlockWithDefaults() *Block

NewBlockWithDefaults instantiates a new Block 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 (*Block) GetBlockName

func (o *Block) GetBlockName() string

GetBlockName returns the BlockName field value if set, zero value otherwise.

func (*Block) GetBlockNameOk

func (o *Block) GetBlockNameOk() (*string, bool)

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

func (*Block) GetContent

func (o *Block) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*Block) GetContentOk

func (o *Block) GetContentOk() (*string, bool)

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

func (*Block) HasBlockName

func (o *Block) HasBlockName() bool

HasBlockName returns a boolean if a field has been set.

func (*Block) HasContent

func (o *Block) HasContent() bool

HasContent returns a boolean if a field has been set.

func (Block) MarshalJSON

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

func (*Block) SetBlockName

func (o *Block) SetBlockName(v string)

SetBlockName gets a reference to the given string and assigns it to the BlockName field.

func (*Block) SetContent

func (o *Block) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (Block) ToMap

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

type CertificateInfo

type CertificateInfo struct {
	Name               *string    `json:"name,omitempty"`
	DnsNames           []string   `json:"dnsNames,omitempty"`
	PublicKeyAlgorithm *string    `json:"publicKeyAlgorithm,omitempty"`
	PublicKeyBitSize   *float32   `json:"publicKeyBitSize,omitempty"`
	ValidFrom          *time.Time `json:"validFrom,omitempty"`
	ValidUntil         *time.Time `json:"validUntil,omitempty"`
}

CertificateInfo struct for CertificateInfo

func NewCertificateInfo

func NewCertificateInfo() *CertificateInfo

NewCertificateInfo instantiates a new CertificateInfo 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 NewCertificateInfoWithDefaults

func NewCertificateInfoWithDefaults() *CertificateInfo

NewCertificateInfoWithDefaults instantiates a new CertificateInfo 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 (*CertificateInfo) GetDnsNames

func (o *CertificateInfo) GetDnsNames() []string

GetDnsNames returns the DnsNames field value if set, zero value otherwise.

func (*CertificateInfo) GetDnsNamesOk

func (o *CertificateInfo) GetDnsNamesOk() ([]string, bool)

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

func (*CertificateInfo) GetName

func (o *CertificateInfo) GetName() string

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

func (*CertificateInfo) GetNameOk

func (o *CertificateInfo) 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 (*CertificateInfo) GetPublicKeyAlgorithm

func (o *CertificateInfo) GetPublicKeyAlgorithm() string

GetPublicKeyAlgorithm returns the PublicKeyAlgorithm field value if set, zero value otherwise.

func (*CertificateInfo) GetPublicKeyAlgorithmOk

func (o *CertificateInfo) GetPublicKeyAlgorithmOk() (*string, bool)

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

func (*CertificateInfo) GetPublicKeyBitSize

func (o *CertificateInfo) GetPublicKeyBitSize() float32

GetPublicKeyBitSize returns the PublicKeyBitSize field value if set, zero value otherwise.

func (*CertificateInfo) GetPublicKeyBitSizeOk

func (o *CertificateInfo) GetPublicKeyBitSizeOk() (*float32, bool)

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

func (*CertificateInfo) GetValidFrom

func (o *CertificateInfo) GetValidFrom() time.Time

GetValidFrom returns the ValidFrom field value if set, zero value otherwise.

func (*CertificateInfo) GetValidFromOk

func (o *CertificateInfo) GetValidFromOk() (*time.Time, bool)

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

func (*CertificateInfo) GetValidUntil

func (o *CertificateInfo) GetValidUntil() time.Time

GetValidUntil returns the ValidUntil field value if set, zero value otherwise.

func (*CertificateInfo) GetValidUntilOk

func (o *CertificateInfo) GetValidUntilOk() (*time.Time, bool)

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

func (*CertificateInfo) HasDnsNames

func (o *CertificateInfo) HasDnsNames() bool

HasDnsNames returns a boolean if a field has been set.

func (*CertificateInfo) HasName

func (o *CertificateInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*CertificateInfo) HasPublicKeyAlgorithm

func (o *CertificateInfo) HasPublicKeyAlgorithm() bool

HasPublicKeyAlgorithm returns a boolean if a field has been set.

func (*CertificateInfo) HasPublicKeyBitSize

func (o *CertificateInfo) HasPublicKeyBitSize() bool

HasPublicKeyBitSize returns a boolean if a field has been set.

func (*CertificateInfo) HasValidFrom

func (o *CertificateInfo) HasValidFrom() bool

HasValidFrom returns a boolean if a field has been set.

func (*CertificateInfo) HasValidUntil

func (o *CertificateInfo) HasValidUntil() bool

HasValidUntil returns a boolean if a field has been set.

func (CertificateInfo) MarshalJSON

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

func (*CertificateInfo) SetDnsNames

func (o *CertificateInfo) SetDnsNames(v []string)

SetDnsNames gets a reference to the given []string and assigns it to the DnsNames field.

func (*CertificateInfo) SetName

func (o *CertificateInfo) SetName(v string)

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

func (*CertificateInfo) SetPublicKeyAlgorithm

func (o *CertificateInfo) SetPublicKeyAlgorithm(v string)

SetPublicKeyAlgorithm gets a reference to the given string and assigns it to the PublicKeyAlgorithm field.

func (*CertificateInfo) SetPublicKeyBitSize

func (o *CertificateInfo) SetPublicKeyBitSize(v float32)

SetPublicKeyBitSize gets a reference to the given float32 and assigns it to the PublicKeyBitSize field.

func (*CertificateInfo) SetValidFrom

func (o *CertificateInfo) SetValidFrom(v time.Time)

SetValidFrom gets a reference to the given time.Time and assigns it to the ValidFrom field.

func (*CertificateInfo) SetValidUntil

func (o *CertificateInfo) SetValidUntil(v time.Time)

SetValidUntil gets a reference to the given time.Time and assigns it to the ValidUntil field.

func (CertificateInfo) ToMap

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

type CreateInstance struct {
	Name        string                    `json:"name"`
	Plan        string                    `json:"plan"`
	Team        string                    `json:"team"`
	Description *string                   `json:"description,omitempty"`
	Tags        []string                  `json:"tags,omitempty"`
	Parameters  *CreateInstanceParameters `json:"parameters,omitempty"`
}

CreateInstance struct for CreateInstance

func NewCreateInstance

func NewCreateInstance(name string, plan string, team string) *CreateInstance

NewCreateInstance instantiates a new CreateInstance 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 NewCreateInstanceWithDefaults

func NewCreateInstanceWithDefaults() *CreateInstance

NewCreateInstanceWithDefaults instantiates a new CreateInstance 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 (*CreateInstance) GetDescription

func (o *CreateInstance) GetDescription() string

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

func (*CreateInstance) GetDescriptionOk

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

func (o *CreateInstance) GetName() string

GetName returns the Name field value

func (*CreateInstance) GetNameOk

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

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

func (*CreateInstance) GetParameters

func (o *CreateInstance) GetParameters() CreateInstanceParameters

GetParameters returns the Parameters field value if set, zero value otherwise.

func (*CreateInstance) GetParametersOk

func (o *CreateInstance) GetParametersOk() (*CreateInstanceParameters, bool)

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

func (*CreateInstance) GetPlan

func (o *CreateInstance) GetPlan() string

GetPlan returns the Plan field value

func (*CreateInstance) GetPlanOk

func (o *CreateInstance) GetPlanOk() (*string, bool)

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

func (*CreateInstance) GetTags

func (o *CreateInstance) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*CreateInstance) GetTagsOk

func (o *CreateInstance) GetTagsOk() ([]string, bool)

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

func (*CreateInstance) GetTeam

func (o *CreateInstance) GetTeam() string

GetTeam returns the Team field value

func (*CreateInstance) GetTeamOk

func (o *CreateInstance) GetTeamOk() (*string, bool)

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

func (*CreateInstance) HasDescription

func (o *CreateInstance) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateInstance) HasParameters

func (o *CreateInstance) HasParameters() bool

HasParameters returns a boolean if a field has been set.

func (*CreateInstance) HasTags

func (o *CreateInstance) HasTags() bool

HasTags returns a boolean if a field has been set.

func (CreateInstance) MarshalJSON

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

func (*CreateInstance) SetDescription

func (o *CreateInstance) SetDescription(v string)

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

func (*CreateInstance) SetName

func (o *CreateInstance) SetName(v string)

SetName sets field value

func (*CreateInstance) SetParameters

func (o *CreateInstance) SetParameters(v CreateInstanceParameters)

SetParameters gets a reference to the given CreateInstanceParameters and assigns it to the Parameters field.

func (*CreateInstance) SetPlan

func (o *CreateInstance) SetPlan(v string)

SetPlan sets field value

func (*CreateInstance) SetTags

func (o *CreateInstance) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*CreateInstance) SetTeam

func (o *CreateInstance) SetTeam(v string)

SetTeam sets field value

func (CreateInstance) ToMap

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

type CreateInstanceParameters

type CreateInstanceParameters struct {
	Flavors      *string `json:"flavors,omitempty"`
	Ip           *string `json:"ip,omitempty"`
	PlanOverride *string `json:"plan-override,omitempty"`
	LbName       *string `json:"lb-name,omitempty"`
}

CreateInstanceParameters This object must be encoded like github.com/ajg/form(https://github.com/ajg/form) does. Example: ``` parameters.flavors=chocolate,milk&parameters.ip=169.254.254.100 ```

func NewCreateInstanceParameters

func NewCreateInstanceParameters() *CreateInstanceParameters

NewCreateInstanceParameters instantiates a new CreateInstanceParameters 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 NewCreateInstanceParametersWithDefaults

func NewCreateInstanceParametersWithDefaults() *CreateInstanceParameters

NewCreateInstanceParametersWithDefaults instantiates a new CreateInstanceParameters 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 (*CreateInstanceParameters) GetFlavors

func (o *CreateInstanceParameters) GetFlavors() string

GetFlavors returns the Flavors field value if set, zero value otherwise.

func (*CreateInstanceParameters) GetFlavorsOk

func (o *CreateInstanceParameters) GetFlavorsOk() (*string, bool)

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

func (*CreateInstanceParameters) GetIp

func (o *CreateInstanceParameters) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*CreateInstanceParameters) GetIpOk

func (o *CreateInstanceParameters) GetIpOk() (*string, bool)

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

func (*CreateInstanceParameters) GetLbName

func (o *CreateInstanceParameters) GetLbName() string

GetLbName returns the LbName field value if set, zero value otherwise.

func (*CreateInstanceParameters) GetLbNameOk

func (o *CreateInstanceParameters) GetLbNameOk() (*string, bool)

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

func (*CreateInstanceParameters) GetPlanOverride

func (o *CreateInstanceParameters) GetPlanOverride() string

GetPlanOverride returns the PlanOverride field value if set, zero value otherwise.

func (*CreateInstanceParameters) GetPlanOverrideOk

func (o *CreateInstanceParameters) GetPlanOverrideOk() (*string, bool)

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

func (*CreateInstanceParameters) HasFlavors

func (o *CreateInstanceParameters) HasFlavors() bool

HasFlavors returns a boolean if a field has been set.

func (*CreateInstanceParameters) HasIp

func (o *CreateInstanceParameters) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*CreateInstanceParameters) HasLbName

func (o *CreateInstanceParameters) HasLbName() bool

HasLbName returns a boolean if a field has been set.

func (*CreateInstanceParameters) HasPlanOverride

func (o *CreateInstanceParameters) HasPlanOverride() bool

HasPlanOverride returns a boolean if a field has been set.

func (CreateInstanceParameters) MarshalJSON

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

func (*CreateInstanceParameters) SetFlavors

func (o *CreateInstanceParameters) SetFlavors(v string)

SetFlavors gets a reference to the given string and assigns it to the Flavors field.

func (*CreateInstanceParameters) SetIp

func (o *CreateInstanceParameters) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*CreateInstanceParameters) SetLbName

func (o *CreateInstanceParameters) SetLbName(v string)

SetLbName gets a reference to the given string and assigns it to the LbName field.

func (*CreateInstanceParameters) SetPlanOverride

func (o *CreateInstanceParameters) SetPlanOverride(v string)

SetPlanOverride gets a reference to the given string and assigns it to the PlanOverride field.

func (CreateInstanceParameters) ToMap

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

type Error

type Error struct {
	Msg string `json:"Msg"`
}

Error struct for Error

func NewError

func NewError(msg string) *Error

NewError instantiates a new Error 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 NewErrorWithDefaults

func NewErrorWithDefaults() *Error

NewErrorWithDefaults instantiates a new Error 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 (*Error) GetMsg

func (o *Error) GetMsg() string

GetMsg returns the Msg field value

func (*Error) GetMsgOk

func (o *Error) GetMsgOk() (*string, bool)

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

func (Error) MarshalJSON

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

func (*Error) SetMsg

func (o *Error) SetMsg(v string)

SetMsg sets field value

func (Error) ToMap

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

type Flavor

type Flavor struct {
	Name        *string `json:"name,omitempty"`
	Description *string `json:"description,omitempty"`
}

Flavor struct for Flavor

func NewFlavor

func NewFlavor() *Flavor

NewFlavor instantiates a new Flavor 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 NewFlavorWithDefaults

func NewFlavorWithDefaults() *Flavor

NewFlavorWithDefaults instantiates a new Flavor 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 (*Flavor) GetDescription

func (o *Flavor) GetDescription() string

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

func (*Flavor) GetDescriptionOk

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

func (o *Flavor) GetName() string

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

func (*Flavor) GetNameOk

func (o *Flavor) 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 (*Flavor) HasDescription

func (o *Flavor) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Flavor) HasName

func (o *Flavor) HasName() bool

HasName returns a boolean if a field has been set.

func (Flavor) MarshalJSON

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

func (*Flavor) SetDescription

func (o *Flavor) SetDescription(v string)

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

func (*Flavor) SetName

func (o *Flavor) SetName(v string)

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

func (Flavor) ToMap

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

type InstanceInfo struct {
	Name         *string           `json:"name,omitempty"`
	Description  *string           `json:"description,omitempty"`
	Team         *string           `json:"team,omitempty"`
	Tags         []string          `json:"tags,omitempty"`
	Plan         *string           `json:"plan,omitempty"`
	Flavors      []string          `json:"flavors,omitempty"`
	Replicas     *float32          `json:"replicas,omitempty"`
	Autoscale    *Autoscale        `json:"autoscale,omitempty"`
	Pods         []PodInfo         `json:"pods,omitempty"`
	Certificates []CertificateInfo `json:"certificates,omitempty"`
	Blocks       []Block           `json:"blocks,omitempty"`
	Routes       []Route           `json:"routes,omitempty"`
}

InstanceInfo struct for InstanceInfo

func NewInstanceInfo

func NewInstanceInfo() *InstanceInfo

NewInstanceInfo instantiates a new InstanceInfo 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 NewInstanceInfoWithDefaults

func NewInstanceInfoWithDefaults() *InstanceInfo

NewInstanceInfoWithDefaults instantiates a new InstanceInfo 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 (*InstanceInfo) GetAutoscale

func (o *InstanceInfo) GetAutoscale() Autoscale

GetAutoscale returns the Autoscale field value if set, zero value otherwise.

func (*InstanceInfo) GetAutoscaleOk

func (o *InstanceInfo) GetAutoscaleOk() (*Autoscale, bool)

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

func (*InstanceInfo) GetBlocks

func (o *InstanceInfo) GetBlocks() []Block

GetBlocks returns the Blocks field value if set, zero value otherwise.

func (*InstanceInfo) GetBlocksOk

func (o *InstanceInfo) GetBlocksOk() ([]Block, 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 (*InstanceInfo) GetCertificates

func (o *InstanceInfo) GetCertificates() []CertificateInfo

GetCertificates returns the Certificates field value if set, zero value otherwise.

func (*InstanceInfo) GetCertificatesOk

func (o *InstanceInfo) GetCertificatesOk() ([]CertificateInfo, bool)

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

func (*InstanceInfo) GetDescription

func (o *InstanceInfo) GetDescription() string

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

func (*InstanceInfo) GetDescriptionOk

func (o *InstanceInfo) 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 (*InstanceInfo) GetFlavors

func (o *InstanceInfo) GetFlavors() []string

GetFlavors returns the Flavors field value if set, zero value otherwise.

func (*InstanceInfo) GetFlavorsOk

func (o *InstanceInfo) GetFlavorsOk() ([]string, bool)

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

func (*InstanceInfo) GetName

func (o *InstanceInfo) GetName() string

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

func (*InstanceInfo) GetNameOk

func (o *InstanceInfo) 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 (*InstanceInfo) GetPlan

func (o *InstanceInfo) GetPlan() string

GetPlan returns the Plan field value if set, zero value otherwise.

func (*InstanceInfo) GetPlanOk

func (o *InstanceInfo) GetPlanOk() (*string, bool)

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

func (*InstanceInfo) GetPods

func (o *InstanceInfo) GetPods() []PodInfo

GetPods returns the Pods field value if set, zero value otherwise.

func (*InstanceInfo) GetPodsOk

func (o *InstanceInfo) GetPodsOk() ([]PodInfo, bool)

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

func (*InstanceInfo) GetReplicas

func (o *InstanceInfo) GetReplicas() float32

GetReplicas returns the Replicas field value if set, zero value otherwise.

func (*InstanceInfo) GetReplicasOk

func (o *InstanceInfo) GetReplicasOk() (*float32, bool)

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

func (*InstanceInfo) GetRoutes

func (o *InstanceInfo) GetRoutes() []Route

GetRoutes returns the Routes field value if set, zero value otherwise.

func (*InstanceInfo) GetRoutesOk

func (o *InstanceInfo) GetRoutesOk() ([]Route, bool)

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

func (*InstanceInfo) GetTags

func (o *InstanceInfo) GetTags() []string

GetTags returns the Tags field value if set, zero value otherwise.

func (*InstanceInfo) GetTagsOk

func (o *InstanceInfo) GetTagsOk() ([]string, bool)

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

func (*InstanceInfo) GetTeam

func (o *InstanceInfo) GetTeam() string

GetTeam returns the Team field value if set, zero value otherwise.

func (*InstanceInfo) GetTeamOk

func (o *InstanceInfo) GetTeamOk() (*string, bool)

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

func (*InstanceInfo) HasAutoscale

func (o *InstanceInfo) HasAutoscale() bool

HasAutoscale returns a boolean if a field has been set.

func (*InstanceInfo) HasBlocks

func (o *InstanceInfo) HasBlocks() bool

HasBlocks returns a boolean if a field has been set.

func (*InstanceInfo) HasCertificates

func (o *InstanceInfo) HasCertificates() bool

HasCertificates returns a boolean if a field has been set.

func (*InstanceInfo) HasDescription

func (o *InstanceInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*InstanceInfo) HasFlavors

func (o *InstanceInfo) HasFlavors() bool

HasFlavors returns a boolean if a field has been set.

func (*InstanceInfo) HasName

func (o *InstanceInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*InstanceInfo) HasPlan

func (o *InstanceInfo) HasPlan() bool

HasPlan returns a boolean if a field has been set.

func (*InstanceInfo) HasPods

func (o *InstanceInfo) HasPods() bool

HasPods returns a boolean if a field has been set.

func (*InstanceInfo) HasReplicas

func (o *InstanceInfo) HasReplicas() bool

HasReplicas returns a boolean if a field has been set.

func (*InstanceInfo) HasRoutes

func (o *InstanceInfo) HasRoutes() bool

HasRoutes returns a boolean if a field has been set.

func (*InstanceInfo) HasTags

func (o *InstanceInfo) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*InstanceInfo) HasTeam

func (o *InstanceInfo) HasTeam() bool

HasTeam returns a boolean if a field has been set.

func (InstanceInfo) MarshalJSON

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

func (*InstanceInfo) SetAutoscale

func (o *InstanceInfo) SetAutoscale(v Autoscale)

SetAutoscale gets a reference to the given Autoscale and assigns it to the Autoscale field.

func (*InstanceInfo) SetBlocks

func (o *InstanceInfo) SetBlocks(v []Block)

SetBlocks gets a reference to the given []Block and assigns it to the Blocks field.

func (*InstanceInfo) SetCertificates

func (o *InstanceInfo) SetCertificates(v []CertificateInfo)

SetCertificates gets a reference to the given []CertificateInfo and assigns it to the Certificates field.

func (*InstanceInfo) SetDescription

func (o *InstanceInfo) SetDescription(v string)

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

func (*InstanceInfo) SetFlavors

func (o *InstanceInfo) SetFlavors(v []string)

SetFlavors gets a reference to the given []string and assigns it to the Flavors field.

func (*InstanceInfo) SetName

func (o *InstanceInfo) SetName(v string)

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

func (*InstanceInfo) SetPlan

func (o *InstanceInfo) SetPlan(v string)

SetPlan gets a reference to the given string and assigns it to the Plan field.

func (*InstanceInfo) SetPods

func (o *InstanceInfo) SetPods(v []PodInfo)

SetPods gets a reference to the given []PodInfo and assigns it to the Pods field.

func (*InstanceInfo) SetReplicas

func (o *InstanceInfo) SetReplicas(v float32)

SetReplicas gets a reference to the given float32 and assigns it to the Replicas field.

func (*InstanceInfo) SetRoutes

func (o *InstanceInfo) SetRoutes(v []Route)

SetRoutes gets a reference to the given []Route and assigns it to the Routes field.

func (*InstanceInfo) SetTags

func (o *InstanceInfo) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

func (*InstanceInfo) SetTeam

func (o *InstanceInfo) SetTeam(v string)

SetTeam gets a reference to the given string and assigns it to the Team field.

func (InstanceInfo) ToMap

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

type MappedNullable

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

type NullableAdditionalInstanceInfo

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

func (NullableAdditionalInstanceInfo) Get

func (NullableAdditionalInstanceInfo) IsSet

func (NullableAdditionalInstanceInfo) MarshalJSON

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

func (*NullableAdditionalInstanceInfo) Set

func (*NullableAdditionalInstanceInfo) UnmarshalJSON

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

func (*NullableAdditionalInstanceInfo) Unset

func (v *NullableAdditionalInstanceInfo) Unset()

type NullableAutoscale

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

func NewNullableAutoscale

func NewNullableAutoscale(val *Autoscale) *NullableAutoscale

func (NullableAutoscale) Get

func (v NullableAutoscale) Get() *Autoscale

func (NullableAutoscale) IsSet

func (v NullableAutoscale) IsSet() bool

func (NullableAutoscale) MarshalJSON

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

func (*NullableAutoscale) Set

func (v *NullableAutoscale) Set(val *Autoscale)

func (*NullableAutoscale) UnmarshalJSON

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

func (*NullableAutoscale) Unset

func (v *NullableAutoscale) Unset()

type NullableBlock

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

func NewNullableBlock

func NewNullableBlock(val *Block) *NullableBlock

func (NullableBlock) Get

func (v NullableBlock) Get() *Block

func (NullableBlock) IsSet

func (v NullableBlock) IsSet() bool

func (NullableBlock) MarshalJSON

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

func (*NullableBlock) Set

func (v *NullableBlock) Set(val *Block)

func (*NullableBlock) UnmarshalJSON

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

func (*NullableBlock) Unset

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

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

func NewNullableCertificateInfo

func NewNullableCertificateInfo(val *CertificateInfo) *NullableCertificateInfo

func (NullableCertificateInfo) Get

func (NullableCertificateInfo) IsSet

func (v NullableCertificateInfo) IsSet() bool

func (NullableCertificateInfo) MarshalJSON

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

func (*NullableCertificateInfo) Set

func (*NullableCertificateInfo) UnmarshalJSON

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

func (*NullableCertificateInfo) Unset

func (v *NullableCertificateInfo) Unset()

type NullableCreateInstance

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

func NewNullableCreateInstance

func NewNullableCreateInstance(val *CreateInstance) *NullableCreateInstance

func (NullableCreateInstance) Get

func (NullableCreateInstance) IsSet

func (v NullableCreateInstance) IsSet() bool

func (NullableCreateInstance) MarshalJSON

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

func (*NullableCreateInstance) Set

func (*NullableCreateInstance) UnmarshalJSON

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

func (*NullableCreateInstance) Unset

func (v *NullableCreateInstance) Unset()

type NullableCreateInstanceParameters

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

func (NullableCreateInstanceParameters) Get

func (NullableCreateInstanceParameters) IsSet

func (NullableCreateInstanceParameters) MarshalJSON

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

func (*NullableCreateInstanceParameters) Set

func (*NullableCreateInstanceParameters) UnmarshalJSON

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

func (*NullableCreateInstanceParameters) Unset

type NullableError

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

func NewNullableError

func NewNullableError(val *Error) *NullableError

func (NullableError) Get

func (v NullableError) Get() *Error

func (NullableError) IsSet

func (v NullableError) IsSet() bool

func (NullableError) MarshalJSON

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

func (*NullableError) Set

func (v *NullableError) Set(val *Error)

func (*NullableError) UnmarshalJSON

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

func (*NullableError) Unset

func (v *NullableError) Unset()

type NullableFlavor

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

func NewNullableFlavor

func NewNullableFlavor(val *Flavor) *NullableFlavor

func (NullableFlavor) Get

func (v NullableFlavor) Get() *Flavor

func (NullableFlavor) IsSet

func (v NullableFlavor) IsSet() bool

func (NullableFlavor) MarshalJSON

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

func (*NullableFlavor) Set

func (v *NullableFlavor) Set(val *Flavor)

func (*NullableFlavor) UnmarshalJSON

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

func (*NullableFlavor) Unset

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

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

func NewNullableInstanceInfo

func NewNullableInstanceInfo(val *InstanceInfo) *NullableInstanceInfo

func (NullableInstanceInfo) Get

func (NullableInstanceInfo) IsSet

func (v NullableInstanceInfo) IsSet() bool

func (NullableInstanceInfo) MarshalJSON

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

func (*NullableInstanceInfo) Set

func (v *NullableInstanceInfo) Set(val *InstanceInfo)

func (*NullableInstanceInfo) UnmarshalJSON

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

func (*NullableInstanceInfo) Unset

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

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

func NewNullablePlan

func NewNullablePlan(val *Plan) *NullablePlan

func (NullablePlan) Get

func (v NullablePlan) Get() *Plan

func (NullablePlan) IsSet

func (v NullablePlan) IsSet() bool

func (NullablePlan) MarshalJSON

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

func (*NullablePlan) Set

func (v *NullablePlan) Set(val *Plan)

func (*NullablePlan) UnmarshalJSON

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

func (*NullablePlan) Unset

func (v *NullablePlan) Unset()

type NullablePlanSchemas

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

func NewNullablePlanSchemas

func NewNullablePlanSchemas(val *PlanSchemas) *NullablePlanSchemas

func (NullablePlanSchemas) Get

func (NullablePlanSchemas) IsSet

func (v NullablePlanSchemas) IsSet() bool

func (NullablePlanSchemas) MarshalJSON

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

func (*NullablePlanSchemas) Set

func (v *NullablePlanSchemas) Set(val *PlanSchemas)

func (*NullablePlanSchemas) UnmarshalJSON

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

func (*NullablePlanSchemas) Unset

func (v *NullablePlanSchemas) Unset()

type NullablePlanSchemasServiceBinding

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

func (NullablePlanSchemasServiceBinding) Get

func (NullablePlanSchemasServiceBinding) IsSet

func (NullablePlanSchemasServiceBinding) MarshalJSON

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

func (*NullablePlanSchemasServiceBinding) Set

func (*NullablePlanSchemasServiceBinding) UnmarshalJSON

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

func (*NullablePlanSchemasServiceBinding) Unset

type NullablePlanSchemasServiceBindingCreate

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

func (NullablePlanSchemasServiceBindingCreate) Get

func (NullablePlanSchemasServiceBindingCreate) IsSet

func (NullablePlanSchemasServiceBindingCreate) MarshalJSON

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

func (*NullablePlanSchemasServiceBindingCreate) Set

func (*NullablePlanSchemasServiceBindingCreate) UnmarshalJSON

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

func (*NullablePlanSchemasServiceBindingCreate) Unset

type NullablePlanSchemasServiceInstance

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

func (NullablePlanSchemasServiceInstance) Get

func (NullablePlanSchemasServiceInstance) IsSet

func (NullablePlanSchemasServiceInstance) MarshalJSON

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

func (*NullablePlanSchemasServiceInstance) Set

func (*NullablePlanSchemasServiceInstance) UnmarshalJSON

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

func (*NullablePlanSchemasServiceInstance) Unset

type NullablePlanSchemasServiceInstanceCreate

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

func (NullablePlanSchemasServiceInstanceCreate) Get

func (NullablePlanSchemasServiceInstanceCreate) IsSet

func (NullablePlanSchemasServiceInstanceCreate) MarshalJSON

func (*NullablePlanSchemasServiceInstanceCreate) Set

func (*NullablePlanSchemasServiceInstanceCreate) UnmarshalJSON

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

func (*NullablePlanSchemasServiceInstanceCreate) Unset

type NullablePodInfo

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

func NewNullablePodInfo

func NewNullablePodInfo(val *PodInfo) *NullablePodInfo

func (NullablePodInfo) Get

func (v NullablePodInfo) Get() *PodInfo

func (NullablePodInfo) IsSet

func (v NullablePodInfo) IsSet() bool

func (NullablePodInfo) MarshalJSON

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

func (*NullablePodInfo) Set

func (v *NullablePodInfo) Set(val *PodInfo)

func (*NullablePodInfo) UnmarshalJSON

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

func (*NullablePodInfo) Unset

func (v *NullablePodInfo) Unset()

type NullablePodPortInfo

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

func NewNullablePodPortInfo

func NewNullablePodPortInfo(val *PodPortInfo) *NullablePodPortInfo

func (NullablePodPortInfo) Get

func (NullablePodPortInfo) IsSet

func (v NullablePodPortInfo) IsSet() bool

func (NullablePodPortInfo) MarshalJSON

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

func (*NullablePodPortInfo) Set

func (v *NullablePodPortInfo) Set(val *PodPortInfo)

func (*NullablePodPortInfo) UnmarshalJSON

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

func (*NullablePodPortInfo) Unset

func (v *NullablePodPortInfo) Unset()

type NullablePurge

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

func NewNullablePurge

func NewNullablePurge(val *Purge) *NullablePurge

func (NullablePurge) Get

func (v NullablePurge) Get() *Purge

func (NullablePurge) IsSet

func (v NullablePurge) IsSet() bool

func (NullablePurge) MarshalJSON

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

func (*NullablePurge) Set

func (v *NullablePurge) Set(val *Purge)

func (*NullablePurge) UnmarshalJSON

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

func (*NullablePurge) Unset

func (v *NullablePurge) Unset()

type NullablePurgeBulkResponse

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

func NewNullablePurgeBulkResponse

func NewNullablePurgeBulkResponse(val *PurgeBulkResponse) *NullablePurgeBulkResponse

func (NullablePurgeBulkResponse) Get

func (NullablePurgeBulkResponse) IsSet

func (v NullablePurgeBulkResponse) IsSet() bool

func (NullablePurgeBulkResponse) MarshalJSON

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

func (*NullablePurgeBulkResponse) Set

func (*NullablePurgeBulkResponse) UnmarshalJSON

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

func (*NullablePurgeBulkResponse) Unset

func (v *NullablePurgeBulkResponse) Unset()

type NullableRoute

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

func NewNullableRoute

func NewNullableRoute(val *Route) *NullableRoute

func (NullableRoute) Get

func (v NullableRoute) Get() *Route

func (NullableRoute) IsSet

func (v NullableRoute) IsSet() bool

func (NullableRoute) MarshalJSON

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

func (*NullableRoute) Set

func (v *NullableRoute) Set(val *Route)

func (*NullableRoute) UnmarshalJSON

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

func (*NullableRoute) Unset

func (v *NullableRoute) Unset()

type NullableScheduledWindow

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

func NewNullableScheduledWindow

func NewNullableScheduledWindow(val *ScheduledWindow) *NullableScheduledWindow

func (NullableScheduledWindow) Get

func (NullableScheduledWindow) IsSet

func (v NullableScheduledWindow) IsSet() bool

func (NullableScheduledWindow) MarshalJSON

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

func (*NullableScheduledWindow) Set

func (*NullableScheduledWindow) UnmarshalJSON

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

func (*NullableScheduledWindow) Unset

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

type Plan struct {
	Name        *string      `json:"name,omitempty"`
	Description *string      `json:"description,omitempty"`
	Schemas     *PlanSchemas `json:"schemas,omitempty"`
}

Plan struct for Plan

func NewPlan

func NewPlan() *Plan

NewPlan instantiates a new Plan 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 NewPlanWithDefaults

func NewPlanWithDefaults() *Plan

NewPlanWithDefaults instantiates a new Plan 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 (*Plan) GetDescription

func (o *Plan) GetDescription() string

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

func (*Plan) GetDescriptionOk

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

func (o *Plan) GetName() string

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

func (*Plan) GetNameOk

func (o *Plan) 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 (*Plan) GetSchemas

func (o *Plan) GetSchemas() PlanSchemas

GetSchemas returns the Schemas field value if set, zero value otherwise.

func (*Plan) GetSchemasOk

func (o *Plan) GetSchemasOk() (*PlanSchemas, bool)

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

func (*Plan) HasDescription

func (o *Plan) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*Plan) HasName

func (o *Plan) HasName() bool

HasName returns a boolean if a field has been set.

func (*Plan) HasSchemas

func (o *Plan) HasSchemas() bool

HasSchemas returns a boolean if a field has been set.

func (Plan) MarshalJSON

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

func (*Plan) SetDescription

func (o *Plan) SetDescription(v string)

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

func (*Plan) SetName

func (o *Plan) SetName(v string)

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

func (*Plan) SetSchemas

func (o *Plan) SetSchemas(v PlanSchemas)

SetSchemas gets a reference to the given PlanSchemas and assigns it to the Schemas field.

func (Plan) ToMap

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

type PlanSchemas

type PlanSchemas struct {
	ServiceInstance *PlanSchemasServiceInstance `json:"service_instance,omitempty"`
	ServiceBinding  *PlanSchemasServiceBinding  `json:"service_binding,omitempty"`
}

PlanSchemas struct for PlanSchemas

func NewPlanSchemas

func NewPlanSchemas() *PlanSchemas

NewPlanSchemas instantiates a new PlanSchemas 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 NewPlanSchemasWithDefaults

func NewPlanSchemasWithDefaults() *PlanSchemas

NewPlanSchemasWithDefaults instantiates a new PlanSchemas 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 (*PlanSchemas) GetServiceBinding

func (o *PlanSchemas) GetServiceBinding() PlanSchemasServiceBinding

GetServiceBinding returns the ServiceBinding field value if set, zero value otherwise.

func (*PlanSchemas) GetServiceBindingOk

func (o *PlanSchemas) GetServiceBindingOk() (*PlanSchemasServiceBinding, bool)

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

func (*PlanSchemas) GetServiceInstance

func (o *PlanSchemas) GetServiceInstance() PlanSchemasServiceInstance

GetServiceInstance returns the ServiceInstance field value if set, zero value otherwise.

func (*PlanSchemas) GetServiceInstanceOk

func (o *PlanSchemas) GetServiceInstanceOk() (*PlanSchemasServiceInstance, bool)

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

func (*PlanSchemas) HasServiceBinding

func (o *PlanSchemas) HasServiceBinding() bool

HasServiceBinding returns a boolean if a field has been set.

func (*PlanSchemas) HasServiceInstance

func (o *PlanSchemas) HasServiceInstance() bool

HasServiceInstance returns a boolean if a field has been set.

func (PlanSchemas) MarshalJSON

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

func (*PlanSchemas) SetServiceBinding

func (o *PlanSchemas) SetServiceBinding(v PlanSchemasServiceBinding)

SetServiceBinding gets a reference to the given PlanSchemasServiceBinding and assigns it to the ServiceBinding field.

func (*PlanSchemas) SetServiceInstance

func (o *PlanSchemas) SetServiceInstance(v PlanSchemasServiceInstance)

SetServiceInstance gets a reference to the given PlanSchemasServiceInstance and assigns it to the ServiceInstance field.

func (PlanSchemas) ToMap

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

type PlanSchemasServiceBinding

type PlanSchemasServiceBinding struct {
	Create *PlanSchemasServiceBindingCreate `json:"create,omitempty"`
}

PlanSchemasServiceBinding struct for PlanSchemasServiceBinding

func NewPlanSchemasServiceBinding

func NewPlanSchemasServiceBinding() *PlanSchemasServiceBinding

NewPlanSchemasServiceBinding instantiates a new PlanSchemasServiceBinding 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 NewPlanSchemasServiceBindingWithDefaults

func NewPlanSchemasServiceBindingWithDefaults() *PlanSchemasServiceBinding

NewPlanSchemasServiceBindingWithDefaults instantiates a new PlanSchemasServiceBinding 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 (*PlanSchemasServiceBinding) GetCreate

GetCreate returns the Create field value if set, zero value otherwise.

func (*PlanSchemasServiceBinding) GetCreateOk

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

func (*PlanSchemasServiceBinding) HasCreate

func (o *PlanSchemasServiceBinding) HasCreate() bool

HasCreate returns a boolean if a field has been set.

func (PlanSchemasServiceBinding) MarshalJSON

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

func (*PlanSchemasServiceBinding) SetCreate

SetCreate gets a reference to the given PlanSchemasServiceBindingCreate and assigns it to the Create field.

func (PlanSchemasServiceBinding) ToMap

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

type PlanSchemasServiceBindingCreate

type PlanSchemasServiceBindingCreate struct {
	Properties map[string]interface{} `json:"properties,omitempty"`
	Response   map[string]interface{} `json:"response,omitempty"`
}

PlanSchemasServiceBindingCreate struct for PlanSchemasServiceBindingCreate

func NewPlanSchemasServiceBindingCreate

func NewPlanSchemasServiceBindingCreate() *PlanSchemasServiceBindingCreate

NewPlanSchemasServiceBindingCreate instantiates a new PlanSchemasServiceBindingCreate 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 NewPlanSchemasServiceBindingCreateWithDefaults

func NewPlanSchemasServiceBindingCreateWithDefaults() *PlanSchemasServiceBindingCreate

NewPlanSchemasServiceBindingCreateWithDefaults instantiates a new PlanSchemasServiceBindingCreate 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 (*PlanSchemasServiceBindingCreate) GetProperties

func (o *PlanSchemasServiceBindingCreate) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*PlanSchemasServiceBindingCreate) GetPropertiesOk

func (o *PlanSchemasServiceBindingCreate) GetPropertiesOk() (map[string]interface{}, bool)

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

func (*PlanSchemasServiceBindingCreate) GetResponse

func (o *PlanSchemasServiceBindingCreate) GetResponse() map[string]interface{}

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

func (*PlanSchemasServiceBindingCreate) GetResponseOk

func (o *PlanSchemasServiceBindingCreate) GetResponseOk() (map[string]interface{}, 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 (*PlanSchemasServiceBindingCreate) HasProperties

func (o *PlanSchemasServiceBindingCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (*PlanSchemasServiceBindingCreate) HasResponse

func (o *PlanSchemasServiceBindingCreate) HasResponse() bool

HasResponse returns a boolean if a field has been set.

func (PlanSchemasServiceBindingCreate) MarshalJSON

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

func (*PlanSchemasServiceBindingCreate) SetProperties

func (o *PlanSchemasServiceBindingCreate) SetProperties(v map[string]interface{})

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

func (*PlanSchemasServiceBindingCreate) SetResponse

func (o *PlanSchemasServiceBindingCreate) SetResponse(v map[string]interface{})

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

func (PlanSchemasServiceBindingCreate) ToMap

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

type PlanSchemasServiceInstance

type PlanSchemasServiceInstance struct {
	Create *PlanSchemasServiceInstanceCreate `json:"create,omitempty"`
	Update *PlanSchemasServiceInstanceCreate `json:"update,omitempty"`
}

PlanSchemasServiceInstance struct for PlanSchemasServiceInstance

func NewPlanSchemasServiceInstance

func NewPlanSchemasServiceInstance() *PlanSchemasServiceInstance

NewPlanSchemasServiceInstance instantiates a new PlanSchemasServiceInstance 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 NewPlanSchemasServiceInstanceWithDefaults

func NewPlanSchemasServiceInstanceWithDefaults() *PlanSchemasServiceInstance

NewPlanSchemasServiceInstanceWithDefaults instantiates a new PlanSchemasServiceInstance 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 (*PlanSchemasServiceInstance) GetCreate

GetCreate returns the Create field value if set, zero value otherwise.

func (*PlanSchemasServiceInstance) GetCreateOk

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

func (*PlanSchemasServiceInstance) GetUpdate

GetUpdate returns the Update field value if set, zero value otherwise.

func (*PlanSchemasServiceInstance) GetUpdateOk

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

func (*PlanSchemasServiceInstance) HasCreate

func (o *PlanSchemasServiceInstance) HasCreate() bool

HasCreate returns a boolean if a field has been set.

func (*PlanSchemasServiceInstance) HasUpdate

func (o *PlanSchemasServiceInstance) HasUpdate() bool

HasUpdate returns a boolean if a field has been set.

func (PlanSchemasServiceInstance) MarshalJSON

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

func (*PlanSchemasServiceInstance) SetCreate

SetCreate gets a reference to the given PlanSchemasServiceInstanceCreate and assigns it to the Create field.

func (*PlanSchemasServiceInstance) SetUpdate

SetUpdate gets a reference to the given PlanSchemasServiceInstanceCreate and assigns it to the Update field.

func (PlanSchemasServiceInstance) ToMap

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

type PlanSchemasServiceInstanceCreate

type PlanSchemasServiceInstanceCreate struct {
	Properties map[string]interface{} `json:"properties,omitempty"`
}

PlanSchemasServiceInstanceCreate struct for PlanSchemasServiceInstanceCreate

func NewPlanSchemasServiceInstanceCreate

func NewPlanSchemasServiceInstanceCreate() *PlanSchemasServiceInstanceCreate

NewPlanSchemasServiceInstanceCreate instantiates a new PlanSchemasServiceInstanceCreate 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 NewPlanSchemasServiceInstanceCreateWithDefaults

func NewPlanSchemasServiceInstanceCreateWithDefaults() *PlanSchemasServiceInstanceCreate

NewPlanSchemasServiceInstanceCreateWithDefaults instantiates a new PlanSchemasServiceInstanceCreate 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 (*PlanSchemasServiceInstanceCreate) GetProperties

func (o *PlanSchemasServiceInstanceCreate) GetProperties() map[string]interface{}

GetProperties returns the Properties field value if set, zero value otherwise.

func (*PlanSchemasServiceInstanceCreate) GetPropertiesOk

func (o *PlanSchemasServiceInstanceCreate) GetPropertiesOk() (map[string]interface{}, bool)

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

func (*PlanSchemasServiceInstanceCreate) HasProperties

func (o *PlanSchemasServiceInstanceCreate) HasProperties() bool

HasProperties returns a boolean if a field has been set.

func (PlanSchemasServiceInstanceCreate) MarshalJSON

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

func (*PlanSchemasServiceInstanceCreate) SetProperties

func (o *PlanSchemasServiceInstanceCreate) SetProperties(v map[string]interface{})

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

func (PlanSchemasServiceInstanceCreate) ToMap

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

type PodInfo

type PodInfo struct {
	Name      *string       `json:"name,omitempty"`
	Ip        *string       `json:"ip,omitempty"`
	Host      *string       `json:"host,omitempty"`
	Ports     []PodPortInfo `json:"ports,omitempty"`
	CreatedAt *time.Time    `json:"createdAt,omitempty"`
}

PodInfo struct for PodInfo

func NewPodInfo

func NewPodInfo() *PodInfo

NewPodInfo instantiates a new PodInfo 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 NewPodInfoWithDefaults

func NewPodInfoWithDefaults() *PodInfo

NewPodInfoWithDefaults instantiates a new PodInfo 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 (*PodInfo) GetCreatedAt

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

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

func (*PodInfo) GetCreatedAtOk

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

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

func (*PodInfo) GetHost

func (o *PodInfo) GetHost() string

GetHost returns the Host field value if set, zero value otherwise.

func (*PodInfo) GetHostOk

func (o *PodInfo) GetHostOk() (*string, bool)

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

func (*PodInfo) GetIp

func (o *PodInfo) GetIp() string

GetIp returns the Ip field value if set, zero value otherwise.

func (*PodInfo) GetIpOk

func (o *PodInfo) GetIpOk() (*string, bool)

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

func (*PodInfo) GetName

func (o *PodInfo) GetName() string

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

func (*PodInfo) GetNameOk

func (o *PodInfo) 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 (*PodInfo) GetPorts

func (o *PodInfo) GetPorts() []PodPortInfo

GetPorts returns the Ports field value if set, zero value otherwise.

func (*PodInfo) GetPortsOk

func (o *PodInfo) GetPortsOk() ([]PodPortInfo, 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 (*PodInfo) HasCreatedAt

func (o *PodInfo) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*PodInfo) HasHost

func (o *PodInfo) HasHost() bool

HasHost returns a boolean if a field has been set.

func (*PodInfo) HasIp

func (o *PodInfo) HasIp() bool

HasIp returns a boolean if a field has been set.

func (*PodInfo) HasName

func (o *PodInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*PodInfo) HasPorts

func (o *PodInfo) HasPorts() bool

HasPorts returns a boolean if a field has been set.

func (PodInfo) MarshalJSON

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

func (*PodInfo) SetCreatedAt

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

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

func (*PodInfo) SetHost

func (o *PodInfo) SetHost(v string)

SetHost gets a reference to the given string and assigns it to the Host field.

func (*PodInfo) SetIp

func (o *PodInfo) SetIp(v string)

SetIp gets a reference to the given string and assigns it to the Ip field.

func (*PodInfo) SetName

func (o *PodInfo) SetName(v string)

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

func (*PodInfo) SetPorts

func (o *PodInfo) SetPorts(v []PodPortInfo)

SetPorts gets a reference to the given []PodPortInfo and assigns it to the Ports field.

func (PodInfo) ToMap

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

type PodPortInfo

type PodPortInfo struct {
	Name          *string  `json:"name,omitempty"`
	HostPort      *float32 `json:"hostPort,omitempty"`
	ContainerPort *float32 `json:"containerPort,omitempty"`
	Protocol      *string  `json:"protocol,omitempty"`
	HostIP        *string  `json:"hostIP,omitempty"`
}

PodPortInfo struct for PodPortInfo

func NewPodPortInfo

func NewPodPortInfo() *PodPortInfo

NewPodPortInfo instantiates a new PodPortInfo 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 NewPodPortInfoWithDefaults

func NewPodPortInfoWithDefaults() *PodPortInfo

NewPodPortInfoWithDefaults instantiates a new PodPortInfo 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 (*PodPortInfo) GetContainerPort

func (o *PodPortInfo) GetContainerPort() float32

GetContainerPort returns the ContainerPort field value if set, zero value otherwise.

func (*PodPortInfo) GetContainerPortOk

func (o *PodPortInfo) GetContainerPortOk() (*float32, bool)

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

func (*PodPortInfo) GetHostIP

func (o *PodPortInfo) GetHostIP() string

GetHostIP returns the HostIP field value if set, zero value otherwise.

func (*PodPortInfo) GetHostIPOk

func (o *PodPortInfo) GetHostIPOk() (*string, bool)

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

func (*PodPortInfo) GetHostPort

func (o *PodPortInfo) GetHostPort() float32

GetHostPort returns the HostPort field value if set, zero value otherwise.

func (*PodPortInfo) GetHostPortOk

func (o *PodPortInfo) GetHostPortOk() (*float32, bool)

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

func (*PodPortInfo) GetName

func (o *PodPortInfo) GetName() string

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

func (*PodPortInfo) GetNameOk

func (o *PodPortInfo) 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 (*PodPortInfo) GetProtocol

func (o *PodPortInfo) GetProtocol() string

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

func (*PodPortInfo) GetProtocolOk

func (o *PodPortInfo) 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 (*PodPortInfo) HasContainerPort

func (o *PodPortInfo) HasContainerPort() bool

HasContainerPort returns a boolean if a field has been set.

func (*PodPortInfo) HasHostIP

func (o *PodPortInfo) HasHostIP() bool

HasHostIP returns a boolean if a field has been set.

func (*PodPortInfo) HasHostPort

func (o *PodPortInfo) HasHostPort() bool

HasHostPort returns a boolean if a field has been set.

func (*PodPortInfo) HasName

func (o *PodPortInfo) HasName() bool

HasName returns a boolean if a field has been set.

func (*PodPortInfo) HasProtocol

func (o *PodPortInfo) HasProtocol() bool

HasProtocol returns a boolean if a field has been set.

func (PodPortInfo) MarshalJSON

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

func (*PodPortInfo) SetContainerPort

func (o *PodPortInfo) SetContainerPort(v float32)

SetContainerPort gets a reference to the given float32 and assigns it to the ContainerPort field.

func (*PodPortInfo) SetHostIP

func (o *PodPortInfo) SetHostIP(v string)

SetHostIP gets a reference to the given string and assigns it to the HostIP field.

func (*PodPortInfo) SetHostPort

func (o *PodPortInfo) SetHostPort(v float32)

SetHostPort gets a reference to the given float32 and assigns it to the HostPort field.

func (*PodPortInfo) SetName

func (o *PodPortInfo) SetName(v string)

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

func (*PodPortInfo) SetProtocol

func (o *PodPortInfo) SetProtocol(v string)

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

func (PodPortInfo) ToMap

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

type Purge

type Purge struct {
	Path         *string `json:"path,omitempty"`
	PreservePath *bool   `json:"preserve_path,omitempty"`
	ExtraHeaders *string `json:"extra_headers,omitempty"`
}

Purge struct for Purge

func NewPurge

func NewPurge() *Purge

NewPurge instantiates a new Purge 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 NewPurgeWithDefaults

func NewPurgeWithDefaults() *Purge

NewPurgeWithDefaults instantiates a new Purge 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 (*Purge) GetExtraHeaders

func (o *Purge) GetExtraHeaders() string

GetExtraHeaders returns the ExtraHeaders field value if set, zero value otherwise.

func (*Purge) GetExtraHeadersOk

func (o *Purge) GetExtraHeadersOk() (*string, bool)

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

func (*Purge) GetPath

func (o *Purge) GetPath() string

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

func (*Purge) GetPathOk

func (o *Purge) 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 (*Purge) GetPreservePath

func (o *Purge) GetPreservePath() bool

GetPreservePath returns the PreservePath field value if set, zero value otherwise.

func (*Purge) GetPreservePathOk

func (o *Purge) GetPreservePathOk() (*bool, bool)

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

func (*Purge) HasExtraHeaders

func (o *Purge) HasExtraHeaders() bool

HasExtraHeaders returns a boolean if a field has been set.

func (*Purge) HasPath

func (o *Purge) HasPath() bool

HasPath returns a boolean if a field has been set.

func (*Purge) HasPreservePath

func (o *Purge) HasPreservePath() bool

HasPreservePath returns a boolean if a field has been set.

func (Purge) MarshalJSON

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

func (*Purge) SetExtraHeaders

func (o *Purge) SetExtraHeaders(v string)

SetExtraHeaders gets a reference to the given string and assigns it to the ExtraHeaders field.

func (*Purge) SetPath

func (o *Purge) SetPath(v string)

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

func (*Purge) SetPreservePath

func (o *Purge) SetPreservePath(v bool)

SetPreservePath gets a reference to the given bool and assigns it to the PreservePath field.

func (Purge) ToMap

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

type PurgeBulkResponse

type PurgeBulkResponse struct {
	Path            *string `json:"path,omitempty"`
	InstancesPurged *int32  `json:"instances_purged,omitempty"`
	Error           *string `json:"error,omitempty"`
}

PurgeBulkResponse struct for PurgeBulkResponse

func NewPurgeBulkResponse

func NewPurgeBulkResponse() *PurgeBulkResponse

NewPurgeBulkResponse instantiates a new PurgeBulkResponse 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 NewPurgeBulkResponseWithDefaults

func NewPurgeBulkResponseWithDefaults() *PurgeBulkResponse

NewPurgeBulkResponseWithDefaults instantiates a new PurgeBulkResponse 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 (*PurgeBulkResponse) GetError

func (o *PurgeBulkResponse) GetError() string

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

func (*PurgeBulkResponse) GetErrorOk

func (o *PurgeBulkResponse) 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 (*PurgeBulkResponse) GetInstancesPurged

func (o *PurgeBulkResponse) GetInstancesPurged() int32

GetInstancesPurged returns the InstancesPurged field value if set, zero value otherwise.

func (*PurgeBulkResponse) GetInstancesPurgedOk

func (o *PurgeBulkResponse) GetInstancesPurgedOk() (*int32, bool)

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

func (*PurgeBulkResponse) GetPath

func (o *PurgeBulkResponse) GetPath() string

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

func (*PurgeBulkResponse) GetPathOk

func (o *PurgeBulkResponse) 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 (*PurgeBulkResponse) HasError

func (o *PurgeBulkResponse) HasError() bool

HasError returns a boolean if a field has been set.

func (*PurgeBulkResponse) HasInstancesPurged

func (o *PurgeBulkResponse) HasInstancesPurged() bool

HasInstancesPurged returns a boolean if a field has been set.

func (*PurgeBulkResponse) HasPath

func (o *PurgeBulkResponse) HasPath() bool

HasPath returns a boolean if a field has been set.

func (PurgeBulkResponse) MarshalJSON

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

func (*PurgeBulkResponse) SetError

func (o *PurgeBulkResponse) SetError(v string)

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

func (*PurgeBulkResponse) SetInstancesPurged

func (o *PurgeBulkResponse) SetInstancesPurged(v int32)

SetInstancesPurged gets a reference to the given int32 and assigns it to the InstancesPurged field.

func (*PurgeBulkResponse) SetPath

func (o *PurgeBulkResponse) SetPath(v string)

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

func (PurgeBulkResponse) ToMap

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

type Route

type Route struct {
	Path        *string `json:"path,omitempty"`
	Destination *string `json:"destination,omitempty"`
	HttpsOnly   *bool   `json:"https_only,omitempty"`
	Content     *string `json:"content,omitempty"`
}

Route struct for Route

func NewRoute

func NewRoute() *Route

NewRoute instantiates a new Route 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 NewRouteWithDefaults

func NewRouteWithDefaults() *Route

NewRouteWithDefaults instantiates a new Route 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 (*Route) GetContent

func (o *Route) GetContent() string

GetContent returns the Content field value if set, zero value otherwise.

func (*Route) GetContentOk

func (o *Route) GetContentOk() (*string, bool)

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

func (*Route) GetDestination

func (o *Route) GetDestination() string

GetDestination returns the Destination field value if set, zero value otherwise.

func (*Route) GetDestinationOk

func (o *Route) GetDestinationOk() (*string, bool)

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

func (*Route) GetHttpsOnly

func (o *Route) GetHttpsOnly() bool

GetHttpsOnly returns the HttpsOnly field value if set, zero value otherwise.

func (*Route) GetHttpsOnlyOk

func (o *Route) GetHttpsOnlyOk() (*bool, bool)

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

func (*Route) GetPath

func (o *Route) GetPath() string

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

func (*Route) GetPathOk

func (o *Route) 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 (*Route) HasContent

func (o *Route) HasContent() bool

HasContent returns a boolean if a field has been set.

func (*Route) HasDestination

func (o *Route) HasDestination() bool

HasDestination returns a boolean if a field has been set.

func (*Route) HasHttpsOnly

func (o *Route) HasHttpsOnly() bool

HasHttpsOnly returns a boolean if a field has been set.

func (*Route) HasPath

func (o *Route) HasPath() bool

HasPath returns a boolean if a field has been set.

func (Route) MarshalJSON

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

func (*Route) SetContent

func (o *Route) SetContent(v string)

SetContent gets a reference to the given string and assigns it to the Content field.

func (*Route) SetDestination

func (o *Route) SetDestination(v string)

SetDestination gets a reference to the given string and assigns it to the Destination field.

func (*Route) SetHttpsOnly

func (o *Route) SetHttpsOnly(v bool)

SetHttpsOnly gets a reference to the given bool and assigns it to the HttpsOnly field.

func (*Route) SetPath

func (o *Route) SetPath(v string)

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

func (Route) ToMap

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

type RpaasApiService

type RpaasApiService service

RpaasApiService RpaasApi service

func (*RpaasApiService) BindApp

func (a *RpaasApiService) BindApp(ctx context.Context, instance string) ApiBindAppRequest

BindApp Binds the app to the rpaas instance

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) BindAppExecute

func (a *RpaasApiService) BindAppExecute(r ApiBindAppRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) BindInstance

func (a *RpaasApiService) BindInstance(ctx context.Context, instance string) ApiBindInstanceRequest

BindInstance Bind Unit

Not used, just to follow Tsuru Service API spec

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

Deprecated

func (*RpaasApiService) BindInstanceExecute

func (a *RpaasApiService) BindInstanceExecute(r ApiBindInstanceRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*RpaasApiService) CreateAutoscale

func (a *RpaasApiService) CreateAutoscale(ctx context.Context, instance string) ApiCreateAutoscaleRequest

CreateAutoscale Set reverse proxy the autoscaling parameters

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

func (*RpaasApiService) CreateAutoscaleExecute

func (a *RpaasApiService) CreateAutoscaleExecute(r ApiCreateAutoscaleRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) CreateInstance

CreateInstance Create an instance

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) CreateInstanceExecute

func (a *RpaasApiService) CreateInstanceExecute(r ApiCreateInstanceRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) DeleteInstance

func (a *RpaasApiService) DeleteInstance(ctx context.Context, instance string) ApiDeleteInstanceRequest

DeleteInstance Delete an instance

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) DeleteInstanceExecute

func (a *RpaasApiService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) GetAutoscale

func (a *RpaasApiService) GetAutoscale(ctx context.Context, instance string) ApiGetAutoscaleRequest

GetAutoscale Get reverse proxy instance autoscaling parameters

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

func (*RpaasApiService) GetAutoscaleExecute

func (a *RpaasApiService) GetAutoscaleExecute(r ApiGetAutoscaleRequest) (*Autoscale, *http.Response, error)

Execute executes the request

@return Autoscale

func (*RpaasApiService) GetInstance

func (a *RpaasApiService) GetInstance(ctx context.Context, instance string) ApiGetInstanceRequest

GetInstance Get additional information about an instance

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) GetInstanceExecute

Execute executes the request

@return []AdditionalInstanceInfo

func (*RpaasApiService) GetInstanceInfo

func (a *RpaasApiService) GetInstanceInfo(ctx context.Context, instance string) ApiGetInstanceInfoRequest

GetInstanceInfo Get a summary info about an instance

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

func (*RpaasApiService) GetInstanceInfoExecute

func (a *RpaasApiService) GetInstanceInfoExecute(r ApiGetInstanceInfoRequest) (*InstanceInfo, *http.Response, error)

Execute executes the request

@return InstanceInfo

func (*RpaasApiService) Healthcheck

Healthcheck Check the API healthiness

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

func (*RpaasApiService) HealthcheckExecute

func (a *RpaasApiService) HealthcheckExecute(r ApiHealthcheckRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*RpaasApiService) ListFlavors

ListFlavors List supported flavors

This endpoint is part of legacy RPaaS API.

Deprecated in favor of `GET /resources/plans` (see the supported flavors within `schemas` field of `Plan` object).

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

Deprecated

func (*RpaasApiService) ListFlavorsByInstance

func (a *RpaasApiService) ListFlavorsByInstance(ctx context.Context, instance string) ApiListFlavorsByInstanceRequest

ListFlavorsByInstance List flavors by instance

This endpoint is part of legacy RPaaS API.

Deprecated in favor of `GET /resources/plans` (see the supported flavors within `schemas` field of `Plan` object).

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

Deprecated

func (*RpaasApiService) ListFlavorsByInstanceExecute

func (a *RpaasApiService) ListFlavorsByInstanceExecute(r ApiListFlavorsByInstanceRequest) ([]Flavor, *http.Response, error)

Execute executes the request

@return []Flavor

Deprecated

func (*RpaasApiService) ListFlavorsExecute

func (a *RpaasApiService) ListFlavorsExecute(r ApiListFlavorsRequest) ([]Flavor, *http.Response, error)

Execute executes the request

@return []Flavor

Deprecated

func (*RpaasApiService) ListPlans

ListPlans List supported plans

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) ListPlansByInstance

func (a *RpaasApiService) ListPlansByInstance(ctx context.Context, instance string) ApiListPlansByInstanceRequest

ListPlansByInstance List supported plans by instance

This endpoint is part of legacy RPaaS API.

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

Deprecated

func (*RpaasApiService) ListPlansByInstanceExecute

func (a *RpaasApiService) ListPlansByInstanceExecute(r ApiListPlansByInstanceRequest) ([]Plan, *http.Response, error)

Execute executes the request

@return []Plan

Deprecated

func (*RpaasApiService) ListPlansExecute

func (a *RpaasApiService) ListPlansExecute(r ApiListPlansRequest) ([]Plan, *http.Response, error)

Execute executes the request

@return []Plan

func (*RpaasApiService) PurgeCache

func (a *RpaasApiService) PurgeCache(ctx context.Context, instance string) ApiPurgeCacheRequest

PurgeCache Purge cache key of rpaasv2.

This endpoint is exclusive for RPaaS v2 API.

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

func (*RpaasApiService) PurgeCacheExecute

func (a *RpaasApiService) PurgeCacheExecute(r ApiPurgeCacheRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*RpaasApiService) RemoveAutoscale

func (a *RpaasApiService) RemoveAutoscale(ctx context.Context, instance string) ApiRemoveAutoscaleRequest

RemoveAutoscale Remove the reverse proxy instance autoscaling capability

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

func (*RpaasApiService) RemoveAutoscaleExecute

func (a *RpaasApiService) RemoveAutoscaleExecute(r ApiRemoveAutoscaleRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) ResourcesInstanceStatusGet

func (a *RpaasApiService) ResourcesInstanceStatusGet(ctx context.Context, instance string) ApiResourcesInstanceStatusGetRequest

ResourcesInstanceStatusGet Whether instance is running or not

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) ResourcesInstanceStatusGetExecute

func (a *RpaasApiService) ResourcesInstanceStatusGetExecute(r ApiResourcesInstanceStatusGetRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) UnbindInstance

func (a *RpaasApiService) UnbindInstance(ctx context.Context, instance string) ApiUnbindInstanceRequest

UnbindInstance Unbind Unit

Not used, just to follow Tsuru Service API spec

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

Deprecated

func (*RpaasApiService) UnbindInstanceExecute

func (a *RpaasApiService) UnbindInstanceExecute(r ApiUnbindInstanceRequest) (*http.Response, error)

Execute executes the request Deprecated

func (*RpaasApiService) UpdateAutoscale

func (a *RpaasApiService) UpdateAutoscale(ctx context.Context, instance string) ApiUpdateAutoscaleRequest

UpdateAutoscale Update the reverse proxy instance autoscaling parameters

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

func (*RpaasApiService) UpdateAutoscaleExecute

func (a *RpaasApiService) UpdateAutoscaleExecute(r ApiUpdateAutoscaleRequest) (*http.Response, error)

Execute executes the request

func (*RpaasApiService) UpdateInstance

func (a *RpaasApiService) UpdateInstance(ctx context.Context, instance string) ApiUpdateInstanceRequest

UpdateInstance Update an instance

This endpoint is part of Tsuru Service API.

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

func (*RpaasApiService) UpdateInstanceExecute

func (a *RpaasApiService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (*http.Response, error)

Execute executes the request

type RpaasPurgerApiService

type RpaasPurgerApiService service

RpaasPurgerApiService RpaasPurgerApi service

func (*RpaasPurgerApiService) PurgeBulkCache

func (a *RpaasPurgerApiService) PurgeBulkCache(ctx context.Context, instance string) ApiPurgeBulkCacheRequest

PurgeBulkCache Purge objects from rpaasv2.

This endpoint is exclusive for RPaaS v2 API.

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

func (*RpaasPurgerApiService) PurgeBulkCacheExecute

Execute executes the request

@return []PurgeBulkResponse

type ScheduledWindow

type ScheduledWindow struct {
	// Min number of running pods while this window is active.
	MinReplicas int32 `json:"minReplicas"`
	// An Cron expression defining the start of the scheduled window.
	Start string `json:"start"`
	// An Cron expression defining the end of the scheduled window.
	End string `json:"end"`
	// Timezone is a zone name registered on IANA time zone database, default is UTC.
	Timezone *string `json:"timezone,omitempty"`
}

ScheduledWindow struct for ScheduledWindow

func NewScheduledWindow

func NewScheduledWindow(minReplicas int32, start string, end string) *ScheduledWindow

NewScheduledWindow instantiates a new ScheduledWindow 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 NewScheduledWindowWithDefaults

func NewScheduledWindowWithDefaults() *ScheduledWindow

NewScheduledWindowWithDefaults instantiates a new ScheduledWindow 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 (*ScheduledWindow) GetEnd

func (o *ScheduledWindow) GetEnd() string

GetEnd returns the End field value

func (*ScheduledWindow) GetEndOk

func (o *ScheduledWindow) GetEndOk() (*string, bool)

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

func (*ScheduledWindow) GetMinReplicas

func (o *ScheduledWindow) GetMinReplicas() int32

GetMinReplicas returns the MinReplicas field value

func (*ScheduledWindow) GetMinReplicasOk

func (o *ScheduledWindow) GetMinReplicasOk() (*int32, bool)

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

func (*ScheduledWindow) GetStart

func (o *ScheduledWindow) GetStart() string

GetStart returns the Start field value

func (*ScheduledWindow) GetStartOk

func (o *ScheduledWindow) GetStartOk() (*string, bool)

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

func (*ScheduledWindow) GetTimezone added in v0.38.7

func (o *ScheduledWindow) GetTimezone() string

GetTimezone returns the Timezone field value if set, zero value otherwise.

func (*ScheduledWindow) GetTimezoneOk added in v0.38.7

func (o *ScheduledWindow) GetTimezoneOk() (*string, bool)

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

func (*ScheduledWindow) HasTimezone added in v0.38.7

func (o *ScheduledWindow) HasTimezone() bool

HasTimezone returns a boolean if a field has been set.

func (ScheduledWindow) MarshalJSON

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

func (*ScheduledWindow) SetEnd

func (o *ScheduledWindow) SetEnd(v string)

SetEnd sets field value

func (*ScheduledWindow) SetMinReplicas

func (o *ScheduledWindow) SetMinReplicas(v int32)

SetMinReplicas sets field value

func (*ScheduledWindow) SetStart

func (o *ScheduledWindow) SetStart(v string)

SetStart sets field value

func (*ScheduledWindow) SetTimezone added in v0.38.7

func (o *ScheduledWindow) SetTimezone(v string)

SetTimezone gets a reference to the given string and assigns it to the Timezone field.

func (ScheduledWindow) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

Jump to

Keyboard shortcuts

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