Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiApiV1StorageBucketsCreateRequest
- type ApiApiV1StorageBucketsDestroyRequest
- type ApiApiV1StorageBucketsListRequest
- type ApiApiV1StorageBucketsPartialUpdateRequest
- type BasicAuth
- type Bucket
- func (o *Bucket) GetEdgeAccess() EdgeAccessEnum
- func (o *Bucket) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
- func (o *Bucket) GetName() string
- func (o *Bucket) GetNameOk() (*string, bool)
- func (o Bucket) MarshalJSON() ([]byte, error)
- func (o *Bucket) SetEdgeAccess(v EdgeAccessEnum)
- func (o *Bucket) SetName(v string)
- func (o Bucket) ToMap() (map[string]interface{}, error)
- func (o *Bucket) UnmarshalJSON(bytes []byte) (err error)
- type BucketCreate
- func (o *BucketCreate) GetEdgeAccess() EdgeAccessEnum
- func (o *BucketCreate) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
- func (o *BucketCreate) GetName() string
- func (o *BucketCreate) GetNameOk() (*string, bool)
- func (o BucketCreate) MarshalJSON() ([]byte, error)
- func (o *BucketCreate) SetEdgeAccess(v EdgeAccessEnum)
- func (o *BucketCreate) SetName(v string)
- func (o BucketCreate) ToMap() (map[string]interface{}, error)
- func (o *BucketCreate) UnmarshalJSON(bytes []byte) (err error)
- type BucketsAPIService
- func (a *BucketsAPIService) ApiV1StorageBucketsCreate(ctx context.Context) ApiApiV1StorageBucketsCreateRequest
- func (a *BucketsAPIService) ApiV1StorageBucketsCreateExecute(r ApiApiV1StorageBucketsCreateRequest) (*ResponseBucket, *http.Response, error)
- func (a *BucketsAPIService) ApiV1StorageBucketsDestroy(ctx context.Context, name string) ApiApiV1StorageBucketsDestroyRequest
- func (a *BucketsAPIService) ApiV1StorageBucketsDestroyExecute(r ApiApiV1StorageBucketsDestroyRequest) (*ResponseDeleteBucket, *http.Response, error)
- func (a *BucketsAPIService) ApiV1StorageBucketsList(ctx context.Context) ApiApiV1StorageBucketsListRequest
- func (a *BucketsAPIService) ApiV1StorageBucketsListExecute(r ApiApiV1StorageBucketsListRequest) (*PaginatedBucketList, *http.Response, error)
- func (a *BucketsAPIService) ApiV1StorageBucketsPartialUpdate(ctx context.Context, name string) ApiApiV1StorageBucketsPartialUpdateRequest
- func (a *BucketsAPIService) ApiV1StorageBucketsPartialUpdateExecute(r ApiApiV1StorageBucketsPartialUpdateRequest) (*ResponseBucket, *http.Response, error)
- type Configuration
- type EdgeAccessEnum
- type GenericOpenAPIError
- type MappedNullable
- type NullableBool
- type NullableBucket
- type NullableBucketCreate
- func (v NullableBucketCreate) Get() *BucketCreate
- func (v NullableBucketCreate) IsSet() bool
- func (v NullableBucketCreate) MarshalJSON() ([]byte, error)
- func (v *NullableBucketCreate) Set(val *BucketCreate)
- func (v *NullableBucketCreate) UnmarshalJSON(src []byte) error
- func (v *NullableBucketCreate) Unset()
- type NullableEdgeAccessEnum
- func (v NullableEdgeAccessEnum) Get() *EdgeAccessEnum
- func (v NullableEdgeAccessEnum) IsSet() bool
- func (v NullableEdgeAccessEnum) MarshalJSON() ([]byte, error)
- func (v *NullableEdgeAccessEnum) Set(val *EdgeAccessEnum)
- func (v *NullableEdgeAccessEnum) UnmarshalJSON(src []byte) error
- func (v *NullableEdgeAccessEnum) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullablePaginatedBucketList
- func (v NullablePaginatedBucketList) Get() *PaginatedBucketList
- func (v NullablePaginatedBucketList) IsSet() bool
- func (v NullablePaginatedBucketList) MarshalJSON() ([]byte, error)
- func (v *NullablePaginatedBucketList) Set(val *PaginatedBucketList)
- func (v *NullablePaginatedBucketList) UnmarshalJSON(src []byte) error
- func (v *NullablePaginatedBucketList) Unset()
- type NullablePatchedBucket
- func (v NullablePatchedBucket) Get() *PatchedBucket
- func (v NullablePatchedBucket) IsSet() bool
- func (v NullablePatchedBucket) MarshalJSON() ([]byte, error)
- func (v *NullablePatchedBucket) Set(val *PatchedBucket)
- func (v *NullablePatchedBucket) UnmarshalJSON(src []byte) error
- func (v *NullablePatchedBucket) Unset()
- type NullableResponseBucket
- func (v NullableResponseBucket) Get() *ResponseBucket
- func (v NullableResponseBucket) IsSet() bool
- func (v NullableResponseBucket) MarshalJSON() ([]byte, error)
- func (v *NullableResponseBucket) Set(val *ResponseBucket)
- func (v *NullableResponseBucket) UnmarshalJSON(src []byte) error
- func (v *NullableResponseBucket) Unset()
- type NullableResponseDeleteBucket
- func (v NullableResponseDeleteBucket) Get() *ResponseDeleteBucket
- func (v NullableResponseDeleteBucket) IsSet() bool
- func (v NullableResponseDeleteBucket) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteBucket) Set(val *ResponseDeleteBucket)
- func (v *NullableResponseDeleteBucket) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteBucket) Unset()
- type NullableResponseDeleteBucketData
- func (v NullableResponseDeleteBucketData) Get() *ResponseDeleteBucketData
- func (v NullableResponseDeleteBucketData) IsSet() bool
- func (v NullableResponseDeleteBucketData) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDeleteBucketData) Set(val *ResponseDeleteBucketData)
- func (v *NullableResponseDeleteBucketData) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDeleteBucketData) Unset()
- type NullableStateEnum
- type NullableString
- type NullableTime
- type PaginatedBucketList
- func (o *PaginatedBucketList) GetCount() int32
- func (o *PaginatedBucketList) GetCountOk() (*int32, bool)
- func (o *PaginatedBucketList) GetNext() string
- func (o *PaginatedBucketList) GetNextOk() (*string, bool)
- func (o *PaginatedBucketList) GetPrevious() string
- func (o *PaginatedBucketList) GetPreviousOk() (*string, bool)
- func (o *PaginatedBucketList) GetResults() []Bucket
- func (o *PaginatedBucketList) GetResultsOk() ([]Bucket, bool)
- func (o *PaginatedBucketList) HasCount() bool
- func (o *PaginatedBucketList) HasNext() bool
- func (o *PaginatedBucketList) HasPrevious() bool
- func (o *PaginatedBucketList) HasResults() bool
- func (o PaginatedBucketList) MarshalJSON() ([]byte, error)
- func (o *PaginatedBucketList) SetCount(v int32)
- func (o *PaginatedBucketList) SetNext(v string)
- func (o *PaginatedBucketList) SetNextNil()
- func (o *PaginatedBucketList) SetPrevious(v string)
- func (o *PaginatedBucketList) SetPreviousNil()
- func (o *PaginatedBucketList) SetResults(v []Bucket)
- func (o PaginatedBucketList) ToMap() (map[string]interface{}, error)
- func (o *PaginatedBucketList) UnsetNext()
- func (o *PaginatedBucketList) UnsetPrevious()
- type PatchedBucket
- func (o *PatchedBucket) GetEdgeAccess() EdgeAccessEnum
- func (o *PatchedBucket) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
- func (o *PatchedBucket) GetName() string
- func (o *PatchedBucket) GetNameOk() (*string, bool)
- func (o *PatchedBucket) HasEdgeAccess() bool
- func (o *PatchedBucket) HasName() bool
- func (o PatchedBucket) MarshalJSON() ([]byte, error)
- func (o *PatchedBucket) SetEdgeAccess(v EdgeAccessEnum)
- func (o *PatchedBucket) SetName(v string)
- func (o PatchedBucket) ToMap() (map[string]interface{}, error)
- type ResponseBucket
- func (o *ResponseBucket) GetData() Bucket
- func (o *ResponseBucket) GetDataOk() (*Bucket, bool)
- func (o *ResponseBucket) GetState() StateEnum
- func (o *ResponseBucket) GetStateOk() (*StateEnum, bool)
- func (o ResponseBucket) MarshalJSON() ([]byte, error)
- func (o *ResponseBucket) SetData(v Bucket)
- func (o *ResponseBucket) SetState(v StateEnum)
- func (o ResponseBucket) ToMap() (map[string]interface{}, error)
- func (o *ResponseBucket) UnmarshalJSON(bytes []byte) (err error)
- type ResponseDeleteBucket
- func (o *ResponseDeleteBucket) GetData() ResponseDeleteBucketData
- func (o *ResponseDeleteBucket) GetDataOk() (*ResponseDeleteBucketData, bool)
- func (o *ResponseDeleteBucket) GetState() StateEnum
- func (o *ResponseDeleteBucket) GetStateOk() (*StateEnum, bool)
- func (o ResponseDeleteBucket) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteBucket) SetData(v ResponseDeleteBucketData)
- func (o *ResponseDeleteBucket) SetState(v StateEnum)
- func (o ResponseDeleteBucket) ToMap() (map[string]interface{}, error)
- func (o *ResponseDeleteBucket) UnmarshalJSON(bytes []byte) (err error)
- type ResponseDeleteBucketData
- func (o *ResponseDeleteBucketData) GetEdgeAccess() EdgeAccessEnum
- func (o *ResponseDeleteBucketData) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
- func (o *ResponseDeleteBucketData) GetName() string
- func (o *ResponseDeleteBucketData) GetNameOk() (*string, bool)
- func (o ResponseDeleteBucketData) MarshalJSON() ([]byte, error)
- func (o *ResponseDeleteBucketData) SetEdgeAccess(v EdgeAccessEnum)
- func (o *ResponseDeleteBucketData) SetName(v string)
- func (o ResponseDeleteBucketData) ToMap() (map[string]interface{}, error)
- func (o *ResponseDeleteBucketData) UnmarshalJSON(bytes []byte) (err error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StateEnum
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedEdgeAccessEnumEnumValues = []EdgeAccessEnum{
"read_only",
"read_write",
"restricted",
}
All allowed values of EdgeAccessEnum enum
var AllowedStateEnumEnumValues = []StateEnum{
"pending",
"executed",
}
All allowed values of StateEnum enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct {
BucketsAPI *BucketsAPIService
// contains filtered or unexported fields
}
APIClient manages communication with the Object Storage API v1.0.0 (v1) 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 ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the OpenAPI operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiApiV1StorageBucketsCreateRequest ¶
type ApiApiV1StorageBucketsCreateRequest struct {
ApiService *BucketsAPIService
// contains filtered or unexported fields
}
func (ApiApiV1StorageBucketsCreateRequest) BucketCreate ¶
func (r ApiApiV1StorageBucketsCreateRequest) BucketCreate(bucketCreate BucketCreate) ApiApiV1StorageBucketsCreateRequest
func (ApiApiV1StorageBucketsCreateRequest) Execute ¶
func (r ApiApiV1StorageBucketsCreateRequest) Execute() (*ResponseBucket, *http.Response, error)
type ApiApiV1StorageBucketsDestroyRequest ¶
type ApiApiV1StorageBucketsDestroyRequest struct {
ApiService *BucketsAPIService
// contains filtered or unexported fields
}
func (ApiApiV1StorageBucketsDestroyRequest) Execute ¶
func (r ApiApiV1StorageBucketsDestroyRequest) Execute() (*ResponseDeleteBucket, *http.Response, error)
type ApiApiV1StorageBucketsListRequest ¶
type ApiApiV1StorageBucketsListRequest struct {
ApiService *BucketsAPIService
// contains filtered or unexported fields
}
func (ApiApiV1StorageBucketsListRequest) Execute ¶
func (r ApiApiV1StorageBucketsListRequest) Execute() (*PaginatedBucketList, *http.Response, error)
func (ApiApiV1StorageBucketsListRequest) Page ¶
func (r ApiApiV1StorageBucketsListRequest) Page(page int32) ApiApiV1StorageBucketsListRequest
A page number within the paginated result set.
func (ApiApiV1StorageBucketsListRequest) PageSize ¶
func (r ApiApiV1StorageBucketsListRequest) PageSize(pageSize int32) ApiApiV1StorageBucketsListRequest
Number of results to return per page.
type ApiApiV1StorageBucketsPartialUpdateRequest ¶
type ApiApiV1StorageBucketsPartialUpdateRequest struct {
ApiService *BucketsAPIService
// contains filtered or unexported fields
}
func (ApiApiV1StorageBucketsPartialUpdateRequest) Execute ¶
func (r ApiApiV1StorageBucketsPartialUpdateRequest) Execute() (*ResponseBucket, *http.Response, error)
func (ApiApiV1StorageBucketsPartialUpdateRequest) PatchedBucket ¶
func (r ApiApiV1StorageBucketsPartialUpdateRequest) PatchedBucket(patchedBucket PatchedBucket) ApiApiV1StorageBucketsPartialUpdateRequest
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 Bucket ¶
type Bucket struct {
Name string `json:"name"`
EdgeAccess EdgeAccessEnum `json:"edge_access"`
}
Bucket struct for Bucket
func NewBucket ¶
func NewBucket(name string, edgeAccess EdgeAccessEnum) *Bucket
NewBucket instantiates a new Bucket 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 NewBucketWithDefaults ¶
func NewBucketWithDefaults() *Bucket
NewBucketWithDefaults instantiates a new Bucket 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 (*Bucket) GetEdgeAccess ¶
func (o *Bucket) GetEdgeAccess() EdgeAccessEnum
GetEdgeAccess returns the EdgeAccess field value
func (*Bucket) GetEdgeAccessOk ¶
func (o *Bucket) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
GetEdgeAccessOk returns a tuple with the EdgeAccess field value and a boolean to check if the value has been set.
func (*Bucket) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (Bucket) MarshalJSON ¶
func (*Bucket) SetEdgeAccess ¶
func (o *Bucket) SetEdgeAccess(v EdgeAccessEnum)
SetEdgeAccess sets field value
func (*Bucket) UnmarshalJSON ¶
type BucketCreate ¶
type BucketCreate struct {
Name string `json:"name"`
EdgeAccess EdgeAccessEnum `json:"edge_access"`
}
BucketCreate struct for BucketCreate
func NewBucketCreate ¶
func NewBucketCreate(name string, edgeAccess EdgeAccessEnum) *BucketCreate
NewBucketCreate instantiates a new BucketCreate 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 NewBucketCreateWithDefaults ¶
func NewBucketCreateWithDefaults() *BucketCreate
NewBucketCreateWithDefaults instantiates a new BucketCreate 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 (*BucketCreate) GetEdgeAccess ¶
func (o *BucketCreate) GetEdgeAccess() EdgeAccessEnum
GetEdgeAccess returns the EdgeAccess field value
func (*BucketCreate) GetEdgeAccessOk ¶
func (o *BucketCreate) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
GetEdgeAccessOk returns a tuple with the EdgeAccess field value and a boolean to check if the value has been set.
func (*BucketCreate) GetName ¶
func (o *BucketCreate) GetName() string
GetName returns the Name field value
func (*BucketCreate) GetNameOk ¶
func (o *BucketCreate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (BucketCreate) MarshalJSON ¶
func (o BucketCreate) MarshalJSON() ([]byte, error)
func (*BucketCreate) SetEdgeAccess ¶
func (o *BucketCreate) SetEdgeAccess(v EdgeAccessEnum)
SetEdgeAccess sets field value
func (BucketCreate) ToMap ¶
func (o BucketCreate) ToMap() (map[string]interface{}, error)
func (*BucketCreate) UnmarshalJSON ¶
func (o *BucketCreate) UnmarshalJSON(bytes []byte) (err error)
type BucketsAPIService ¶
type BucketsAPIService service
BucketsAPIService BucketsAPI service
func (*BucketsAPIService) ApiV1StorageBucketsCreate ¶
func (a *BucketsAPIService) ApiV1StorageBucketsCreate(ctx context.Context) ApiApiV1StorageBucketsCreateRequest
ApiV1StorageBucketsCreate /v4/storage/buckets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiV1StorageBucketsCreateRequest
func (*BucketsAPIService) ApiV1StorageBucketsCreateExecute ¶
func (a *BucketsAPIService) ApiV1StorageBucketsCreateExecute(r ApiApiV1StorageBucketsCreateRequest) (*ResponseBucket, *http.Response, error)
Execute executes the request
@return ResponseBucket
func (*BucketsAPIService) ApiV1StorageBucketsDestroy ¶
func (a *BucketsAPIService) ApiV1StorageBucketsDestroy(ctx context.Context, name string) ApiApiV1StorageBucketsDestroyRequest
ApiV1StorageBucketsDestroy /v4/storage/buckets/:name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiApiV1StorageBucketsDestroyRequest
func (*BucketsAPIService) ApiV1StorageBucketsDestroyExecute ¶
func (a *BucketsAPIService) ApiV1StorageBucketsDestroyExecute(r ApiApiV1StorageBucketsDestroyRequest) (*ResponseDeleteBucket, *http.Response, error)
Execute executes the request
@return ResponseDeleteBucket
func (*BucketsAPIService) ApiV1StorageBucketsList ¶
func (a *BucketsAPIService) ApiV1StorageBucketsList(ctx context.Context) ApiApiV1StorageBucketsListRequest
ApiV1StorageBucketsList /v4/storage/buckets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiApiV1StorageBucketsListRequest
func (*BucketsAPIService) ApiV1StorageBucketsListExecute ¶
func (a *BucketsAPIService) ApiV1StorageBucketsListExecute(r ApiApiV1StorageBucketsListRequest) (*PaginatedBucketList, *http.Response, error)
Execute executes the request
@return PaginatedBucketList
func (*BucketsAPIService) ApiV1StorageBucketsPartialUpdate ¶
func (a *BucketsAPIService) ApiV1StorageBucketsPartialUpdate(ctx context.Context, name string) ApiApiV1StorageBucketsPartialUpdateRequest
ApiV1StorageBucketsPartialUpdate /v4/storage/buckets/:name
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param name @return ApiApiV1StorageBucketsPartialUpdateRequest
func (*BucketsAPIService) ApiV1StorageBucketsPartialUpdateExecute ¶
func (a *BucketsAPIService) ApiV1StorageBucketsPartialUpdateExecute(r ApiApiV1StorageBucketsPartialUpdateRequest) (*ResponseBucket, *http.Response, error)
Execute executes the request
@return ResponseBucket
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) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type EdgeAccessEnum ¶
type EdgeAccessEnum string
EdgeAccessEnum the model 'EdgeAccessEnum'
const ( READ_ONLY EdgeAccessEnum = "read_only" READ_WRITE EdgeAccessEnum = "read_write" RESTRICTED EdgeAccessEnum = "restricted" )
List of EdgeAccessEnum
func NewEdgeAccessEnumFromValue ¶
func NewEdgeAccessEnumFromValue(v string) (*EdgeAccessEnum, error)
NewEdgeAccessEnumFromValue returns a pointer to a valid EdgeAccessEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EdgeAccessEnum) IsValid ¶
func (v EdgeAccessEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EdgeAccessEnum) Ptr ¶
func (v EdgeAccessEnum) Ptr() *EdgeAccessEnum
Ptr returns reference to EdgeAccessEnum value
func (*EdgeAccessEnum) UnmarshalJSON ¶
func (v *EdgeAccessEnum) UnmarshalJSON(src []byte) error
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MappedNullable ¶
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 NullableBucket ¶
type NullableBucket struct {
// contains filtered or unexported fields
}
func NewNullableBucket ¶
func NewNullableBucket(val *Bucket) *NullableBucket
func (NullableBucket) Get ¶
func (v NullableBucket) Get() *Bucket
func (NullableBucket) IsSet ¶
func (v NullableBucket) IsSet() bool
func (NullableBucket) MarshalJSON ¶
func (v NullableBucket) MarshalJSON() ([]byte, error)
func (*NullableBucket) Set ¶
func (v *NullableBucket) Set(val *Bucket)
func (*NullableBucket) UnmarshalJSON ¶
func (v *NullableBucket) UnmarshalJSON(src []byte) error
func (*NullableBucket) Unset ¶
func (v *NullableBucket) Unset()
type NullableBucketCreate ¶
type NullableBucketCreate struct {
// contains filtered or unexported fields
}
func NewNullableBucketCreate ¶
func NewNullableBucketCreate(val *BucketCreate) *NullableBucketCreate
func (NullableBucketCreate) Get ¶
func (v NullableBucketCreate) Get() *BucketCreate
func (NullableBucketCreate) IsSet ¶
func (v NullableBucketCreate) IsSet() bool
func (NullableBucketCreate) MarshalJSON ¶
func (v NullableBucketCreate) MarshalJSON() ([]byte, error)
func (*NullableBucketCreate) Set ¶
func (v *NullableBucketCreate) Set(val *BucketCreate)
func (*NullableBucketCreate) UnmarshalJSON ¶
func (v *NullableBucketCreate) UnmarshalJSON(src []byte) error
func (*NullableBucketCreate) Unset ¶
func (v *NullableBucketCreate) Unset()
type NullableEdgeAccessEnum ¶
type NullableEdgeAccessEnum struct {
// contains filtered or unexported fields
}
func NewNullableEdgeAccessEnum ¶
func NewNullableEdgeAccessEnum(val *EdgeAccessEnum) *NullableEdgeAccessEnum
func (NullableEdgeAccessEnum) Get ¶
func (v NullableEdgeAccessEnum) Get() *EdgeAccessEnum
func (NullableEdgeAccessEnum) IsSet ¶
func (v NullableEdgeAccessEnum) IsSet() bool
func (NullableEdgeAccessEnum) MarshalJSON ¶
func (v NullableEdgeAccessEnum) MarshalJSON() ([]byte, error)
func (*NullableEdgeAccessEnum) Set ¶
func (v *NullableEdgeAccessEnum) Set(val *EdgeAccessEnum)
func (*NullableEdgeAccessEnum) UnmarshalJSON ¶
func (v *NullableEdgeAccessEnum) UnmarshalJSON(src []byte) error
func (*NullableEdgeAccessEnum) Unset ¶
func (v *NullableEdgeAccessEnum) 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 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 NullablePaginatedBucketList ¶
type NullablePaginatedBucketList struct {
// contains filtered or unexported fields
}
func NewNullablePaginatedBucketList ¶
func NewNullablePaginatedBucketList(val *PaginatedBucketList) *NullablePaginatedBucketList
func (NullablePaginatedBucketList) Get ¶
func (v NullablePaginatedBucketList) Get() *PaginatedBucketList
func (NullablePaginatedBucketList) IsSet ¶
func (v NullablePaginatedBucketList) IsSet() bool
func (NullablePaginatedBucketList) MarshalJSON ¶
func (v NullablePaginatedBucketList) MarshalJSON() ([]byte, error)
func (*NullablePaginatedBucketList) Set ¶
func (v *NullablePaginatedBucketList) Set(val *PaginatedBucketList)
func (*NullablePaginatedBucketList) UnmarshalJSON ¶
func (v *NullablePaginatedBucketList) UnmarshalJSON(src []byte) error
func (*NullablePaginatedBucketList) Unset ¶
func (v *NullablePaginatedBucketList) Unset()
type NullablePatchedBucket ¶
type NullablePatchedBucket struct {
// contains filtered or unexported fields
}
func NewNullablePatchedBucket ¶
func NewNullablePatchedBucket(val *PatchedBucket) *NullablePatchedBucket
func (NullablePatchedBucket) Get ¶
func (v NullablePatchedBucket) Get() *PatchedBucket
func (NullablePatchedBucket) IsSet ¶
func (v NullablePatchedBucket) IsSet() bool
func (NullablePatchedBucket) MarshalJSON ¶
func (v NullablePatchedBucket) MarshalJSON() ([]byte, error)
func (*NullablePatchedBucket) Set ¶
func (v *NullablePatchedBucket) Set(val *PatchedBucket)
func (*NullablePatchedBucket) UnmarshalJSON ¶
func (v *NullablePatchedBucket) UnmarshalJSON(src []byte) error
func (*NullablePatchedBucket) Unset ¶
func (v *NullablePatchedBucket) Unset()
type NullableResponseBucket ¶
type NullableResponseBucket struct {
// contains filtered or unexported fields
}
func NewNullableResponseBucket ¶
func NewNullableResponseBucket(val *ResponseBucket) *NullableResponseBucket
func (NullableResponseBucket) Get ¶
func (v NullableResponseBucket) Get() *ResponseBucket
func (NullableResponseBucket) IsSet ¶
func (v NullableResponseBucket) IsSet() bool
func (NullableResponseBucket) MarshalJSON ¶
func (v NullableResponseBucket) MarshalJSON() ([]byte, error)
func (*NullableResponseBucket) Set ¶
func (v *NullableResponseBucket) Set(val *ResponseBucket)
func (*NullableResponseBucket) UnmarshalJSON ¶
func (v *NullableResponseBucket) UnmarshalJSON(src []byte) error
func (*NullableResponseBucket) Unset ¶
func (v *NullableResponseBucket) Unset()
type NullableResponseDeleteBucket ¶
type NullableResponseDeleteBucket struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteBucket ¶
func NewNullableResponseDeleteBucket(val *ResponseDeleteBucket) *NullableResponseDeleteBucket
func (NullableResponseDeleteBucket) Get ¶
func (v NullableResponseDeleteBucket) Get() *ResponseDeleteBucket
func (NullableResponseDeleteBucket) IsSet ¶
func (v NullableResponseDeleteBucket) IsSet() bool
func (NullableResponseDeleteBucket) MarshalJSON ¶
func (v NullableResponseDeleteBucket) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteBucket) Set ¶
func (v *NullableResponseDeleteBucket) Set(val *ResponseDeleteBucket)
func (*NullableResponseDeleteBucket) UnmarshalJSON ¶
func (v *NullableResponseDeleteBucket) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteBucket) Unset ¶
func (v *NullableResponseDeleteBucket) Unset()
type NullableResponseDeleteBucketData ¶
type NullableResponseDeleteBucketData struct {
// contains filtered or unexported fields
}
func NewNullableResponseDeleteBucketData ¶
func NewNullableResponseDeleteBucketData(val *ResponseDeleteBucketData) *NullableResponseDeleteBucketData
func (NullableResponseDeleteBucketData) Get ¶
func (v NullableResponseDeleteBucketData) Get() *ResponseDeleteBucketData
func (NullableResponseDeleteBucketData) IsSet ¶
func (v NullableResponseDeleteBucketData) IsSet() bool
func (NullableResponseDeleteBucketData) MarshalJSON ¶
func (v NullableResponseDeleteBucketData) MarshalJSON() ([]byte, error)
func (*NullableResponseDeleteBucketData) Set ¶
func (v *NullableResponseDeleteBucketData) Set(val *ResponseDeleteBucketData)
func (*NullableResponseDeleteBucketData) UnmarshalJSON ¶
func (v *NullableResponseDeleteBucketData) UnmarshalJSON(src []byte) error
func (*NullableResponseDeleteBucketData) Unset ¶
func (v *NullableResponseDeleteBucketData) Unset()
type NullableStateEnum ¶
type NullableStateEnum struct {
// contains filtered or unexported fields
}
func NewNullableStateEnum ¶
func NewNullableStateEnum(val *StateEnum) *NullableStateEnum
func (NullableStateEnum) Get ¶
func (v NullableStateEnum) Get() *StateEnum
func (NullableStateEnum) IsSet ¶
func (v NullableStateEnum) IsSet() bool
func (NullableStateEnum) MarshalJSON ¶
func (v NullableStateEnum) MarshalJSON() ([]byte, error)
func (*NullableStateEnum) Set ¶
func (v *NullableStateEnum) Set(val *StateEnum)
func (*NullableStateEnum) UnmarshalJSON ¶
func (v *NullableStateEnum) UnmarshalJSON(src []byte) error
func (*NullableStateEnum) Unset ¶
func (v *NullableStateEnum) 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 PaginatedBucketList ¶
type PaginatedBucketList struct {
Count *int32 `json:"count,omitempty"`
Next NullableString `json:"next,omitempty"`
Previous NullableString `json:"previous,omitempty"`
Results []Bucket `json:"results,omitempty"`
}
PaginatedBucketList struct for PaginatedBucketList
func NewPaginatedBucketList ¶
func NewPaginatedBucketList() *PaginatedBucketList
NewPaginatedBucketList instantiates a new PaginatedBucketList 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 NewPaginatedBucketListWithDefaults ¶
func NewPaginatedBucketListWithDefaults() *PaginatedBucketList
NewPaginatedBucketListWithDefaults instantiates a new PaginatedBucketList 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 (*PaginatedBucketList) GetCount ¶
func (o *PaginatedBucketList) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*PaginatedBucketList) GetCountOk ¶
func (o *PaginatedBucketList) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PaginatedBucketList) GetNext ¶
func (o *PaginatedBucketList) GetNext() string
GetNext returns the Next field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedBucketList) GetNextOk ¶
func (o *PaginatedBucketList) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedBucketList) GetPrevious ¶
func (o *PaginatedBucketList) GetPrevious() string
GetPrevious returns the Previous field value if set, zero value otherwise (both if not set or set to explicit null).
func (*PaginatedBucketList) GetPreviousOk ¶
func (o *PaginatedBucketList) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PaginatedBucketList) GetResults ¶
func (o *PaginatedBucketList) GetResults() []Bucket
GetResults returns the Results field value if set, zero value otherwise.
func (*PaginatedBucketList) GetResultsOk ¶
func (o *PaginatedBucketList) GetResultsOk() ([]Bucket, 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 (*PaginatedBucketList) HasCount ¶
func (o *PaginatedBucketList) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PaginatedBucketList) HasNext ¶
func (o *PaginatedBucketList) HasNext() bool
HasNext returns a boolean if a field has been set.
func (*PaginatedBucketList) HasPrevious ¶
func (o *PaginatedBucketList) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
func (*PaginatedBucketList) HasResults ¶
func (o *PaginatedBucketList) HasResults() bool
HasResults returns a boolean if a field has been set.
func (PaginatedBucketList) MarshalJSON ¶
func (o PaginatedBucketList) MarshalJSON() ([]byte, error)
func (*PaginatedBucketList) SetCount ¶
func (o *PaginatedBucketList) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*PaginatedBucketList) SetNext ¶
func (o *PaginatedBucketList) SetNext(v string)
SetNext gets a reference to the given NullableString and assigns it to the Next field.
func (*PaginatedBucketList) SetNextNil ¶
func (o *PaginatedBucketList) SetNextNil()
SetNextNil sets the value for Next to be an explicit nil
func (*PaginatedBucketList) SetPrevious ¶
func (o *PaginatedBucketList) SetPrevious(v string)
SetPrevious gets a reference to the given NullableString and assigns it to the Previous field.
func (*PaginatedBucketList) SetPreviousNil ¶
func (o *PaginatedBucketList) SetPreviousNil()
SetPreviousNil sets the value for Previous to be an explicit nil
func (*PaginatedBucketList) SetResults ¶
func (o *PaginatedBucketList) SetResults(v []Bucket)
SetResults gets a reference to the given []Bucket and assigns it to the Results field.
func (PaginatedBucketList) ToMap ¶
func (o PaginatedBucketList) ToMap() (map[string]interface{}, error)
func (*PaginatedBucketList) UnsetNext ¶
func (o *PaginatedBucketList) UnsetNext()
UnsetNext ensures that no value is present for Next, not even an explicit nil
func (*PaginatedBucketList) UnsetPrevious ¶
func (o *PaginatedBucketList) UnsetPrevious()
UnsetPrevious ensures that no value is present for Previous, not even an explicit nil
type PatchedBucket ¶
type PatchedBucket struct {
Name *string `json:"name,omitempty"`
EdgeAccess *EdgeAccessEnum `json:"edge_access,omitempty"`
}
PatchedBucket struct for PatchedBucket
func NewPatchedBucket ¶
func NewPatchedBucket() *PatchedBucket
NewPatchedBucket instantiates a new PatchedBucket 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 NewPatchedBucketWithDefaults ¶
func NewPatchedBucketWithDefaults() *PatchedBucket
NewPatchedBucketWithDefaults instantiates a new PatchedBucket 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 (*PatchedBucket) GetEdgeAccess ¶
func (o *PatchedBucket) GetEdgeAccess() EdgeAccessEnum
GetEdgeAccess returns the EdgeAccess field value if set, zero value otherwise.
func (*PatchedBucket) GetEdgeAccessOk ¶
func (o *PatchedBucket) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
GetEdgeAccessOk returns a tuple with the EdgeAccess field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedBucket) GetName ¶
func (o *PatchedBucket) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*PatchedBucket) GetNameOk ¶
func (o *PatchedBucket) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PatchedBucket) HasEdgeAccess ¶
func (o *PatchedBucket) HasEdgeAccess() bool
HasEdgeAccess returns a boolean if a field has been set.
func (*PatchedBucket) HasName ¶
func (o *PatchedBucket) HasName() bool
HasName returns a boolean if a field has been set.
func (PatchedBucket) MarshalJSON ¶
func (o PatchedBucket) MarshalJSON() ([]byte, error)
func (*PatchedBucket) SetEdgeAccess ¶
func (o *PatchedBucket) SetEdgeAccess(v EdgeAccessEnum)
SetEdgeAccess gets a reference to the given EdgeAccessEnum and assigns it to the EdgeAccess field.
func (*PatchedBucket) SetName ¶
func (o *PatchedBucket) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (PatchedBucket) ToMap ¶
func (o PatchedBucket) ToMap() (map[string]interface{}, error)
type ResponseBucket ¶
ResponseBucket struct for ResponseBucket
func NewResponseBucket ¶
func NewResponseBucket(state StateEnum, data Bucket) *ResponseBucket
NewResponseBucket instantiates a new ResponseBucket 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 NewResponseBucketWithDefaults ¶
func NewResponseBucketWithDefaults() *ResponseBucket
NewResponseBucketWithDefaults instantiates a new ResponseBucket 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 (*ResponseBucket) GetData ¶
func (o *ResponseBucket) GetData() Bucket
GetData returns the Data field value
func (*ResponseBucket) GetDataOk ¶
func (o *ResponseBucket) GetDataOk() (*Bucket, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ResponseBucket) GetState ¶
func (o *ResponseBucket) GetState() StateEnum
GetState returns the State field value
func (*ResponseBucket) GetStateOk ¶
func (o *ResponseBucket) GetStateOk() (*StateEnum, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ResponseBucket) MarshalJSON ¶
func (o ResponseBucket) MarshalJSON() ([]byte, error)
func (*ResponseBucket) SetData ¶
func (o *ResponseBucket) SetData(v Bucket)
SetData sets field value
func (*ResponseBucket) SetState ¶
func (o *ResponseBucket) SetState(v StateEnum)
SetState sets field value
func (ResponseBucket) ToMap ¶
func (o ResponseBucket) ToMap() (map[string]interface{}, error)
func (*ResponseBucket) UnmarshalJSON ¶
func (o *ResponseBucket) UnmarshalJSON(bytes []byte) (err error)
type ResponseDeleteBucket ¶
type ResponseDeleteBucket struct {
State StateEnum `json:"state"`
Data NullableResponseDeleteBucketData `json:"data"`
}
ResponseDeleteBucket struct for ResponseDeleteBucket
func NewResponseDeleteBucket ¶
func NewResponseDeleteBucket(state StateEnum, data NullableResponseDeleteBucketData) *ResponseDeleteBucket
NewResponseDeleteBucket instantiates a new ResponseDeleteBucket 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 NewResponseDeleteBucketWithDefaults ¶
func NewResponseDeleteBucketWithDefaults() *ResponseDeleteBucket
NewResponseDeleteBucketWithDefaults instantiates a new ResponseDeleteBucket 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 (*ResponseDeleteBucket) GetData ¶
func (o *ResponseDeleteBucket) GetData() ResponseDeleteBucketData
GetData returns the Data field value If the value is explicit nil, the zero value for ResponseDeleteBucketData will be returned
func (*ResponseDeleteBucket) GetDataOk ¶
func (o *ResponseDeleteBucket) GetDataOk() (*ResponseDeleteBucketData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ResponseDeleteBucket) GetState ¶
func (o *ResponseDeleteBucket) GetState() StateEnum
GetState returns the State field value
func (*ResponseDeleteBucket) GetStateOk ¶
func (o *ResponseDeleteBucket) GetStateOk() (*StateEnum, bool)
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (ResponseDeleteBucket) MarshalJSON ¶
func (o ResponseDeleteBucket) MarshalJSON() ([]byte, error)
func (*ResponseDeleteBucket) SetData ¶
func (o *ResponseDeleteBucket) SetData(v ResponseDeleteBucketData)
SetData sets field value
func (*ResponseDeleteBucket) SetState ¶
func (o *ResponseDeleteBucket) SetState(v StateEnum)
SetState sets field value
func (ResponseDeleteBucket) ToMap ¶
func (o ResponseDeleteBucket) ToMap() (map[string]interface{}, error)
func (*ResponseDeleteBucket) UnmarshalJSON ¶
func (o *ResponseDeleteBucket) UnmarshalJSON(bytes []byte) (err error)
type ResponseDeleteBucketData ¶
type ResponseDeleteBucketData struct {
Name string `json:"name"`
EdgeAccess EdgeAccessEnum `json:"edge_access"`
}
ResponseDeleteBucketData struct for ResponseDeleteBucketData
func NewResponseDeleteBucketData ¶
func NewResponseDeleteBucketData(name string, edgeAccess EdgeAccessEnum) *ResponseDeleteBucketData
NewResponseDeleteBucketData instantiates a new ResponseDeleteBucketData 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 NewResponseDeleteBucketDataWithDefaults ¶
func NewResponseDeleteBucketDataWithDefaults() *ResponseDeleteBucketData
NewResponseDeleteBucketDataWithDefaults instantiates a new ResponseDeleteBucketData 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 (*ResponseDeleteBucketData) GetEdgeAccess ¶
func (o *ResponseDeleteBucketData) GetEdgeAccess() EdgeAccessEnum
GetEdgeAccess returns the EdgeAccess field value
func (*ResponseDeleteBucketData) GetEdgeAccessOk ¶
func (o *ResponseDeleteBucketData) GetEdgeAccessOk() (*EdgeAccessEnum, bool)
GetEdgeAccessOk returns a tuple with the EdgeAccess field value and a boolean to check if the value has been set.
func (*ResponseDeleteBucketData) GetName ¶
func (o *ResponseDeleteBucketData) GetName() string
GetName returns the Name field value
func (*ResponseDeleteBucketData) GetNameOk ¶
func (o *ResponseDeleteBucketData) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (ResponseDeleteBucketData) MarshalJSON ¶
func (o ResponseDeleteBucketData) MarshalJSON() ([]byte, error)
func (*ResponseDeleteBucketData) SetEdgeAccess ¶
func (o *ResponseDeleteBucketData) SetEdgeAccess(v EdgeAccessEnum)
SetEdgeAccess sets field value
func (*ResponseDeleteBucketData) SetName ¶
func (o *ResponseDeleteBucketData) SetName(v string)
SetName sets field value
func (ResponseDeleteBucketData) ToMap ¶
func (o ResponseDeleteBucketData) ToMap() (map[string]interface{}, error)
func (*ResponseDeleteBucketData) UnmarshalJSON ¶
func (o *ResponseDeleteBucketData) UnmarshalJSON(bytes []byte) (err error)
type ServerConfiguration ¶
type ServerConfiguration struct {
URL string
Description string
Variables map[string]ServerVariable
}
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type StateEnum ¶
type StateEnum string
StateEnum the model 'StateEnum'
func NewStateEnumFromValue ¶
NewStateEnumFromValue returns a pointer to a valid StateEnum for the value passed as argument, or an error if the value passed is not allowed by the enum