Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func NewConfiguration() *config.Configuration
- func ParameterValueToString(obj interface{}, key string) string
- 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
- func (a *APIClient) CreateAccessKey(ctx context.Context, projectId string) ApiCreateAccessKeyRequest
- func (a *APIClient) CreateAccessKeyExecute(ctx context.Context, projectId string) (*CreateAccessKeyResponse, error)
- func (a *APIClient) CreateBucket(ctx context.Context, projectId string, bucketName string) ApiCreateBucketRequest
- func (a *APIClient) CreateBucketExecute(ctx context.Context, projectId string, bucketName string) (*CreateBucketResponse, error)
- func (a *APIClient) CreateCredentialsGroup(ctx context.Context, projectId string) ApiCreateCredentialsGroupRequest
- func (a *APIClient) CreateCredentialsGroupExecute(ctx context.Context, projectId string) (*CreateCredentialsGroupResponse, error)
- func (a *APIClient) DeleteAccessKey(ctx context.Context, projectId string, keyId string) ApiDeleteAccessKeyRequest
- func (a *APIClient) DeleteAccessKeyExecute(ctx context.Context, projectId string, keyId string) (*DeleteAccessKeyResponse, error)
- func (a *APIClient) DeleteBucket(ctx context.Context, projectId string, bucketName string) ApiDeleteBucketRequest
- func (a *APIClient) DeleteBucketExecute(ctx context.Context, projectId string, bucketName string) (*DeleteBucketResponse, error)
- func (a *APIClient) DeleteCredentialsGroup(ctx context.Context, projectId string, groupId string) ApiDeleteCredentialsGroupRequest
- func (a *APIClient) DeleteCredentialsGroupExecute(ctx context.Context, projectId string, groupId string) (*DeleteCredentialsGroupResponse, error)
- func (a *APIClient) DisableService(ctx context.Context, projectId string) ApiDisableServiceRequest
- func (a *APIClient) DisableServiceExecute(ctx context.Context, projectId string) (*ProjectStatus, error)
- func (a *APIClient) EnableService(ctx context.Context, projectId string) ApiEnableServiceRequest
- func (a *APIClient) EnableServiceExecute(ctx context.Context, projectId string) (*ProjectStatus, error)
- func (a *APIClient) GetBucket(ctx context.Context, projectId string, bucketName string) ApiGetBucketRequest
- func (a *APIClient) GetBucketExecute(ctx context.Context, projectId string, bucketName string) (*GetBucketResponse, error)
- func (c *APIClient) GetConfig() *config.Configuration
- func (a *APIClient) GetServiceStatus(ctx context.Context, projectId string) ApiGetServiceStatusRequest
- func (a *APIClient) GetServiceStatusExecute(ctx context.Context, projectId string) (*ProjectStatus, error)
- func (a *APIClient) ListAccessKeys(ctx context.Context, projectId string) ApiListAccessKeysRequest
- func (a *APIClient) ListAccessKeysExecute(ctx context.Context, projectId string) (*ListAccessKeysResponse, error)
- func (a *APIClient) ListBuckets(ctx context.Context, projectId string) ApiListBucketsRequest
- func (a *APIClient) ListBucketsExecute(ctx context.Context, projectId string) (*ListBucketsResponse, error)
- func (a *APIClient) ListCredentialsGroups(ctx context.Context, projectId string) ApiListCredentialsGroupsRequest
- func (a *APIClient) ListCredentialsGroupsExecute(ctx context.Context, projectId string) (*ListCredentialsGroupsResponse, error)
- type AccessKey
- type ApiCreateAccessKeyRequest
- func (r ApiCreateAccessKeyRequest) CreateAccessKeyPayload(createAccessKeyPayload CreateAccessKeyPayload) ApiCreateAccessKeyRequest
- func (r ApiCreateAccessKeyRequest) CredentialsGroup(credentialsGroup string) ApiCreateAccessKeyRequest
- func (r ApiCreateAccessKeyRequest) Execute() (*CreateAccessKeyResponse, error)
- type ApiCreateBucketRequest
- type ApiCreateCredentialsGroupRequest
- type ApiDeleteAccessKeyRequest
- type ApiDeleteBucketRequest
- type ApiDeleteCredentialsGroupRequest
- type ApiDisableServiceRequest
- type ApiEnableServiceRequest
- type ApiGetBucketRequest
- type ApiGetServiceStatusRequest
- type ApiListAccessKeysRequest
- type ApiListBucketsRequest
- type ApiListCredentialsGroupsRequest
- type Bucket
- type CreateAccessKeyPayload
- type CreateAccessKeyResponse
- type CreateBucketResponse
- type CreateCredentialsGroupPayload
- type CreateCredentialsGroupResponse
- type CredentialsGroup
- type DefaultApiService
- type DeleteAccessKeyResponse
- type DeleteBucketResponse
- type DeleteCredentialsGroupResponse
- type DetailedError
- type ErrorMessage
- type GetBucketResponse
- type HTTPValidationError
- type ListAccessKeysResponse
- type ListBucketsResponse
- type ListCredentialsGroupsResponse
- type LocationInner
- type MappedNullable
- type NullableBool
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLocationInner
- func (v NullableLocationInner) Get() *LocationInner
- func (v NullableLocationInner) IsSet() bool
- func (v NullableLocationInner) MarshalJSON() ([]byte, error)
- func (v *NullableLocationInner) Set(val *LocationInner)
- func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
- func (v *NullableLocationInner) Unset()
- type NullableProjectScope
- func (v NullableProjectScope) Get() *ProjectScope
- func (v NullableProjectScope) IsSet() bool
- func (v NullableProjectScope) MarshalJSON() ([]byte, error)
- func (v *NullableProjectScope) Set(val *ProjectScope)
- func (v *NullableProjectScope) UnmarshalJSON(src []byte) error
- func (v *NullableProjectScope) Unset()
- type NullableString
- type NullableTime
- type ProjectScope
- type ProjectStatus
- type ValidationError
Constants ¶
This section is empty.
Variables ¶
var AllowedProjectScopeEnumValues = []ProjectScope{
"PUBLIC",
"SCHWARZ",
}
All allowed values of ProjectScope enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func NewConfiguration ¶
func NewConfiguration() *config.Configuration
NewConfiguration returns a new Configuration object
func ParameterValueToString ¶
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 {
// contains filtered or unexported fields
}
APIClient manages communication with the STACKIT Object Storage API API v1.0.7 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(opts ...config.ConfigurationOption) (*APIClient, error)
NewAPIClient creates a new API client. Optionally receives configuration options
func (*APIClient) CreateAccessKey ¶
func (a *APIClient) CreateAccessKey(ctx context.Context, projectId string) ApiCreateAccessKeyRequest
CreateAccessKey Create Access Key
Create an access key for the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiCreateAccessKeyRequest
func (*APIClient) CreateAccessKeyExecute ¶
func (*APIClient) CreateBucket ¶
func (a *APIClient) CreateBucket(ctx context.Context, projectId string, bucketName string) ApiCreateBucketRequest
CreateBucket Create Bucket
Create a bucket for the given project. Bucket with the same name cannot already exists in the object storage
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @param bucketName The name has to be dns-conform. @return ApiCreateBucketRequest
func (*APIClient) CreateBucketExecute ¶
func (*APIClient) CreateCredentialsGroup ¶
func (a *APIClient) CreateCredentialsGroup(ctx context.Context, projectId string) ApiCreateCredentialsGroupRequest
CreateCredentialsGroup Create Credentials Group
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiCreateCredentialsGroupRequest
func (*APIClient) CreateCredentialsGroupExecute ¶
func (*APIClient) DeleteAccessKey ¶
func (a *APIClient) DeleteAccessKey(ctx context.Context, projectId string, keyId string) ApiDeleteAccessKeyRequest
DeleteAccessKey Delete Access Key
Delete an access key from the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @param keyId Object storage access key @return ApiDeleteAccessKeyRequest
func (*APIClient) DeleteAccessKeyExecute ¶
func (*APIClient) DeleteBucket ¶
func (a *APIClient) DeleteBucket(ctx context.Context, projectId string, bucketName string) ApiDeleteBucketRequest
DeleteBucket Delete Bucket
Delete a bucket from the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @param bucketName The name has to be dns-conform. @return ApiDeleteBucketRequest
func (*APIClient) DeleteBucketExecute ¶
func (*APIClient) DeleteCredentialsGroup ¶
func (a *APIClient) DeleteCredentialsGroup(ctx context.Context, projectId string, groupId string) ApiDeleteCredentialsGroupRequest
DeleteCredentialsGroup Delete Credentials Group
Delete a credentials group inside a project if the project exists and no valid access keys are left in the group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @param groupId Id of the credentials group @return ApiDeleteCredentialsGroupRequest
func (*APIClient) DeleteCredentialsGroupExecute ¶
func (*APIClient) DisableService ¶
func (a *APIClient) DisableService(ctx context.Context, projectId string) ApiDisableServiceRequest
DisableService Delete Project
Delete the given project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiDisableServiceRequest
func (*APIClient) DisableServiceExecute ¶
func (*APIClient) EnableService ¶
func (a *APIClient) EnableService(ctx context.Context, projectId string) ApiEnableServiceRequest
EnableService Create Project
Create a project. Creation will also be successful if the project already exists, but will not create a duplicate
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiEnableServiceRequest
func (*APIClient) EnableServiceExecute ¶
func (*APIClient) GetBucket ¶
func (a *APIClient) GetBucket(ctx context.Context, projectId string, bucketName string) ApiGetBucketRequest
GetBucket Get Bucket
Get information for the given bucket in the project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @param bucketName The name has to be dns-conform. @return ApiGetBucketRequest
func (*APIClient) GetBucketExecute ¶
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *config.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
func (*APIClient) GetServiceStatus ¶
func (a *APIClient) GetServiceStatus(ctx context.Context, projectId string) ApiGetServiceStatusRequest
GetServiceStatus Get Project
Get project details.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiGetServiceStatusRequest
func (*APIClient) GetServiceStatusExecute ¶
func (*APIClient) ListAccessKeys ¶
func (a *APIClient) ListAccessKeys(ctx context.Context, projectId string) ApiListAccessKeysRequest
ListAccessKeys Get Access Keys
Get a list of access keys for the given project.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiListAccessKeysRequest
func (*APIClient) ListAccessKeysExecute ¶
func (*APIClient) ListBuckets ¶
func (a *APIClient) ListBuckets(ctx context.Context, projectId string) ApiListBucketsRequest
ListBuckets Get Buckets
Get the list of all buckets in the given project
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiListBucketsRequest
func (*APIClient) ListBucketsExecute ¶
func (*APIClient) ListCredentialsGroups ¶
func (a *APIClient) ListCredentialsGroups(ctx context.Context, projectId string) ApiListCredentialsGroupsRequest
ListCredentialsGroups Get Credentials Groups
Get credentials groups inside a project if the project exists
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId STACKIT project ID @return ApiListCredentialsGroupsRequest
func (*APIClient) ListCredentialsGroupsExecute ¶
type ApiCreateAccessKeyRequest ¶
type ApiCreateAccessKeyRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateAccessKeyRequest) CreateAccessKeyPayload ¶
func (r ApiCreateAccessKeyRequest) CreateAccessKeyPayload(createAccessKeyPayload CreateAccessKeyPayload) ApiCreateAccessKeyRequest
func (ApiCreateAccessKeyRequest) CredentialsGroup ¶
func (r ApiCreateAccessKeyRequest) CredentialsGroup(credentialsGroup string) ApiCreateAccessKeyRequest
func (ApiCreateAccessKeyRequest) Execute ¶
func (r ApiCreateAccessKeyRequest) Execute() (*CreateAccessKeyResponse, error)
type ApiCreateBucketRequest ¶
type ApiCreateBucketRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateBucketRequest) Execute ¶
func (r ApiCreateBucketRequest) Execute() (*CreateBucketResponse, error)
type ApiCreateCredentialsGroupRequest ¶
type ApiCreateCredentialsGroupRequest struct {
// contains filtered or unexported fields
}
func (ApiCreateCredentialsGroupRequest) CreateCredentialsGroupPayload ¶
func (r ApiCreateCredentialsGroupRequest) CreateCredentialsGroupPayload(createCredentialsGroupPayload CreateCredentialsGroupPayload) ApiCreateCredentialsGroupRequest
func (ApiCreateCredentialsGroupRequest) Execute ¶
func (r ApiCreateCredentialsGroupRequest) Execute() (*CreateCredentialsGroupResponse, error)
type ApiDeleteAccessKeyRequest ¶
type ApiDeleteAccessKeyRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteAccessKeyRequest) CredentialsGroup ¶
func (r ApiDeleteAccessKeyRequest) CredentialsGroup(credentialsGroup string) ApiDeleteAccessKeyRequest
func (ApiDeleteAccessKeyRequest) Execute ¶
func (r ApiDeleteAccessKeyRequest) Execute() (*DeleteAccessKeyResponse, error)
type ApiDeleteBucketRequest ¶
type ApiDeleteBucketRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteBucketRequest) Execute ¶
func (r ApiDeleteBucketRequest) Execute() (*DeleteBucketResponse, error)
type ApiDeleteCredentialsGroupRequest ¶
type ApiDeleteCredentialsGroupRequest struct {
// contains filtered or unexported fields
}
func (ApiDeleteCredentialsGroupRequest) Execute ¶
func (r ApiDeleteCredentialsGroupRequest) Execute() (*DeleteCredentialsGroupResponse, error)
type ApiDisableServiceRequest ¶
type ApiDisableServiceRequest struct {
// contains filtered or unexported fields
}
func (ApiDisableServiceRequest) Execute ¶
func (r ApiDisableServiceRequest) Execute() (*ProjectStatus, error)
type ApiEnableServiceRequest ¶
type ApiEnableServiceRequest struct {
// contains filtered or unexported fields
}
func (ApiEnableServiceRequest) Execute ¶
func (r ApiEnableServiceRequest) Execute() (*ProjectStatus, error)
type ApiGetBucketRequest ¶
type ApiGetBucketRequest struct {
// contains filtered or unexported fields
}
func (ApiGetBucketRequest) Execute ¶
func (r ApiGetBucketRequest) Execute() (*GetBucketResponse, error)
type ApiGetServiceStatusRequest ¶
type ApiGetServiceStatusRequest struct {
// contains filtered or unexported fields
}
func (ApiGetServiceStatusRequest) Execute ¶
func (r ApiGetServiceStatusRequest) Execute() (*ProjectStatus, error)
type ApiListAccessKeysRequest ¶
type ApiListAccessKeysRequest struct {
// contains filtered or unexported fields
}
func (ApiListAccessKeysRequest) CredentialsGroup ¶
func (r ApiListAccessKeysRequest) CredentialsGroup(credentialsGroup string) ApiListAccessKeysRequest
func (ApiListAccessKeysRequest) Execute ¶
func (r ApiListAccessKeysRequest) Execute() (*ListAccessKeysResponse, error)
type ApiListBucketsRequest ¶
type ApiListBucketsRequest struct {
// contains filtered or unexported fields
}
func (ApiListBucketsRequest) Execute ¶
func (r ApiListBucketsRequest) Execute() (*ListBucketsResponse, error)
type ApiListCredentialsGroupsRequest ¶
type ApiListCredentialsGroupsRequest struct {
// contains filtered or unexported fields
}
func (ApiListCredentialsGroupsRequest) Execute ¶
func (r ApiListCredentialsGroupsRequest) Execute() (*ListCredentialsGroupsResponse, error)
type CreateAccessKeyPayload ¶
type CreateAccessKeyResponse ¶
type CreateAccessKeyResponse struct { // Access key // REQUIRED AccessKey *string `json:"accessKey"` // Obfuscated access key // REQUIRED DisplayName *string `json:"displayName"` // Expiration date. Null means never expires. // REQUIRED Expires *string `json:"expires"` // Identifies the pair of access key and secret access key for deletion // REQUIRED KeyId *string `json:"keyId"` // Project ID // REQUIRED Project *string `json:"project"` // Secret access key // REQUIRED SecretAccessKey *string `json:"secretAccessKey"` }
type CreateBucketResponse ¶
type CreateCredentialsGroupPayload ¶
type CreateCredentialsGroupPayload struct { // Name of the group holding credentials // REQUIRED DisplayName *string `json:"displayName"` }
type CreateCredentialsGroupResponse ¶
type CreateCredentialsGroupResponse struct { // REQUIRED CredentialsGroup *CredentialsGroup `json:"credentialsGroup"` // Project ID // REQUIRED Project *string `json:"project"` }
type CredentialsGroup ¶
type DeleteAccessKeyResponse ¶
type DeleteBucketResponse ¶
type DetailedError ¶
type ErrorMessage ¶
type ErrorMessage struct { // REQUIRED Detail *[]DetailedError `json:"detail"` }
type GetBucketResponse ¶
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail *[]ValidationError `json:"detail,omitempty"`
}
type ListAccessKeysResponse ¶
type ListBucketsResponse ¶
type ListCredentialsGroupsResponse ¶
type ListCredentialsGroupsResponse struct { // REQUIRED CredentialsGroups *[]CredentialsGroup `json:"credentialsGroups"` // Project ID // REQUIRED Project *string `json:"project"` }
type LocationInner ¶
type LocationInner struct {
// contains filtered or unexported fields
}
LocationInner struct for LocationInner
func (*LocationInner) MarshalJSON ¶
func (src *LocationInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LocationInner) UnmarshalJSON ¶
func (dst *LocationInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
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 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 NullableLocationInner ¶
type NullableLocationInner struct {
// contains filtered or unexported fields
}
func NewNullableLocationInner ¶
func NewNullableLocationInner(val *LocationInner) *NullableLocationInner
func (NullableLocationInner) Get ¶
func (v NullableLocationInner) Get() *LocationInner
func (NullableLocationInner) IsSet ¶
func (v NullableLocationInner) IsSet() bool
func (NullableLocationInner) MarshalJSON ¶
func (v NullableLocationInner) MarshalJSON() ([]byte, error)
func (*NullableLocationInner) Set ¶
func (v *NullableLocationInner) Set(val *LocationInner)
func (*NullableLocationInner) UnmarshalJSON ¶
func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
func (*NullableLocationInner) Unset ¶
func (v *NullableLocationInner) Unset()
type NullableProjectScope ¶
type NullableProjectScope struct {
// contains filtered or unexported fields
}
func NewNullableProjectScope ¶
func NewNullableProjectScope(val *ProjectScope) *NullableProjectScope
func (NullableProjectScope) Get ¶
func (v NullableProjectScope) Get() *ProjectScope
func (NullableProjectScope) IsSet ¶
func (v NullableProjectScope) IsSet() bool
func (NullableProjectScope) MarshalJSON ¶
func (v NullableProjectScope) MarshalJSON() ([]byte, error)
func (*NullableProjectScope) Set ¶
func (v *NullableProjectScope) Set(val *ProjectScope)
func (*NullableProjectScope) UnmarshalJSON ¶
func (v *NullableProjectScope) UnmarshalJSON(src []byte) error
func (*NullableProjectScope) Unset ¶
func (v *NullableProjectScope) 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 ProjectScope ¶
type ProjectScope string
ProjectScope The scope of a STACKIT project can be public (default) or can have client specific special requirements.
const ( PROJECTSCOPE_PUBLIC ProjectScope = "PUBLIC" PROJECTSCOPE_SCHWARZ ProjectScope = "SCHWARZ" )
List of ProjectScope
func NewProjectScopeFromValue ¶
func NewProjectScopeFromValue(v string) (*ProjectScope, error)
NewProjectScopeFromValue returns a pointer to a valid ProjectScope for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProjectScope) IsValid ¶
func (v ProjectScope) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProjectScope) Ptr ¶
func (v ProjectScope) Ptr() *ProjectScope
Ptr returns reference to ProjectScope value
func (*ProjectScope) UnmarshalJSON ¶
func (v *ProjectScope) UnmarshalJSON(src []byte) error
type ProjectStatus ¶
type ProjectStatus struct { // Project ID // REQUIRED Project *string `json:"project"` // REQUIRED Scope *ProjectScope `json:"scope"` }
type ValidationError ¶
type ValidationError struct { // REQUIRED Loc *[]LocationInner `json:"loc"` // REQUIRED Msg *string `json:"msg"` // REQUIRED Type *string `json:"type"` }
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_access_key.go
- model_bucket.go
- model_create_access_key_payload.go
- model_create_access_key_response.go
- model_create_bucket_response.go
- model_create_credentials_group_payload.go
- model_create_credentials_group_response.go
- model_credentials_group.go
- model_delete_access_key_response.go
- model_delete_bucket_response.go
- model_delete_credentials_group_response.go
- model_detailed_error.go
- model_error_message.go
- model_get_bucket_response.go
- model_http_validation_error.go
- model_list_access_keys_response.go
- model_list_buckets_response.go
- model_list_credentials_groups_response.go
- model_location_inner.go
- model_project_scope.go
- model_project_status.go
- model_validation_error.go
- utils.go