pricing_api_client

package module
v0.0.0-...-27b61cf Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

README

Go API client for pricing_api_client

Provides API level access to the Costgraph Services.

Overview

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

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.18.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit https://costgraph.baselinehq.cloud/support

Installation

Install the following dependencies:

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

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

import pricing_api_client "github.com/baselinehq/pricingapi-client-golang"

To use a proxy, set the environment variable HTTP_PROXY:

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

Configuration of Server URL

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

Select Server Configuration

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

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

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

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

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

URLs Configuration per Operation

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

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

Documentation for API Endpoints

All URIs are relative to https://pricing.baselinehq.cloud

Class Method HTTP request Description
DefaultAPI HealthzGet Get /healthz Health check endpoint
DefaultAPI MarketplaceProvidersComputeDelete Delete /marketplace/providers/compute Delete a custom provider instance
DefaultAPI MarketplaceProvidersComputeGet Get /marketplace/providers/compute Get your custom pricing entries
DefaultAPI MarketplaceProvidersComputePost Post /marketplace/providers/compute Register a custom provider
DefaultAPI PricingComputePost Post /pricing/compute Get pricing for an instance
DefaultAPI PricingDisksPost Post /pricing/disks Get pricing for a disk
DefaultAPI ProvidersGet Get /providers Get details for the providers
DefaultAPI RecommendationsComputePost Post /recommendations/compute Get recommendations for compute instances
DefaultAPI RecommendationsDisksPost Post /recommendations/disks Get recommendations for disks

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

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

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

Example

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

Documentation for Utility Methods

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

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

Author

[email protected]

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedGithubComBaselinehqGolangSharedTypesProviderEnumValues = []GithubComBaselinehqGolangSharedTypesProvider{
	"GCP",
	"AWS",
	"DigitalOcean",
	"Azure",
	"Hetzner",
	"OVHCloud",
	"Base",
}

All allowed values of GithubComBaselinehqGolangSharedTypesProvider enum

View Source
var AllowedGithubComBaselinehqGolangSharedTypesServiceEnumValues = []GithubComBaselinehqGolangSharedTypesService{
	"ComputeEngine",
	"AmazonEC2",
	"Droplet",
	"AzureCompute",
	"AzureManagedDisks",
	"HetznerCompute",
	"OVHPublicCloud",
	"BaseCompute",
}

All allowed values of GithubComBaselinehqGolangSharedTypesService enum

View Source
var AllowedGithubComBaselinehqGolangSharedTypesUsageTypeEnumValues = []GithubComBaselinehqGolangSharedTypesUsageType{
	"SPOT_PREEMPTIBLE",
	"ONDEMAND",
	"RESERVED",
	"ONDEMAND_CUSTOM",
	"SPOT_PREEMPTIBLE_CUSTOM",
	"RESERVED_CUSTOM",
	"SOLE_TENANCY",
	"CUSTOM",
	"EXTENDED",
}

All allowed values of GithubComBaselinehqGolangSharedTypesUsageType enum

View Source
var AllowedGithubComBaselinehqPricingapiPkgTypesStatusEnumValues = []GithubComBaselinehqPricingapiPkgTypesStatus{
	"Registered",
	"Deleted",
}

All allowed values of GithubComBaselinehqPricingapiPkgTypesStatus enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

type APIClient struct {
	DefaultAPI *DefaultAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Pricing API API v1.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ApiHealthzGetRequest

type ApiHealthzGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiHealthzGetRequest) Execute

func (r ApiHealthzGetRequest) Execute() (map[string]string, *http.Response, error)

type ApiMarketplaceProvidersComputeDeleteRequest

type ApiMarketplaceProvidersComputeDeleteRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiMarketplaceProvidersComputeDeleteRequest) Execute

func (ApiMarketplaceProvidersComputeDeleteRequest) Id

Instance ID

type ApiMarketplaceProvidersComputeGetRequest

type ApiMarketplaceProvidersComputeGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiMarketplaceProvidersComputeGetRequest) Execute

type ApiMarketplaceProvidersComputePostRequest

type ApiMarketplaceProvidersComputePostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiMarketplaceProvidersComputePostRequest) Execute

func (ApiMarketplaceProvidersComputePostRequest) Instance

Pricing RecommendationRequest

type ApiPricingComputePostRequest

type ApiPricingComputePostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiPricingComputePostRequest) Execute

func (ApiPricingComputePostRequest) Instance

Instance

type ApiPricingDisksPostRequest

type ApiPricingDisksPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiPricingDisksPostRequest) Execute

func (ApiPricingDisksPostRequest) Instance

Disks

type ApiProvidersGetRequest

type ApiProvidersGetRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiProvidersGetRequest) Execute

type ApiRecommendationsComputePostRequest

type ApiRecommendationsComputePostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRecommendationsComputePostRequest) Execute

func (ApiRecommendationsComputePostRequest) Instance

Instance

type ApiRecommendationsDisksPostRequest

type ApiRecommendationsDisksPostRequest struct {
	ApiService *DefaultAPIService
	// contains filtered or unexported fields
}

func (ApiRecommendationsDisksPostRequest) Execute

func (ApiRecommendationsDisksPostRequest) Instance

Instance

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) HealthzGet

HealthzGet Health check endpoint

Health check endpoint

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

func (*DefaultAPIService) HealthzGetExecute

func (a *DefaultAPIService) HealthzGetExecute(r ApiHealthzGetRequest) (map[string]string, *http.Response, error)

Execute executes the request

@return map[string]string

func (*DefaultAPIService) MarketplaceProvidersComputeDelete

func (a *DefaultAPIService) MarketplaceProvidersComputeDelete(ctx context.Context) ApiMarketplaceProvidersComputeDeleteRequest

MarketplaceProvidersComputeDelete Delete a custom provider instance

Delete a custom provider instance

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

func (*DefaultAPIService) MarketplaceProvidersComputeDeleteExecute

Execute executes the request

@return TypesCustomPricingResponse

func (*DefaultAPIService) MarketplaceProvidersComputeGet

func (a *DefaultAPIService) MarketplaceProvidersComputeGet(ctx context.Context) ApiMarketplaceProvidersComputeGetRequest

MarketplaceProvidersComputeGet Get your custom pricing entries

Get your custom pricing entries

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

func (*DefaultAPIService) MarketplaceProvidersComputeGetExecute

Execute executes the request

@return TypesMarketplaceProvidersResponse

func (*DefaultAPIService) MarketplaceProvidersComputePost

func (a *DefaultAPIService) MarketplaceProvidersComputePost(ctx context.Context) ApiMarketplaceProvidersComputePostRequest

MarketplaceProvidersComputePost Register a custom provider

Register a custom provider

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

func (*DefaultAPIService) MarketplaceProvidersComputePostExecute

Execute executes the request

@return TypesCustomPricingResponse

func (*DefaultAPIService) PricingComputePost

PricingComputePost Get pricing for an instance

Get pricing

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

func (*DefaultAPIService) PricingComputePostExecute

Execute executes the request

@return SchemaComputePricingsRow

func (*DefaultAPIService) PricingDisksPost

PricingDisksPost Get pricing for a disk

Get pricing for disks

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

func (*DefaultAPIService) PricingDisksPostExecute

Execute executes the request

@return SchemaDiskPricingsRow

func (*DefaultAPIService) ProvidersGet

ProvidersGet Get details for the providers

Get details for the providers

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

func (*DefaultAPIService) ProvidersGetExecute

Execute executes the request

@return ProviderConfigs

func (*DefaultAPIService) RecommendationsComputePost

func (a *DefaultAPIService) RecommendationsComputePost(ctx context.Context) ApiRecommendationsComputePostRequest

RecommendationsComputePost Get recommendations for compute instances

Get recommendations for compute instances Recommendations, InstancePricing, VM, and Savings

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

func (*DefaultAPIService) RecommendationsComputePostExecute

func (a *DefaultAPIService) RecommendationsComputePostExecute(r ApiRecommendationsComputePostRequest) (*TypesComputeResults, *http.Response, error)

Execute executes the request

@return TypesComputeResults

func (*DefaultAPIService) RecommendationsDisksPost

func (a *DefaultAPIService) RecommendationsDisksPost(ctx context.Context) ApiRecommendationsDisksPostRequest

RecommendationsDisksPost Get recommendations for disks

Get recommendations for disks used in the server Recommendations, DiskPricing, and Savings

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

func (*DefaultAPIService) RecommendationsDisksPostExecute

func (a *DefaultAPIService) RecommendationsDisksPostExecute(r ApiRecommendationsDisksPostRequest) (*TypesDiskResults, *http.Response, error)

Execute executes the request

@return TypesDiskResults

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 GithubComBaselinehqGolangSharedTypesInstance

type GithubComBaselinehqGolangSharedTypesInstance struct {
	AvailabilityZone *string                                        `json:"availability_zone,omitempty"`
	Id               *string                                        `json:"id,omitempty"`
	InstanceType     *string                                        `json:"instance_type,omitempty"`
	OperatingSystem  *string                                        `json:"operating_system,omitempty"`
	Provider         *GithubComBaselinehqGolangSharedTypesProvider  `json:"provider,omitempty"`
	Region           *string                                        `json:"region,omitempty"`
	Service          *GithubComBaselinehqGolangSharedTypesService   `json:"service,omitempty"`
	UsageType        *GithubComBaselinehqGolangSharedTypesUsageType `json:"usage_type,omitempty"`
	UseBasePricing   *bool                                          `json:"use_base_pricing,omitempty"`
	Vm               *GithubComBaselinehqGolangSharedTypesVM        `json:"vm,omitempty"`
}

GithubComBaselinehqGolangSharedTypesInstance struct for GithubComBaselinehqGolangSharedTypesInstance

func NewGithubComBaselinehqGolangSharedTypesInstance

func NewGithubComBaselinehqGolangSharedTypesInstance() *GithubComBaselinehqGolangSharedTypesInstance

NewGithubComBaselinehqGolangSharedTypesInstance instantiates a new GithubComBaselinehqGolangSharedTypesInstance 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 NewGithubComBaselinehqGolangSharedTypesInstanceWithDefaults

func NewGithubComBaselinehqGolangSharedTypesInstanceWithDefaults() *GithubComBaselinehqGolangSharedTypesInstance

NewGithubComBaselinehqGolangSharedTypesInstanceWithDefaults instantiates a new GithubComBaselinehqGolangSharedTypesInstance 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 (*GithubComBaselinehqGolangSharedTypesInstance) GetAvailabilityZone

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetAvailabilityZoneOk

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetAvailabilityZoneOk() (*string, bool)

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetId

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetIdOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetInstanceType

GetInstanceType returns the InstanceType field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetInstanceTypeOk

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetInstanceTypeOk() (*string, bool)

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetOperatingSystem

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetOperatingSystemOk

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetOperatingSystemOk() (*string, bool)

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetProvider

GetProvider returns the Provider field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetProviderOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetRegion

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetRegionOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetService

GetService returns the Service field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetServiceOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetUsageType

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetUsageTypeOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetUseBasePricing

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetUseBasePricing() bool

GetUseBasePricing returns the UseBasePricing field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetUseBasePricingOk

func (o *GithubComBaselinehqGolangSharedTypesInstance) GetUseBasePricingOk() (*bool, bool)

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

func (*GithubComBaselinehqGolangSharedTypesInstance) GetVm

GetVm returns the Vm field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesInstance) GetVmOk

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

func (*GithubComBaselinehqGolangSharedTypesInstance) HasAvailabilityZone

func (o *GithubComBaselinehqGolangSharedTypesInstance) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasId

HasId returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasInstanceType

HasInstanceType returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasOperatingSystem

func (o *GithubComBaselinehqGolangSharedTypesInstance) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasProvider

HasProvider returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasRegion

HasRegion returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasService

HasService returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasUsageType

HasUsageType returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasUseBasePricing

func (o *GithubComBaselinehqGolangSharedTypesInstance) HasUseBasePricing() bool

HasUseBasePricing returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesInstance) HasVm

HasVm returns a boolean if a field has been set.

func (GithubComBaselinehqGolangSharedTypesInstance) MarshalJSON

func (*GithubComBaselinehqGolangSharedTypesInstance) SetAvailabilityZone

func (o *GithubComBaselinehqGolangSharedTypesInstance) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetId

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

func (*GithubComBaselinehqGolangSharedTypesInstance) SetInstanceType

SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetOperatingSystem

func (o *GithubComBaselinehqGolangSharedTypesInstance) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetProvider

SetProvider gets a reference to the given GithubComBaselinehqGolangSharedTypesProvider and assigns it to the Provider field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetRegion

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

func (*GithubComBaselinehqGolangSharedTypesInstance) SetService

SetService gets a reference to the given GithubComBaselinehqGolangSharedTypesService and assigns it to the Service field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetUsageType

SetUsageType gets a reference to the given GithubComBaselinehqGolangSharedTypesUsageType and assigns it to the UsageType field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetUseBasePricing

func (o *GithubComBaselinehqGolangSharedTypesInstance) SetUseBasePricing(v bool)

SetUseBasePricing gets a reference to the given bool and assigns it to the UseBasePricing field.

func (*GithubComBaselinehqGolangSharedTypesInstance) SetVm

SetVm gets a reference to the given GithubComBaselinehqGolangSharedTypesVM and assigns it to the Vm field.

func (GithubComBaselinehqGolangSharedTypesInstance) ToMap

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

type GithubComBaselinehqGolangSharedTypesProvider

type GithubComBaselinehqGolangSharedTypesProvider string

GithubComBaselinehqGolangSharedTypesProvider the model 'GithubComBaselinehqGolangSharedTypesProvider'

func NewGithubComBaselinehqGolangSharedTypesProviderFromValue

func NewGithubComBaselinehqGolangSharedTypesProviderFromValue(v string) (*GithubComBaselinehqGolangSharedTypesProvider, error)

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

func (GithubComBaselinehqGolangSharedTypesProvider) IsValid

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

func (GithubComBaselinehqGolangSharedTypesProvider) Ptr

Ptr returns reference to github_com_baselinehq_golang-shared_types.Provider value

func (*GithubComBaselinehqGolangSharedTypesProvider) UnmarshalJSON

type GithubComBaselinehqGolangSharedTypesService

type GithubComBaselinehqGolangSharedTypesService string

GithubComBaselinehqGolangSharedTypesService the model 'GithubComBaselinehqGolangSharedTypesService'

const (
	ComputeEngine     GithubComBaselinehqGolangSharedTypesService = "ComputeEngine"
	AmazonEC2         GithubComBaselinehqGolangSharedTypesService = "AmazonEC2"
	Droplet           GithubComBaselinehqGolangSharedTypesService = "Droplet"
	AzureCompute      GithubComBaselinehqGolangSharedTypesService = "AzureCompute"
	AzureManagedDisks GithubComBaselinehqGolangSharedTypesService = "AzureManagedDisks"
	HetznerCompute    GithubComBaselinehqGolangSharedTypesService = "HetznerCompute"
	OVHPublicCloud    GithubComBaselinehqGolangSharedTypesService = "OVHPublicCloud"
	BaseCompute       GithubComBaselinehqGolangSharedTypesService = "BaseCompute"
)

List of github_com_baselinehq_golang-shared_types.Service

func NewGithubComBaselinehqGolangSharedTypesServiceFromValue

func NewGithubComBaselinehqGolangSharedTypesServiceFromValue(v string) (*GithubComBaselinehqGolangSharedTypesService, error)

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

func (GithubComBaselinehqGolangSharedTypesService) IsValid

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

func (GithubComBaselinehqGolangSharedTypesService) Ptr

Ptr returns reference to github_com_baselinehq_golang-shared_types.Service value

func (*GithubComBaselinehqGolangSharedTypesService) UnmarshalJSON

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

type GithubComBaselinehqGolangSharedTypesUsageType

type GithubComBaselinehqGolangSharedTypesUsageType string

GithubComBaselinehqGolangSharedTypesUsageType the model 'GithubComBaselinehqGolangSharedTypesUsageType'

const (
	SPOT_PREEMPTIBLE        GithubComBaselinehqGolangSharedTypesUsageType = "SPOT_PREEMPTIBLE"
	ONDEMAND                GithubComBaselinehqGolangSharedTypesUsageType = "ONDEMAND"
	RESERVED                GithubComBaselinehqGolangSharedTypesUsageType = "RESERVED"
	ONDEMAND_CUSTOM         GithubComBaselinehqGolangSharedTypesUsageType = "ONDEMAND_CUSTOM"
	SPOT_PREEMPTIBLE_CUSTOM GithubComBaselinehqGolangSharedTypesUsageType = "SPOT_PREEMPTIBLE_CUSTOM"
	RESERVED_CUSTOM         GithubComBaselinehqGolangSharedTypesUsageType = "RESERVED_CUSTOM"
	SOLE_TENANCY            GithubComBaselinehqGolangSharedTypesUsageType = "SOLE_TENANCY"
	CUSTOM                  GithubComBaselinehqGolangSharedTypesUsageType = "CUSTOM"
	EXTENDED                GithubComBaselinehqGolangSharedTypesUsageType = "EXTENDED"
)

List of github_com_baselinehq_golang-shared_types.UsageType

func NewGithubComBaselinehqGolangSharedTypesUsageTypeFromValue

func NewGithubComBaselinehqGolangSharedTypesUsageTypeFromValue(v string) (*GithubComBaselinehqGolangSharedTypesUsageType, error)

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

func (GithubComBaselinehqGolangSharedTypesUsageType) IsValid

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

func (GithubComBaselinehqGolangSharedTypesUsageType) Ptr

Ptr returns reference to github_com_baselinehq_golang-shared_types.UsageType value

func (*GithubComBaselinehqGolangSharedTypesUsageType) UnmarshalJSON

type GithubComBaselinehqGolangSharedTypesVM

type GithubComBaselinehqGolangSharedTypesVM struct {
	CpuCores *float32 `json:"cpu_cores,omitempty"`
	RamGb    *float32 `json:"ram_gb,omitempty"`
}

GithubComBaselinehqGolangSharedTypesVM struct for GithubComBaselinehqGolangSharedTypesVM

func NewGithubComBaselinehqGolangSharedTypesVM

func NewGithubComBaselinehqGolangSharedTypesVM() *GithubComBaselinehqGolangSharedTypesVM

NewGithubComBaselinehqGolangSharedTypesVM instantiates a new GithubComBaselinehqGolangSharedTypesVM 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 NewGithubComBaselinehqGolangSharedTypesVMWithDefaults

func NewGithubComBaselinehqGolangSharedTypesVMWithDefaults() *GithubComBaselinehqGolangSharedTypesVM

NewGithubComBaselinehqGolangSharedTypesVMWithDefaults instantiates a new GithubComBaselinehqGolangSharedTypesVM 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 (*GithubComBaselinehqGolangSharedTypesVM) GetCpuCores

GetCpuCores returns the CpuCores field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesVM) GetCpuCoresOk

func (o *GithubComBaselinehqGolangSharedTypesVM) GetCpuCoresOk() (*float32, bool)

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

func (*GithubComBaselinehqGolangSharedTypesVM) GetRamGb

GetRamGb returns the RamGb field value if set, zero value otherwise.

func (*GithubComBaselinehqGolangSharedTypesVM) GetRamGbOk

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

func (*GithubComBaselinehqGolangSharedTypesVM) HasCpuCores

HasCpuCores returns a boolean if a field has been set.

func (*GithubComBaselinehqGolangSharedTypesVM) HasRamGb

HasRamGb returns a boolean if a field has been set.

func (GithubComBaselinehqGolangSharedTypesVM) MarshalJSON

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

func (*GithubComBaselinehqGolangSharedTypesVM) SetCpuCores

SetCpuCores gets a reference to the given float32 and assigns it to the CpuCores field.

func (*GithubComBaselinehqGolangSharedTypesVM) SetRamGb

SetRamGb gets a reference to the given float32 and assigns it to the RamGb field.

func (GithubComBaselinehqGolangSharedTypesVM) ToMap

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

type GithubComBaselinehqPricingapiPkgTypesStatus

type GithubComBaselinehqPricingapiPkgTypesStatus string

GithubComBaselinehqPricingapiPkgTypesStatus the model 'GithubComBaselinehqPricingapiPkgTypesStatus'

const (
	Registered GithubComBaselinehqPricingapiPkgTypesStatus = "Registered"
	Deleted    GithubComBaselinehqPricingapiPkgTypesStatus = "Deleted"
)

List of github_com_baselinehq_pricingapi_pkg_types.Status

func NewGithubComBaselinehqPricingapiPkgTypesStatusFromValue

func NewGithubComBaselinehqPricingapiPkgTypesStatusFromValue(v string) (*GithubComBaselinehqPricingapiPkgTypesStatus, error)

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

func (GithubComBaselinehqPricingapiPkgTypesStatus) IsValid

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

func (GithubComBaselinehqPricingapiPkgTypesStatus) Ptr

Ptr returns reference to github_com_baselinehq_pricingapi_pkg_types.Status value

func (*GithubComBaselinehqPricingapiPkgTypesStatus) UnmarshalJSON

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

type MappedNullable

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

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 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 NullableGithubComBaselinehqGolangSharedTypesInstance

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

func (NullableGithubComBaselinehqGolangSharedTypesInstance) Get

func (NullableGithubComBaselinehqGolangSharedTypesInstance) IsSet

func (NullableGithubComBaselinehqGolangSharedTypesInstance) MarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesInstance) Set

func (*NullableGithubComBaselinehqGolangSharedTypesInstance) UnmarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesInstance) Unset

type NullableGithubComBaselinehqGolangSharedTypesProvider

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

func (NullableGithubComBaselinehqGolangSharedTypesProvider) Get

func (NullableGithubComBaselinehqGolangSharedTypesProvider) IsSet

func (NullableGithubComBaselinehqGolangSharedTypesProvider) MarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesProvider) Set

func (*NullableGithubComBaselinehqGolangSharedTypesProvider) UnmarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesProvider) Unset

type NullableGithubComBaselinehqGolangSharedTypesService

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

func (NullableGithubComBaselinehqGolangSharedTypesService) Get

func (NullableGithubComBaselinehqGolangSharedTypesService) IsSet

func (NullableGithubComBaselinehqGolangSharedTypesService) MarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesService) Set

func (*NullableGithubComBaselinehqGolangSharedTypesService) UnmarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesService) Unset

type NullableGithubComBaselinehqGolangSharedTypesUsageType

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

func (NullableGithubComBaselinehqGolangSharedTypesUsageType) Get

func (NullableGithubComBaselinehqGolangSharedTypesUsageType) IsSet

func (NullableGithubComBaselinehqGolangSharedTypesUsageType) MarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesUsageType) Set

func (*NullableGithubComBaselinehqGolangSharedTypesUsageType) UnmarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesUsageType) Unset

type NullableGithubComBaselinehqGolangSharedTypesVM

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

func (NullableGithubComBaselinehqGolangSharedTypesVM) Get

func (NullableGithubComBaselinehqGolangSharedTypesVM) IsSet

func (NullableGithubComBaselinehqGolangSharedTypesVM) MarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesVM) Set

func (*NullableGithubComBaselinehqGolangSharedTypesVM) UnmarshalJSON

func (*NullableGithubComBaselinehqGolangSharedTypesVM) Unset

type NullableGithubComBaselinehqPricingapiPkgTypesStatus

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

func (NullableGithubComBaselinehqPricingapiPkgTypesStatus) Get

func (NullableGithubComBaselinehqPricingapiPkgTypesStatus) IsSet

func (NullableGithubComBaselinehqPricingapiPkgTypesStatus) MarshalJSON

func (*NullableGithubComBaselinehqPricingapiPkgTypesStatus) Set

func (*NullableGithubComBaselinehqPricingapiPkgTypesStatus) UnmarshalJSON

func (*NullableGithubComBaselinehqPricingapiPkgTypesStatus) 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 NullableProviderConfig

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

func NewNullableProviderConfig

func NewNullableProviderConfig(val *ProviderConfig) *NullableProviderConfig

func (NullableProviderConfig) Get

func (NullableProviderConfig) IsSet

func (v NullableProviderConfig) IsSet() bool

func (NullableProviderConfig) MarshalJSON

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

func (*NullableProviderConfig) Set

func (*NullableProviderConfig) UnmarshalJSON

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

func (*NullableProviderConfig) Unset

func (v *NullableProviderConfig) Unset()

type NullableProviderConfigs

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

func NewNullableProviderConfigs

func NewNullableProviderConfigs(val *ProviderConfigs) *NullableProviderConfigs

func (NullableProviderConfigs) Get

func (NullableProviderConfigs) IsSet

func (v NullableProviderConfigs) IsSet() bool

func (NullableProviderConfigs) MarshalJSON

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

func (*NullableProviderConfigs) Set

func (*NullableProviderConfigs) UnmarshalJSON

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

func (*NullableProviderConfigs) Unset

func (v *NullableProviderConfigs) Unset()

type NullableSchemaComputePricingsRow

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

func (NullableSchemaComputePricingsRow) Get

func (NullableSchemaComputePricingsRow) IsSet

func (NullableSchemaComputePricingsRow) MarshalJSON

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

func (*NullableSchemaComputePricingsRow) Set

func (*NullableSchemaComputePricingsRow) UnmarshalJSON

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

func (*NullableSchemaComputePricingsRow) Unset

type NullableSchemaDiskPricingsRow

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

func (NullableSchemaDiskPricingsRow) Get

func (NullableSchemaDiskPricingsRow) IsSet

func (NullableSchemaDiskPricingsRow) MarshalJSON

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

func (*NullableSchemaDiskPricingsRow) Set

func (*NullableSchemaDiskPricingsRow) UnmarshalJSON

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

func (*NullableSchemaDiskPricingsRow) Unset

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

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

func NewNullableTypesComputeRequest

func NewNullableTypesComputeRequest(val *TypesComputeRequest) *NullableTypesComputeRequest

func (NullableTypesComputeRequest) Get

func (NullableTypesComputeRequest) IsSet

func (NullableTypesComputeRequest) MarshalJSON

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

func (*NullableTypesComputeRequest) Set

func (*NullableTypesComputeRequest) UnmarshalJSON

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

func (*NullableTypesComputeRequest) Unset

func (v *NullableTypesComputeRequest) Unset()

type NullableTypesComputeResults

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

func NewNullableTypesComputeResults

func NewNullableTypesComputeResults(val *TypesComputeResults) *NullableTypesComputeResults

func (NullableTypesComputeResults) Get

func (NullableTypesComputeResults) IsSet

func (NullableTypesComputeResults) MarshalJSON

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

func (*NullableTypesComputeResults) Set

func (*NullableTypesComputeResults) UnmarshalJSON

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

func (*NullableTypesComputeResults) Unset

func (v *NullableTypesComputeResults) Unset()

type NullableTypesComputeResultsValueInner

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

func (NullableTypesComputeResultsValueInner) Get

func (NullableTypesComputeResultsValueInner) IsSet

func (NullableTypesComputeResultsValueInner) MarshalJSON

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

func (*NullableTypesComputeResultsValueInner) Set

func (*NullableTypesComputeResultsValueInner) UnmarshalJSON

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

func (*NullableTypesComputeResultsValueInner) Unset

type NullableTypesCustomPriceRequest

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

func (NullableTypesCustomPriceRequest) Get

func (NullableTypesCustomPriceRequest) IsSet

func (NullableTypesCustomPriceRequest) MarshalJSON

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

func (*NullableTypesCustomPriceRequest) Set

func (*NullableTypesCustomPriceRequest) UnmarshalJSON

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

func (*NullableTypesCustomPriceRequest) Unset

type NullableTypesCustomPricingResponse

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

func (NullableTypesCustomPricingResponse) Get

func (NullableTypesCustomPricingResponse) IsSet

func (NullableTypesCustomPricingResponse) MarshalJSON

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

func (*NullableTypesCustomPricingResponse) Set

func (*NullableTypesCustomPricingResponse) UnmarshalJSON

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

func (*NullableTypesCustomPricingResponse) Unset

type NullableTypesDisk

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

func NewNullableTypesDisk

func NewNullableTypesDisk(val *TypesDisk) *NullableTypesDisk

func (NullableTypesDisk) Get

func (v NullableTypesDisk) Get() *TypesDisk

func (NullableTypesDisk) IsSet

func (v NullableTypesDisk) IsSet() bool

func (NullableTypesDisk) MarshalJSON

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

func (*NullableTypesDisk) Set

func (v *NullableTypesDisk) Set(val *TypesDisk)

func (*NullableTypesDisk) UnmarshalJSON

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

func (*NullableTypesDisk) Unset

func (v *NullableTypesDisk) Unset()

type NullableTypesDiskRequest

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

func NewNullableTypesDiskRequest

func NewNullableTypesDiskRequest(val *TypesDiskRequest) *NullableTypesDiskRequest

func (NullableTypesDiskRequest) Get

func (NullableTypesDiskRequest) IsSet

func (v NullableTypesDiskRequest) IsSet() bool

func (NullableTypesDiskRequest) MarshalJSON

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

func (*NullableTypesDiskRequest) Set

func (*NullableTypesDiskRequest) UnmarshalJSON

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

func (*NullableTypesDiskRequest) Unset

func (v *NullableTypesDiskRequest) Unset()

type NullableTypesDiskResults

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

func NewNullableTypesDiskResults

func NewNullableTypesDiskResults(val *TypesDiskResults) *NullableTypesDiskResults

func (NullableTypesDiskResults) Get

func (NullableTypesDiskResults) IsSet

func (v NullableTypesDiskResults) IsSet() bool

func (NullableTypesDiskResults) MarshalJSON

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

func (*NullableTypesDiskResults) Set

func (*NullableTypesDiskResults) UnmarshalJSON

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

func (*NullableTypesDiskResults) Unset

func (v *NullableTypesDiskResults) Unset()

type NullableTypesDiskResultsValueInner

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

func (NullableTypesDiskResultsValueInner) Get

func (NullableTypesDiskResultsValueInner) IsSet

func (NullableTypesDiskResultsValueInner) MarshalJSON

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

func (*NullableTypesDiskResultsValueInner) Set

func (*NullableTypesDiskResultsValueInner) UnmarshalJSON

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

func (*NullableTypesDiskResultsValueInner) Unset

type NullableTypesMarketplaceProvidersResponse

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

func (NullableTypesMarketplaceProvidersResponse) Get

func (NullableTypesMarketplaceProvidersResponse) IsSet

func (NullableTypesMarketplaceProvidersResponse) MarshalJSON

func (*NullableTypesMarketplaceProvidersResponse) Set

func (*NullableTypesMarketplaceProvidersResponse) UnmarshalJSON

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

func (*NullableTypesMarketplaceProvidersResponse) Unset

type NullableTypesPredicates

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

func NewNullableTypesPredicates

func NewNullableTypesPredicates(val *TypesPredicates) *NullableTypesPredicates

func (NullableTypesPredicates) Get

func (NullableTypesPredicates) IsSet

func (v NullableTypesPredicates) IsSet() bool

func (NullableTypesPredicates) MarshalJSON

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

func (*NullableTypesPredicates) Set

func (*NullableTypesPredicates) UnmarshalJSON

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

func (*NullableTypesPredicates) Unset

func (v *NullableTypesPredicates) Unset()

type NullableTypesSavings

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

func NewNullableTypesSavings

func NewNullableTypesSavings(val *TypesSavings) *NullableTypesSavings

func (NullableTypesSavings) Get

func (NullableTypesSavings) IsSet

func (v NullableTypesSavings) IsSet() bool

func (NullableTypesSavings) MarshalJSON

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

func (*NullableTypesSavings) Set

func (v *NullableTypesSavings) Set(val *TypesSavings)

func (*NullableTypesSavings) UnmarshalJSON

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

func (*NullableTypesSavings) Unset

func (v *NullableTypesSavings) Unset()

type ProviderConfig

type ProviderConfig struct {
	Predicates *TypesPredicates                              `json:"predicates,omitempty"`
	Provider   *GithubComBaselinehqGolangSharedTypesProvider `json:"provider,omitempty"`
}

ProviderConfig struct for ProviderConfig

func NewProviderConfig

func NewProviderConfig() *ProviderConfig

NewProviderConfig instantiates a new ProviderConfig 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 NewProviderConfigWithDefaults

func NewProviderConfigWithDefaults() *ProviderConfig

NewProviderConfigWithDefaults instantiates a new ProviderConfig 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 (*ProviderConfig) GetPredicates

func (o *ProviderConfig) GetPredicates() TypesPredicates

GetPredicates returns the Predicates field value if set, zero value otherwise.

func (*ProviderConfig) GetPredicatesOk

func (o *ProviderConfig) GetPredicatesOk() (*TypesPredicates, bool)

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

func (*ProviderConfig) GetProvider

GetProvider returns the Provider field value if set, zero value otherwise.

func (*ProviderConfig) GetProviderOk

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

func (*ProviderConfig) HasPredicates

func (o *ProviderConfig) HasPredicates() bool

HasPredicates returns a boolean if a field has been set.

func (*ProviderConfig) HasProvider

func (o *ProviderConfig) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (ProviderConfig) MarshalJSON

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

func (*ProviderConfig) SetPredicates

func (o *ProviderConfig) SetPredicates(v TypesPredicates)

SetPredicates gets a reference to the given TypesPredicates and assigns it to the Predicates field.

func (*ProviderConfig) SetProvider

SetProvider gets a reference to the given GithubComBaselinehqGolangSharedTypesProvider and assigns it to the Provider field.

func (ProviderConfig) ToMap

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

type ProviderConfigs

type ProviderConfigs struct {
	AdditionalProperties map[string]interface{}
}

ProviderConfigs struct for ProviderConfigs

func NewProviderConfigs

func NewProviderConfigs() *ProviderConfigs

NewProviderConfigs instantiates a new ProviderConfigs 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 NewProviderConfigsWithDefaults

func NewProviderConfigsWithDefaults() *ProviderConfigs

NewProviderConfigsWithDefaults instantiates a new ProviderConfigs 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 (ProviderConfigs) MarshalJSON

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

func (ProviderConfigs) ToMap

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

func (*ProviderConfigs) UnmarshalJSON

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

type SchemaComputePricingsRow

type SchemaComputePricingsRow struct {
	AvailabilityZone    *string                `json:"availability_zone,omitempty"`
	CostPerHour         *float32               `json:"cost_per_hour,omitempty"`
	CpuCores            *float32               `json:"cpu_cores,omitempty"`
	CpuCoresCostPerHour *float32               `json:"cpu_cores_cost_per_hour,omitempty"`
	CreatedAt           *string                `json:"created_at,omitempty"`
	Id                  *string                `json:"id,omitempty"`
	InstanceType        *string                `json:"instance_type,omitempty"`
	OperatingSystem     *string                `json:"operating_system,omitempty"`
	PeriodBillingHours  *float32               `json:"period_billing_hours,omitempty"`
	Provider            *string                `json:"provider,omitempty"`
	RamGb               *float32               `json:"ram_gb,omitempty"`
	RamGbCostPerHour    *float32               `json:"ram_gb_cost_per_hour,omitempty"`
	RawPricingData      map[string]interface{} `json:"raw_pricing_data,omitempty"`
	Region              *string                `json:"region,omitempty"`
	Service             *string                `json:"service,omitempty"`
	Tags                map[string]interface{} `json:"tags,omitempty"`
	UpdatedAt           *string                `json:"updated_at,omitempty"`
	UsageType           *string                `json:"usage_type,omitempty"`
}

SchemaComputePricingsRow struct for SchemaComputePricingsRow

func NewSchemaComputePricingsRow

func NewSchemaComputePricingsRow() *SchemaComputePricingsRow

NewSchemaComputePricingsRow instantiates a new SchemaComputePricingsRow 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 NewSchemaComputePricingsRowWithDefaults

func NewSchemaComputePricingsRowWithDefaults() *SchemaComputePricingsRow

NewSchemaComputePricingsRowWithDefaults instantiates a new SchemaComputePricingsRow 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 (*SchemaComputePricingsRow) GetAvailabilityZone

func (o *SchemaComputePricingsRow) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetAvailabilityZoneOk

func (o *SchemaComputePricingsRow) GetAvailabilityZoneOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetCostPerHour

func (o *SchemaComputePricingsRow) GetCostPerHour() float32

GetCostPerHour returns the CostPerHour field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetCostPerHourOk

func (o *SchemaComputePricingsRow) GetCostPerHourOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetCpuCores

func (o *SchemaComputePricingsRow) GetCpuCores() float32

GetCpuCores returns the CpuCores field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetCpuCoresCostPerHour

func (o *SchemaComputePricingsRow) GetCpuCoresCostPerHour() float32

GetCpuCoresCostPerHour returns the CpuCoresCostPerHour field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetCpuCoresCostPerHourOk

func (o *SchemaComputePricingsRow) GetCpuCoresCostPerHourOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetCpuCoresOk

func (o *SchemaComputePricingsRow) GetCpuCoresOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetCreatedAt

func (o *SchemaComputePricingsRow) GetCreatedAt() string

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

func (*SchemaComputePricingsRow) GetCreatedAtOk

func (o *SchemaComputePricingsRow) GetCreatedAtOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetId

func (o *SchemaComputePricingsRow) GetId() string

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

func (*SchemaComputePricingsRow) GetIdOk

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

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

func (*SchemaComputePricingsRow) GetInstanceType

func (o *SchemaComputePricingsRow) GetInstanceType() string

GetInstanceType returns the InstanceType field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetInstanceTypeOk

func (o *SchemaComputePricingsRow) GetInstanceTypeOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetOperatingSystem

func (o *SchemaComputePricingsRow) GetOperatingSystem() string

GetOperatingSystem returns the OperatingSystem field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetOperatingSystemOk

func (o *SchemaComputePricingsRow) GetOperatingSystemOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetPeriodBillingHours

func (o *SchemaComputePricingsRow) GetPeriodBillingHours() float32

GetPeriodBillingHours returns the PeriodBillingHours field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetPeriodBillingHoursOk

func (o *SchemaComputePricingsRow) GetPeriodBillingHoursOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetProvider

func (o *SchemaComputePricingsRow) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetProviderOk

func (o *SchemaComputePricingsRow) GetProviderOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetRamGb

func (o *SchemaComputePricingsRow) GetRamGb() float32

GetRamGb returns the RamGb field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetRamGbCostPerHour

func (o *SchemaComputePricingsRow) GetRamGbCostPerHour() float32

GetRamGbCostPerHour returns the RamGbCostPerHour field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetRamGbCostPerHourOk

func (o *SchemaComputePricingsRow) GetRamGbCostPerHourOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetRamGbOk

func (o *SchemaComputePricingsRow) GetRamGbOk() (*float32, bool)

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

func (*SchemaComputePricingsRow) GetRawPricingData

func (o *SchemaComputePricingsRow) GetRawPricingData() map[string]interface{}

GetRawPricingData returns the RawPricingData field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetRawPricingDataOk

func (o *SchemaComputePricingsRow) GetRawPricingDataOk() (map[string]interface{}, bool)

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

func (*SchemaComputePricingsRow) GetRegion

func (o *SchemaComputePricingsRow) GetRegion() string

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

func (*SchemaComputePricingsRow) GetRegionOk

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

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

func (*SchemaComputePricingsRow) GetService

func (o *SchemaComputePricingsRow) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetServiceOk

func (o *SchemaComputePricingsRow) GetServiceOk() (*string, bool)

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

func (*SchemaComputePricingsRow) GetTags

func (o *SchemaComputePricingsRow) GetTags() map[string]interface{}

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

func (*SchemaComputePricingsRow) GetTagsOk

func (o *SchemaComputePricingsRow) GetTagsOk() (map[string]interface{}, 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 (*SchemaComputePricingsRow) GetUpdatedAt

func (o *SchemaComputePricingsRow) GetUpdatedAt() string

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

func (*SchemaComputePricingsRow) GetUpdatedAtOk

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

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

func (*SchemaComputePricingsRow) GetUsageType

func (o *SchemaComputePricingsRow) GetUsageType() string

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*SchemaComputePricingsRow) GetUsageTypeOk

func (o *SchemaComputePricingsRow) GetUsageTypeOk() (*string, bool)

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

func (*SchemaComputePricingsRow) HasAvailabilityZone

func (o *SchemaComputePricingsRow) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasCostPerHour

func (o *SchemaComputePricingsRow) HasCostPerHour() bool

HasCostPerHour returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasCpuCores

func (o *SchemaComputePricingsRow) HasCpuCores() bool

HasCpuCores returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasCpuCoresCostPerHour

func (o *SchemaComputePricingsRow) HasCpuCoresCostPerHour() bool

HasCpuCoresCostPerHour returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasCreatedAt

func (o *SchemaComputePricingsRow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasId

func (o *SchemaComputePricingsRow) HasId() bool

HasId returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasInstanceType

func (o *SchemaComputePricingsRow) HasInstanceType() bool

HasInstanceType returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasOperatingSystem

func (o *SchemaComputePricingsRow) HasOperatingSystem() bool

HasOperatingSystem returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasPeriodBillingHours

func (o *SchemaComputePricingsRow) HasPeriodBillingHours() bool

HasPeriodBillingHours returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasProvider

func (o *SchemaComputePricingsRow) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasRamGb

func (o *SchemaComputePricingsRow) HasRamGb() bool

HasRamGb returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasRamGbCostPerHour

func (o *SchemaComputePricingsRow) HasRamGbCostPerHour() bool

HasRamGbCostPerHour returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasRawPricingData

func (o *SchemaComputePricingsRow) HasRawPricingData() bool

HasRawPricingData returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasRegion

func (o *SchemaComputePricingsRow) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasService

func (o *SchemaComputePricingsRow) HasService() bool

HasService returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasTags

func (o *SchemaComputePricingsRow) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasUpdatedAt

func (o *SchemaComputePricingsRow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*SchemaComputePricingsRow) HasUsageType

func (o *SchemaComputePricingsRow) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (SchemaComputePricingsRow) MarshalJSON

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

func (*SchemaComputePricingsRow) SetAvailabilityZone

func (o *SchemaComputePricingsRow) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*SchemaComputePricingsRow) SetCostPerHour

func (o *SchemaComputePricingsRow) SetCostPerHour(v float32)

SetCostPerHour gets a reference to the given float32 and assigns it to the CostPerHour field.

func (*SchemaComputePricingsRow) SetCpuCores

func (o *SchemaComputePricingsRow) SetCpuCores(v float32)

SetCpuCores gets a reference to the given float32 and assigns it to the CpuCores field.

func (*SchemaComputePricingsRow) SetCpuCoresCostPerHour

func (o *SchemaComputePricingsRow) SetCpuCoresCostPerHour(v float32)

SetCpuCoresCostPerHour gets a reference to the given float32 and assigns it to the CpuCoresCostPerHour field.

func (*SchemaComputePricingsRow) SetCreatedAt

func (o *SchemaComputePricingsRow) SetCreatedAt(v string)

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

func (*SchemaComputePricingsRow) SetId

func (o *SchemaComputePricingsRow) SetId(v string)

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

func (*SchemaComputePricingsRow) SetInstanceType

func (o *SchemaComputePricingsRow) SetInstanceType(v string)

SetInstanceType gets a reference to the given string and assigns it to the InstanceType field.

func (*SchemaComputePricingsRow) SetOperatingSystem

func (o *SchemaComputePricingsRow) SetOperatingSystem(v string)

SetOperatingSystem gets a reference to the given string and assigns it to the OperatingSystem field.

func (*SchemaComputePricingsRow) SetPeriodBillingHours

func (o *SchemaComputePricingsRow) SetPeriodBillingHours(v float32)

SetPeriodBillingHours gets a reference to the given float32 and assigns it to the PeriodBillingHours field.

func (*SchemaComputePricingsRow) SetProvider

func (o *SchemaComputePricingsRow) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*SchemaComputePricingsRow) SetRamGb

func (o *SchemaComputePricingsRow) SetRamGb(v float32)

SetRamGb gets a reference to the given float32 and assigns it to the RamGb field.

func (*SchemaComputePricingsRow) SetRamGbCostPerHour

func (o *SchemaComputePricingsRow) SetRamGbCostPerHour(v float32)

SetRamGbCostPerHour gets a reference to the given float32 and assigns it to the RamGbCostPerHour field.

func (*SchemaComputePricingsRow) SetRawPricingData

func (o *SchemaComputePricingsRow) SetRawPricingData(v map[string]interface{})

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

func (*SchemaComputePricingsRow) SetRegion

func (o *SchemaComputePricingsRow) SetRegion(v string)

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

func (*SchemaComputePricingsRow) SetService

func (o *SchemaComputePricingsRow) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*SchemaComputePricingsRow) SetTags

func (o *SchemaComputePricingsRow) SetTags(v map[string]interface{})

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

func (*SchemaComputePricingsRow) SetUpdatedAt

func (o *SchemaComputePricingsRow) SetUpdatedAt(v string)

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

func (*SchemaComputePricingsRow) SetUsageType

func (o *SchemaComputePricingsRow) SetUsageType(v string)

SetUsageType gets a reference to the given string and assigns it to the UsageType field.

func (SchemaComputePricingsRow) ToMap

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

type SchemaDiskPricingsRow

type SchemaDiskPricingsRow struct {
	AvailabilityZone          *string                `json:"availability_zone,omitempty"`
	CostPerGbHour             *float32               `json:"cost_per_gb_hour,omitempty"`
	CostPerIopsHour           *float32               `json:"cost_per_iops_hour,omitempty"`
	CostPerThroughputMbpsHour *float32               `json:"cost_per_throughput_mbps_hour,omitempty"`
	CreatedAt                 *string                `json:"created_at,omitempty"`
	Id                        *string                `json:"id,omitempty"`
	MaxCapacityGb             *float32               `json:"max_capacity_gb,omitempty"`
	MaxIops                   *float32               `json:"max_iops,omitempty"`
	MaxThroughputMbps         *float32               `json:"max_throughput_mbps,omitempty"`
	MinCapacityGb             *float32               `json:"min_capacity_gb,omitempty"`
	MinIops                   *float32               `json:"min_iops,omitempty"`
	MinThroughputMbps         *float32               `json:"min_throughput_mbps,omitempty"`
	PeriodBillingHours        *float32               `json:"period_billing_hours,omitempty"`
	Provider                  *string                `json:"provider,omitempty"`
	RawPricingData            map[string]interface{} `json:"raw_pricing_data,omitempty"`
	Region                    *string                `json:"region,omitempty"`
	Service                   *string                `json:"service,omitempty"`
	Tags                      map[string]interface{} `json:"tags,omitempty"`
	Type                      *string                `json:"type,omitempty"`
	UpdatedAt                 *string                `json:"updated_at,omitempty"`
	UsageType                 *string                `json:"usage_type,omitempty"`
}

SchemaDiskPricingsRow struct for SchemaDiskPricingsRow

func NewSchemaDiskPricingsRow

func NewSchemaDiskPricingsRow() *SchemaDiskPricingsRow

NewSchemaDiskPricingsRow instantiates a new SchemaDiskPricingsRow 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 NewSchemaDiskPricingsRowWithDefaults

func NewSchemaDiskPricingsRowWithDefaults() *SchemaDiskPricingsRow

NewSchemaDiskPricingsRowWithDefaults instantiates a new SchemaDiskPricingsRow 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 (*SchemaDiskPricingsRow) GetAvailabilityZone

func (o *SchemaDiskPricingsRow) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetAvailabilityZoneOk

func (o *SchemaDiskPricingsRow) GetAvailabilityZoneOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) GetCostPerGbHour

func (o *SchemaDiskPricingsRow) GetCostPerGbHour() float32

GetCostPerGbHour returns the CostPerGbHour field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetCostPerGbHourOk

func (o *SchemaDiskPricingsRow) GetCostPerGbHourOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetCostPerIopsHour

func (o *SchemaDiskPricingsRow) GetCostPerIopsHour() float32

GetCostPerIopsHour returns the CostPerIopsHour field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetCostPerIopsHourOk

func (o *SchemaDiskPricingsRow) GetCostPerIopsHourOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetCostPerThroughputMbpsHour

func (o *SchemaDiskPricingsRow) GetCostPerThroughputMbpsHour() float32

GetCostPerThroughputMbpsHour returns the CostPerThroughputMbpsHour field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetCostPerThroughputMbpsHourOk

func (o *SchemaDiskPricingsRow) GetCostPerThroughputMbpsHourOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetCreatedAt

func (o *SchemaDiskPricingsRow) GetCreatedAt() string

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

func (*SchemaDiskPricingsRow) GetCreatedAtOk

func (o *SchemaDiskPricingsRow) GetCreatedAtOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) GetId

func (o *SchemaDiskPricingsRow) GetId() string

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

func (*SchemaDiskPricingsRow) GetIdOk

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

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

func (*SchemaDiskPricingsRow) GetMaxCapacityGb

func (o *SchemaDiskPricingsRow) GetMaxCapacityGb() float32

GetMaxCapacityGb returns the MaxCapacityGb field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMaxCapacityGbOk

func (o *SchemaDiskPricingsRow) GetMaxCapacityGbOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetMaxIops

func (o *SchemaDiskPricingsRow) GetMaxIops() float32

GetMaxIops returns the MaxIops field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMaxIopsOk

func (o *SchemaDiskPricingsRow) GetMaxIopsOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetMaxThroughputMbps

func (o *SchemaDiskPricingsRow) GetMaxThroughputMbps() float32

GetMaxThroughputMbps returns the MaxThroughputMbps field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMaxThroughputMbpsOk

func (o *SchemaDiskPricingsRow) GetMaxThroughputMbpsOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetMinCapacityGb

func (o *SchemaDiskPricingsRow) GetMinCapacityGb() float32

GetMinCapacityGb returns the MinCapacityGb field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMinCapacityGbOk

func (o *SchemaDiskPricingsRow) GetMinCapacityGbOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetMinIops

func (o *SchemaDiskPricingsRow) GetMinIops() float32

GetMinIops returns the MinIops field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMinIopsOk

func (o *SchemaDiskPricingsRow) GetMinIopsOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetMinThroughputMbps

func (o *SchemaDiskPricingsRow) GetMinThroughputMbps() float32

GetMinThroughputMbps returns the MinThroughputMbps field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetMinThroughputMbpsOk

func (o *SchemaDiskPricingsRow) GetMinThroughputMbpsOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetPeriodBillingHours

func (o *SchemaDiskPricingsRow) GetPeriodBillingHours() float32

GetPeriodBillingHours returns the PeriodBillingHours field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetPeriodBillingHoursOk

func (o *SchemaDiskPricingsRow) GetPeriodBillingHoursOk() (*float32, bool)

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

func (*SchemaDiskPricingsRow) GetProvider

func (o *SchemaDiskPricingsRow) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetProviderOk

func (o *SchemaDiskPricingsRow) GetProviderOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) GetRawPricingData

func (o *SchemaDiskPricingsRow) GetRawPricingData() map[string]interface{}

GetRawPricingData returns the RawPricingData field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetRawPricingDataOk

func (o *SchemaDiskPricingsRow) GetRawPricingDataOk() (map[string]interface{}, bool)

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

func (*SchemaDiskPricingsRow) GetRegion

func (o *SchemaDiskPricingsRow) GetRegion() string

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

func (*SchemaDiskPricingsRow) GetRegionOk

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

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

func (*SchemaDiskPricingsRow) GetService

func (o *SchemaDiskPricingsRow) GetService() string

GetService returns the Service field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetServiceOk

func (o *SchemaDiskPricingsRow) GetServiceOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) GetTags

func (o *SchemaDiskPricingsRow) GetTags() map[string]interface{}

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

func (*SchemaDiskPricingsRow) GetTagsOk

func (o *SchemaDiskPricingsRow) GetTagsOk() (map[string]interface{}, 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 (*SchemaDiskPricingsRow) GetType

func (o *SchemaDiskPricingsRow) GetType() string

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

func (*SchemaDiskPricingsRow) GetTypeOk

func (o *SchemaDiskPricingsRow) GetTypeOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) GetUpdatedAt

func (o *SchemaDiskPricingsRow) GetUpdatedAt() string

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

func (*SchemaDiskPricingsRow) GetUpdatedAtOk

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

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

func (*SchemaDiskPricingsRow) GetUsageType

func (o *SchemaDiskPricingsRow) GetUsageType() string

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*SchemaDiskPricingsRow) GetUsageTypeOk

func (o *SchemaDiskPricingsRow) GetUsageTypeOk() (*string, bool)

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

func (*SchemaDiskPricingsRow) HasAvailabilityZone

func (o *SchemaDiskPricingsRow) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasCostPerGbHour

func (o *SchemaDiskPricingsRow) HasCostPerGbHour() bool

HasCostPerGbHour returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasCostPerIopsHour

func (o *SchemaDiskPricingsRow) HasCostPerIopsHour() bool

HasCostPerIopsHour returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasCostPerThroughputMbpsHour

func (o *SchemaDiskPricingsRow) HasCostPerThroughputMbpsHour() bool

HasCostPerThroughputMbpsHour returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasCreatedAt

func (o *SchemaDiskPricingsRow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasId

func (o *SchemaDiskPricingsRow) HasId() bool

HasId returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMaxCapacityGb

func (o *SchemaDiskPricingsRow) HasMaxCapacityGb() bool

HasMaxCapacityGb returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMaxIops

func (o *SchemaDiskPricingsRow) HasMaxIops() bool

HasMaxIops returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMaxThroughputMbps

func (o *SchemaDiskPricingsRow) HasMaxThroughputMbps() bool

HasMaxThroughputMbps returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMinCapacityGb

func (o *SchemaDiskPricingsRow) HasMinCapacityGb() bool

HasMinCapacityGb returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMinIops

func (o *SchemaDiskPricingsRow) HasMinIops() bool

HasMinIops returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasMinThroughputMbps

func (o *SchemaDiskPricingsRow) HasMinThroughputMbps() bool

HasMinThroughputMbps returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasPeriodBillingHours

func (o *SchemaDiskPricingsRow) HasPeriodBillingHours() bool

HasPeriodBillingHours returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasProvider

func (o *SchemaDiskPricingsRow) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasRawPricingData

func (o *SchemaDiskPricingsRow) HasRawPricingData() bool

HasRawPricingData returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasRegion

func (o *SchemaDiskPricingsRow) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasService

func (o *SchemaDiskPricingsRow) HasService() bool

HasService returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasTags

func (o *SchemaDiskPricingsRow) HasTags() bool

HasTags returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasType

func (o *SchemaDiskPricingsRow) HasType() bool

HasType returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasUpdatedAt

func (o *SchemaDiskPricingsRow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*SchemaDiskPricingsRow) HasUsageType

func (o *SchemaDiskPricingsRow) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (SchemaDiskPricingsRow) MarshalJSON

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

func (*SchemaDiskPricingsRow) SetAvailabilityZone

func (o *SchemaDiskPricingsRow) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*SchemaDiskPricingsRow) SetCostPerGbHour

func (o *SchemaDiskPricingsRow) SetCostPerGbHour(v float32)

SetCostPerGbHour gets a reference to the given float32 and assigns it to the CostPerGbHour field.

func (*SchemaDiskPricingsRow) SetCostPerIopsHour

func (o *SchemaDiskPricingsRow) SetCostPerIopsHour(v float32)

SetCostPerIopsHour gets a reference to the given float32 and assigns it to the CostPerIopsHour field.

func (*SchemaDiskPricingsRow) SetCostPerThroughputMbpsHour

func (o *SchemaDiskPricingsRow) SetCostPerThroughputMbpsHour(v float32)

SetCostPerThroughputMbpsHour gets a reference to the given float32 and assigns it to the CostPerThroughputMbpsHour field.

func (*SchemaDiskPricingsRow) SetCreatedAt

func (o *SchemaDiskPricingsRow) SetCreatedAt(v string)

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

func (*SchemaDiskPricingsRow) SetId

func (o *SchemaDiskPricingsRow) SetId(v string)

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

func (*SchemaDiskPricingsRow) SetMaxCapacityGb

func (o *SchemaDiskPricingsRow) SetMaxCapacityGb(v float32)

SetMaxCapacityGb gets a reference to the given float32 and assigns it to the MaxCapacityGb field.

func (*SchemaDiskPricingsRow) SetMaxIops

func (o *SchemaDiskPricingsRow) SetMaxIops(v float32)

SetMaxIops gets a reference to the given float32 and assigns it to the MaxIops field.

func (*SchemaDiskPricingsRow) SetMaxThroughputMbps

func (o *SchemaDiskPricingsRow) SetMaxThroughputMbps(v float32)

SetMaxThroughputMbps gets a reference to the given float32 and assigns it to the MaxThroughputMbps field.

func (*SchemaDiskPricingsRow) SetMinCapacityGb

func (o *SchemaDiskPricingsRow) SetMinCapacityGb(v float32)

SetMinCapacityGb gets a reference to the given float32 and assigns it to the MinCapacityGb field.

func (*SchemaDiskPricingsRow) SetMinIops

func (o *SchemaDiskPricingsRow) SetMinIops(v float32)

SetMinIops gets a reference to the given float32 and assigns it to the MinIops field.

func (*SchemaDiskPricingsRow) SetMinThroughputMbps

func (o *SchemaDiskPricingsRow) SetMinThroughputMbps(v float32)

SetMinThroughputMbps gets a reference to the given float32 and assigns it to the MinThroughputMbps field.

func (*SchemaDiskPricingsRow) SetPeriodBillingHours

func (o *SchemaDiskPricingsRow) SetPeriodBillingHours(v float32)

SetPeriodBillingHours gets a reference to the given float32 and assigns it to the PeriodBillingHours field.

func (*SchemaDiskPricingsRow) SetProvider

func (o *SchemaDiskPricingsRow) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (*SchemaDiskPricingsRow) SetRawPricingData

func (o *SchemaDiskPricingsRow) SetRawPricingData(v map[string]interface{})

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

func (*SchemaDiskPricingsRow) SetRegion

func (o *SchemaDiskPricingsRow) SetRegion(v string)

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

func (*SchemaDiskPricingsRow) SetService

func (o *SchemaDiskPricingsRow) SetService(v string)

SetService gets a reference to the given string and assigns it to the Service field.

func (*SchemaDiskPricingsRow) SetTags

func (o *SchemaDiskPricingsRow) SetTags(v map[string]interface{})

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

func (*SchemaDiskPricingsRow) SetType

func (o *SchemaDiskPricingsRow) SetType(v string)

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

func (*SchemaDiskPricingsRow) SetUpdatedAt

func (o *SchemaDiskPricingsRow) SetUpdatedAt(v string)

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

func (*SchemaDiskPricingsRow) SetUsageType

func (o *SchemaDiskPricingsRow) SetUsageType(v string)

SetUsageType gets a reference to the given string and assigns it to the UsageType field.

func (SchemaDiskPricingsRow) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type TypesComputeRequest

type TypesComputeRequest struct {
	IncludeMetadata *bool                                         `json:"include_metadata,omitempty"`
	Instance        *GithubComBaselinehqGolangSharedTypesInstance `json:"instance,omitempty"`
	Predicates      *TypesPredicates                              `json:"predicates,omitempty"`
	Usage           *GithubComBaselinehqGolangSharedTypesVM       `json:"usage,omitempty"`
}

TypesComputeRequest struct for TypesComputeRequest

func NewTypesComputeRequest

func NewTypesComputeRequest() *TypesComputeRequest

NewTypesComputeRequest instantiates a new TypesComputeRequest 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 NewTypesComputeRequestWithDefaults

func NewTypesComputeRequestWithDefaults() *TypesComputeRequest

NewTypesComputeRequestWithDefaults instantiates a new TypesComputeRequest 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 (*TypesComputeRequest) GetIncludeMetadata

func (o *TypesComputeRequest) GetIncludeMetadata() bool

GetIncludeMetadata returns the IncludeMetadata field value if set, zero value otherwise.

func (*TypesComputeRequest) GetIncludeMetadataOk

func (o *TypesComputeRequest) GetIncludeMetadataOk() (*bool, bool)

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

func (*TypesComputeRequest) GetInstance

GetInstance returns the Instance field value if set, zero value otherwise.

func (*TypesComputeRequest) GetInstanceOk

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

func (*TypesComputeRequest) GetPredicates

func (o *TypesComputeRequest) GetPredicates() TypesPredicates

GetPredicates returns the Predicates field value if set, zero value otherwise.

func (*TypesComputeRequest) GetPredicatesOk

func (o *TypesComputeRequest) GetPredicatesOk() (*TypesPredicates, bool)

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

func (*TypesComputeRequest) GetUsage

GetUsage returns the Usage field value if set, zero value otherwise.

func (*TypesComputeRequest) GetUsageOk

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

func (*TypesComputeRequest) HasIncludeMetadata

func (o *TypesComputeRequest) HasIncludeMetadata() bool

HasIncludeMetadata returns a boolean if a field has been set.

func (*TypesComputeRequest) HasInstance

func (o *TypesComputeRequest) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*TypesComputeRequest) HasPredicates

func (o *TypesComputeRequest) HasPredicates() bool

HasPredicates returns a boolean if a field has been set.

func (*TypesComputeRequest) HasUsage

func (o *TypesComputeRequest) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (TypesComputeRequest) MarshalJSON

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

func (*TypesComputeRequest) SetIncludeMetadata

func (o *TypesComputeRequest) SetIncludeMetadata(v bool)

SetIncludeMetadata gets a reference to the given bool and assigns it to the IncludeMetadata field.

func (*TypesComputeRequest) SetInstance

SetInstance gets a reference to the given GithubComBaselinehqGolangSharedTypesInstance and assigns it to the Instance field.

func (*TypesComputeRequest) SetPredicates

func (o *TypesComputeRequest) SetPredicates(v TypesPredicates)

SetPredicates gets a reference to the given TypesPredicates and assigns it to the Predicates field.

func (*TypesComputeRequest) SetUsage

SetUsage gets a reference to the given GithubComBaselinehqGolangSharedTypesVM and assigns it to the Usage field.

func (TypesComputeRequest) ToMap

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

type TypesComputeResults

type TypesComputeResults struct {
	AdditionalProperties map[string]interface{}
}

TypesComputeResults struct for TypesComputeResults

func NewTypesComputeResults

func NewTypesComputeResults() *TypesComputeResults

NewTypesComputeResults instantiates a new TypesComputeResults 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 NewTypesComputeResultsWithDefaults

func NewTypesComputeResultsWithDefaults() *TypesComputeResults

NewTypesComputeResultsWithDefaults instantiates a new TypesComputeResults 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 (TypesComputeResults) MarshalJSON

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

func (TypesComputeResults) ToMap

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

func (*TypesComputeResults) UnmarshalJSON

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

type TypesComputeResultsValueInner

type TypesComputeResultsValueInner struct {
	InstancePricing *SchemaComputePricingsRow               `json:"instance_pricing,omitempty"`
	Savings         *TypesSavings                           `json:"savings,omitempty"`
	Vm              *GithubComBaselinehqGolangSharedTypesVM `json:"vm,omitempty"`
}

TypesComputeResultsValueInner struct for TypesComputeResultsValueInner

func NewTypesComputeResultsValueInner

func NewTypesComputeResultsValueInner() *TypesComputeResultsValueInner

NewTypesComputeResultsValueInner instantiates a new TypesComputeResultsValueInner 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 NewTypesComputeResultsValueInnerWithDefaults

func NewTypesComputeResultsValueInnerWithDefaults() *TypesComputeResultsValueInner

NewTypesComputeResultsValueInnerWithDefaults instantiates a new TypesComputeResultsValueInner 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 (*TypesComputeResultsValueInner) GetInstancePricing

GetInstancePricing returns the InstancePricing field value if set, zero value otherwise.

func (*TypesComputeResultsValueInner) GetInstancePricingOk

func (o *TypesComputeResultsValueInner) GetInstancePricingOk() (*SchemaComputePricingsRow, bool)

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

func (*TypesComputeResultsValueInner) GetSavings

GetSavings returns the Savings field value if set, zero value otherwise.

func (*TypesComputeResultsValueInner) GetSavingsOk

func (o *TypesComputeResultsValueInner) GetSavingsOk() (*TypesSavings, bool)

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

func (*TypesComputeResultsValueInner) GetVm

GetVm returns the Vm field value if set, zero value otherwise.

func (*TypesComputeResultsValueInner) GetVmOk

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

func (*TypesComputeResultsValueInner) HasInstancePricing

func (o *TypesComputeResultsValueInner) HasInstancePricing() bool

HasInstancePricing returns a boolean if a field has been set.

func (*TypesComputeResultsValueInner) HasSavings

func (o *TypesComputeResultsValueInner) HasSavings() bool

HasSavings returns a boolean if a field has been set.

func (*TypesComputeResultsValueInner) HasVm

HasVm returns a boolean if a field has been set.

func (TypesComputeResultsValueInner) MarshalJSON

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

func (*TypesComputeResultsValueInner) SetInstancePricing

SetInstancePricing gets a reference to the given SchemaComputePricingsRow and assigns it to the InstancePricing field.

func (*TypesComputeResultsValueInner) SetSavings

SetSavings gets a reference to the given TypesSavings and assigns it to the Savings field.

func (*TypesComputeResultsValueInner) SetVm

SetVm gets a reference to the given GithubComBaselinehqGolangSharedTypesVM and assigns it to the Vm field.

func (TypesComputeResultsValueInner) ToMap

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

type TypesCustomPriceRequest

type TypesCustomPriceRequest struct {
	Entries []SchemaComputePricingsRow `json:"entries"`
}

TypesCustomPriceRequest struct for TypesCustomPriceRequest

func NewTypesCustomPriceRequest

func NewTypesCustomPriceRequest(entries []SchemaComputePricingsRow) *TypesCustomPriceRequest

NewTypesCustomPriceRequest instantiates a new TypesCustomPriceRequest 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 NewTypesCustomPriceRequestWithDefaults

func NewTypesCustomPriceRequestWithDefaults() *TypesCustomPriceRequest

NewTypesCustomPriceRequestWithDefaults instantiates a new TypesCustomPriceRequest 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 (*TypesCustomPriceRequest) GetEntries

GetEntries returns the Entries field value

func (*TypesCustomPriceRequest) GetEntriesOk

func (o *TypesCustomPriceRequest) GetEntriesOk() ([]SchemaComputePricingsRow, bool)

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

func (TypesCustomPriceRequest) MarshalJSON

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

func (*TypesCustomPriceRequest) SetEntries

SetEntries sets field value

func (TypesCustomPriceRequest) ToMap

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

func (*TypesCustomPriceRequest) UnmarshalJSON

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

type TypesCustomPricingResponse

type TypesCustomPricingResponse struct {
	Entries []SchemaComputePricingsRow                   `json:"entries,omitempty"`
	Status  *GithubComBaselinehqPricingapiPkgTypesStatus `json:"status,omitempty"`
}

TypesCustomPricingResponse struct for TypesCustomPricingResponse

func NewTypesCustomPricingResponse

func NewTypesCustomPricingResponse() *TypesCustomPricingResponse

NewTypesCustomPricingResponse instantiates a new TypesCustomPricingResponse 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 NewTypesCustomPricingResponseWithDefaults

func NewTypesCustomPricingResponseWithDefaults() *TypesCustomPricingResponse

NewTypesCustomPricingResponseWithDefaults instantiates a new TypesCustomPricingResponse 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 (*TypesCustomPricingResponse) GetEntries

GetEntries returns the Entries field value if set, zero value otherwise.

func (*TypesCustomPricingResponse) GetEntriesOk

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

func (*TypesCustomPricingResponse) GetStatus

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

func (*TypesCustomPricingResponse) GetStatusOk

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

func (*TypesCustomPricingResponse) HasEntries

func (o *TypesCustomPricingResponse) HasEntries() bool

HasEntries returns a boolean if a field has been set.

func (*TypesCustomPricingResponse) HasStatus

func (o *TypesCustomPricingResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (TypesCustomPricingResponse) MarshalJSON

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

func (*TypesCustomPricingResponse) SetEntries

SetEntries gets a reference to the given []SchemaComputePricingsRow and assigns it to the Entries field.

func (*TypesCustomPricingResponse) SetStatus

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

func (TypesCustomPricingResponse) ToMap

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

type TypesDisk

type TypesDisk struct {
	AvailabilityZone *string                                        `json:"availability_zone,omitempty"`
	CapacityGb       *float32                                       `json:"capacity_gb,omitempty"`
	Id               *string                                        `json:"id,omitempty"`
	Iops             *float32                                       `json:"iops,omitempty"`
	Provider         *GithubComBaselinehqGolangSharedTypesProvider  `json:"provider,omitempty"`
	Region           *string                                        `json:"region,omitempty"`
	Service          *GithubComBaselinehqGolangSharedTypesService   `json:"service,omitempty"`
	ThroughputMbps   *float32                                       `json:"throughput_mbps,omitempty"`
	Type             *string                                        `json:"type,omitempty"`
	UsageType        *GithubComBaselinehqGolangSharedTypesUsageType `json:"usage_type,omitempty"`
}

TypesDisk struct for TypesDisk

func NewTypesDisk

func NewTypesDisk() *TypesDisk

NewTypesDisk instantiates a new TypesDisk 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 NewTypesDiskWithDefaults

func NewTypesDiskWithDefaults() *TypesDisk

NewTypesDiskWithDefaults instantiates a new TypesDisk 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 (*TypesDisk) GetAvailabilityZone

func (o *TypesDisk) GetAvailabilityZone() string

GetAvailabilityZone returns the AvailabilityZone field value if set, zero value otherwise.

func (*TypesDisk) GetAvailabilityZoneOk

func (o *TypesDisk) GetAvailabilityZoneOk() (*string, bool)

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

func (*TypesDisk) GetCapacityGb

func (o *TypesDisk) GetCapacityGb() float32

GetCapacityGb returns the CapacityGb field value if set, zero value otherwise.

func (*TypesDisk) GetCapacityGbOk

func (o *TypesDisk) GetCapacityGbOk() (*float32, bool)

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

func (*TypesDisk) GetId

func (o *TypesDisk) GetId() string

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

func (*TypesDisk) GetIdOk

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

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

func (*TypesDisk) GetIops

func (o *TypesDisk) GetIops() float32

GetIops returns the Iops field value if set, zero value otherwise.

func (*TypesDisk) GetIopsOk

func (o *TypesDisk) GetIopsOk() (*float32, bool)

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

func (*TypesDisk) GetProvider

GetProvider returns the Provider field value if set, zero value otherwise.

func (*TypesDisk) GetProviderOk

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

func (*TypesDisk) GetRegion

func (o *TypesDisk) GetRegion() string

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

func (*TypesDisk) GetRegionOk

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

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

func (*TypesDisk) GetService

GetService returns the Service field value if set, zero value otherwise.

func (*TypesDisk) GetServiceOk

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

func (*TypesDisk) GetThroughputMbps

func (o *TypesDisk) GetThroughputMbps() float32

GetThroughputMbps returns the ThroughputMbps field value if set, zero value otherwise.

func (*TypesDisk) GetThroughputMbpsOk

func (o *TypesDisk) GetThroughputMbpsOk() (*float32, bool)

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

func (*TypesDisk) GetType

func (o *TypesDisk) GetType() string

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

func (*TypesDisk) GetTypeOk

func (o *TypesDisk) GetTypeOk() (*string, bool)

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

func (*TypesDisk) GetUsageType

GetUsageType returns the UsageType field value if set, zero value otherwise.

func (*TypesDisk) GetUsageTypeOk

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

func (*TypesDisk) HasAvailabilityZone

func (o *TypesDisk) HasAvailabilityZone() bool

HasAvailabilityZone returns a boolean if a field has been set.

func (*TypesDisk) HasCapacityGb

func (o *TypesDisk) HasCapacityGb() bool

HasCapacityGb returns a boolean if a field has been set.

func (*TypesDisk) HasId

func (o *TypesDisk) HasId() bool

HasId returns a boolean if a field has been set.

func (*TypesDisk) HasIops

func (o *TypesDisk) HasIops() bool

HasIops returns a boolean if a field has been set.

func (*TypesDisk) HasProvider

func (o *TypesDisk) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*TypesDisk) HasRegion

func (o *TypesDisk) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*TypesDisk) HasService

func (o *TypesDisk) HasService() bool

HasService returns a boolean if a field has been set.

func (*TypesDisk) HasThroughputMbps

func (o *TypesDisk) HasThroughputMbps() bool

HasThroughputMbps returns a boolean if a field has been set.

func (*TypesDisk) HasType

func (o *TypesDisk) HasType() bool

HasType returns a boolean if a field has been set.

func (*TypesDisk) HasUsageType

func (o *TypesDisk) HasUsageType() bool

HasUsageType returns a boolean if a field has been set.

func (TypesDisk) MarshalJSON

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

func (*TypesDisk) SetAvailabilityZone

func (o *TypesDisk) SetAvailabilityZone(v string)

SetAvailabilityZone gets a reference to the given string and assigns it to the AvailabilityZone field.

func (*TypesDisk) SetCapacityGb

func (o *TypesDisk) SetCapacityGb(v float32)

SetCapacityGb gets a reference to the given float32 and assigns it to the CapacityGb field.

func (*TypesDisk) SetId

func (o *TypesDisk) SetId(v string)

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

func (*TypesDisk) SetIops

func (o *TypesDisk) SetIops(v float32)

SetIops gets a reference to the given float32 and assigns it to the Iops field.

func (*TypesDisk) SetProvider

SetProvider gets a reference to the given GithubComBaselinehqGolangSharedTypesProvider and assigns it to the Provider field.

func (*TypesDisk) SetRegion

func (o *TypesDisk) SetRegion(v string)

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

func (*TypesDisk) SetService

SetService gets a reference to the given GithubComBaselinehqGolangSharedTypesService and assigns it to the Service field.

func (*TypesDisk) SetThroughputMbps

func (o *TypesDisk) SetThroughputMbps(v float32)

SetThroughputMbps gets a reference to the given float32 and assigns it to the ThroughputMbps field.

func (*TypesDisk) SetType

func (o *TypesDisk) SetType(v string)

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

func (*TypesDisk) SetUsageType

SetUsageType gets a reference to the given GithubComBaselinehqGolangSharedTypesUsageType and assigns it to the UsageType field.

func (TypesDisk) ToMap

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

type TypesDiskRequest

type TypesDiskRequest struct {
	IncludeMetadata *bool            `json:"include_metadata,omitempty"`
	Instance        *TypesDisk       `json:"instance,omitempty"`
	Predicates      *TypesPredicates `json:"predicates,omitempty"`
	Usage           *TypesDisk       `json:"usage,omitempty"`
}

TypesDiskRequest struct for TypesDiskRequest

func NewTypesDiskRequest

func NewTypesDiskRequest() *TypesDiskRequest

NewTypesDiskRequest instantiates a new TypesDiskRequest 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 NewTypesDiskRequestWithDefaults

func NewTypesDiskRequestWithDefaults() *TypesDiskRequest

NewTypesDiskRequestWithDefaults instantiates a new TypesDiskRequest 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 (*TypesDiskRequest) GetIncludeMetadata

func (o *TypesDiskRequest) GetIncludeMetadata() bool

GetIncludeMetadata returns the IncludeMetadata field value if set, zero value otherwise.

func (*TypesDiskRequest) GetIncludeMetadataOk

func (o *TypesDiskRequest) GetIncludeMetadataOk() (*bool, bool)

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

func (*TypesDiskRequest) GetInstance

func (o *TypesDiskRequest) GetInstance() TypesDisk

GetInstance returns the Instance field value if set, zero value otherwise.

func (*TypesDiskRequest) GetInstanceOk

func (o *TypesDiskRequest) GetInstanceOk() (*TypesDisk, bool)

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

func (*TypesDiskRequest) GetPredicates

func (o *TypesDiskRequest) GetPredicates() TypesPredicates

GetPredicates returns the Predicates field value if set, zero value otherwise.

func (*TypesDiskRequest) GetPredicatesOk

func (o *TypesDiskRequest) GetPredicatesOk() (*TypesPredicates, bool)

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

func (*TypesDiskRequest) GetUsage

func (o *TypesDiskRequest) GetUsage() TypesDisk

GetUsage returns the Usage field value if set, zero value otherwise.

func (*TypesDiskRequest) GetUsageOk

func (o *TypesDiskRequest) GetUsageOk() (*TypesDisk, bool)

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

func (*TypesDiskRequest) HasIncludeMetadata

func (o *TypesDiskRequest) HasIncludeMetadata() bool

HasIncludeMetadata returns a boolean if a field has been set.

func (*TypesDiskRequest) HasInstance

func (o *TypesDiskRequest) HasInstance() bool

HasInstance returns a boolean if a field has been set.

func (*TypesDiskRequest) HasPredicates

func (o *TypesDiskRequest) HasPredicates() bool

HasPredicates returns a boolean if a field has been set.

func (*TypesDiskRequest) HasUsage

func (o *TypesDiskRequest) HasUsage() bool

HasUsage returns a boolean if a field has been set.

func (TypesDiskRequest) MarshalJSON

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

func (*TypesDiskRequest) SetIncludeMetadata

func (o *TypesDiskRequest) SetIncludeMetadata(v bool)

SetIncludeMetadata gets a reference to the given bool and assigns it to the IncludeMetadata field.

func (*TypesDiskRequest) SetInstance

func (o *TypesDiskRequest) SetInstance(v TypesDisk)

SetInstance gets a reference to the given TypesDisk and assigns it to the Instance field.

func (*TypesDiskRequest) SetPredicates

func (o *TypesDiskRequest) SetPredicates(v TypesPredicates)

SetPredicates gets a reference to the given TypesPredicates and assigns it to the Predicates field.

func (*TypesDiskRequest) SetUsage

func (o *TypesDiskRequest) SetUsage(v TypesDisk)

SetUsage gets a reference to the given TypesDisk and assigns it to the Usage field.

func (TypesDiskRequest) ToMap

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

type TypesDiskResults

type TypesDiskResults struct {
	AdditionalProperties map[string]interface{}
}

TypesDiskResults struct for TypesDiskResults

func NewTypesDiskResults

func NewTypesDiskResults() *TypesDiskResults

NewTypesDiskResults instantiates a new TypesDiskResults 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 NewTypesDiskResultsWithDefaults

func NewTypesDiskResultsWithDefaults() *TypesDiskResults

NewTypesDiskResultsWithDefaults instantiates a new TypesDiskResults 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 (TypesDiskResults) MarshalJSON

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

func (TypesDiskResults) ToMap

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

func (*TypesDiskResults) UnmarshalJSON

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

type TypesDiskResultsValueInner

type TypesDiskResultsValueInner struct {
	Disk        *SchemaDiskPricingsRow `json:"disk,omitempty"`
	DiskPricing *SchemaDiskPricingsRow `json:"disk_pricing,omitempty"`
	Savings     *TypesSavings          `json:"savings,omitempty"`
}

TypesDiskResultsValueInner struct for TypesDiskResultsValueInner

func NewTypesDiskResultsValueInner

func NewTypesDiskResultsValueInner() *TypesDiskResultsValueInner

NewTypesDiskResultsValueInner instantiates a new TypesDiskResultsValueInner 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 NewTypesDiskResultsValueInnerWithDefaults

func NewTypesDiskResultsValueInnerWithDefaults() *TypesDiskResultsValueInner

NewTypesDiskResultsValueInnerWithDefaults instantiates a new TypesDiskResultsValueInner 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 (*TypesDiskResultsValueInner) GetDisk

GetDisk returns the Disk field value if set, zero value otherwise.

func (*TypesDiskResultsValueInner) GetDiskOk

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

func (*TypesDiskResultsValueInner) GetDiskPricing

GetDiskPricing returns the DiskPricing field value if set, zero value otherwise.

func (*TypesDiskResultsValueInner) GetDiskPricingOk

func (o *TypesDiskResultsValueInner) GetDiskPricingOk() (*SchemaDiskPricingsRow, bool)

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

func (*TypesDiskResultsValueInner) GetSavings

func (o *TypesDiskResultsValueInner) GetSavings() TypesSavings

GetSavings returns the Savings field value if set, zero value otherwise.

func (*TypesDiskResultsValueInner) GetSavingsOk

func (o *TypesDiskResultsValueInner) GetSavingsOk() (*TypesSavings, bool)

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

func (*TypesDiskResultsValueInner) HasDisk

func (o *TypesDiskResultsValueInner) HasDisk() bool

HasDisk returns a boolean if a field has been set.

func (*TypesDiskResultsValueInner) HasDiskPricing

func (o *TypesDiskResultsValueInner) HasDiskPricing() bool

HasDiskPricing returns a boolean if a field has been set.

func (*TypesDiskResultsValueInner) HasSavings

func (o *TypesDiskResultsValueInner) HasSavings() bool

HasSavings returns a boolean if a field has been set.

func (TypesDiskResultsValueInner) MarshalJSON

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

func (*TypesDiskResultsValueInner) SetDisk

SetDisk gets a reference to the given SchemaDiskPricingsRow and assigns it to the Disk field.

func (*TypesDiskResultsValueInner) SetDiskPricing

SetDiskPricing gets a reference to the given SchemaDiskPricingsRow and assigns it to the DiskPricing field.

func (*TypesDiskResultsValueInner) SetSavings

func (o *TypesDiskResultsValueInner) SetSavings(v TypesSavings)

SetSavings gets a reference to the given TypesSavings and assigns it to the Savings field.

func (TypesDiskResultsValueInner) ToMap

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

type TypesMarketplaceProvidersResponse

type TypesMarketplaceProvidersResponse struct {
	Providers []SchemaComputePricingsRow `json:"providers,omitempty"`
}

TypesMarketplaceProvidersResponse struct for TypesMarketplaceProvidersResponse

func NewTypesMarketplaceProvidersResponse

func NewTypesMarketplaceProvidersResponse() *TypesMarketplaceProvidersResponse

NewTypesMarketplaceProvidersResponse instantiates a new TypesMarketplaceProvidersResponse 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 NewTypesMarketplaceProvidersResponseWithDefaults

func NewTypesMarketplaceProvidersResponseWithDefaults() *TypesMarketplaceProvidersResponse

NewTypesMarketplaceProvidersResponseWithDefaults instantiates a new TypesMarketplaceProvidersResponse 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 (*TypesMarketplaceProvidersResponse) GetProviders

GetProviders returns the Providers field value if set, zero value otherwise.

func (*TypesMarketplaceProvidersResponse) GetProvidersOk

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

func (*TypesMarketplaceProvidersResponse) HasProviders

func (o *TypesMarketplaceProvidersResponse) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (TypesMarketplaceProvidersResponse) MarshalJSON

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

func (*TypesMarketplaceProvidersResponse) SetProviders

SetProviders gets a reference to the given []SchemaComputePricingsRow and assigns it to the Providers field.

func (TypesMarketplaceProvidersResponse) ToMap

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

type TypesPredicates

type TypesPredicates struct {
	AvailabilityZones []string `json:"availability_zones,omitempty"`
	DiskTypes         []string `json:"disk_types,omitempty"`
	InstanceTypes     []string `json:"instance_types,omitempty"`
	OperatingSystems  []string `json:"operating_systems,omitempty"`
	Providers         []string `json:"providers,omitempty"`
	Regions           []string `json:"regions,omitempty"`
	Services          []string `json:"services,omitempty"`
	UsageTypes        []string `json:"usage_types,omitempty"`
}

TypesPredicates struct for TypesPredicates

func NewTypesPredicates

func NewTypesPredicates() *TypesPredicates

NewTypesPredicates instantiates a new TypesPredicates 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 NewTypesPredicatesWithDefaults

func NewTypesPredicatesWithDefaults() *TypesPredicates

NewTypesPredicatesWithDefaults instantiates a new TypesPredicates 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 (*TypesPredicates) GetAvailabilityZones

func (o *TypesPredicates) GetAvailabilityZones() []string

GetAvailabilityZones returns the AvailabilityZones field value if set, zero value otherwise.

func (*TypesPredicates) GetAvailabilityZonesOk

func (o *TypesPredicates) GetAvailabilityZonesOk() ([]string, bool)

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

func (*TypesPredicates) GetDiskTypes

func (o *TypesPredicates) GetDiskTypes() []string

GetDiskTypes returns the DiskTypes field value if set, zero value otherwise.

func (*TypesPredicates) GetDiskTypesOk

func (o *TypesPredicates) GetDiskTypesOk() ([]string, bool)

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

func (*TypesPredicates) GetInstanceTypes

func (o *TypesPredicates) GetInstanceTypes() []string

GetInstanceTypes returns the InstanceTypes field value if set, zero value otherwise.

func (*TypesPredicates) GetInstanceTypesOk

func (o *TypesPredicates) GetInstanceTypesOk() ([]string, bool)

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

func (*TypesPredicates) GetOperatingSystems

func (o *TypesPredicates) GetOperatingSystems() []string

GetOperatingSystems returns the OperatingSystems field value if set, zero value otherwise.

func (*TypesPredicates) GetOperatingSystemsOk

func (o *TypesPredicates) GetOperatingSystemsOk() ([]string, bool)

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

func (*TypesPredicates) GetProviders

func (o *TypesPredicates) GetProviders() []string

GetProviders returns the Providers field value if set, zero value otherwise.

func (*TypesPredicates) GetProvidersOk

func (o *TypesPredicates) GetProvidersOk() ([]string, bool)

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

func (*TypesPredicates) GetRegions

func (o *TypesPredicates) GetRegions() []string

GetRegions returns the Regions field value if set, zero value otherwise.

func (*TypesPredicates) GetRegionsOk

func (o *TypesPredicates) GetRegionsOk() ([]string, bool)

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

func (*TypesPredicates) GetServices

func (o *TypesPredicates) GetServices() []string

GetServices returns the Services field value if set, zero value otherwise.

func (*TypesPredicates) GetServicesOk

func (o *TypesPredicates) GetServicesOk() ([]string, bool)

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

func (*TypesPredicates) GetUsageTypes

func (o *TypesPredicates) GetUsageTypes() []string

GetUsageTypes returns the UsageTypes field value if set, zero value otherwise.

func (*TypesPredicates) GetUsageTypesOk

func (o *TypesPredicates) GetUsageTypesOk() ([]string, bool)

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

func (*TypesPredicates) HasAvailabilityZones

func (o *TypesPredicates) HasAvailabilityZones() bool

HasAvailabilityZones returns a boolean if a field has been set.

func (*TypesPredicates) HasDiskTypes

func (o *TypesPredicates) HasDiskTypes() bool

HasDiskTypes returns a boolean if a field has been set.

func (*TypesPredicates) HasInstanceTypes

func (o *TypesPredicates) HasInstanceTypes() bool

HasInstanceTypes returns a boolean if a field has been set.

func (*TypesPredicates) HasOperatingSystems

func (o *TypesPredicates) HasOperatingSystems() bool

HasOperatingSystems returns a boolean if a field has been set.

func (*TypesPredicates) HasProviders

func (o *TypesPredicates) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (*TypesPredicates) HasRegions

func (o *TypesPredicates) HasRegions() bool

HasRegions returns a boolean if a field has been set.

func (*TypesPredicates) HasServices

func (o *TypesPredicates) HasServices() bool

HasServices returns a boolean if a field has been set.

func (*TypesPredicates) HasUsageTypes

func (o *TypesPredicates) HasUsageTypes() bool

HasUsageTypes returns a boolean if a field has been set.

func (TypesPredicates) MarshalJSON

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

func (*TypesPredicates) SetAvailabilityZones

func (o *TypesPredicates) SetAvailabilityZones(v []string)

SetAvailabilityZones gets a reference to the given []string and assigns it to the AvailabilityZones field.

func (*TypesPredicates) SetDiskTypes

func (o *TypesPredicates) SetDiskTypes(v []string)

SetDiskTypes gets a reference to the given []string and assigns it to the DiskTypes field.

func (*TypesPredicates) SetInstanceTypes

func (o *TypesPredicates) SetInstanceTypes(v []string)

SetInstanceTypes gets a reference to the given []string and assigns it to the InstanceTypes field.

func (*TypesPredicates) SetOperatingSystems

func (o *TypesPredicates) SetOperatingSystems(v []string)

SetOperatingSystems gets a reference to the given []string and assigns it to the OperatingSystems field.

func (*TypesPredicates) SetProviders

func (o *TypesPredicates) SetProviders(v []string)

SetProviders gets a reference to the given []string and assigns it to the Providers field.

func (*TypesPredicates) SetRegions

func (o *TypesPredicates) SetRegions(v []string)

SetRegions gets a reference to the given []string and assigns it to the Regions field.

func (*TypesPredicates) SetServices

func (o *TypesPredicates) SetServices(v []string)

SetServices gets a reference to the given []string and assigns it to the Services field.

func (*TypesPredicates) SetUsageTypes

func (o *TypesPredicates) SetUsageTypes(v []string)

SetUsageTypes gets a reference to the given []string and assigns it to the UsageTypes field.

func (TypesPredicates) ToMap

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

type TypesSavings

type TypesSavings struct {
	AmountPerHour  *float32 `json:"amount_per_hour,omitempty"`
	AmountPerMonth *float32 `json:"amount_per_month,omitempty"`
	AmountPerYear  *float32 `json:"amount_per_year,omitempty"`
	Percentage     *float32 `json:"percentage,omitempty"`
}

TypesSavings struct for TypesSavings

func NewTypesSavings

func NewTypesSavings() *TypesSavings

NewTypesSavings instantiates a new TypesSavings 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 NewTypesSavingsWithDefaults

func NewTypesSavingsWithDefaults() *TypesSavings

NewTypesSavingsWithDefaults instantiates a new TypesSavings 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 (*TypesSavings) GetAmountPerHour

func (o *TypesSavings) GetAmountPerHour() float32

GetAmountPerHour returns the AmountPerHour field value if set, zero value otherwise.

func (*TypesSavings) GetAmountPerHourOk

func (o *TypesSavings) GetAmountPerHourOk() (*float32, bool)

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

func (*TypesSavings) GetAmountPerMonth

func (o *TypesSavings) GetAmountPerMonth() float32

GetAmountPerMonth returns the AmountPerMonth field value if set, zero value otherwise.

func (*TypesSavings) GetAmountPerMonthOk

func (o *TypesSavings) GetAmountPerMonthOk() (*float32, bool)

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

func (*TypesSavings) GetAmountPerYear

func (o *TypesSavings) GetAmountPerYear() float32

GetAmountPerYear returns the AmountPerYear field value if set, zero value otherwise.

func (*TypesSavings) GetAmountPerYearOk

func (o *TypesSavings) GetAmountPerYearOk() (*float32, bool)

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

func (*TypesSavings) GetPercentage

func (o *TypesSavings) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*TypesSavings) GetPercentageOk

func (o *TypesSavings) GetPercentageOk() (*float32, bool)

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

func (*TypesSavings) HasAmountPerHour

func (o *TypesSavings) HasAmountPerHour() bool

HasAmountPerHour returns a boolean if a field has been set.

func (*TypesSavings) HasAmountPerMonth

func (o *TypesSavings) HasAmountPerMonth() bool

HasAmountPerMonth returns a boolean if a field has been set.

func (*TypesSavings) HasAmountPerYear

func (o *TypesSavings) HasAmountPerYear() bool

HasAmountPerYear returns a boolean if a field has been set.

func (*TypesSavings) HasPercentage

func (o *TypesSavings) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (TypesSavings) MarshalJSON

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

func (*TypesSavings) SetAmountPerHour

func (o *TypesSavings) SetAmountPerHour(v float32)

SetAmountPerHour gets a reference to the given float32 and assigns it to the AmountPerHour field.

func (*TypesSavings) SetAmountPerMonth

func (o *TypesSavings) SetAmountPerMonth(v float32)

SetAmountPerMonth gets a reference to the given float32 and assigns it to the AmountPerMonth field.

func (*TypesSavings) SetAmountPerYear

func (o *TypesSavings) SetAmountPerYear(v float32)

SetAmountPerYear gets a reference to the given float32 and assigns it to the AmountPerYear field.

func (*TypesSavings) SetPercentage

func (o *TypesSavings) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (TypesSavings) ToMap

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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