object_storage

package
v0.0.0-...-74b3bbc Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

README

Go API client for object_storage

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientExperimentalCodegen For more information, please visit https://support.stackpath.com/

Installation

Install the following dependencies:

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

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

import sw "./object_storage"

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

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

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

ctx := context.WithValue(context.Background(), sw.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 identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://gateway.stackpath.com

Class Method HTTP request Description
BucketsApi CreateBucket Post /storage/v1/stacks/{stack_id}/buckets Create a bucket
BucketsApi DeleteBucket Delete /storage/v1/stacks/{stack_id}/buckets/{bucket_id} Delete a bucket
BucketsApi GetBucket Get /storage/v1/stacks/{stack_id}/buckets/{bucket_id} Get a bucket
BucketsApi GetBuckets Get /storage/v1/stacks/{stack_id}/buckets Get all buckets
BucketsApi UpdateBucket Put /storage/v1/stacks/{stack_id}/buckets/{bucket_id} Update a bucket
MetricsApi GetBucketMetrics Get /storage/v1/stacks/{stack_id}/buckets/{bucket_id}/metrics Get bucket metrics
MetricsApi GetStackMetrics Get /storage/v1/stacks/{stack_id}/metrics Get stack metrics
UserCredentialsApi DeleteCredential Delete /storage/v1/stacks/{stack_id}/users/{user_id}/credentials/{access_key} Delete credentials
UserCredentialsApi GenerateCredentials Post /storage/v1/stacks/{stack_id}/users/{user_id}/credentials/generate Create credentials
UserCredentialsApi GetCredentials Get /storage/v1/stacks/{stack_id}/users/{user_id}/credentials Get credentials

Documentation For Models

Documentation For Authorization

oauth2
  • Type: OAuth
  • Flow: application
  • Authorization URL:
  • Scopes: N/A

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

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

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

Author

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

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

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

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

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

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

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

Functions

func CacheExpires

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

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

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given integer 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 {
	BucketsApi *BucketsApiService

	MetricsApi *MetricsApiService

	UserCredentialsApi *UserCredentialsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Object Storage API v1.0.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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type ApiStatusDetail

type ApiStatusDetail struct {
	Type string `json:"@type"`
}

ApiStatusDetail struct for ApiStatusDetail

func NewApiStatusDetail

func NewApiStatusDetail(type_ string) *ApiStatusDetail

NewApiStatusDetail instantiates a new ApiStatusDetail 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 NewApiStatusDetailWithDefaults

func NewApiStatusDetailWithDefaults() *ApiStatusDetail

NewApiStatusDetailWithDefaults instantiates a new ApiStatusDetail 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 (*ApiStatusDetail) GetType

func (o *ApiStatusDetail) GetType() string

GetType returns the Type field value

func (*ApiStatusDetail) GetTypeOk

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

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

func (ApiStatusDetail) MarshalJSON

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

func (*ApiStatusDetail) SetType

func (o *ApiStatusDetail) SetType(v string)

SetType sets field value

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 BucketsApiService

type BucketsApiService service

BucketsApiService BucketsApi service

func (*BucketsApiService) CreateBucket

func (a *BucketsApiService) CreateBucket(ctx _context.Context, stackId string) apiCreateBucketRequest

CreateBucket Create a bucket

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiCreateBucketRequest

func (*BucketsApiService) DeleteBucket

func (a *BucketsApiService) DeleteBucket(ctx _context.Context, stackId string, bucketId string) apiDeleteBucketRequest

DeleteBucket Delete a bucket

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param bucketId A storage bucket ID

@return apiDeleteBucketRequest

func (*BucketsApiService) GetBucket

func (a *BucketsApiService) GetBucket(ctx _context.Context, stackId string, bucketId string) apiGetBucketRequest

GetBucket Get a bucket

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param bucketId A storage bucket ID

@return apiGetBucketRequest

func (*BucketsApiService) GetBuckets

func (a *BucketsApiService) GetBuckets(ctx _context.Context, stackId string) apiGetBucketsRequest

GetBuckets Get all buckets

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetBucketsRequest

func (*BucketsApiService) UpdateBucket

func (a *BucketsApiService) UpdateBucket(ctx _context.Context, stackId string, bucketId string) apiUpdateBucketRequest

UpdateBucket Update a bucket

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param bucketId A storage bucket ID

@return apiUpdateBucketRequest

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 DataMatrix

type DataMatrix struct {
	// A data point's value
	Results *[]DataMatrixResult `json:"results,omitempty"`
}

DataMatrix A set of time series containing a range of data points over time for each time series

func NewDataMatrix

func NewDataMatrix() *DataMatrix

NewDataMatrix instantiates a new DataMatrix 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 NewDataMatrixWithDefaults

func NewDataMatrixWithDefaults() *DataMatrix

NewDataMatrixWithDefaults instantiates a new DataMatrix 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 (*DataMatrix) GetResults

func (o *DataMatrix) GetResults() []DataMatrixResult

GetResults returns the Results field value if set, zero value otherwise.

func (*DataMatrix) GetResultsOk

func (o *DataMatrix) GetResultsOk() (*[]DataMatrixResult, bool)

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

func (*DataMatrix) HasResults

func (o *DataMatrix) HasResults() bool

HasResults returns a boolean if a field has been set.

func (DataMatrix) MarshalJSON

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

func (*DataMatrix) SetResults

func (o *DataMatrix) SetResults(v []DataMatrixResult)

SetResults gets a reference to the given []DataMatrixResult and assigns it to the Results field.

type DataMatrixResult

type DataMatrixResult struct {
	// The data points' labels
	Metric *map[string]string `json:"metric,omitempty"`
	// Time series data point values
	Values *[]DataValue `json:"values,omitempty"`
}

DataMatrixResult Time series containing a range of data points over time for each time series

func NewDataMatrixResult

func NewDataMatrixResult() *DataMatrixResult

NewDataMatrixResult instantiates a new DataMatrixResult 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 NewDataMatrixResultWithDefaults

func NewDataMatrixResultWithDefaults() *DataMatrixResult

NewDataMatrixResultWithDefaults instantiates a new DataMatrixResult 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 (*DataMatrixResult) GetMetric

func (o *DataMatrixResult) GetMetric() map[string]string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*DataMatrixResult) GetMetricOk

func (o *DataMatrixResult) GetMetricOk() (*map[string]string, bool)

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

func (*DataMatrixResult) GetValues

func (o *DataMatrixResult) GetValues() []DataValue

GetValues returns the Values field value if set, zero value otherwise.

func (*DataMatrixResult) GetValuesOk

func (o *DataMatrixResult) GetValuesOk() (*[]DataValue, bool)

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

func (*DataMatrixResult) HasMetric

func (o *DataMatrixResult) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*DataMatrixResult) HasValues

func (o *DataMatrixResult) HasValues() bool

HasValues returns a boolean if a field has been set.

func (DataMatrixResult) MarshalJSON

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

func (*DataMatrixResult) SetMetric

func (o *DataMatrixResult) SetMetric(v map[string]string)

SetMetric gets a reference to the given map[string]string and assigns it to the Metric field.

func (*DataMatrixResult) SetValues

func (o *DataMatrixResult) SetValues(v []DataValue)

SetValues gets a reference to the given []DataValue and assigns it to the Values field.

type DataValue

type DataValue struct {
	// The time that a data point was recorded
	UnixTime *string `json:"unixTime,omitempty"`
	// A data point's value
	Value *string `json:"value,omitempty"`
}

DataValue An individual metric data point

func NewDataValue

func NewDataValue() *DataValue

NewDataValue instantiates a new DataValue 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 NewDataValueWithDefaults

func NewDataValueWithDefaults() *DataValue

NewDataValueWithDefaults instantiates a new DataValue 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 (*DataValue) GetUnixTime

func (o *DataValue) GetUnixTime() string

GetUnixTime returns the UnixTime field value if set, zero value otherwise.

func (*DataValue) GetUnixTimeOk

func (o *DataValue) GetUnixTimeOk() (*string, bool)

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

func (*DataValue) GetValue

func (o *DataValue) GetValue() string

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

func (*DataValue) GetValueOk

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

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

func (*DataValue) HasUnixTime

func (o *DataValue) HasUnixTime() bool

HasUnixTime returns a boolean if a field has been set.

func (*DataValue) HasValue

func (o *DataValue) HasValue() bool

HasValue returns a boolean if a field has been set.

func (DataValue) MarshalJSON

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

func (*DataValue) SetUnixTime

func (o *DataValue) SetUnixTime(v string)

SetUnixTime gets a reference to the given string and assigns it to the UnixTime field.

func (*DataValue) SetValue

func (o *DataValue) SetValue(v string)

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

type DataVector

type DataVector struct {
	// A data point's value
	Results *[]DataVectorResult `json:"results,omitempty"`
}

DataVector A set of time series containing a single sample for each time series, all sharing the same timestamp

func NewDataVector

func NewDataVector() *DataVector

NewDataVector instantiates a new DataVector 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 NewDataVectorWithDefaults

func NewDataVectorWithDefaults() *DataVector

NewDataVectorWithDefaults instantiates a new DataVector 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 (*DataVector) GetResults

func (o *DataVector) GetResults() []DataVectorResult

GetResults returns the Results field value if set, zero value otherwise.

func (*DataVector) GetResultsOk

func (o *DataVector) GetResultsOk() (*[]DataVectorResult, bool)

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

func (*DataVector) HasResults

func (o *DataVector) HasResults() bool

HasResults returns a boolean if a field has been set.

func (DataVector) MarshalJSON

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

func (*DataVector) SetResults

func (o *DataVector) SetResults(v []DataVectorResult)

SetResults gets a reference to the given []DataVectorResult and assigns it to the Results field.

type DataVectorResult

type DataVectorResult struct {
	// The data points' labels
	Metric *map[string]string `json:"metric,omitempty"`
	Value  *DataValue         `json:"value,omitempty"`
}

DataVectorResult Time series containing a single sample for each time series, all sharing the same timestamp

func NewDataVectorResult

func NewDataVectorResult() *DataVectorResult

NewDataVectorResult instantiates a new DataVectorResult 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 NewDataVectorResultWithDefaults

func NewDataVectorResultWithDefaults() *DataVectorResult

NewDataVectorResultWithDefaults instantiates a new DataVectorResult 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 (*DataVectorResult) GetMetric

func (o *DataVectorResult) GetMetric() map[string]string

GetMetric returns the Metric field value if set, zero value otherwise.

func (*DataVectorResult) GetMetricOk

func (o *DataVectorResult) GetMetricOk() (*map[string]string, bool)

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

func (*DataVectorResult) GetValue

func (o *DataVectorResult) GetValue() DataValue

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

func (*DataVectorResult) GetValueOk

func (o *DataVectorResult) GetValueOk() (*DataValue, bool)

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

func (*DataVectorResult) HasMetric

func (o *DataVectorResult) HasMetric() bool

HasMetric returns a boolean if a field has been set.

func (*DataVectorResult) HasValue

func (o *DataVectorResult) HasValue() bool

HasValue returns a boolean if a field has been set.

func (DataVectorResult) MarshalJSON

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

func (*DataVectorResult) SetMetric

func (o *DataVectorResult) SetMetric(v map[string]string)

SetMetric gets a reference to the given map[string]string and assigns it to the Metric field.

func (*DataVectorResult) SetValue

func (o *DataVectorResult) SetValue(v DataValue)

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

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 GetCredentialsResponseCredential

type GetCredentialsResponseCredential struct {
	// The ID for the access key
	AccessKey *string `json:"accessKey,omitempty"`
}

GetCredentialsResponseCredential Storage credentials for a user

func NewGetCredentialsResponseCredential

func NewGetCredentialsResponseCredential() *GetCredentialsResponseCredential

NewGetCredentialsResponseCredential instantiates a new GetCredentialsResponseCredential 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 NewGetCredentialsResponseCredentialWithDefaults

func NewGetCredentialsResponseCredentialWithDefaults() *GetCredentialsResponseCredential

NewGetCredentialsResponseCredentialWithDefaults instantiates a new GetCredentialsResponseCredential 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 (*GetCredentialsResponseCredential) GetAccessKey

func (o *GetCredentialsResponseCredential) GetAccessKey() string

GetAccessKey returns the AccessKey field value if set, zero value otherwise.

func (*GetCredentialsResponseCredential) GetAccessKeyOk

func (o *GetCredentialsResponseCredential) GetAccessKeyOk() (*string, bool)

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

func (*GetCredentialsResponseCredential) HasAccessKey

func (o *GetCredentialsResponseCredential) HasAccessKey() bool

HasAccessKey returns a boolean if a field has been set.

func (GetCredentialsResponseCredential) MarshalJSON

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

func (*GetCredentialsResponseCredential) SetAccessKey

func (o *GetCredentialsResponseCredential) SetAccessKey(v string)

SetAccessKey gets a reference to the given string and assigns it to the AccessKey field.

type MetricsApiService

type MetricsApiService service

MetricsApiService MetricsApi service

func (*MetricsApiService) GetBucketMetrics

func (a *MetricsApiService) GetBucketMetrics(ctx _context.Context, stackId string, bucketId string) apiGetBucketMetricsRequest

GetBucketMetrics Get bucket metrics When the start & end dates are not provided, the metrics for the last day will be returned. The date range used must be at least a day apart, and only beginning times are allowed (e.g. 2019-01-01T00:00:00)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param bucketId A storage bucket ID

@return apiGetBucketMetricsRequest

func (*MetricsApiService) GetStackMetrics

func (a *MetricsApiService) GetStackMetrics(ctx _context.Context, stackId string) apiGetStackMetricsRequest

GetStackMetrics Get stack metrics When the start & end dates are not provided, the metrics for the last day will be returned. The date range used must be at least a day apart, and only beginning times are allowed (e.g. 2019-01-01T00:00:00)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug

@return apiGetStackMetricsRequest

type MetricsData

type MetricsData struct {
	Matrix *DataMatrix `json:"matrix,omitempty"`
	Vector *DataVector `json:"vector,omitempty"`
}

MetricsData The data points in a metrics collection

func NewMetricsData

func NewMetricsData() *MetricsData

NewMetricsData instantiates a new MetricsData 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 NewMetricsDataWithDefaults

func NewMetricsDataWithDefaults() *MetricsData

NewMetricsDataWithDefaults instantiates a new MetricsData 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 (*MetricsData) GetMatrix

func (o *MetricsData) GetMatrix() DataMatrix

GetMatrix returns the Matrix field value if set, zero value otherwise.

func (*MetricsData) GetMatrixOk

func (o *MetricsData) GetMatrixOk() (*DataMatrix, bool)

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

func (*MetricsData) GetVector

func (o *MetricsData) GetVector() DataVector

GetVector returns the Vector field value if set, zero value otherwise.

func (*MetricsData) GetVectorOk

func (o *MetricsData) GetVectorOk() (*DataVector, bool)

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

func (*MetricsData) HasMatrix

func (o *MetricsData) HasMatrix() bool

HasMatrix returns a boolean if a field has been set.

func (*MetricsData) HasVector

func (o *MetricsData) HasVector() bool

HasVector returns a boolean if a field has been set.

func (MetricsData) MarshalJSON

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

func (*MetricsData) SetMatrix

func (o *MetricsData) SetMatrix(v DataMatrix)

SetMatrix gets a reference to the given DataMatrix and assigns it to the Matrix field.

func (*MetricsData) SetVector

func (o *MetricsData) SetVector(v DataVector)

SetVector gets a reference to the given DataVector and assigns it to the Vector field.

type NullableApiStatusDetail

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

func NewNullableApiStatusDetail

func NewNullableApiStatusDetail(val *ApiStatusDetail) *NullableApiStatusDetail

func (NullableApiStatusDetail) Get

func (NullableApiStatusDetail) IsSet

func (v NullableApiStatusDetail) IsSet() bool

func (NullableApiStatusDetail) MarshalJSON

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

func (*NullableApiStatusDetail) Set

func (*NullableApiStatusDetail) UnmarshalJSON

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

func (*NullableApiStatusDetail) Unset

func (v *NullableApiStatusDetail) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableDataMatrix

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

func NewNullableDataMatrix

func NewNullableDataMatrix(val *DataMatrix) *NullableDataMatrix

func (NullableDataMatrix) Get

func (v NullableDataMatrix) Get() *DataMatrix

func (NullableDataMatrix) IsSet

func (v NullableDataMatrix) IsSet() bool

func (NullableDataMatrix) MarshalJSON

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

func (*NullableDataMatrix) Set

func (v *NullableDataMatrix) Set(val *DataMatrix)

func (*NullableDataMatrix) UnmarshalJSON

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

func (*NullableDataMatrix) Unset

func (v *NullableDataMatrix) Unset()

type NullableDataMatrixResult

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

func NewNullableDataMatrixResult

func NewNullableDataMatrixResult(val *DataMatrixResult) *NullableDataMatrixResult

func (NullableDataMatrixResult) Get

func (NullableDataMatrixResult) IsSet

func (v NullableDataMatrixResult) IsSet() bool

func (NullableDataMatrixResult) MarshalJSON

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

func (*NullableDataMatrixResult) Set

func (*NullableDataMatrixResult) UnmarshalJSON

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

func (*NullableDataMatrixResult) Unset

func (v *NullableDataMatrixResult) Unset()

type NullableDataValue

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

func NewNullableDataValue

func NewNullableDataValue(val *DataValue) *NullableDataValue

func (NullableDataValue) Get

func (v NullableDataValue) Get() *DataValue

func (NullableDataValue) IsSet

func (v NullableDataValue) IsSet() bool

func (NullableDataValue) MarshalJSON

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

func (*NullableDataValue) Set

func (v *NullableDataValue) Set(val *DataValue)

func (*NullableDataValue) UnmarshalJSON

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

func (*NullableDataValue) Unset

func (v *NullableDataValue) Unset()

type NullableDataVector

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

func NewNullableDataVector

func NewNullableDataVector(val *DataVector) *NullableDataVector

func (NullableDataVector) Get

func (v NullableDataVector) Get() *DataVector

func (NullableDataVector) IsSet

func (v NullableDataVector) IsSet() bool

func (NullableDataVector) MarshalJSON

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

func (*NullableDataVector) Set

func (v *NullableDataVector) Set(val *DataVector)

func (*NullableDataVector) UnmarshalJSON

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

func (*NullableDataVector) Unset

func (v *NullableDataVector) Unset()

type NullableDataVectorResult

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

func NewNullableDataVectorResult

func NewNullableDataVectorResult(val *DataVectorResult) *NullableDataVectorResult

func (NullableDataVectorResult) Get

func (NullableDataVectorResult) IsSet

func (v NullableDataVectorResult) IsSet() bool

func (NullableDataVectorResult) MarshalJSON

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

func (*NullableDataVectorResult) Set

func (*NullableDataVectorResult) UnmarshalJSON

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

func (*NullableDataVectorResult) Unset

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

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

func (NullableGetCredentialsResponseCredential) Get

func (NullableGetCredentialsResponseCredential) IsSet

func (NullableGetCredentialsResponseCredential) MarshalJSON

func (*NullableGetCredentialsResponseCredential) Set

func (*NullableGetCredentialsResponseCredential) UnmarshalJSON

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

func (*NullableGetCredentialsResponseCredential) 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 NullableMetricsData

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

func NewNullableMetricsData

func NewNullableMetricsData(val *MetricsData) *NullableMetricsData

func (NullableMetricsData) Get

func (NullableMetricsData) IsSet

func (v NullableMetricsData) IsSet() bool

func (NullableMetricsData) MarshalJSON

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

func (*NullableMetricsData) Set

func (v *NullableMetricsData) Set(val *MetricsData)

func (*NullableMetricsData) UnmarshalJSON

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

func (*NullableMetricsData) Unset

func (v *NullableMetricsData) Unset()

type NullablePaginationPageInfo

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

func NewNullablePaginationPageInfo

func NewNullablePaginationPageInfo(val *PaginationPageInfo) *NullablePaginationPageInfo

func (NullablePaginationPageInfo) Get

func (NullablePaginationPageInfo) IsSet

func (v NullablePaginationPageInfo) IsSet() bool

func (NullablePaginationPageInfo) MarshalJSON

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

func (*NullablePaginationPageInfo) Set

func (*NullablePaginationPageInfo) UnmarshalJSON

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

func (*NullablePaginationPageInfo) Unset

func (v *NullablePaginationPageInfo) Unset()

type NullablePrometheusMetrics

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

func NewNullablePrometheusMetrics

func NewNullablePrometheusMetrics(val *PrometheusMetrics) *NullablePrometheusMetrics

func (NullablePrometheusMetrics) Get

func (NullablePrometheusMetrics) IsSet

func (v NullablePrometheusMetrics) IsSet() bool

func (NullablePrometheusMetrics) MarshalJSON

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

func (*NullablePrometheusMetrics) Set

func (*NullablePrometheusMetrics) UnmarshalJSON

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

func (*NullablePrometheusMetrics) Unset

func (v *NullablePrometheusMetrics) Unset()

type NullablePrometheusMetricsStatus

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

func (NullablePrometheusMetricsStatus) Get

func (NullablePrometheusMetricsStatus) IsSet

func (NullablePrometheusMetricsStatus) MarshalJSON

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

func (*NullablePrometheusMetricsStatus) Set

func (*NullablePrometheusMetricsStatus) UnmarshalJSON

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

func (*NullablePrometheusMetricsStatus) Unset

type NullableStackpathRpcBadRequest

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

func (NullableStackpathRpcBadRequest) Get

func (NullableStackpathRpcBadRequest) IsSet

func (NullableStackpathRpcBadRequest) MarshalJSON

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

func (*NullableStackpathRpcBadRequest) Set

func (*NullableStackpathRpcBadRequest) UnmarshalJSON

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

func (*NullableStackpathRpcBadRequest) Unset

func (v *NullableStackpathRpcBadRequest) Unset()

type NullableStackpathRpcBadRequestAllOf

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

func (NullableStackpathRpcBadRequestAllOf) Get

func (NullableStackpathRpcBadRequestAllOf) IsSet

func (NullableStackpathRpcBadRequestAllOf) MarshalJSON

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

func (*NullableStackpathRpcBadRequestAllOf) Set

func (*NullableStackpathRpcBadRequestAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcBadRequestAllOf) Unset

type NullableStackpathRpcBadRequestFieldViolation

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

func (NullableStackpathRpcBadRequestFieldViolation) Get

func (NullableStackpathRpcBadRequestFieldViolation) IsSet

func (NullableStackpathRpcBadRequestFieldViolation) MarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Set

func (*NullableStackpathRpcBadRequestFieldViolation) UnmarshalJSON

func (*NullableStackpathRpcBadRequestFieldViolation) Unset

type NullableStackpathRpcHelp

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

func NewNullableStackpathRpcHelp

func NewNullableStackpathRpcHelp(val *StackpathRpcHelp) *NullableStackpathRpcHelp

func (NullableStackpathRpcHelp) Get

func (NullableStackpathRpcHelp) IsSet

func (v NullableStackpathRpcHelp) IsSet() bool

func (NullableStackpathRpcHelp) MarshalJSON

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

func (*NullableStackpathRpcHelp) Set

func (*NullableStackpathRpcHelp) UnmarshalJSON

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

func (*NullableStackpathRpcHelp) Unset

func (v *NullableStackpathRpcHelp) Unset()

type NullableStackpathRpcHelpAllOf

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

func (NullableStackpathRpcHelpAllOf) Get

func (NullableStackpathRpcHelpAllOf) IsSet

func (NullableStackpathRpcHelpAllOf) MarshalJSON

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

func (*NullableStackpathRpcHelpAllOf) Set

func (*NullableStackpathRpcHelpAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcHelpAllOf) Unset

func (v *NullableStackpathRpcHelpAllOf) Unset()
type NullableStackpathRpcHelpLink struct {
	// contains filtered or unexported fields
}
func NewNullableStackpathRpcHelpLink(val *StackpathRpcHelpLink) *NullableStackpathRpcHelpLink

func (NullableStackpathRpcHelpLink) Get

func (NullableStackpathRpcHelpLink) IsSet

func (NullableStackpathRpcHelpLink) MarshalJSON

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

func (*NullableStackpathRpcHelpLink) Set

func (*NullableStackpathRpcHelpLink) UnmarshalJSON

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

func (*NullableStackpathRpcHelpLink) Unset

func (v *NullableStackpathRpcHelpLink) Unset()

type NullableStackpathRpcLocalizedMessage

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

func (NullableStackpathRpcLocalizedMessage) Get

func (NullableStackpathRpcLocalizedMessage) IsSet

func (NullableStackpathRpcLocalizedMessage) MarshalJSON

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

func (*NullableStackpathRpcLocalizedMessage) Set

func (*NullableStackpathRpcLocalizedMessage) UnmarshalJSON

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

func (*NullableStackpathRpcLocalizedMessage) Unset

type NullableStackpathRpcLocalizedMessageAllOf

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

func (NullableStackpathRpcLocalizedMessageAllOf) Get

func (NullableStackpathRpcLocalizedMessageAllOf) IsSet

func (NullableStackpathRpcLocalizedMessageAllOf) MarshalJSON

func (*NullableStackpathRpcLocalizedMessageAllOf) Set

func (*NullableStackpathRpcLocalizedMessageAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcLocalizedMessageAllOf) Unset

type NullableStackpathRpcPreconditionFailure

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

func (NullableStackpathRpcPreconditionFailure) Get

func (NullableStackpathRpcPreconditionFailure) IsSet

func (NullableStackpathRpcPreconditionFailure) MarshalJSON

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

func (*NullableStackpathRpcPreconditionFailure) Set

func (*NullableStackpathRpcPreconditionFailure) UnmarshalJSON

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

func (*NullableStackpathRpcPreconditionFailure) Unset

type NullableStackpathRpcPreconditionFailureAllOf

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

func (NullableStackpathRpcPreconditionFailureAllOf) Get

func (NullableStackpathRpcPreconditionFailureAllOf) IsSet

func (NullableStackpathRpcPreconditionFailureAllOf) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Set

func (*NullableStackpathRpcPreconditionFailureAllOf) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureAllOf) Unset

type NullableStackpathRpcPreconditionFailureViolation

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

func (NullableStackpathRpcPreconditionFailureViolation) Get

func (NullableStackpathRpcPreconditionFailureViolation) IsSet

func (NullableStackpathRpcPreconditionFailureViolation) MarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Set

func (*NullableStackpathRpcPreconditionFailureViolation) UnmarshalJSON

func (*NullableStackpathRpcPreconditionFailureViolation) Unset

type NullableStackpathRpcQuotaFailure

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

func (NullableStackpathRpcQuotaFailure) Get

func (NullableStackpathRpcQuotaFailure) IsSet

func (NullableStackpathRpcQuotaFailure) MarshalJSON

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

func (*NullableStackpathRpcQuotaFailure) Set

func (*NullableStackpathRpcQuotaFailure) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailure) Unset

type NullableStackpathRpcQuotaFailureAllOf

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

func (NullableStackpathRpcQuotaFailureAllOf) Get

func (NullableStackpathRpcQuotaFailureAllOf) IsSet

func (NullableStackpathRpcQuotaFailureAllOf) MarshalJSON

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

func (*NullableStackpathRpcQuotaFailureAllOf) Set

func (*NullableStackpathRpcQuotaFailureAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailureAllOf) Unset

type NullableStackpathRpcQuotaFailureViolation

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

func (NullableStackpathRpcQuotaFailureViolation) Get

func (NullableStackpathRpcQuotaFailureViolation) IsSet

func (NullableStackpathRpcQuotaFailureViolation) MarshalJSON

func (*NullableStackpathRpcQuotaFailureViolation) Set

func (*NullableStackpathRpcQuotaFailureViolation) UnmarshalJSON

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

func (*NullableStackpathRpcQuotaFailureViolation) Unset

type NullableStackpathRpcRequestInfo

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

func (NullableStackpathRpcRequestInfo) Get

func (NullableStackpathRpcRequestInfo) IsSet

func (NullableStackpathRpcRequestInfo) MarshalJSON

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

func (*NullableStackpathRpcRequestInfo) Set

func (*NullableStackpathRpcRequestInfo) UnmarshalJSON

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

func (*NullableStackpathRpcRequestInfo) Unset

type NullableStackpathRpcRequestInfoAllOf

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

func (NullableStackpathRpcRequestInfoAllOf) Get

func (NullableStackpathRpcRequestInfoAllOf) IsSet

func (NullableStackpathRpcRequestInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcRequestInfoAllOf) Set

func (*NullableStackpathRpcRequestInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcRequestInfoAllOf) Unset

type NullableStackpathRpcResourceInfo

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

func (NullableStackpathRpcResourceInfo) Get

func (NullableStackpathRpcResourceInfo) IsSet

func (NullableStackpathRpcResourceInfo) MarshalJSON

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

func (*NullableStackpathRpcResourceInfo) Set

func (*NullableStackpathRpcResourceInfo) UnmarshalJSON

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

func (*NullableStackpathRpcResourceInfo) Unset

type NullableStackpathRpcResourceInfoAllOf

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

func (NullableStackpathRpcResourceInfoAllOf) Get

func (NullableStackpathRpcResourceInfoAllOf) IsSet

func (NullableStackpathRpcResourceInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcResourceInfoAllOf) Set

func (*NullableStackpathRpcResourceInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcResourceInfoAllOf) Unset

type NullableStackpathRpcRetryInfo

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

func (NullableStackpathRpcRetryInfo) Get

func (NullableStackpathRpcRetryInfo) IsSet

func (NullableStackpathRpcRetryInfo) MarshalJSON

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

func (*NullableStackpathRpcRetryInfo) Set

func (*NullableStackpathRpcRetryInfo) UnmarshalJSON

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

func (*NullableStackpathRpcRetryInfo) Unset

func (v *NullableStackpathRpcRetryInfo) Unset()

type NullableStackpathRpcRetryInfoAllOf

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

func (NullableStackpathRpcRetryInfoAllOf) Get

func (NullableStackpathRpcRetryInfoAllOf) IsSet

func (NullableStackpathRpcRetryInfoAllOf) MarshalJSON

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

func (*NullableStackpathRpcRetryInfoAllOf) Set

func (*NullableStackpathRpcRetryInfoAllOf) UnmarshalJSON

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

func (*NullableStackpathRpcRetryInfoAllOf) Unset

type NullableStackpathapiStatus

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

func NewNullableStackpathapiStatus

func NewNullableStackpathapiStatus(val *StackpathapiStatus) *NullableStackpathapiStatus

func (NullableStackpathapiStatus) Get

func (NullableStackpathapiStatus) IsSet

func (v NullableStackpathapiStatus) IsSet() bool

func (NullableStackpathapiStatus) MarshalJSON

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

func (*NullableStackpathapiStatus) Set

func (*NullableStackpathapiStatus) UnmarshalJSON

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

func (*NullableStackpathapiStatus) Unset

func (v *NullableStackpathapiStatus) Unset()

type NullableStorageBucket

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

func NewNullableStorageBucket

func NewNullableStorageBucket(val *StorageBucket) *NullableStorageBucket

func (NullableStorageBucket) Get

func (NullableStorageBucket) IsSet

func (v NullableStorageBucket) IsSet() bool

func (NullableStorageBucket) MarshalJSON

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

func (*NullableStorageBucket) Set

func (v *NullableStorageBucket) Set(val *StorageBucket)

func (*NullableStorageBucket) UnmarshalJSON

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

func (*NullableStorageBucket) Unset

func (v *NullableStorageBucket) Unset()

type NullableStorageBucketVisibility

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

func (NullableStorageBucketVisibility) Get

func (NullableStorageBucketVisibility) IsSet

func (NullableStorageBucketVisibility) MarshalJSON

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

func (*NullableStorageBucketVisibility) Set

func (*NullableStorageBucketVisibility) UnmarshalJSON

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

func (*NullableStorageBucketVisibility) Unset

type NullableStorageCreateBucketRequest

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

func (NullableStorageCreateBucketRequest) Get

func (NullableStorageCreateBucketRequest) IsSet

func (NullableStorageCreateBucketRequest) MarshalJSON

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

func (*NullableStorageCreateBucketRequest) Set

func (*NullableStorageCreateBucketRequest) UnmarshalJSON

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

func (*NullableStorageCreateBucketRequest) Unset

type NullableStorageCreateBucketResponse

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

func (NullableStorageCreateBucketResponse) Get

func (NullableStorageCreateBucketResponse) IsSet

func (NullableStorageCreateBucketResponse) MarshalJSON

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

func (*NullableStorageCreateBucketResponse) Set

func (*NullableStorageCreateBucketResponse) UnmarshalJSON

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

func (*NullableStorageCreateBucketResponse) Unset

type NullableStorageGenerateCredentialsResponse

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

func (NullableStorageGenerateCredentialsResponse) Get

func (NullableStorageGenerateCredentialsResponse) IsSet

func (NullableStorageGenerateCredentialsResponse) MarshalJSON

func (*NullableStorageGenerateCredentialsResponse) Set

func (*NullableStorageGenerateCredentialsResponse) UnmarshalJSON

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

func (*NullableStorageGenerateCredentialsResponse) Unset

type NullableStorageGetBucketResponse

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

func (NullableStorageGetBucketResponse) Get

func (NullableStorageGetBucketResponse) IsSet

func (NullableStorageGetBucketResponse) MarshalJSON

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

func (*NullableStorageGetBucketResponse) Set

func (*NullableStorageGetBucketResponse) UnmarshalJSON

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

func (*NullableStorageGetBucketResponse) Unset

type NullableStorageGetBucketsResponse

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

func (NullableStorageGetBucketsResponse) Get

func (NullableStorageGetBucketsResponse) IsSet

func (NullableStorageGetBucketsResponse) MarshalJSON

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

func (*NullableStorageGetBucketsResponse) Set

func (*NullableStorageGetBucketsResponse) UnmarshalJSON

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

func (*NullableStorageGetBucketsResponse) Unset

type NullableStorageGetCredentialsResponse

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

func (NullableStorageGetCredentialsResponse) Get

func (NullableStorageGetCredentialsResponse) IsSet

func (NullableStorageGetCredentialsResponse) MarshalJSON

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

func (*NullableStorageGetCredentialsResponse) Set

func (*NullableStorageGetCredentialsResponse) UnmarshalJSON

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

func (*NullableStorageGetCredentialsResponse) Unset

type NullableStorageUpdateBucketRequest

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

func (NullableStorageUpdateBucketRequest) Get

func (NullableStorageUpdateBucketRequest) IsSet

func (NullableStorageUpdateBucketRequest) MarshalJSON

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

func (*NullableStorageUpdateBucketRequest) Set

func (*NullableStorageUpdateBucketRequest) UnmarshalJSON

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

func (*NullableStorageUpdateBucketRequest) Unset

type NullableStorageUpdateBucketResponse

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

func (NullableStorageUpdateBucketResponse) Get

func (NullableStorageUpdateBucketResponse) IsSet

func (NullableStorageUpdateBucketResponse) MarshalJSON

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

func (*NullableStorageUpdateBucketResponse) Set

func (*NullableStorageUpdateBucketResponse) UnmarshalJSON

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

func (*NullableStorageUpdateBucketResponse) 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 PaginationPageInfo

type PaginationPageInfo struct {
	// The total number of items in the dataset
	TotalCount *string `json:"totalCount,omitempty"`
	// Whether or not a previous page of data exists
	HasPreviousPage *bool `json:"hasPreviousPage,omitempty"`
	// Whether or not another page of data is available
	HasNextPage *bool `json:"hasNextPage,omitempty"`
	// The cursor for the first item in the set of data returned
	StartCursor *string `json:"startCursor,omitempty"`
	// The cursor for the last item in the set of data returned
	EndCursor *string `json:"endCursor,omitempty"`
}

PaginationPageInfo Information about a paginated response This is modeled after the GraphQL Relay spec to support both cursor based pagination and traditional offset based pagination.

func NewPaginationPageInfo

func NewPaginationPageInfo() *PaginationPageInfo

NewPaginationPageInfo instantiates a new PaginationPageInfo 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 NewPaginationPageInfoWithDefaults

func NewPaginationPageInfoWithDefaults() *PaginationPageInfo

NewPaginationPageInfoWithDefaults instantiates a new PaginationPageInfo 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 (*PaginationPageInfo) GetEndCursor

func (o *PaginationPageInfo) GetEndCursor() string

GetEndCursor returns the EndCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetEndCursorOk

func (o *PaginationPageInfo) GetEndCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetHasNextPage

func (o *PaginationPageInfo) GetHasNextPage() bool

GetHasNextPage returns the HasNextPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasNextPageOk

func (o *PaginationPageInfo) GetHasNextPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetHasPreviousPage

func (o *PaginationPageInfo) GetHasPreviousPage() bool

GetHasPreviousPage returns the HasPreviousPage field value if set, zero value otherwise.

func (*PaginationPageInfo) GetHasPreviousPageOk

func (o *PaginationPageInfo) GetHasPreviousPageOk() (*bool, bool)

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

func (*PaginationPageInfo) GetStartCursor

func (o *PaginationPageInfo) GetStartCursor() string

GetStartCursor returns the StartCursor field value if set, zero value otherwise.

func (*PaginationPageInfo) GetStartCursorOk

func (o *PaginationPageInfo) GetStartCursorOk() (*string, bool)

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

func (*PaginationPageInfo) GetTotalCount

func (o *PaginationPageInfo) GetTotalCount() string

GetTotalCount returns the TotalCount field value if set, zero value otherwise.

func (*PaginationPageInfo) GetTotalCountOk

func (o *PaginationPageInfo) GetTotalCountOk() (*string, bool)

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

func (*PaginationPageInfo) HasEndCursor

func (o *PaginationPageInfo) HasEndCursor() bool

HasEndCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasNextPage

func (o *PaginationPageInfo) HasHasNextPage() bool

HasHasNextPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasHasPreviousPage

func (o *PaginationPageInfo) HasHasPreviousPage() bool

HasHasPreviousPage returns a boolean if a field has been set.

func (*PaginationPageInfo) HasStartCursor

func (o *PaginationPageInfo) HasStartCursor() bool

HasStartCursor returns a boolean if a field has been set.

func (*PaginationPageInfo) HasTotalCount

func (o *PaginationPageInfo) HasTotalCount() bool

HasTotalCount returns a boolean if a field has been set.

func (PaginationPageInfo) MarshalJSON

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

func (*PaginationPageInfo) SetEndCursor

func (o *PaginationPageInfo) SetEndCursor(v string)

SetEndCursor gets a reference to the given string and assigns it to the EndCursor field.

func (*PaginationPageInfo) SetHasNextPage

func (o *PaginationPageInfo) SetHasNextPage(v bool)

SetHasNextPage gets a reference to the given bool and assigns it to the HasNextPage field.

func (*PaginationPageInfo) SetHasPreviousPage

func (o *PaginationPageInfo) SetHasPreviousPage(v bool)

SetHasPreviousPage gets a reference to the given bool and assigns it to the HasPreviousPage field.

func (*PaginationPageInfo) SetStartCursor

func (o *PaginationPageInfo) SetStartCursor(v string)

SetStartCursor gets a reference to the given string and assigns it to the StartCursor field.

func (*PaginationPageInfo) SetTotalCount

func (o *PaginationPageInfo) SetTotalCount(v string)

SetTotalCount gets a reference to the given string and assigns it to the TotalCount field.

type PrometheusMetrics

type PrometheusMetrics struct {
	Status *PrometheusMetricsStatus `json:"status,omitempty"`
	Data   *MetricsData             `json:"data,omitempty"`
	// The type of error encountered when querying for metrics
	ErrorType *string `json:"errorType,omitempty"`
	// The error encountered when querying for metrics
	Error *string `json:"error,omitempty"`
	// Warnings encountered when querying for metrics
	Warnings *[]string `json:"warnings,omitempty"`
}

PrometheusMetrics A collection of metrics

func NewPrometheusMetrics

func NewPrometheusMetrics() *PrometheusMetrics

NewPrometheusMetrics instantiates a new PrometheusMetrics 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 NewPrometheusMetricsWithDefaults

func NewPrometheusMetricsWithDefaults() *PrometheusMetrics

NewPrometheusMetricsWithDefaults instantiates a new PrometheusMetrics 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 (*PrometheusMetrics) GetData

func (o *PrometheusMetrics) GetData() MetricsData

GetData returns the Data field value if set, zero value otherwise.

func (*PrometheusMetrics) GetDataOk

func (o *PrometheusMetrics) GetDataOk() (*MetricsData, bool)

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

func (*PrometheusMetrics) GetError

func (o *PrometheusMetrics) GetError() string

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

func (*PrometheusMetrics) GetErrorOk

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

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

func (*PrometheusMetrics) GetErrorType

func (o *PrometheusMetrics) GetErrorType() string

GetErrorType returns the ErrorType field value if set, zero value otherwise.

func (*PrometheusMetrics) GetErrorTypeOk

func (o *PrometheusMetrics) GetErrorTypeOk() (*string, bool)

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

func (*PrometheusMetrics) GetStatus

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

func (*PrometheusMetrics) GetStatusOk

func (o *PrometheusMetrics) GetStatusOk() (*PrometheusMetricsStatus, bool)

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

func (*PrometheusMetrics) GetWarnings

func (o *PrometheusMetrics) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*PrometheusMetrics) GetWarningsOk

func (o *PrometheusMetrics) GetWarningsOk() (*[]string, bool)

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

func (*PrometheusMetrics) HasData

func (o *PrometheusMetrics) HasData() bool

HasData returns a boolean if a field has been set.

func (*PrometheusMetrics) HasError

func (o *PrometheusMetrics) HasError() bool

HasError returns a boolean if a field has been set.

func (*PrometheusMetrics) HasErrorType

func (o *PrometheusMetrics) HasErrorType() bool

HasErrorType returns a boolean if a field has been set.

func (*PrometheusMetrics) HasStatus

func (o *PrometheusMetrics) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*PrometheusMetrics) HasWarnings

func (o *PrometheusMetrics) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (PrometheusMetrics) MarshalJSON

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

func (*PrometheusMetrics) SetData

func (o *PrometheusMetrics) SetData(v MetricsData)

SetData gets a reference to the given MetricsData and assigns it to the Data field.

func (*PrometheusMetrics) SetError

func (o *PrometheusMetrics) SetError(v string)

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

func (*PrometheusMetrics) SetErrorType

func (o *PrometheusMetrics) SetErrorType(v string)

SetErrorType gets a reference to the given string and assigns it to the ErrorType field.

func (*PrometheusMetrics) SetStatus

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

func (*PrometheusMetrics) SetWarnings

func (o *PrometheusMetrics) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

type PrometheusMetricsStatus

type PrometheusMetricsStatus string

PrometheusMetricsStatus A metrics query's resulting status

const (
	PROMETHEUSMETRICSSTATUS_SUCCESS PrometheusMetricsStatus = "SUCCESS"
	PROMETHEUSMETRICSSTATUS_ERROR   PrometheusMetricsStatus = "ERROR"
)

List of prometheusMetricsStatus

func (PrometheusMetricsStatus) Ptr

Ptr returns reference to prometheusMetricsStatus value

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 StackpathRpcBadRequest

type StackpathRpcBadRequest struct {
	ApiStatusDetail
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequest struct for StackpathRpcBadRequest

func NewStackpathRpcBadRequest

func NewStackpathRpcBadRequest() *StackpathRpcBadRequest

NewStackpathRpcBadRequest instantiates a new StackpathRpcBadRequest 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 NewStackpathRpcBadRequestWithDefaults

func NewStackpathRpcBadRequestWithDefaults() *StackpathRpcBadRequest

NewStackpathRpcBadRequestWithDefaults instantiates a new StackpathRpcBadRequest 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 (*StackpathRpcBadRequest) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequest) GetFieldViolationsOk

func (o *StackpathRpcBadRequest) GetFieldViolationsOk() (*[]StackpathRpcBadRequestFieldViolation, bool)

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

func (*StackpathRpcBadRequest) HasFieldViolations

func (o *StackpathRpcBadRequest) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequest) MarshalJSON

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

func (*StackpathRpcBadRequest) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestAllOf

type StackpathRpcBadRequestAllOf struct {
	FieldViolations *[]StackpathRpcBadRequestFieldViolation `json:"fieldViolations,omitempty"`
}

StackpathRpcBadRequestAllOf struct for StackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf

func NewStackpathRpcBadRequestAllOf() *StackpathRpcBadRequestAllOf

NewStackpathRpcBadRequestAllOf instantiates a new StackpathRpcBadRequestAllOf 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 NewStackpathRpcBadRequestAllOfWithDefaults

func NewStackpathRpcBadRequestAllOfWithDefaults() *StackpathRpcBadRequestAllOf

NewStackpathRpcBadRequestAllOfWithDefaults instantiates a new StackpathRpcBadRequestAllOf 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 (*StackpathRpcBadRequestAllOf) GetFieldViolations

GetFieldViolations returns the FieldViolations field value if set, zero value otherwise.

func (*StackpathRpcBadRequestAllOf) GetFieldViolationsOk

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

func (*StackpathRpcBadRequestAllOf) HasFieldViolations

func (o *StackpathRpcBadRequestAllOf) HasFieldViolations() bool

HasFieldViolations returns a boolean if a field has been set.

func (StackpathRpcBadRequestAllOf) MarshalJSON

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

func (*StackpathRpcBadRequestAllOf) SetFieldViolations

SetFieldViolations gets a reference to the given []StackpathRpcBadRequestFieldViolation and assigns it to the FieldViolations field.

type StackpathRpcBadRequestFieldViolation

type StackpathRpcBadRequestFieldViolation struct {
	Field       *string `json:"field,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcBadRequestFieldViolation struct for StackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation

func NewStackpathRpcBadRequestFieldViolation() *StackpathRpcBadRequestFieldViolation

NewStackpathRpcBadRequestFieldViolation instantiates a new StackpathRpcBadRequestFieldViolation 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 NewStackpathRpcBadRequestFieldViolationWithDefaults

func NewStackpathRpcBadRequestFieldViolationWithDefaults() *StackpathRpcBadRequestFieldViolation

NewStackpathRpcBadRequestFieldViolationWithDefaults instantiates a new StackpathRpcBadRequestFieldViolation 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 (*StackpathRpcBadRequestFieldViolation) GetDescription

func (o *StackpathRpcBadRequestFieldViolation) GetDescription() string

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

func (*StackpathRpcBadRequestFieldViolation) GetDescriptionOk

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

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

func (*StackpathRpcBadRequestFieldViolation) GetField

GetField returns the Field field value if set, zero value otherwise.

func (*StackpathRpcBadRequestFieldViolation) GetFieldOk

func (o *StackpathRpcBadRequestFieldViolation) GetFieldOk() (*string, bool)

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

func (*StackpathRpcBadRequestFieldViolation) HasDescription

func (o *StackpathRpcBadRequestFieldViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcBadRequestFieldViolation) HasField

HasField returns a boolean if a field has been set.

func (StackpathRpcBadRequestFieldViolation) MarshalJSON

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

func (*StackpathRpcBadRequestFieldViolation) SetDescription

func (o *StackpathRpcBadRequestFieldViolation) SetDescription(v string)

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

func (*StackpathRpcBadRequestFieldViolation) SetField

SetField gets a reference to the given string and assigns it to the Field field.

type StackpathRpcHelp

type StackpathRpcHelp struct {
	ApiStatusDetail
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelp struct for StackpathRpcHelp

func NewStackpathRpcHelp

func NewStackpathRpcHelp() *StackpathRpcHelp

NewStackpathRpcHelp instantiates a new StackpathRpcHelp 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 NewStackpathRpcHelpWithDefaults

func NewStackpathRpcHelpWithDefaults() *StackpathRpcHelp

NewStackpathRpcHelpWithDefaults instantiates a new StackpathRpcHelp 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 (o *StackpathRpcHelp) GetLinks() []StackpathRpcHelpLink

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelp) GetLinksOk

func (o *StackpathRpcHelp) GetLinksOk() (*[]StackpathRpcHelpLink, bool)

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

func (o *StackpathRpcHelp) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelp) MarshalJSON

func (o StackpathRpcHelp) MarshalJSON() ([]byte, error)
func (o *StackpathRpcHelp) SetLinks(v []StackpathRpcHelpLink)

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpAllOf

type StackpathRpcHelpAllOf struct {
	Links *[]StackpathRpcHelpLink `json:"links,omitempty"`
}

StackpathRpcHelpAllOf struct for StackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf

func NewStackpathRpcHelpAllOf() *StackpathRpcHelpAllOf

NewStackpathRpcHelpAllOf instantiates a new StackpathRpcHelpAllOf 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 NewStackpathRpcHelpAllOfWithDefaults

func NewStackpathRpcHelpAllOfWithDefaults() *StackpathRpcHelpAllOf

NewStackpathRpcHelpAllOfWithDefaults instantiates a new StackpathRpcHelpAllOf 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

GetLinks returns the Links field value if set, zero value otherwise.

func (*StackpathRpcHelpAllOf) GetLinksOk

func (o *StackpathRpcHelpAllOf) GetLinksOk() (*[]StackpathRpcHelpLink, bool)

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

func (o *StackpathRpcHelpAllOf) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (StackpathRpcHelpAllOf) MarshalJSON

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

SetLinks gets a reference to the given []StackpathRpcHelpLink and assigns it to the Links field.

type StackpathRpcHelpLink struct {
	Description *string `json:"description,omitempty"`
	Url         *string `json:"url,omitempty"`
}

StackpathRpcHelpLink struct for StackpathRpcHelpLink

func NewStackpathRpcHelpLink() *StackpathRpcHelpLink

NewStackpathRpcHelpLink instantiates a new StackpathRpcHelpLink 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 NewStackpathRpcHelpLinkWithDefaults

func NewStackpathRpcHelpLinkWithDefaults() *StackpathRpcHelpLink

NewStackpathRpcHelpLinkWithDefaults instantiates a new StackpathRpcHelpLink 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 (*StackpathRpcHelpLink) GetDescription

func (o *StackpathRpcHelpLink) GetDescription() string

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

func (*StackpathRpcHelpLink) GetDescriptionOk

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

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

func (*StackpathRpcHelpLink) GetUrl

func (o *StackpathRpcHelpLink) GetUrl() string

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

func (*StackpathRpcHelpLink) GetUrlOk

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

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

func (*StackpathRpcHelpLink) HasDescription

func (o *StackpathRpcHelpLink) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcHelpLink) HasUrl

func (o *StackpathRpcHelpLink) HasUrl() bool

HasUrl returns a boolean if a field has been set.

func (StackpathRpcHelpLink) MarshalJSON

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

func (*StackpathRpcHelpLink) SetDescription

func (o *StackpathRpcHelpLink) SetDescription(v string)

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

func (*StackpathRpcHelpLink) SetUrl

func (o *StackpathRpcHelpLink) SetUrl(v string)

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

type StackpathRpcLocalizedMessage

type StackpathRpcLocalizedMessage struct {
	ApiStatusDetail
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessage struct for StackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage

func NewStackpathRpcLocalizedMessage() *StackpathRpcLocalizedMessage

NewStackpathRpcLocalizedMessage instantiates a new StackpathRpcLocalizedMessage 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 NewStackpathRpcLocalizedMessageWithDefaults

func NewStackpathRpcLocalizedMessageWithDefaults() *StackpathRpcLocalizedMessage

NewStackpathRpcLocalizedMessageWithDefaults instantiates a new StackpathRpcLocalizedMessage 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 (*StackpathRpcLocalizedMessage) GetLocale

func (o *StackpathRpcLocalizedMessage) GetLocale() string

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetLocaleOk

func (o *StackpathRpcLocalizedMessage) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessage) GetMessage

func (o *StackpathRpcLocalizedMessage) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessage) GetMessageOk

func (o *StackpathRpcLocalizedMessage) GetMessageOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessage) HasLocale

func (o *StackpathRpcLocalizedMessage) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessage) HasMessage

func (o *StackpathRpcLocalizedMessage) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessage) MarshalJSON

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

func (*StackpathRpcLocalizedMessage) SetLocale

func (o *StackpathRpcLocalizedMessage) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessage) SetMessage

func (o *StackpathRpcLocalizedMessage) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcLocalizedMessageAllOf

type StackpathRpcLocalizedMessageAllOf struct {
	Locale  *string `json:"locale,omitempty"`
	Message *string `json:"message,omitempty"`
}

StackpathRpcLocalizedMessageAllOf struct for StackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf

func NewStackpathRpcLocalizedMessageAllOf() *StackpathRpcLocalizedMessageAllOf

NewStackpathRpcLocalizedMessageAllOf instantiates a new StackpathRpcLocalizedMessageAllOf 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 NewStackpathRpcLocalizedMessageAllOfWithDefaults

func NewStackpathRpcLocalizedMessageAllOfWithDefaults() *StackpathRpcLocalizedMessageAllOf

NewStackpathRpcLocalizedMessageAllOfWithDefaults instantiates a new StackpathRpcLocalizedMessageAllOf 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 (*StackpathRpcLocalizedMessageAllOf) GetLocale

GetLocale returns the Locale field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetLocaleOk

func (o *StackpathRpcLocalizedMessageAllOf) GetLocaleOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessageAllOf) GetMessage

func (o *StackpathRpcLocalizedMessageAllOf) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathRpcLocalizedMessageAllOf) GetMessageOk

func (o *StackpathRpcLocalizedMessageAllOf) GetMessageOk() (*string, bool)

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

func (*StackpathRpcLocalizedMessageAllOf) HasLocale

func (o *StackpathRpcLocalizedMessageAllOf) HasLocale() bool

HasLocale returns a boolean if a field has been set.

func (*StackpathRpcLocalizedMessageAllOf) HasMessage

func (o *StackpathRpcLocalizedMessageAllOf) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathRpcLocalizedMessageAllOf) MarshalJSON

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

func (*StackpathRpcLocalizedMessageAllOf) SetLocale

func (o *StackpathRpcLocalizedMessageAllOf) SetLocale(v string)

SetLocale gets a reference to the given string and assigns it to the Locale field.

func (*StackpathRpcLocalizedMessageAllOf) SetMessage

func (o *StackpathRpcLocalizedMessageAllOf) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StackpathRpcPreconditionFailure

type StackpathRpcPreconditionFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailure struct for StackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure

func NewStackpathRpcPreconditionFailure() *StackpathRpcPreconditionFailure

NewStackpathRpcPreconditionFailure instantiates a new StackpathRpcPreconditionFailure 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 NewStackpathRpcPreconditionFailureWithDefaults

func NewStackpathRpcPreconditionFailureWithDefaults() *StackpathRpcPreconditionFailure

NewStackpathRpcPreconditionFailureWithDefaults instantiates a new StackpathRpcPreconditionFailure 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 (*StackpathRpcPreconditionFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailure) GetViolationsOk

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

func (*StackpathRpcPreconditionFailure) HasViolations

func (o *StackpathRpcPreconditionFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailure) MarshalJSON

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

func (*StackpathRpcPreconditionFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureAllOf

type StackpathRpcPreconditionFailureAllOf struct {
	Violations *[]StackpathRpcPreconditionFailureViolation `json:"violations,omitempty"`
}

StackpathRpcPreconditionFailureAllOf struct for StackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf

func NewStackpathRpcPreconditionFailureAllOf() *StackpathRpcPreconditionFailureAllOf

NewStackpathRpcPreconditionFailureAllOf instantiates a new StackpathRpcPreconditionFailureAllOf 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 NewStackpathRpcPreconditionFailureAllOfWithDefaults

func NewStackpathRpcPreconditionFailureAllOfWithDefaults() *StackpathRpcPreconditionFailureAllOf

NewStackpathRpcPreconditionFailureAllOfWithDefaults instantiates a new StackpathRpcPreconditionFailureAllOf 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 (*StackpathRpcPreconditionFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureAllOf) GetViolationsOk

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

func (*StackpathRpcPreconditionFailureAllOf) HasViolations

func (o *StackpathRpcPreconditionFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureAllOf) MarshalJSON

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

func (*StackpathRpcPreconditionFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcPreconditionFailureViolation and assigns it to the Violations field.

type StackpathRpcPreconditionFailureViolation

type StackpathRpcPreconditionFailureViolation struct {
	Type        *string `json:"type,omitempty"`
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcPreconditionFailureViolation struct for StackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation

func NewStackpathRpcPreconditionFailureViolation() *StackpathRpcPreconditionFailureViolation

NewStackpathRpcPreconditionFailureViolation instantiates a new StackpathRpcPreconditionFailureViolation 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 NewStackpathRpcPreconditionFailureViolationWithDefaults

func NewStackpathRpcPreconditionFailureViolationWithDefaults() *StackpathRpcPreconditionFailureViolation

NewStackpathRpcPreconditionFailureViolationWithDefaults instantiates a new StackpathRpcPreconditionFailureViolation 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 (*StackpathRpcPreconditionFailureViolation) GetDescription

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

func (*StackpathRpcPreconditionFailureViolation) GetDescriptionOk

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

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

func (*StackpathRpcPreconditionFailureViolation) GetSubject

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcPreconditionFailureViolation) GetSubjectOk

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

func (*StackpathRpcPreconditionFailureViolation) GetType

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

func (*StackpathRpcPreconditionFailureViolation) GetTypeOk

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

func (*StackpathRpcPreconditionFailureViolation) HasDescription

func (o *StackpathRpcPreconditionFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasSubject

HasSubject returns a boolean if a field has been set.

func (*StackpathRpcPreconditionFailureViolation) HasType

HasType returns a boolean if a field has been set.

func (StackpathRpcPreconditionFailureViolation) MarshalJSON

func (*StackpathRpcPreconditionFailureViolation) SetDescription

func (o *StackpathRpcPreconditionFailureViolation) SetDescription(v string)

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

func (*StackpathRpcPreconditionFailureViolation) SetSubject

SetSubject gets a reference to the given string and assigns it to the Subject field.

func (*StackpathRpcPreconditionFailureViolation) SetType

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

type StackpathRpcQuotaFailure

type StackpathRpcQuotaFailure struct {
	ApiStatusDetail
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailure struct for StackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure

func NewStackpathRpcQuotaFailure() *StackpathRpcQuotaFailure

NewStackpathRpcQuotaFailure instantiates a new StackpathRpcQuotaFailure 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 NewStackpathRpcQuotaFailureWithDefaults

func NewStackpathRpcQuotaFailureWithDefaults() *StackpathRpcQuotaFailure

NewStackpathRpcQuotaFailureWithDefaults instantiates a new StackpathRpcQuotaFailure 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 (*StackpathRpcQuotaFailure) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailure) GetViolationsOk

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

func (*StackpathRpcQuotaFailure) HasViolations

func (o *StackpathRpcQuotaFailure) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailure) MarshalJSON

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

func (*StackpathRpcQuotaFailure) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureAllOf

type StackpathRpcQuotaFailureAllOf struct {
	Violations *[]StackpathRpcQuotaFailureViolation `json:"violations,omitempty"`
}

StackpathRpcQuotaFailureAllOf struct for StackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf

func NewStackpathRpcQuotaFailureAllOf() *StackpathRpcQuotaFailureAllOf

NewStackpathRpcQuotaFailureAllOf instantiates a new StackpathRpcQuotaFailureAllOf 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 NewStackpathRpcQuotaFailureAllOfWithDefaults

func NewStackpathRpcQuotaFailureAllOfWithDefaults() *StackpathRpcQuotaFailureAllOf

NewStackpathRpcQuotaFailureAllOfWithDefaults instantiates a new StackpathRpcQuotaFailureAllOf 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 (*StackpathRpcQuotaFailureAllOf) GetViolations

GetViolations returns the Violations field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureAllOf) GetViolationsOk

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

func (*StackpathRpcQuotaFailureAllOf) HasViolations

func (o *StackpathRpcQuotaFailureAllOf) HasViolations() bool

HasViolations returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureAllOf) MarshalJSON

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

func (*StackpathRpcQuotaFailureAllOf) SetViolations

SetViolations gets a reference to the given []StackpathRpcQuotaFailureViolation and assigns it to the Violations field.

type StackpathRpcQuotaFailureViolation

type StackpathRpcQuotaFailureViolation struct {
	Subject     *string `json:"subject,omitempty"`
	Description *string `json:"description,omitempty"`
}

StackpathRpcQuotaFailureViolation struct for StackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation

func NewStackpathRpcQuotaFailureViolation() *StackpathRpcQuotaFailureViolation

NewStackpathRpcQuotaFailureViolation instantiates a new StackpathRpcQuotaFailureViolation 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 NewStackpathRpcQuotaFailureViolationWithDefaults

func NewStackpathRpcQuotaFailureViolationWithDefaults() *StackpathRpcQuotaFailureViolation

NewStackpathRpcQuotaFailureViolationWithDefaults instantiates a new StackpathRpcQuotaFailureViolation 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 (*StackpathRpcQuotaFailureViolation) GetDescription

func (o *StackpathRpcQuotaFailureViolation) GetDescription() string

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

func (*StackpathRpcQuotaFailureViolation) GetDescriptionOk

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

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

func (*StackpathRpcQuotaFailureViolation) GetSubject

func (o *StackpathRpcQuotaFailureViolation) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*StackpathRpcQuotaFailureViolation) GetSubjectOk

func (o *StackpathRpcQuotaFailureViolation) GetSubjectOk() (*string, bool)

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

func (*StackpathRpcQuotaFailureViolation) HasDescription

func (o *StackpathRpcQuotaFailureViolation) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcQuotaFailureViolation) HasSubject

func (o *StackpathRpcQuotaFailureViolation) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (StackpathRpcQuotaFailureViolation) MarshalJSON

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

func (*StackpathRpcQuotaFailureViolation) SetDescription

func (o *StackpathRpcQuotaFailureViolation) SetDescription(v string)

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

func (*StackpathRpcQuotaFailureViolation) SetSubject

func (o *StackpathRpcQuotaFailureViolation) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type StackpathRpcRequestInfo

type StackpathRpcRequestInfo struct {
	ApiStatusDetail
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfo struct for StackpathRpcRequestInfo

func NewStackpathRpcRequestInfo

func NewStackpathRpcRequestInfo() *StackpathRpcRequestInfo

NewStackpathRpcRequestInfo instantiates a new StackpathRpcRequestInfo 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 NewStackpathRpcRequestInfoWithDefaults

func NewStackpathRpcRequestInfoWithDefaults() *StackpathRpcRequestInfo

NewStackpathRpcRequestInfoWithDefaults instantiates a new StackpathRpcRequestInfo 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 (*StackpathRpcRequestInfo) GetRequestId

func (o *StackpathRpcRequestInfo) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetRequestIdOk

func (o *StackpathRpcRequestInfo) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) GetServingData

func (o *StackpathRpcRequestInfo) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfo) GetServingDataOk

func (o *StackpathRpcRequestInfo) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfo) HasRequestId

func (o *StackpathRpcRequestInfo) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfo) HasServingData

func (o *StackpathRpcRequestInfo) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfo) MarshalJSON

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

func (*StackpathRpcRequestInfo) SetRequestId

func (o *StackpathRpcRequestInfo) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfo) SetServingData

func (o *StackpathRpcRequestInfo) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcRequestInfoAllOf

type StackpathRpcRequestInfoAllOf struct {
	RequestId   *string `json:"requestId,omitempty"`
	ServingData *string `json:"servingData,omitempty"`
}

StackpathRpcRequestInfoAllOf struct for StackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf

func NewStackpathRpcRequestInfoAllOf() *StackpathRpcRequestInfoAllOf

NewStackpathRpcRequestInfoAllOf instantiates a new StackpathRpcRequestInfoAllOf 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 NewStackpathRpcRequestInfoAllOfWithDefaults

func NewStackpathRpcRequestInfoAllOfWithDefaults() *StackpathRpcRequestInfoAllOf

NewStackpathRpcRequestInfoAllOfWithDefaults instantiates a new StackpathRpcRequestInfoAllOf 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 (*StackpathRpcRequestInfoAllOf) GetRequestId

func (o *StackpathRpcRequestInfoAllOf) GetRequestId() string

GetRequestId returns the RequestId field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetRequestIdOk

func (o *StackpathRpcRequestInfoAllOf) GetRequestIdOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) GetServingData

func (o *StackpathRpcRequestInfoAllOf) GetServingData() string

GetServingData returns the ServingData field value if set, zero value otherwise.

func (*StackpathRpcRequestInfoAllOf) GetServingDataOk

func (o *StackpathRpcRequestInfoAllOf) GetServingDataOk() (*string, bool)

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

func (*StackpathRpcRequestInfoAllOf) HasRequestId

func (o *StackpathRpcRequestInfoAllOf) HasRequestId() bool

HasRequestId returns a boolean if a field has been set.

func (*StackpathRpcRequestInfoAllOf) HasServingData

func (o *StackpathRpcRequestInfoAllOf) HasServingData() bool

HasServingData returns a boolean if a field has been set.

func (StackpathRpcRequestInfoAllOf) MarshalJSON

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

func (*StackpathRpcRequestInfoAllOf) SetRequestId

func (o *StackpathRpcRequestInfoAllOf) SetRequestId(v string)

SetRequestId gets a reference to the given string and assigns it to the RequestId field.

func (*StackpathRpcRequestInfoAllOf) SetServingData

func (o *StackpathRpcRequestInfoAllOf) SetServingData(v string)

SetServingData gets a reference to the given string and assigns it to the ServingData field.

type StackpathRpcResourceInfo

type StackpathRpcResourceInfo struct {
	ApiStatusDetail
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfo struct for StackpathRpcResourceInfo

func NewStackpathRpcResourceInfo

func NewStackpathRpcResourceInfo() *StackpathRpcResourceInfo

NewStackpathRpcResourceInfo instantiates a new StackpathRpcResourceInfo 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 NewStackpathRpcResourceInfoWithDefaults

func NewStackpathRpcResourceInfoWithDefaults() *StackpathRpcResourceInfo

NewStackpathRpcResourceInfoWithDefaults instantiates a new StackpathRpcResourceInfo 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 (*StackpathRpcResourceInfo) GetDescription

func (o *StackpathRpcResourceInfo) GetDescription() string

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

func (*StackpathRpcResourceInfo) GetDescriptionOk

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

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

func (*StackpathRpcResourceInfo) GetOwner

func (o *StackpathRpcResourceInfo) GetOwner() string

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

func (*StackpathRpcResourceInfo) GetOwnerOk

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

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

func (*StackpathRpcResourceInfo) GetResourceName

func (o *StackpathRpcResourceInfo) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceNameOk

func (o *StackpathRpcResourceInfo) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) GetResourceType

func (o *StackpathRpcResourceInfo) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfo) GetResourceTypeOk

func (o *StackpathRpcResourceInfo) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfo) HasDescription

func (o *StackpathRpcResourceInfo) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasOwner

func (o *StackpathRpcResourceInfo) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceName

func (o *StackpathRpcResourceInfo) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfo) HasResourceType

func (o *StackpathRpcResourceInfo) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfo) MarshalJSON

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

func (*StackpathRpcResourceInfo) SetDescription

func (o *StackpathRpcResourceInfo) SetDescription(v string)

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

func (*StackpathRpcResourceInfo) SetOwner

func (o *StackpathRpcResourceInfo) SetOwner(v string)

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

func (*StackpathRpcResourceInfo) SetResourceName

func (o *StackpathRpcResourceInfo) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfo) SetResourceType

func (o *StackpathRpcResourceInfo) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcResourceInfoAllOf

type StackpathRpcResourceInfoAllOf struct {
	ResourceType *string `json:"resourceType,omitempty"`
	ResourceName *string `json:"resourceName,omitempty"`
	Owner        *string `json:"owner,omitempty"`
	Description  *string `json:"description,omitempty"`
}

StackpathRpcResourceInfoAllOf struct for StackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf

func NewStackpathRpcResourceInfoAllOf() *StackpathRpcResourceInfoAllOf

NewStackpathRpcResourceInfoAllOf instantiates a new StackpathRpcResourceInfoAllOf 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 NewStackpathRpcResourceInfoAllOfWithDefaults

func NewStackpathRpcResourceInfoAllOfWithDefaults() *StackpathRpcResourceInfoAllOf

NewStackpathRpcResourceInfoAllOfWithDefaults instantiates a new StackpathRpcResourceInfoAllOf 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 (*StackpathRpcResourceInfoAllOf) GetDescription

func (o *StackpathRpcResourceInfoAllOf) GetDescription() string

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

func (*StackpathRpcResourceInfoAllOf) GetDescriptionOk

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

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

func (*StackpathRpcResourceInfoAllOf) GetOwner

func (o *StackpathRpcResourceInfoAllOf) GetOwner() string

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

func (*StackpathRpcResourceInfoAllOf) GetOwnerOk

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

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

func (*StackpathRpcResourceInfoAllOf) GetResourceName

func (o *StackpathRpcResourceInfoAllOf) GetResourceName() string

GetResourceName returns the ResourceName field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceNameOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceNameOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) GetResourceType

func (o *StackpathRpcResourceInfoAllOf) GetResourceType() string

GetResourceType returns the ResourceType field value if set, zero value otherwise.

func (*StackpathRpcResourceInfoAllOf) GetResourceTypeOk

func (o *StackpathRpcResourceInfoAllOf) GetResourceTypeOk() (*string, bool)

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

func (*StackpathRpcResourceInfoAllOf) HasDescription

func (o *StackpathRpcResourceInfoAllOf) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasOwner

func (o *StackpathRpcResourceInfoAllOf) HasOwner() bool

HasOwner returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceName

func (o *StackpathRpcResourceInfoAllOf) HasResourceName() bool

HasResourceName returns a boolean if a field has been set.

func (*StackpathRpcResourceInfoAllOf) HasResourceType

func (o *StackpathRpcResourceInfoAllOf) HasResourceType() bool

HasResourceType returns a boolean if a field has been set.

func (StackpathRpcResourceInfoAllOf) MarshalJSON

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

func (*StackpathRpcResourceInfoAllOf) SetDescription

func (o *StackpathRpcResourceInfoAllOf) SetDescription(v string)

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

func (*StackpathRpcResourceInfoAllOf) SetOwner

func (o *StackpathRpcResourceInfoAllOf) SetOwner(v string)

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

func (*StackpathRpcResourceInfoAllOf) SetResourceName

func (o *StackpathRpcResourceInfoAllOf) SetResourceName(v string)

SetResourceName gets a reference to the given string and assigns it to the ResourceName field.

func (*StackpathRpcResourceInfoAllOf) SetResourceType

func (o *StackpathRpcResourceInfoAllOf) SetResourceType(v string)

SetResourceType gets a reference to the given string and assigns it to the ResourceType field.

type StackpathRpcRetryInfo

type StackpathRpcRetryInfo struct {
	ApiStatusDetail
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfo struct for StackpathRpcRetryInfo

func NewStackpathRpcRetryInfo

func NewStackpathRpcRetryInfo() *StackpathRpcRetryInfo

NewStackpathRpcRetryInfo instantiates a new StackpathRpcRetryInfo 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 NewStackpathRpcRetryInfoWithDefaults

func NewStackpathRpcRetryInfoWithDefaults() *StackpathRpcRetryInfo

NewStackpathRpcRetryInfoWithDefaults instantiates a new StackpathRpcRetryInfo 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 (*StackpathRpcRetryInfo) GetRetryDelay

func (o *StackpathRpcRetryInfo) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfo) GetRetryDelayOk

func (o *StackpathRpcRetryInfo) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfo) HasRetryDelay

func (o *StackpathRpcRetryInfo) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfo) MarshalJSON

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

func (*StackpathRpcRetryInfo) SetRetryDelay

func (o *StackpathRpcRetryInfo) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type StackpathRpcRetryInfoAllOf

type StackpathRpcRetryInfoAllOf struct {
	RetryDelay *string `json:"retryDelay,omitempty"`
}

StackpathRpcRetryInfoAllOf struct for StackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf

func NewStackpathRpcRetryInfoAllOf() *StackpathRpcRetryInfoAllOf

NewStackpathRpcRetryInfoAllOf instantiates a new StackpathRpcRetryInfoAllOf 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 NewStackpathRpcRetryInfoAllOfWithDefaults

func NewStackpathRpcRetryInfoAllOfWithDefaults() *StackpathRpcRetryInfoAllOf

NewStackpathRpcRetryInfoAllOfWithDefaults instantiates a new StackpathRpcRetryInfoAllOf 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 (*StackpathRpcRetryInfoAllOf) GetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelay() string

GetRetryDelay returns the RetryDelay field value if set, zero value otherwise.

func (*StackpathRpcRetryInfoAllOf) GetRetryDelayOk

func (o *StackpathRpcRetryInfoAllOf) GetRetryDelayOk() (*string, bool)

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

func (*StackpathRpcRetryInfoAllOf) HasRetryDelay

func (o *StackpathRpcRetryInfoAllOf) HasRetryDelay() bool

HasRetryDelay returns a boolean if a field has been set.

func (StackpathRpcRetryInfoAllOf) MarshalJSON

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

func (*StackpathRpcRetryInfoAllOf) SetRetryDelay

func (o *StackpathRpcRetryInfoAllOf) SetRetryDelay(v string)

SetRetryDelay gets a reference to the given string and assigns it to the RetryDelay field.

type StackpathapiStatus

type StackpathapiStatus struct {
	Code    *int32             `json:"code,omitempty"`
	Details *[]ApiStatusDetail `json:"details,omitempty"`
	Message *string            `json:"message,omitempty"`
}

StackpathapiStatus struct for StackpathapiStatus

func NewStackpathapiStatus

func NewStackpathapiStatus() *StackpathapiStatus

NewStackpathapiStatus instantiates a new StackpathapiStatus 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 NewStackpathapiStatusWithDefaults

func NewStackpathapiStatusWithDefaults() *StackpathapiStatus

NewStackpathapiStatusWithDefaults instantiates a new StackpathapiStatus 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 (*StackpathapiStatus) GetCode

func (o *StackpathapiStatus) GetCode() int32

GetCode returns the Code field value if set, zero value otherwise.

func (*StackpathapiStatus) GetCodeOk

func (o *StackpathapiStatus) GetCodeOk() (*int32, bool)

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

func (*StackpathapiStatus) GetDetails

func (o *StackpathapiStatus) GetDetails() []ApiStatusDetail

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

func (*StackpathapiStatus) GetDetailsOk

func (o *StackpathapiStatus) GetDetailsOk() (*[]ApiStatusDetail, bool)

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

func (*StackpathapiStatus) GetMessage

func (o *StackpathapiStatus) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*StackpathapiStatus) GetMessageOk

func (o *StackpathapiStatus) GetMessageOk() (*string, bool)

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

func (*StackpathapiStatus) HasCode

func (o *StackpathapiStatus) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*StackpathapiStatus) HasDetails

func (o *StackpathapiStatus) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*StackpathapiStatus) HasMessage

func (o *StackpathapiStatus) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (StackpathapiStatus) MarshalJSON

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

func (*StackpathapiStatus) SetCode

func (o *StackpathapiStatus) SetCode(v int32)

SetCode gets a reference to the given int32 and assigns it to the Code field.

func (*StackpathapiStatus) SetDetails

func (o *StackpathapiStatus) SetDetails(v []ApiStatusDetail)

SetDetails gets a reference to the given []ApiStatusDetail and assigns it to the Details field.

func (*StackpathapiStatus) SetMessage

func (o *StackpathapiStatus) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

type StorageBucket

type StorageBucket struct {
	// The ID for the bucket
	Id *string `json:"id,omitempty"`
	// The name of the bucket
	Label *string `json:"label,omitempty"`
	// The URL used to access the bucket
	EndpointUrl *string                  `json:"endpointUrl,omitempty"`
	Visibility  *StorageBucketVisibility `json:"visibility,omitempty"`
	// The date when the bucket was created
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	// The date when the bucket was last updated
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	// The region in which the bucket is created. Available regions are: us-east-1, us-west-1, eu-central-1
	Region *string `json:"region,omitempty"`
}

StorageBucket struct for StorageBucket

func NewStorageBucket

func NewStorageBucket() *StorageBucket

NewStorageBucket instantiates a new StorageBucket 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 NewStorageBucketWithDefaults

func NewStorageBucketWithDefaults() *StorageBucket

NewStorageBucketWithDefaults instantiates a new StorageBucket 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 (*StorageBucket) GetCreatedAt

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

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

func (*StorageBucket) GetCreatedAtOk

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

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

func (*StorageBucket) GetEndpointUrl

func (o *StorageBucket) GetEndpointUrl() string

GetEndpointUrl returns the EndpointUrl field value if set, zero value otherwise.

func (*StorageBucket) GetEndpointUrlOk

func (o *StorageBucket) GetEndpointUrlOk() (*string, bool)

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

func (*StorageBucket) GetId

func (o *StorageBucket) GetId() string

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

func (*StorageBucket) GetIdOk

func (o *StorageBucket) 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 (*StorageBucket) GetLabel

func (o *StorageBucket) GetLabel() string

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

func (*StorageBucket) GetLabelOk

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

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

func (*StorageBucket) GetRegion

func (o *StorageBucket) GetRegion() string

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

func (*StorageBucket) GetRegionOk

func (o *StorageBucket) 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 (*StorageBucket) GetUpdatedAt

func (o *StorageBucket) GetUpdatedAt() time.Time

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

func (*StorageBucket) GetUpdatedAtOk

func (o *StorageBucket) GetUpdatedAtOk() (*time.Time, 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 (*StorageBucket) GetVisibility

func (o *StorageBucket) GetVisibility() StorageBucketVisibility

GetVisibility returns the Visibility field value if set, zero value otherwise.

func (*StorageBucket) GetVisibilityOk

func (o *StorageBucket) GetVisibilityOk() (*StorageBucketVisibility, bool)

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

func (*StorageBucket) HasCreatedAt

func (o *StorageBucket) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*StorageBucket) HasEndpointUrl

func (o *StorageBucket) HasEndpointUrl() bool

HasEndpointUrl returns a boolean if a field has been set.

func (*StorageBucket) HasId

func (o *StorageBucket) HasId() bool

HasId returns a boolean if a field has been set.

func (*StorageBucket) HasLabel

func (o *StorageBucket) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*StorageBucket) HasRegion

func (o *StorageBucket) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (*StorageBucket) HasUpdatedAt

func (o *StorageBucket) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*StorageBucket) HasVisibility

func (o *StorageBucket) HasVisibility() bool

HasVisibility returns a boolean if a field has been set.

func (StorageBucket) MarshalJSON

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

func (*StorageBucket) SetCreatedAt

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

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

func (*StorageBucket) SetEndpointUrl

func (o *StorageBucket) SetEndpointUrl(v string)

SetEndpointUrl gets a reference to the given string and assigns it to the EndpointUrl field.

func (*StorageBucket) SetId

func (o *StorageBucket) SetId(v string)

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

func (*StorageBucket) SetLabel

func (o *StorageBucket) SetLabel(v string)

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

func (*StorageBucket) SetRegion

func (o *StorageBucket) SetRegion(v string)

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

func (*StorageBucket) SetUpdatedAt

func (o *StorageBucket) SetUpdatedAt(v time.Time)

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

func (*StorageBucket) SetVisibility

func (o *StorageBucket) SetVisibility(v StorageBucketVisibility)

SetVisibility gets a reference to the given StorageBucketVisibility and assigns it to the Visibility field.

type StorageBucketVisibility

type StorageBucketVisibility string

StorageBucketVisibility - PRIVATE: The bucket is private and only accessibly with credentials - PUBLIC: The bucket is public and accessible over the internet

const (
	STORAGEBUCKETVISIBILITY_PRIVATE StorageBucketVisibility = "PRIVATE"
	STORAGEBUCKETVISIBILITY_PUBLIC  StorageBucketVisibility = "PUBLIC"
)

List of storageBucketVisibility

func (StorageBucketVisibility) Ptr

Ptr returns reference to storageBucketVisibility value

type StorageCreateBucketRequest

type StorageCreateBucketRequest struct {
	// The name of the bucket to be created
	Label *string `json:"label,omitempty"`
	// The region where to create the bucket, defaults to us-east-1
	Region *string `json:"region,omitempty"`
}

StorageCreateBucketRequest struct for StorageCreateBucketRequest

func NewStorageCreateBucketRequest

func NewStorageCreateBucketRequest() *StorageCreateBucketRequest

NewStorageCreateBucketRequest instantiates a new StorageCreateBucketRequest 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 NewStorageCreateBucketRequestWithDefaults

func NewStorageCreateBucketRequestWithDefaults() *StorageCreateBucketRequest

NewStorageCreateBucketRequestWithDefaults instantiates a new StorageCreateBucketRequest 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 (*StorageCreateBucketRequest) GetLabel

func (o *StorageCreateBucketRequest) GetLabel() string

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

func (*StorageCreateBucketRequest) GetLabelOk

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

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

func (*StorageCreateBucketRequest) GetRegion

func (o *StorageCreateBucketRequest) GetRegion() string

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

func (*StorageCreateBucketRequest) GetRegionOk

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

func (o *StorageCreateBucketRequest) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*StorageCreateBucketRequest) HasRegion

func (o *StorageCreateBucketRequest) HasRegion() bool

HasRegion returns a boolean if a field has been set.

func (StorageCreateBucketRequest) MarshalJSON

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

func (*StorageCreateBucketRequest) SetLabel

func (o *StorageCreateBucketRequest) SetLabel(v string)

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

func (*StorageCreateBucketRequest) SetRegion

func (o *StorageCreateBucketRequest) SetRegion(v string)

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

type StorageCreateBucketResponse

type StorageCreateBucketResponse struct {
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageCreateBucketResponse The bucket created

func NewStorageCreateBucketResponse

func NewStorageCreateBucketResponse() *StorageCreateBucketResponse

NewStorageCreateBucketResponse instantiates a new StorageCreateBucketResponse 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 NewStorageCreateBucketResponseWithDefaults

func NewStorageCreateBucketResponseWithDefaults() *StorageCreateBucketResponse

NewStorageCreateBucketResponseWithDefaults instantiates a new StorageCreateBucketResponse 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 (*StorageCreateBucketResponse) GetBucket

GetBucket returns the Bucket field value if set, zero value otherwise.

func (*StorageCreateBucketResponse) GetBucketOk

func (o *StorageCreateBucketResponse) GetBucketOk() (*StorageBucket, bool)

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

func (*StorageCreateBucketResponse) HasBucket

func (o *StorageCreateBucketResponse) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (StorageCreateBucketResponse) MarshalJSON

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

func (*StorageCreateBucketResponse) SetBucket

SetBucket gets a reference to the given StorageBucket and assigns it to the Bucket field.

type StorageGenerateCredentialsResponse

type StorageGenerateCredentialsResponse struct {
	// The ID for the access key
	AccessKey *string `json:"accessKey,omitempty"`
	// The secret key used to sign requests
	SecretKey *string `json:"secretKey,omitempty"`
}

StorageGenerateCredentialsResponse A response with new credentials

func NewStorageGenerateCredentialsResponse

func NewStorageGenerateCredentialsResponse() *StorageGenerateCredentialsResponse

NewStorageGenerateCredentialsResponse instantiates a new StorageGenerateCredentialsResponse 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 NewStorageGenerateCredentialsResponseWithDefaults

func NewStorageGenerateCredentialsResponseWithDefaults() *StorageGenerateCredentialsResponse

NewStorageGenerateCredentialsResponseWithDefaults instantiates a new StorageGenerateCredentialsResponse 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 (*StorageGenerateCredentialsResponse) GetAccessKey

func (o *StorageGenerateCredentialsResponse) GetAccessKey() string

GetAccessKey returns the AccessKey field value if set, zero value otherwise.

func (*StorageGenerateCredentialsResponse) GetAccessKeyOk

func (o *StorageGenerateCredentialsResponse) GetAccessKeyOk() (*string, bool)

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

func (*StorageGenerateCredentialsResponse) GetSecretKey

func (o *StorageGenerateCredentialsResponse) GetSecretKey() string

GetSecretKey returns the SecretKey field value if set, zero value otherwise.

func (*StorageGenerateCredentialsResponse) GetSecretKeyOk

func (o *StorageGenerateCredentialsResponse) GetSecretKeyOk() (*string, bool)

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

func (*StorageGenerateCredentialsResponse) HasAccessKey

func (o *StorageGenerateCredentialsResponse) HasAccessKey() bool

HasAccessKey returns a boolean if a field has been set.

func (*StorageGenerateCredentialsResponse) HasSecretKey

func (o *StorageGenerateCredentialsResponse) HasSecretKey() bool

HasSecretKey returns a boolean if a field has been set.

func (StorageGenerateCredentialsResponse) MarshalJSON

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

func (*StorageGenerateCredentialsResponse) SetAccessKey

func (o *StorageGenerateCredentialsResponse) SetAccessKey(v string)

SetAccessKey gets a reference to the given string and assigns it to the AccessKey field.

func (*StorageGenerateCredentialsResponse) SetSecretKey

func (o *StorageGenerateCredentialsResponse) SetSecretKey(v string)

SetSecretKey gets a reference to the given string and assigns it to the SecretKey field.

type StorageGetBucketResponse

type StorageGetBucketResponse struct {
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageGetBucketResponse The bucket for the given stack

func NewStorageGetBucketResponse

func NewStorageGetBucketResponse() *StorageGetBucketResponse

NewStorageGetBucketResponse instantiates a new StorageGetBucketResponse 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 NewStorageGetBucketResponseWithDefaults

func NewStorageGetBucketResponseWithDefaults() *StorageGetBucketResponse

NewStorageGetBucketResponseWithDefaults instantiates a new StorageGetBucketResponse 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 (*StorageGetBucketResponse) GetBucket

func (o *StorageGetBucketResponse) GetBucket() StorageBucket

GetBucket returns the Bucket field value if set, zero value otherwise.

func (*StorageGetBucketResponse) GetBucketOk

func (o *StorageGetBucketResponse) GetBucketOk() (*StorageBucket, bool)

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

func (*StorageGetBucketResponse) HasBucket

func (o *StorageGetBucketResponse) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (StorageGetBucketResponse) MarshalJSON

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

func (*StorageGetBucketResponse) SetBucket

func (o *StorageGetBucketResponse) SetBucket(v StorageBucket)

SetBucket gets a reference to the given StorageBucket and assigns it to the Bucket field.

type StorageGetBucketsResponse

type StorageGetBucketsResponse struct {
	PageInfo *PaginationPageInfo `json:"pageInfo,omitempty"`
	// The requested buckets
	Results *[]StorageBucket `json:"results,omitempty"`
}

StorageGetBucketsResponse The buckets for the given stack

func NewStorageGetBucketsResponse

func NewStorageGetBucketsResponse() *StorageGetBucketsResponse

NewStorageGetBucketsResponse instantiates a new StorageGetBucketsResponse 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 NewStorageGetBucketsResponseWithDefaults

func NewStorageGetBucketsResponseWithDefaults() *StorageGetBucketsResponse

NewStorageGetBucketsResponseWithDefaults instantiates a new StorageGetBucketsResponse 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 (*StorageGetBucketsResponse) GetPageInfo

GetPageInfo returns the PageInfo field value if set, zero value otherwise.

func (*StorageGetBucketsResponse) GetPageInfoOk

func (o *StorageGetBucketsResponse) GetPageInfoOk() (*PaginationPageInfo, bool)

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

func (*StorageGetBucketsResponse) GetResults

func (o *StorageGetBucketsResponse) GetResults() []StorageBucket

GetResults returns the Results field value if set, zero value otherwise.

func (*StorageGetBucketsResponse) GetResultsOk

func (o *StorageGetBucketsResponse) GetResultsOk() (*[]StorageBucket, bool)

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

func (*StorageGetBucketsResponse) HasPageInfo

func (o *StorageGetBucketsResponse) HasPageInfo() bool

HasPageInfo returns a boolean if a field has been set.

func (*StorageGetBucketsResponse) HasResults

func (o *StorageGetBucketsResponse) HasResults() bool

HasResults returns a boolean if a field has been set.

func (StorageGetBucketsResponse) MarshalJSON

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

func (*StorageGetBucketsResponse) SetPageInfo

SetPageInfo gets a reference to the given PaginationPageInfo and assigns it to the PageInfo field.

func (*StorageGetBucketsResponse) SetResults

func (o *StorageGetBucketsResponse) SetResults(v []StorageBucket)

SetResults gets a reference to the given []StorageBucket and assigns it to the Results field.

type StorageGetCredentialsResponse

type StorageGetCredentialsResponse struct {
	// The list of active credentials on account
	Credentials *[]GetCredentialsResponseCredential `json:"credentials,omitempty"`
}

StorageGetCredentialsResponse A response with new credentials

func NewStorageGetCredentialsResponse

func NewStorageGetCredentialsResponse() *StorageGetCredentialsResponse

NewStorageGetCredentialsResponse instantiates a new StorageGetCredentialsResponse 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 NewStorageGetCredentialsResponseWithDefaults

func NewStorageGetCredentialsResponseWithDefaults() *StorageGetCredentialsResponse

NewStorageGetCredentialsResponseWithDefaults instantiates a new StorageGetCredentialsResponse 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 (*StorageGetCredentialsResponse) GetCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*StorageGetCredentialsResponse) GetCredentialsOk

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

func (*StorageGetCredentialsResponse) HasCredentials

func (o *StorageGetCredentialsResponse) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (StorageGetCredentialsResponse) MarshalJSON

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

func (*StorageGetCredentialsResponse) SetCredentials

SetCredentials gets a reference to the given []GetCredentialsResponseCredential and assigns it to the Credentials field.

type StorageUpdateBucketRequest

type StorageUpdateBucketRequest struct {
	Visibility *StorageBucketVisibility `json:"visibility,omitempty"`
}

StorageUpdateBucketRequest struct for StorageUpdateBucketRequest

func NewStorageUpdateBucketRequest

func NewStorageUpdateBucketRequest() *StorageUpdateBucketRequest

NewStorageUpdateBucketRequest instantiates a new StorageUpdateBucketRequest 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 NewStorageUpdateBucketRequestWithDefaults

func NewStorageUpdateBucketRequestWithDefaults() *StorageUpdateBucketRequest

NewStorageUpdateBucketRequestWithDefaults instantiates a new StorageUpdateBucketRequest 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 (*StorageUpdateBucketRequest) GetVisibility

GetVisibility returns the Visibility field value if set, zero value otherwise.

func (*StorageUpdateBucketRequest) GetVisibilityOk

func (o *StorageUpdateBucketRequest) GetVisibilityOk() (*StorageBucketVisibility, bool)

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

func (*StorageUpdateBucketRequest) HasVisibility

func (o *StorageUpdateBucketRequest) HasVisibility() bool

HasVisibility returns a boolean if a field has been set.

func (StorageUpdateBucketRequest) MarshalJSON

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

func (*StorageUpdateBucketRequest) SetVisibility

SetVisibility gets a reference to the given StorageBucketVisibility and assigns it to the Visibility field.

type StorageUpdateBucketResponse

type StorageUpdateBucketResponse struct {
	Bucket *StorageBucket `json:"bucket,omitempty"`
}

StorageUpdateBucketResponse A response of the updated bucket

func NewStorageUpdateBucketResponse

func NewStorageUpdateBucketResponse() *StorageUpdateBucketResponse

NewStorageUpdateBucketResponse instantiates a new StorageUpdateBucketResponse 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 NewStorageUpdateBucketResponseWithDefaults

func NewStorageUpdateBucketResponseWithDefaults() *StorageUpdateBucketResponse

NewStorageUpdateBucketResponseWithDefaults instantiates a new StorageUpdateBucketResponse 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 (*StorageUpdateBucketResponse) GetBucket

GetBucket returns the Bucket field value if set, zero value otherwise.

func (*StorageUpdateBucketResponse) GetBucketOk

func (o *StorageUpdateBucketResponse) GetBucketOk() (*StorageBucket, bool)

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

func (*StorageUpdateBucketResponse) HasBucket

func (o *StorageUpdateBucketResponse) HasBucket() bool

HasBucket returns a boolean if a field has been set.

func (StorageUpdateBucketResponse) MarshalJSON

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

func (*StorageUpdateBucketResponse) SetBucket

SetBucket gets a reference to the given StorageBucket and assigns it to the Bucket field.

type UserCredentialsApiService

type UserCredentialsApiService service

UserCredentialsApiService UserCredentialsApi service

func (*UserCredentialsApiService) DeleteCredential

func (a *UserCredentialsApiService) DeleteCredential(ctx _context.Context, stackId string, userId string, accessKey string) apiDeleteCredentialRequest

DeleteCredential Delete credentials

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param userId A user ID
  • @param accessKey A user's access key

@return apiDeleteCredentialRequest

func (*UserCredentialsApiService) GenerateCredentials

func (a *UserCredentialsApiService) GenerateCredentials(ctx _context.Context, stackId string, userId string) apiGenerateCredentialsRequest

GenerateCredentials Create credentials Generate storage credentials for the given user. Users can only have one set of credentials. Calling this method will generate a new set and invalidate any existing ones.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param userId A user ID

@return apiGenerateCredentialsRequest

func (*UserCredentialsApiService) GetCredentials

func (a *UserCredentialsApiService) GetCredentials(ctx _context.Context, stackId string, userId string) apiGetCredentialsRequest

GetCredentials Get credentials

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param stackId A stack ID or slug
  • @param userId A user ID

@return apiGetCredentialsRequest

Source Files

Jump to

Keyboard shortcuts

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