v1api

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation ¶

Overview ¶

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var AllowedAccessScopeEnumValues = []AccessScope{
	"PUBLIC",
	"SNA",
	"unknown_default_open_api",
}

All allowed values of AccessScope enum

View Source
var AllowedAlgorithmEnumValues = []Algorithm{
	"aes_256_gcm",
	"rsa_2048_oaep_sha256",
	"rsa_3072_oaep_sha256",
	"rsa_4096_oaep_sha256",
	"rsa_4096_oaep_sha512",
	"hmac_sha256",
	"hmac_sha384",
	"hmac_sha512",
	"ecdsa_p256_sha256",
	"ecdsa_p384_sha384",
	"ecdsa_p521_sha512",
	"unknown_default_open_api",
}

All allowed values of Algorithm enum

View Source
var AllowedKeyRingStateEnumValues = []KeyRingState{
	"creating",
	"active",
	"deleted",
	"unknown_default_open_api",
}

All allowed values of KeyRingState enum

View Source
var AllowedKeyStateEnumValues = []KeyState{
	"active",
	"deleted",
	"not_available",
	"errors_exist",
	"creating",
	"no_version",
	"unknown_default_open_api",
}

All allowed values of KeyState enum

View Source
var AllowedProtectionEnumValues = []Protection{
	"software",
	"hsm",
	"unknown_default_open_api",
}

Deprecated: AllowedProtectionEnumValues is deprecated and will be removed after February 2027.

View Source
var AllowedPurposeEnumValues = []Purpose{
	"symmetric_encrypt_decrypt",
	"asymmetric_encrypt_decrypt",
	"message_authentication_code",
	"asymmetric_sign_verify",
	"unknown_default_open_api",
}

All allowed values of Purpose enum

View Source
var AllowedVersionStateEnumValues = []VersionState{
	"active",
	"creating",
	"key_material_invalid",
	"key_material_unavailable",
	"disabled",
	"destroyed",
	"unknown_default_open_api",
}

All allowed values of VersionState enum

View Source
var AllowedWrappingAlgorithmEnumValues = []WrappingAlgorithm{
	"rsa_2048_oaep_sha256",
	"rsa_3072_oaep_sha256",
	"rsa_4096_oaep_sha256",
	"rsa_4096_oaep_sha512",
	"rsa_2048_oaep_sha256_aes_256_key_wrap",
	"rsa_3072_oaep_sha256_aes_256_key_wrap",
	"rsa_4096_oaep_sha256_aes_256_key_wrap",
	"rsa_4096_oaep_sha512_aes_256_key_wrap",
	"unknown_default_open_api",
}

All allowed values of WrappingAlgorithm enum

View Source
var AllowedWrappingKeyStateEnumValues = []WrappingKeyState{
	"active",
	"creating",
	"expired",
	"deleted",
	"key_material_unavailable",
	"unknown_default_open_api",
}

All allowed values of WrappingKeyState enum

View Source
var AllowedWrappingPurposeEnumValues = []WrappingPurpose{
	"wrap_symmetric_key",
	"wrap_asymmetric_key",
	"unknown_default_open_api",
}

All allowed values of WrappingPurpose enum

Functions ¶

func CacheExpires ¶

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

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

func IsNil ¶

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func NewConfiguration ¶

func NewConfiguration() *config.Configuration

NewConfiguration returns a new Configuration object

func PtrBool ¶

func PtrBool(v bool) *bool

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

func PtrFloat32 ¶

func PtrFloat32(v float32) *float32

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

func PtrFloat64 ¶

func PtrFloat64(v float64) *float64

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

func PtrInt ¶

func PtrInt(v int) *int

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

func PtrInt32 ¶

func PtrInt32(v int32) *int32

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

func PtrInt64 ¶

func PtrInt64(v int64) *int64

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

func PtrString ¶

func PtrString(v string) *string

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

func PtrTime ¶

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

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

Types ¶

type APIClient ¶

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

APIClient manages communication with the STACKIT Key Management Service API API v1.0.0 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. 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() *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

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 AccessScope ¶

type AccessScope string

AccessScope The access scope of the key.

const (
	ACCESSSCOPE_PUBLIC                   AccessScope = "PUBLIC"
	ACCESSSCOPE_SNA                      AccessScope = "SNA"
	ACCESSSCOPE_UNKNOWN_DEFAULT_OPEN_API AccessScope = "unknown_default_open_api"
)

List of access_scope

func NewAccessScopeFromValue ¶

func NewAccessScopeFromValue(v string) (*AccessScope, error)

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

func (AccessScope) IsValid ¶

func (v AccessScope) IsValid() bool

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

func (AccessScope) Ptr ¶

func (v AccessScope) Ptr() *AccessScope

Ptr returns reference to access_scope value

func (*AccessScope) UnmarshalJSON ¶

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

type Algorithm ¶

type Algorithm string

Algorithm The algorithm the key material uses.

const (
	ALGORITHM_AES_256_GCM              Algorithm = "aes_256_gcm"
	ALGORITHM_RSA_2048_OAEP_SHA256     Algorithm = "rsa_2048_oaep_sha256"
	ALGORITHM_RSA_3072_OAEP_SHA256     Algorithm = "rsa_3072_oaep_sha256"
	ALGORITHM_RSA_4096_OAEP_SHA256     Algorithm = "rsa_4096_oaep_sha256"
	ALGORITHM_RSA_4096_OAEP_SHA512     Algorithm = "rsa_4096_oaep_sha512"
	ALGORITHM_HMAC_SHA256              Algorithm = "hmac_sha256"
	ALGORITHM_HMAC_SHA384              Algorithm = "hmac_sha384"
	ALGORITHM_HMAC_SHA512              Algorithm = "hmac_sha512"
	ALGORITHM_ECDSA_P256_SHA256        Algorithm = "ecdsa_p256_sha256"
	ALGORITHM_ECDSA_P384_SHA384        Algorithm = "ecdsa_p384_sha384"
	ALGORITHM_ECDSA_P521_SHA512        Algorithm = "ecdsa_p521_sha512"
	ALGORITHM_UNKNOWN_DEFAULT_OPEN_API Algorithm = "unknown_default_open_api"
)

List of algorithm

func NewAlgorithmFromValue ¶

func NewAlgorithmFromValue(v string) (*Algorithm, error)

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

func (Algorithm) IsValid ¶

func (v Algorithm) IsValid() bool

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

func (Algorithm) Ptr ¶

func (v Algorithm) Ptr() *Algorithm

Ptr returns reference to algorithm value

func (*Algorithm) UnmarshalJSON ¶

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

type ApiCreateKeyRequest ¶

type ApiCreateKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateKeyRequest) CreateKeyPayload ¶

func (r ApiCreateKeyRequest) CreateKeyPayload(createKeyPayload CreateKeyPayload) ApiCreateKeyRequest

func (ApiCreateKeyRequest) Execute ¶

func (r ApiCreateKeyRequest) Execute() (*Key, error)

type ApiCreateKeyRingRequest ¶

type ApiCreateKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateKeyRingRequest) CreateKeyRingPayload ¶

func (r ApiCreateKeyRingRequest) CreateKeyRingPayload(createKeyRingPayload CreateKeyRingPayload) ApiCreateKeyRingRequest

func (ApiCreateKeyRingRequest) Execute ¶

func (r ApiCreateKeyRingRequest) Execute() (*KeyRing, error)

type ApiCreateWrappingKeyRequest ¶

type ApiCreateWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload ¶

func (r ApiCreateWrappingKeyRequest) CreateWrappingKeyPayload(createWrappingKeyPayload CreateWrappingKeyPayload) ApiCreateWrappingKeyRequest

func (ApiCreateWrappingKeyRequest) Execute ¶

type ApiDecryptRequest ¶

type ApiDecryptRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDecryptRequest) DecryptPayload ¶

func (r ApiDecryptRequest) DecryptPayload(decryptPayload DecryptPayload) ApiDecryptRequest

func (ApiDecryptRequest) Execute ¶

func (r ApiDecryptRequest) Execute() (*DecryptedData, error)

type ApiDeleteKeyRequest ¶

type ApiDeleteKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteKeyRequest) Execute ¶

func (r ApiDeleteKeyRequest) Execute() error

type ApiDeleteKeyRingRequest ¶

type ApiDeleteKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteKeyRingRequest) Execute ¶

func (r ApiDeleteKeyRingRequest) Execute() error

type ApiDeleteWrappingKeyRequest ¶

type ApiDeleteWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDeleteWrappingKeyRequest) Execute ¶

func (r ApiDeleteWrappingKeyRequest) Execute() error

type ApiDestroyVersionRequest ¶

type ApiDestroyVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDestroyVersionRequest) Execute ¶

func (r ApiDestroyVersionRequest) Execute() error

type ApiDisableVersionRequest ¶

type ApiDisableVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiDisableVersionRequest) Execute ¶

func (r ApiDisableVersionRequest) Execute() error

type ApiEnableVersionRequest ¶

type ApiEnableVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEnableVersionRequest) Execute ¶

func (r ApiEnableVersionRequest) Execute() error

type ApiEncryptRequest ¶

type ApiEncryptRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiEncryptRequest) EncryptPayload ¶

func (r ApiEncryptRequest) EncryptPayload(encryptPayload EncryptPayload) ApiEncryptRequest

func (ApiEncryptRequest) Execute ¶

func (r ApiEncryptRequest) Execute() (*EncryptedData, error)

type ApiGetKeyRequest ¶

type ApiGetKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKeyRequest) Execute ¶

func (r ApiGetKeyRequest) Execute() (*Key, error)

type ApiGetKeyRingRequest ¶

type ApiGetKeyRingRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetKeyRingRequest) Execute ¶

func (r ApiGetKeyRingRequest) Execute() (*KeyRing, error)

type ApiGetVersionRequest ¶

type ApiGetVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetVersionRequest) Execute ¶

func (r ApiGetVersionRequest) Execute() (*Version, error)

type ApiGetWrappingKeyRequest ¶

type ApiGetWrappingKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiGetWrappingKeyRequest) Execute ¶

func (r ApiGetWrappingKeyRequest) Execute() (*WrappingKey, error)

type ApiImportKeyRequest ¶

type ApiImportKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiImportKeyRequest) Execute ¶

func (r ApiImportKeyRequest) Execute() (*Version, error)

func (ApiImportKeyRequest) ImportKeyPayload ¶

func (r ApiImportKeyRequest) ImportKeyPayload(importKeyPayload ImportKeyPayload) ApiImportKeyRequest

type ApiListKeyRingsRequest ¶

type ApiListKeyRingsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListKeyRingsRequest) Execute ¶

func (r ApiListKeyRingsRequest) Execute() (*KeyRingList, error)

type ApiListKeysRequest ¶

type ApiListKeysRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListKeysRequest) Execute ¶

func (r ApiListKeysRequest) Execute() (*KeyList, error)

type ApiListVersionsRequest ¶

type ApiListVersionsRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListVersionsRequest) Execute ¶

func (r ApiListVersionsRequest) Execute() (*VersionList, error)

type ApiListWrappingKeysRequest ¶

type ApiListWrappingKeysRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiListWrappingKeysRequest) Execute ¶

type ApiRestoreKeyRequest ¶

type ApiRestoreKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreKeyRequest) Execute ¶

func (r ApiRestoreKeyRequest) Execute() error

type ApiRestoreVersionRequest ¶

type ApiRestoreVersionRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRestoreVersionRequest) Execute ¶

func (r ApiRestoreVersionRequest) Execute() error

type ApiRotateKeyRequest ¶

type ApiRotateKeyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiRotateKeyRequest) Execute ¶

func (r ApiRotateKeyRequest) Execute() (*Version, error)

type ApiSignRequest ¶

type ApiSignRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiSignRequest) Execute ¶

func (r ApiSignRequest) Execute() (*SignedData, error)

func (ApiSignRequest) SignPayload ¶

func (r ApiSignRequest) SignPayload(signPayload SignPayload) ApiSignRequest

type ApiVerifyRequest ¶

type ApiVerifyRequest struct {
	ApiService DefaultAPI
	// contains filtered or unexported fields
}

func (ApiVerifyRequest) Execute ¶

func (r ApiVerifyRequest) Execute() (*VerifiedData, error)

func (ApiVerifyRequest) VerifyPayload ¶

func (r ApiVerifyRequest) VerifyPayload(verifyPayload VerifyPayload) ApiVerifyRequest

type CreateKeyPayload ¶

type CreateKeyPayload struct {
	AccessScope *AccessScope `json:"access_scope,omitempty"`
	Algorithm   Algorithm    `json:"algorithm"`
	// A user chosen description to distinguish multiple keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple keys. Valid characters: letters, digits, underscores and hyphens.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
	// States whether versions can be created or only imported.
	ImportOnly *bool `json:"importOnly,omitempty"`
	// The underlying system that is responsible for protecting the key material. Possible values are \"software\" or \"hsm\"
	Protection           string  `json:"protection"`
	Purpose              Purpose `json:"purpose"`
	AdditionalProperties map[string]interface{}
}

CreateKeyPayload struct for CreateKeyPayload

func NewCreateKeyPayload ¶

func NewCreateKeyPayload(algorithm Algorithm, displayName string, protection string, purpose Purpose) *CreateKeyPayload

NewCreateKeyPayload instantiates a new CreateKeyPayload 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 NewCreateKeyPayloadWithDefaults ¶

func NewCreateKeyPayloadWithDefaults() *CreateKeyPayload

NewCreateKeyPayloadWithDefaults instantiates a new CreateKeyPayload 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 (*CreateKeyPayload) GetAccessScope ¶

func (o *CreateKeyPayload) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value if set, zero value otherwise.

func (*CreateKeyPayload) GetAccessScopeOk ¶

func (o *CreateKeyPayload) GetAccessScopeOk() (*AccessScope, bool)

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

func (*CreateKeyPayload) GetAlgorithm ¶

func (o *CreateKeyPayload) GetAlgorithm() Algorithm

GetAlgorithm returns the Algorithm field value

func (*CreateKeyPayload) GetAlgorithmOk ¶

func (o *CreateKeyPayload) GetAlgorithmOk() (*Algorithm, bool)

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

func (*CreateKeyPayload) GetDescription ¶

func (o *CreateKeyPayload) GetDescription() string

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

func (*CreateKeyPayload) GetDescriptionOk ¶

func (o *CreateKeyPayload) 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 (*CreateKeyPayload) GetDisplayName ¶

func (o *CreateKeyPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateKeyPayload) GetDisplayNameOk ¶

func (o *CreateKeyPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateKeyPayload) GetImportOnly ¶

func (o *CreateKeyPayload) GetImportOnly() bool

GetImportOnly returns the ImportOnly field value if set, zero value otherwise.

func (*CreateKeyPayload) GetImportOnlyOk ¶

func (o *CreateKeyPayload) GetImportOnlyOk() (*bool, bool)

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

func (*CreateKeyPayload) GetProtection ¶

func (o *CreateKeyPayload) GetProtection() string

GetProtection returns the Protection field value

func (*CreateKeyPayload) GetProtectionOk ¶

func (o *CreateKeyPayload) GetProtectionOk() (*string, bool)

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

func (*CreateKeyPayload) GetPurpose ¶

func (o *CreateKeyPayload) GetPurpose() Purpose

GetPurpose returns the Purpose field value

func (*CreateKeyPayload) GetPurposeOk ¶

func (o *CreateKeyPayload) GetPurposeOk() (*Purpose, bool)

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

func (*CreateKeyPayload) HasAccessScope ¶

func (o *CreateKeyPayload) HasAccessScope() bool

HasAccessScope returns a boolean if a field has been set.

func (*CreateKeyPayload) HasDescription ¶

func (o *CreateKeyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*CreateKeyPayload) HasImportOnly ¶

func (o *CreateKeyPayload) HasImportOnly() bool

HasImportOnly returns a boolean if a field has been set.

func (CreateKeyPayload) MarshalJSON ¶

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

func (*CreateKeyPayload) SetAccessScope ¶

func (o *CreateKeyPayload) SetAccessScope(v AccessScope)

SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.

func (*CreateKeyPayload) SetAlgorithm ¶

func (o *CreateKeyPayload) SetAlgorithm(v Algorithm)

SetAlgorithm sets field value

func (*CreateKeyPayload) SetDescription ¶

func (o *CreateKeyPayload) SetDescription(v string)

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

func (*CreateKeyPayload) SetDisplayName ¶

func (o *CreateKeyPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateKeyPayload) SetImportOnly ¶

func (o *CreateKeyPayload) SetImportOnly(v bool)

SetImportOnly gets a reference to the given bool and assigns it to the ImportOnly field.

func (*CreateKeyPayload) SetProtection ¶

func (o *CreateKeyPayload) SetProtection(v string)

SetProtection sets field value

func (*CreateKeyPayload) SetPurpose ¶

func (o *CreateKeyPayload) SetPurpose(v Purpose)

SetPurpose sets field value

func (CreateKeyPayload) ToMap ¶

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

func (*CreateKeyPayload) UnmarshalJSON ¶

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

type CreateKeyRingPayload ¶

type CreateKeyRingPayload struct {
	// A user chosen description to distinguish multiple key rings.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple key rings. Valid characters: letters, digits, underscores and hyphens.
	DisplayName          string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
	AdditionalProperties map[string]interface{}
}

CreateKeyRingPayload struct for CreateKeyRingPayload

func NewCreateKeyRingPayload ¶

func NewCreateKeyRingPayload(displayName string) *CreateKeyRingPayload

NewCreateKeyRingPayload instantiates a new CreateKeyRingPayload 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 NewCreateKeyRingPayloadWithDefaults ¶

func NewCreateKeyRingPayloadWithDefaults() *CreateKeyRingPayload

NewCreateKeyRingPayloadWithDefaults instantiates a new CreateKeyRingPayload 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 (*CreateKeyRingPayload) GetDescription ¶

func (o *CreateKeyRingPayload) GetDescription() string

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

func (*CreateKeyRingPayload) GetDescriptionOk ¶

func (o *CreateKeyRingPayload) 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 (*CreateKeyRingPayload) GetDisplayName ¶

func (o *CreateKeyRingPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateKeyRingPayload) GetDisplayNameOk ¶

func (o *CreateKeyRingPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateKeyRingPayload) HasDescription ¶

func (o *CreateKeyRingPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateKeyRingPayload) MarshalJSON ¶

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

func (*CreateKeyRingPayload) SetDescription ¶

func (o *CreateKeyRingPayload) SetDescription(v string)

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

func (*CreateKeyRingPayload) SetDisplayName ¶

func (o *CreateKeyRingPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (CreateKeyRingPayload) ToMap ¶

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

func (*CreateKeyRingPayload) UnmarshalJSON ¶

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

type CreateWrappingKeyPayload ¶

type CreateWrappingKeyPayload struct {
	AccessScope *AccessScope      `json:"access_scope,omitempty"`
	Algorithm   WrappingAlgorithm `json:"algorithm"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys. Valid characters: letters, digits, underscores and hyphens.
	DisplayName string `json:"displayName" validate:"regexp=^[a-zA-Z0-9_-]+$"`
	// The underlying system that is responsible for protecting the key material. Possible values are \"software\" or \"hsm\"
	Protection           string          `json:"protection"`
	Purpose              WrappingPurpose `json:"purpose"`
	AdditionalProperties map[string]interface{}
}

CreateWrappingKeyPayload struct for CreateWrappingKeyPayload

func NewCreateWrappingKeyPayload ¶

func NewCreateWrappingKeyPayload(algorithm WrappingAlgorithm, displayName string, protection string, purpose WrappingPurpose) *CreateWrappingKeyPayload

NewCreateWrappingKeyPayload instantiates a new CreateWrappingKeyPayload 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 NewCreateWrappingKeyPayloadWithDefaults ¶

func NewCreateWrappingKeyPayloadWithDefaults() *CreateWrappingKeyPayload

NewCreateWrappingKeyPayloadWithDefaults instantiates a new CreateWrappingKeyPayload 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 (*CreateWrappingKeyPayload) GetAccessScope ¶

func (o *CreateWrappingKeyPayload) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value if set, zero value otherwise.

func (*CreateWrappingKeyPayload) GetAccessScopeOk ¶

func (o *CreateWrappingKeyPayload) GetAccessScopeOk() (*AccessScope, bool)

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

func (*CreateWrappingKeyPayload) GetAlgorithm ¶

func (o *CreateWrappingKeyPayload) GetAlgorithm() WrappingAlgorithm

GetAlgorithm returns the Algorithm field value

func (*CreateWrappingKeyPayload) GetAlgorithmOk ¶

func (o *CreateWrappingKeyPayload) GetAlgorithmOk() (*WrappingAlgorithm, bool)

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

func (*CreateWrappingKeyPayload) GetDescription ¶

func (o *CreateWrappingKeyPayload) GetDescription() string

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

func (*CreateWrappingKeyPayload) GetDescriptionOk ¶

func (o *CreateWrappingKeyPayload) 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 (*CreateWrappingKeyPayload) GetDisplayName ¶

func (o *CreateWrappingKeyPayload) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*CreateWrappingKeyPayload) GetDisplayNameOk ¶

func (o *CreateWrappingKeyPayload) GetDisplayNameOk() (*string, bool)

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

func (*CreateWrappingKeyPayload) GetProtection ¶

func (o *CreateWrappingKeyPayload) GetProtection() string

GetProtection returns the Protection field value

func (*CreateWrappingKeyPayload) GetProtectionOk ¶

func (o *CreateWrappingKeyPayload) GetProtectionOk() (*string, bool)

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

func (*CreateWrappingKeyPayload) GetPurpose ¶

func (o *CreateWrappingKeyPayload) GetPurpose() WrappingPurpose

GetPurpose returns the Purpose field value

func (*CreateWrappingKeyPayload) GetPurposeOk ¶

func (o *CreateWrappingKeyPayload) GetPurposeOk() (*WrappingPurpose, bool)

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

func (*CreateWrappingKeyPayload) HasAccessScope ¶

func (o *CreateWrappingKeyPayload) HasAccessScope() bool

HasAccessScope returns a boolean if a field has been set.

func (*CreateWrappingKeyPayload) HasDescription ¶

func (o *CreateWrappingKeyPayload) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (CreateWrappingKeyPayload) MarshalJSON ¶

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

func (*CreateWrappingKeyPayload) SetAccessScope ¶

func (o *CreateWrappingKeyPayload) SetAccessScope(v AccessScope)

SetAccessScope gets a reference to the given AccessScope and assigns it to the AccessScope field.

func (*CreateWrappingKeyPayload) SetAlgorithm ¶

func (o *CreateWrappingKeyPayload) SetAlgorithm(v WrappingAlgorithm)

SetAlgorithm sets field value

func (*CreateWrappingKeyPayload) SetDescription ¶

func (o *CreateWrappingKeyPayload) SetDescription(v string)

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

func (*CreateWrappingKeyPayload) SetDisplayName ¶

func (o *CreateWrappingKeyPayload) SetDisplayName(v string)

SetDisplayName sets field value

func (*CreateWrappingKeyPayload) SetProtection ¶

func (o *CreateWrappingKeyPayload) SetProtection(v string)

SetProtection sets field value

func (*CreateWrappingKeyPayload) SetPurpose ¶

func (o *CreateWrappingKeyPayload) SetPurpose(v WrappingPurpose)

SetPurpose sets field value

func (CreateWrappingKeyPayload) ToMap ¶

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

func (*CreateWrappingKeyPayload) UnmarshalJSON ¶

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

type DecryptPayload ¶

type DecryptPayload struct {
	// The data that has to be decrypted. Encoded in base64.
	Data                 string `json:"data"`
	AdditionalProperties map[string]interface{}
}

DecryptPayload struct for DecryptPayload

func NewDecryptPayload ¶

func NewDecryptPayload(data string) *DecryptPayload

NewDecryptPayload instantiates a new DecryptPayload 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 NewDecryptPayloadWithDefaults ¶

func NewDecryptPayloadWithDefaults() *DecryptPayload

NewDecryptPayloadWithDefaults instantiates a new DecryptPayload 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 (*DecryptPayload) GetData ¶

func (o *DecryptPayload) GetData() string

GetData returns the Data field value

func (*DecryptPayload) GetDataOk ¶

func (o *DecryptPayload) GetDataOk() (*string, bool)

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

func (DecryptPayload) MarshalJSON ¶

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

func (*DecryptPayload) SetData ¶

func (o *DecryptPayload) SetData(v string)

SetData sets field value

func (DecryptPayload) ToMap ¶

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

func (*DecryptPayload) UnmarshalJSON ¶

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

type DecryptedData ¶

type DecryptedData struct {
	// The decrypted data. Encoded in base64.
	Data                 string `json:"data"`
	AdditionalProperties map[string]interface{}
}

DecryptedData struct for DecryptedData

func NewDecryptedData ¶

func NewDecryptedData(data string) *DecryptedData

NewDecryptedData instantiates a new DecryptedData 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 NewDecryptedDataWithDefaults ¶

func NewDecryptedDataWithDefaults() *DecryptedData

NewDecryptedDataWithDefaults instantiates a new DecryptedData 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 (*DecryptedData) GetData ¶

func (o *DecryptedData) GetData() string

GetData returns the Data field value

func (*DecryptedData) GetDataOk ¶

func (o *DecryptedData) GetDataOk() (*string, bool)

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

func (DecryptedData) MarshalJSON ¶

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

func (*DecryptedData) SetData ¶

func (o *DecryptedData) SetData(v string)

SetData sets field value

func (DecryptedData) ToMap ¶

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

func (*DecryptedData) UnmarshalJSON ¶

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

type DefaultAPI ¶

type DefaultAPI interface {

	/*
		CreateKey Create key

		Creates a new key for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiCreateKeyRequest
	*/
	CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

	// CreateKeyExecute executes the request
	//  @return Key
	CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

	/*
		CreateKeyRing Create key ring

		Creates a new key ring within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@return ApiCreateKeyRingRequest
	*/
	CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

	// CreateKeyRingExecute executes the request
	//  @return KeyRing
	CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

	/*
		CreateWrappingKey Create wrapping key

		Creates a new wrapping key for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiCreateWrappingKeyRequest
	*/
	CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

	// CreateWrappingKeyExecute executes the request
	//  @return WrappingKey
	CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

	/*
		Decrypt Decrypt

		Decrypts data using the given key version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDecryptRequest
	*/
	Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

	// DecryptExecute executes the request
	//  @return DecryptedData
	DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)

	/*
		DeleteKey Delete key

		Schedules the deletion of the given key

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiDeleteKeyRequest
	*/
	DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

	// DeleteKeyExecute executes the request
	DeleteKeyExecute(r ApiDeleteKeyRequest) error

	/*
		DeleteKeyRing Delete keyring

		Deletes the given key ring if it is empty

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiDeleteKeyRingRequest
	*/
	DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

	// DeleteKeyRingExecute executes the request
	DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

	/*
		DeleteWrappingKey Delete wrapping key

		Deletes the given wrapping key

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param wrappingKeyId The wrapping key UUID.
		@return ApiDeleteWrappingKeyRequest
	*/
	DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

	// DeleteWrappingKeyExecute executes the request
	DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

	/*
		DestroyVersion Destroy version

		Removes the key material of a version permanently.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDestroyVersionRequest
	*/
	DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

	// DestroyVersionExecute executes the request
	DestroyVersionExecute(r ApiDestroyVersionRequest) error

	/*
		DisableVersion Disable version

		Disables the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiDisableVersionRequest
	*/
	DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

	// DisableVersionExecute executes the request
	DisableVersionExecute(r ApiDisableVersionRequest) error

	/*
		EnableVersion Enable version

		Enables the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiEnableVersionRequest
	*/
	EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

	// EnableVersionExecute executes the request
	EnableVersionExecute(r ApiEnableVersionRequest) error

	/*
		Encrypt Encrypt

		Encrypts data using the given key version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiEncryptRequest
	*/
	Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

	// EncryptExecute executes the request
	//  @return EncryptedData
	EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)

	/*
		GetKey Get key

		Returns the details for the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiGetKeyRequest
	*/
	GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

	// GetKeyExecute executes the request
	//  @return Key
	GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

	/*
		GetKeyRing Get key ring

		Returns the details for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiGetKeyRingRequest
	*/
	GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

	// GetKeyRingExecute executes the request
	//  @return KeyRing
	GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

	/*
		GetVersion Get version

		Returns the details for the given version.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiGetVersionRequest
	*/
	GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

	// GetVersionExecute executes the request
	//  @return Version
	GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

	/*
		GetWrappingKey Get wrapping key

		Returns the details for the given wrapping key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param wrappingKeyId The wrapping key UUID.
		@return ApiGetWrappingKeyRequest
	*/
	GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

	// GetWrappingKeyExecute executes the request
	//  @return WrappingKey
	GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

	/*
		ImportKey Import key

		Imports a new version to the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiImportKeyRequest
	*/
	ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

	// ImportKeyExecute executes the request
	//  @return Version
	ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

	/*
		ListKeyRings List key rings

		Returns a list of all key rings within the project.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@return ApiListKeyRingsRequest
	*/
	ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

	// ListKeyRingsExecute executes the request
	//  @return KeyRingList
	ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

	/*
		ListKeys List keys

		Returns the keys for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiListKeysRequest
	*/
	ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

	// ListKeysExecute executes the request
	//  @return KeyList
	ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

	/*
		ListVersions List versions

		Returns a list of all versions of a given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiListVersionsRequest
	*/
	ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

	// ListVersionsExecute executes the request
	//  @return VersionList
	ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

	/*
		ListWrappingKeys List wrapping keys

		Returns the wrapping keys for the given key ring.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@return ApiListWrappingKeysRequest
	*/
	ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

	// ListWrappingKeysExecute executes the request
	//  @return WrappingKeyList
	ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

	/*
		RestoreKey Restore deleted key

		Restores the given key from being deleted.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiRestoreKeyRequest
	*/
	RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

	// RestoreKeyExecute executes the request
	RestoreKeyExecute(r ApiRestoreKeyRequest) error

	/*
		RestoreVersion Restore version

		Restores the given version from being destroyed

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiRestoreVersionRequest
	*/
	RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

	// RestoreVersionExecute executes the request
	RestoreVersionExecute(r ApiRestoreVersionRequest) error

	/*
		RotateKey Rotate key

		Rotates the given key.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@return ApiRotateKeyRequest
	*/
	RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

	// RotateKeyExecute executes the request
	//  @return Version
	RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

	/*
		Sign Sign

		Sign data using the given key version as secret.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiSignRequest
	*/
	Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

	// SignExecute executes the request
	//  @return SignedData
	SignExecute(r ApiSignRequest) (*SignedData, error)

	/*
		Verify Verify

		Verify data using the given key version as secret.

		@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		@param projectId The STACKIT portal project UUID the key ring is part of.
		@param regionId The STACKIT region name the key ring is located in.
		@param keyRingId The key ring UUID.
		@param keyId The key UUID.
		@param versionNumber The version number.
		@return ApiVerifyRequest
	*/
	Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

	// VerifyExecute executes the request
	//  @return VerifiedData
	VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)
}

type DefaultAPIService ¶

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) CreateKey ¶

func (a *DefaultAPIService) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

CreateKey Create key

Creates a new key for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateKeyRequest

func (*DefaultAPIService) CreateKeyExecute ¶

func (a *DefaultAPIService) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

Execute executes the request

@return Key

func (*DefaultAPIService) CreateKeyRing ¶

func (a *DefaultAPIService) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

CreateKeyRing Create key ring

Creates a new key ring within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiCreateKeyRingRequest

func (*DefaultAPIService) CreateKeyRingExecute ¶

func (a *DefaultAPIService) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

Execute executes the request

@return KeyRing

func (*DefaultAPIService) CreateWrappingKey ¶

func (a *DefaultAPIService) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

CreateWrappingKey Create wrapping key

Creates a new wrapping key for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiCreateWrappingKeyRequest

func (*DefaultAPIService) CreateWrappingKeyExecute ¶

func (a *DefaultAPIService) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

Execute executes the request

@return WrappingKey

func (*DefaultAPIService) Decrypt ¶

func (a *DefaultAPIService) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

Decrypt Decrypt

Decrypts data using the given key version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDecryptRequest

func (*DefaultAPIService) DecryptExecute ¶

func (a *DefaultAPIService) DecryptExecute(r ApiDecryptRequest) (*DecryptedData, error)

Execute executes the request

@return DecryptedData

func (*DefaultAPIService) DeleteKey ¶

func (a *DefaultAPIService) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

DeleteKey Delete key

Schedules the deletion of the given key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiDeleteKeyRequest

func (*DefaultAPIService) DeleteKeyExecute ¶

func (a *DefaultAPIService) DeleteKeyExecute(r ApiDeleteKeyRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteKeyRing ¶

func (a *DefaultAPIService) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

DeleteKeyRing Delete keyring

Deletes the given key ring if it is empty

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiDeleteKeyRingRequest

func (*DefaultAPIService) DeleteKeyRingExecute ¶

func (a *DefaultAPIService) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

Execute executes the request

func (*DefaultAPIService) DeleteWrappingKey ¶

func (a *DefaultAPIService) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

DeleteWrappingKey Delete wrapping key

Deletes the given wrapping key

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiDeleteWrappingKeyRequest

func (*DefaultAPIService) DeleteWrappingKeyExecute ¶

func (a *DefaultAPIService) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

Execute executes the request

func (*DefaultAPIService) DestroyVersion ¶

func (a *DefaultAPIService) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

DestroyVersion Destroy version

Removes the key material of a version permanently.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDestroyVersionRequest

func (*DefaultAPIService) DestroyVersionExecute ¶

func (a *DefaultAPIService) DestroyVersionExecute(r ApiDestroyVersionRequest) error

Execute executes the request

func (*DefaultAPIService) DisableVersion ¶

func (a *DefaultAPIService) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

DisableVersion Disable version

Disables the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiDisableVersionRequest

func (*DefaultAPIService) DisableVersionExecute ¶

func (a *DefaultAPIService) DisableVersionExecute(r ApiDisableVersionRequest) error

Execute executes the request

func (*DefaultAPIService) EnableVersion ¶

func (a *DefaultAPIService) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

EnableVersion Enable version

Enables the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEnableVersionRequest

func (*DefaultAPIService) EnableVersionExecute ¶

func (a *DefaultAPIService) EnableVersionExecute(r ApiEnableVersionRequest) error

Execute executes the request

func (*DefaultAPIService) Encrypt ¶

func (a *DefaultAPIService) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

Encrypt Encrypt

Encrypts data using the given key version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiEncryptRequest

func (*DefaultAPIService) EncryptExecute ¶

func (a *DefaultAPIService) EncryptExecute(r ApiEncryptRequest) (*EncryptedData, error)

Execute executes the request

@return EncryptedData

func (*DefaultAPIService) GetKey ¶

func (a *DefaultAPIService) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

GetKey Get key

Returns the details for the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiGetKeyRequest

func (*DefaultAPIService) GetKeyExecute ¶

func (a *DefaultAPIService) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

Execute executes the request

@return Key

func (*DefaultAPIService) GetKeyRing ¶

func (a *DefaultAPIService) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

GetKeyRing Get key ring

Returns the details for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiGetKeyRingRequest

func (*DefaultAPIService) GetKeyRingExecute ¶

func (a *DefaultAPIService) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

Execute executes the request

@return KeyRing

func (*DefaultAPIService) GetVersion ¶

func (a *DefaultAPIService) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

GetVersion Get version

Returns the details for the given version.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiGetVersionRequest

func (*DefaultAPIService) GetVersionExecute ¶

func (a *DefaultAPIService) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

Execute executes the request

@return Version

func (*DefaultAPIService) GetWrappingKey ¶

func (a *DefaultAPIService) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

GetWrappingKey Get wrapping key

Returns the details for the given wrapping key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param wrappingKeyId The wrapping key UUID.
@return ApiGetWrappingKeyRequest

func (*DefaultAPIService) GetWrappingKeyExecute ¶

func (a *DefaultAPIService) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

Execute executes the request

@return WrappingKey

func (*DefaultAPIService) ImportKey ¶

func (a *DefaultAPIService) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

ImportKey Import key

Imports a new version to the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiImportKeyRequest

func (*DefaultAPIService) ImportKeyExecute ¶

func (a *DefaultAPIService) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

Execute executes the request

@return Version

func (*DefaultAPIService) ListKeyRings ¶

func (a *DefaultAPIService) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

ListKeyRings List key rings

Returns a list of all key rings within the project.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@return ApiListKeyRingsRequest

func (*DefaultAPIService) ListKeyRingsExecute ¶

func (a *DefaultAPIService) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

Execute executes the request

@return KeyRingList

func (*DefaultAPIService) ListKeys ¶

func (a *DefaultAPIService) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

ListKeys List keys

Returns the keys for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListKeysRequest

func (*DefaultAPIService) ListKeysExecute ¶

func (a *DefaultAPIService) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

Execute executes the request

@return KeyList

func (*DefaultAPIService) ListVersions ¶

func (a *DefaultAPIService) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

ListVersions List versions

Returns a list of all versions of a given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiListVersionsRequest

func (*DefaultAPIService) ListVersionsExecute ¶

func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

Execute executes the request

@return VersionList

func (*DefaultAPIService) ListWrappingKeys ¶

func (a *DefaultAPIService) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

ListWrappingKeys List wrapping keys

Returns the wrapping keys for the given key ring.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@return ApiListWrappingKeysRequest

func (*DefaultAPIService) ListWrappingKeysExecute ¶

func (a *DefaultAPIService) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

Execute executes the request

@return WrappingKeyList

func (*DefaultAPIService) RestoreKey ¶

func (a *DefaultAPIService) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

RestoreKey Restore deleted key

Restores the given key from being deleted.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRestoreKeyRequest

func (*DefaultAPIService) RestoreKeyExecute ¶

func (a *DefaultAPIService) RestoreKeyExecute(r ApiRestoreKeyRequest) error

Execute executes the request

func (*DefaultAPIService) RestoreVersion ¶

func (a *DefaultAPIService) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

RestoreVersion Restore version

Restores the given version from being destroyed

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiRestoreVersionRequest

func (*DefaultAPIService) RestoreVersionExecute ¶

func (a *DefaultAPIService) RestoreVersionExecute(r ApiRestoreVersionRequest) error

Execute executes the request

func (*DefaultAPIService) RotateKey ¶

func (a *DefaultAPIService) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

RotateKey Rotate key

Rotates the given key.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@return ApiRotateKeyRequest

func (*DefaultAPIService) RotateKeyExecute ¶

func (a *DefaultAPIService) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

Execute executes the request

@return Version

func (*DefaultAPIService) Sign ¶

func (a *DefaultAPIService) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

Sign Sign

Sign data using the given key version as secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiSignRequest

func (*DefaultAPIService) SignExecute ¶

func (a *DefaultAPIService) SignExecute(r ApiSignRequest) (*SignedData, error)

Execute executes the request

@return SignedData

func (*DefaultAPIService) Verify ¶

func (a *DefaultAPIService) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

Verify Verify

Verify data using the given key version as secret.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param projectId The STACKIT portal project UUID the key ring is part of.
@param regionId The STACKIT region name the key ring is located in.
@param keyRingId The key ring UUID.
@param keyId The key UUID.
@param versionNumber The version number.
@return ApiVerifyRequest

func (*DefaultAPIService) VerifyExecute ¶

func (a *DefaultAPIService) VerifyExecute(r ApiVerifyRequest) (*VerifiedData, error)

Execute executes the request

@return VerifiedData

type DefaultAPIServiceMock ¶

type DefaultAPIServiceMock struct {
	// CreateKeyExecuteMock can be populated to implement the behavior of the CreateKeyExecute function of this mock
	CreateKeyExecuteMock *func(r ApiCreateKeyRequest) (*Key, error)
	// CreateKeyRingExecuteMock can be populated to implement the behavior of the CreateKeyRingExecute function of this mock
	CreateKeyRingExecuteMock *func(r ApiCreateKeyRingRequest) (*KeyRing, error)
	// CreateWrappingKeyExecuteMock can be populated to implement the behavior of the CreateWrappingKeyExecute function of this mock
	CreateWrappingKeyExecuteMock *func(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)
	// DecryptExecuteMock can be populated to implement the behavior of the DecryptExecute function of this mock
	DecryptExecuteMock *func(r ApiDecryptRequest) (*DecryptedData, error)
	// DeleteKeyExecuteMock can be populated to implement the behavior of the DeleteKeyExecute function of this mock
	DeleteKeyExecuteMock *func(r ApiDeleteKeyRequest) error
	// DeleteKeyRingExecuteMock can be populated to implement the behavior of the DeleteKeyRingExecute function of this mock
	DeleteKeyRingExecuteMock *func(r ApiDeleteKeyRingRequest) error
	// DeleteWrappingKeyExecuteMock can be populated to implement the behavior of the DeleteWrappingKeyExecute function of this mock
	DeleteWrappingKeyExecuteMock *func(r ApiDeleteWrappingKeyRequest) error
	// DestroyVersionExecuteMock can be populated to implement the behavior of the DestroyVersionExecute function of this mock
	DestroyVersionExecuteMock *func(r ApiDestroyVersionRequest) error
	// DisableVersionExecuteMock can be populated to implement the behavior of the DisableVersionExecute function of this mock
	DisableVersionExecuteMock *func(r ApiDisableVersionRequest) error
	// EnableVersionExecuteMock can be populated to implement the behavior of the EnableVersionExecute function of this mock
	EnableVersionExecuteMock *func(r ApiEnableVersionRequest) error
	// EncryptExecuteMock can be populated to implement the behavior of the EncryptExecute function of this mock
	EncryptExecuteMock *func(r ApiEncryptRequest) (*EncryptedData, error)
	// GetKeyExecuteMock can be populated to implement the behavior of the GetKeyExecute function of this mock
	GetKeyExecuteMock *func(r ApiGetKeyRequest) (*Key, error)
	// GetKeyRingExecuteMock can be populated to implement the behavior of the GetKeyRingExecute function of this mock
	GetKeyRingExecuteMock *func(r ApiGetKeyRingRequest) (*KeyRing, error)
	// GetVersionExecuteMock can be populated to implement the behavior of the GetVersionExecute function of this mock
	GetVersionExecuteMock *func(r ApiGetVersionRequest) (*Version, error)
	// GetWrappingKeyExecuteMock can be populated to implement the behavior of the GetWrappingKeyExecute function of this mock
	GetWrappingKeyExecuteMock *func(r ApiGetWrappingKeyRequest) (*WrappingKey, error)
	// ImportKeyExecuteMock can be populated to implement the behavior of the ImportKeyExecute function of this mock
	ImportKeyExecuteMock *func(r ApiImportKeyRequest) (*Version, error)
	// ListKeyRingsExecuteMock can be populated to implement the behavior of the ListKeyRingsExecute function of this mock
	ListKeyRingsExecuteMock *func(r ApiListKeyRingsRequest) (*KeyRingList, error)
	// ListKeysExecuteMock can be populated to implement the behavior of the ListKeysExecute function of this mock
	ListKeysExecuteMock *func(r ApiListKeysRequest) (*KeyList, error)
	// ListVersionsExecuteMock can be populated to implement the behavior of the ListVersionsExecute function of this mock
	ListVersionsExecuteMock *func(r ApiListVersionsRequest) (*VersionList, error)
	// ListWrappingKeysExecuteMock can be populated to implement the behavior of the ListWrappingKeysExecute function of this mock
	ListWrappingKeysExecuteMock *func(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)
	// RestoreKeyExecuteMock can be populated to implement the behavior of the RestoreKeyExecute function of this mock
	RestoreKeyExecuteMock *func(r ApiRestoreKeyRequest) error
	// RestoreVersionExecuteMock can be populated to implement the behavior of the RestoreVersionExecute function of this mock
	RestoreVersionExecuteMock *func(r ApiRestoreVersionRequest) error
	// RotateKeyExecuteMock can be populated to implement the behavior of the RotateKeyExecute function of this mock
	RotateKeyExecuteMock *func(r ApiRotateKeyRequest) (*Version, error)
	// SignExecuteMock can be populated to implement the behavior of the SignExecute function of this mock
	SignExecuteMock *func(r ApiSignRequest) (*SignedData, error)
	// VerifyExecuteMock can be populated to implement the behavior of the VerifyExecute function of this mock
	VerifyExecuteMock *func(r ApiVerifyRequest) (*VerifiedData, error)
}

DefaultAPIServiceMock is meant to be used for testing only as a replacement for DefaultAPIService. By default all FooExecute() implementations are a no-op. Behavior of the mock can be customized by populating the callbacks in this struct.

func (DefaultAPIServiceMock) CreateKey ¶

func (a DefaultAPIServiceMock) CreateKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateKeyRequest

func (DefaultAPIServiceMock) CreateKeyExecute ¶

func (a DefaultAPIServiceMock) CreateKeyExecute(r ApiCreateKeyRequest) (*Key, error)

CreateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateKeyRing ¶

func (a DefaultAPIServiceMock) CreateKeyRing(ctx context.Context, projectId string, regionId string) ApiCreateKeyRingRequest

func (DefaultAPIServiceMock) CreateKeyRingExecute ¶

func (a DefaultAPIServiceMock) CreateKeyRingExecute(r ApiCreateKeyRingRequest) (*KeyRing, error)

CreateKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) CreateWrappingKey ¶

func (a DefaultAPIServiceMock) CreateWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string) ApiCreateWrappingKeyRequest

func (DefaultAPIServiceMock) CreateWrappingKeyExecute ¶

func (a DefaultAPIServiceMock) CreateWrappingKeyExecute(r ApiCreateWrappingKeyRequest) (*WrappingKey, error)

CreateWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the CreateWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Decrypt ¶

func (a DefaultAPIServiceMock) Decrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDecryptRequest

func (DefaultAPIServiceMock) DecryptExecute ¶

DecryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DecryptExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKey ¶

func (a DefaultAPIServiceMock) DeleteKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiDeleteKeyRequest

func (DefaultAPIServiceMock) DeleteKeyExecute ¶

func (a DefaultAPIServiceMock) DeleteKeyExecute(r ApiDeleteKeyRequest) error

DeleteKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteKeyRing ¶

func (a DefaultAPIServiceMock) DeleteKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiDeleteKeyRingRequest

func (DefaultAPIServiceMock) DeleteKeyRingExecute ¶

func (a DefaultAPIServiceMock) DeleteKeyRingExecute(r ApiDeleteKeyRingRequest) error

DeleteKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DeleteWrappingKey ¶

func (a DefaultAPIServiceMock) DeleteWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiDeleteWrappingKeyRequest

func (DefaultAPIServiceMock) DeleteWrappingKeyExecute ¶

func (a DefaultAPIServiceMock) DeleteWrappingKeyExecute(r ApiDeleteWrappingKeyRequest) error

DeleteWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DeleteWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DestroyVersion ¶

func (a DefaultAPIServiceMock) DestroyVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDestroyVersionRequest

func (DefaultAPIServiceMock) DestroyVersionExecute ¶

func (a DefaultAPIServiceMock) DestroyVersionExecute(r ApiDestroyVersionRequest) error

DestroyVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DestroyVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) DisableVersion ¶

func (a DefaultAPIServiceMock) DisableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiDisableVersionRequest

func (DefaultAPIServiceMock) DisableVersionExecute ¶

func (a DefaultAPIServiceMock) DisableVersionExecute(r ApiDisableVersionRequest) error

DisableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) EnableVersion ¶

func (a DefaultAPIServiceMock) EnableVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEnableVersionRequest

func (DefaultAPIServiceMock) EnableVersionExecute ¶

func (a DefaultAPIServiceMock) EnableVersionExecute(r ApiEnableVersionRequest) error

EnableVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EnableVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Encrypt ¶

func (a DefaultAPIServiceMock) Encrypt(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiEncryptRequest

func (DefaultAPIServiceMock) EncryptExecute ¶

EncryptExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the EncryptExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKey ¶

func (a DefaultAPIServiceMock) GetKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiGetKeyRequest

func (DefaultAPIServiceMock) GetKeyExecute ¶

func (a DefaultAPIServiceMock) GetKeyExecute(r ApiGetKeyRequest) (*Key, error)

GetKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetKeyRing ¶

func (a DefaultAPIServiceMock) GetKeyRing(ctx context.Context, projectId string, regionId string, keyRingId string) ApiGetKeyRingRequest

func (DefaultAPIServiceMock) GetKeyRingExecute ¶

func (a DefaultAPIServiceMock) GetKeyRingExecute(r ApiGetKeyRingRequest) (*KeyRing, error)

GetKeyRingExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetKeyRingExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetVersion ¶

func (a DefaultAPIServiceMock) GetVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiGetVersionRequest

func (DefaultAPIServiceMock) GetVersionExecute ¶

func (a DefaultAPIServiceMock) GetVersionExecute(r ApiGetVersionRequest) (*Version, error)

GetVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) GetWrappingKey ¶

func (a DefaultAPIServiceMock) GetWrappingKey(ctx context.Context, projectId string, regionId string, keyRingId string, wrappingKeyId string) ApiGetWrappingKeyRequest

func (DefaultAPIServiceMock) GetWrappingKeyExecute ¶

func (a DefaultAPIServiceMock) GetWrappingKeyExecute(r ApiGetWrappingKeyRequest) (*WrappingKey, error)

GetWrappingKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the GetWrappingKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ImportKey ¶

func (a DefaultAPIServiceMock) ImportKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiImportKeyRequest

func (DefaultAPIServiceMock) ImportKeyExecute ¶

func (a DefaultAPIServiceMock) ImportKeyExecute(r ApiImportKeyRequest) (*Version, error)

ImportKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ImportKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeyRings ¶

func (a DefaultAPIServiceMock) ListKeyRings(ctx context.Context, projectId string, regionId string) ApiListKeyRingsRequest

func (DefaultAPIServiceMock) ListKeyRingsExecute ¶

func (a DefaultAPIServiceMock) ListKeyRingsExecute(r ApiListKeyRingsRequest) (*KeyRingList, error)

ListKeyRingsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeyRingsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListKeys ¶

func (a DefaultAPIServiceMock) ListKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListKeysRequest

func (DefaultAPIServiceMock) ListKeysExecute ¶

func (a DefaultAPIServiceMock) ListKeysExecute(r ApiListKeysRequest) (*KeyList, error)

ListKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListKeysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListVersions ¶

func (a DefaultAPIServiceMock) ListVersions(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiListVersionsRequest

func (DefaultAPIServiceMock) ListVersionsExecute ¶

func (a DefaultAPIServiceMock) ListVersionsExecute(r ApiListVersionsRequest) (*VersionList, error)

ListVersionsExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListVersionsExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) ListWrappingKeys ¶

func (a DefaultAPIServiceMock) ListWrappingKeys(ctx context.Context, projectId string, regionId string, keyRingId string) ApiListWrappingKeysRequest

func (DefaultAPIServiceMock) ListWrappingKeysExecute ¶

func (a DefaultAPIServiceMock) ListWrappingKeysExecute(r ApiListWrappingKeysRequest) (*WrappingKeyList, error)

ListWrappingKeysExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the ListWrappingKeysExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreKey ¶

func (a DefaultAPIServiceMock) RestoreKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRestoreKeyRequest

func (DefaultAPIServiceMock) RestoreKeyExecute ¶

func (a DefaultAPIServiceMock) RestoreKeyExecute(r ApiRestoreKeyRequest) error

RestoreKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RestoreVersion ¶

func (a DefaultAPIServiceMock) RestoreVersion(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiRestoreVersionRequest

func (DefaultAPIServiceMock) RestoreVersionExecute ¶

func (a DefaultAPIServiceMock) RestoreVersionExecute(r ApiRestoreVersionRequest) error

RestoreVersionExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RestoreVersionExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) RotateKey ¶

func (a DefaultAPIServiceMock) RotateKey(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string) ApiRotateKeyRequest

func (DefaultAPIServiceMock) RotateKeyExecute ¶

func (a DefaultAPIServiceMock) RotateKeyExecute(r ApiRotateKeyRequest) (*Version, error)

RotateKeyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the RotateKeyExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Sign ¶

func (a DefaultAPIServiceMock) Sign(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiSignRequest

func (DefaultAPIServiceMock) SignExecute ¶

SignExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the SignExecuteMock field in the DefaultAPIServiceMock struct.

func (DefaultAPIServiceMock) Verify ¶

func (a DefaultAPIServiceMock) Verify(ctx context.Context, projectId string, regionId string, keyRingId string, keyId string, versionNumber int64) ApiVerifyRequest

func (DefaultAPIServiceMock) VerifyExecute ¶

VerifyExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the VerifyExecuteMock field in the DefaultAPIServiceMock struct.

type EncryptPayload ¶

type EncryptPayload struct {
	// The data that has to be encrypted. Encoded in base64.
	Data                 string `json:"data"`
	AdditionalProperties map[string]interface{}
}

EncryptPayload struct for EncryptPayload

func NewEncryptPayload ¶

func NewEncryptPayload(data string) *EncryptPayload

NewEncryptPayload instantiates a new EncryptPayload 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 NewEncryptPayloadWithDefaults ¶

func NewEncryptPayloadWithDefaults() *EncryptPayload

NewEncryptPayloadWithDefaults instantiates a new EncryptPayload 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 (*EncryptPayload) GetData ¶

func (o *EncryptPayload) GetData() string

GetData returns the Data field value

func (*EncryptPayload) GetDataOk ¶

func (o *EncryptPayload) GetDataOk() (*string, bool)

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

func (EncryptPayload) MarshalJSON ¶

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

func (*EncryptPayload) SetData ¶

func (o *EncryptPayload) SetData(v string)

SetData sets field value

func (EncryptPayload) ToMap ¶

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

func (*EncryptPayload) UnmarshalJSON ¶

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

type EncryptedData ¶

type EncryptedData struct {
	// The encrypted data. Encoded in base64.
	Data                 string `json:"data"`
	AdditionalProperties map[string]interface{}
}

EncryptedData struct for EncryptedData

func NewEncryptedData ¶

func NewEncryptedData(data string) *EncryptedData

NewEncryptedData instantiates a new EncryptedData 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 NewEncryptedDataWithDefaults ¶

func NewEncryptedDataWithDefaults() *EncryptedData

NewEncryptedDataWithDefaults instantiates a new EncryptedData 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 (*EncryptedData) GetData ¶

func (o *EncryptedData) GetData() string

GetData returns the Data field value

func (*EncryptedData) GetDataOk ¶

func (o *EncryptedData) GetDataOk() (*string, bool)

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

func (EncryptedData) MarshalJSON ¶

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

func (*EncryptedData) SetData ¶

func (o *EncryptedData) SetData(v string)

SetData sets field value

func (EncryptedData) ToMap ¶

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

func (*EncryptedData) UnmarshalJSON ¶

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

type HttpError ¶

type HttpError struct {
	// A string that gives a short information about what went wrong.
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

HttpError struct for HttpError

func NewHttpError ¶

func NewHttpError(message string) *HttpError

NewHttpError instantiates a new HttpError 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 NewHttpErrorWithDefaults ¶

func NewHttpErrorWithDefaults() *HttpError

NewHttpErrorWithDefaults instantiates a new HttpError 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 (*HttpError) GetMessage ¶

func (o *HttpError) GetMessage() string

GetMessage returns the Message field value

func (*HttpError) GetMessageOk ¶

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

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

func (HttpError) MarshalJSON ¶

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

func (*HttpError) SetMessage ¶

func (o *HttpError) SetMessage(v string)

SetMessage sets field value

func (HttpError) ToMap ¶

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

func (*HttpError) UnmarshalJSON ¶

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

type ImportKeyPayload ¶

type ImportKeyPayload struct {
	// The wrapped key material that has to be imported. Encoded in base64.
	WrappedKey string `json:"wrappedKey"`
	// The unique id of the wrapping key the key material has been wrapped with.
	WrappingKeyId        string `json:"wrappingKeyId"`
	AdditionalProperties map[string]interface{}
}

ImportKeyPayload struct for ImportKeyPayload

func NewImportKeyPayload ¶

func NewImportKeyPayload(wrappedKey string, wrappingKeyId string) *ImportKeyPayload

NewImportKeyPayload instantiates a new ImportKeyPayload 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 NewImportKeyPayloadWithDefaults ¶

func NewImportKeyPayloadWithDefaults() *ImportKeyPayload

NewImportKeyPayloadWithDefaults instantiates a new ImportKeyPayload 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 (*ImportKeyPayload) GetWrappedKey ¶

func (o *ImportKeyPayload) GetWrappedKey() string

GetWrappedKey returns the WrappedKey field value

func (*ImportKeyPayload) GetWrappedKeyOk ¶

func (o *ImportKeyPayload) GetWrappedKeyOk() (*string, bool)

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

func (*ImportKeyPayload) GetWrappingKeyId ¶

func (o *ImportKeyPayload) GetWrappingKeyId() string

GetWrappingKeyId returns the WrappingKeyId field value

func (*ImportKeyPayload) GetWrappingKeyIdOk ¶

func (o *ImportKeyPayload) GetWrappingKeyIdOk() (*string, bool)

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

func (ImportKeyPayload) MarshalJSON ¶

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

func (*ImportKeyPayload) SetWrappedKey ¶

func (o *ImportKeyPayload) SetWrappedKey(v string)

SetWrappedKey sets field value

func (*ImportKeyPayload) SetWrappingKeyId ¶

func (o *ImportKeyPayload) SetWrappingKeyId(v string)

SetWrappingKeyId sets field value

func (ImportKeyPayload) ToMap ¶

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

func (*ImportKeyPayload) UnmarshalJSON ¶

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

type Key ¶

type Key struct {
	AccessScope AccessScope `json:"access_scope"`
	Algorithm   Algorithm   `json:"algorithm"`
	// The date and time the creation of the key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// This date is set when a key is pending deletion and refers to the scheduled date of deletion
	DeletionDate *time.Time `json:"deletionDate,omitempty"`
	// A user chosen description to distinguish multiple keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple keys.
	DisplayName string `json:"displayName"`
	// A auto generated unique id which identifies the keys.
	Id string `json:"id"`
	// States whether versions can be created or only imported.
	ImportOnly bool `json:"importOnly"`
	// The unique id of the key ring this key is assigned to.
	KeyRingId string `json:"keyRingId"`
	// The underlying system that is responsible for protecting the key material. Possible values are \"software\" or \"hsm\"
	Protection           string   `json:"protection"`
	Purpose              Purpose  `json:"purpose"`
	State                KeyState `json:"state"`
	AdditionalProperties map[string]interface{}
}

Key struct for Key

func NewKey ¶

func NewKey(accessScope AccessScope, algorithm Algorithm, createdAt time.Time, displayName string, id string, importOnly bool, keyRingId string, protection string, purpose Purpose, state KeyState) *Key

NewKey instantiates a new Key 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 NewKeyWithDefaults ¶

func NewKeyWithDefaults() *Key

NewKeyWithDefaults instantiates a new Key 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 (*Key) GetAccessScope ¶

func (o *Key) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value

func (*Key) GetAccessScopeOk ¶

func (o *Key) GetAccessScopeOk() (*AccessScope, bool)

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

func (*Key) GetAlgorithm ¶

func (o *Key) GetAlgorithm() Algorithm

GetAlgorithm returns the Algorithm field value

func (*Key) GetAlgorithmOk ¶

func (o *Key) GetAlgorithmOk() (*Algorithm, bool)

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

func (*Key) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*Key) GetCreatedAtOk ¶

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

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

func (*Key) GetDeletionDate ¶

func (o *Key) GetDeletionDate() time.Time

GetDeletionDate returns the DeletionDate field value if set, zero value otherwise.

func (*Key) GetDeletionDateOk ¶

func (o *Key) GetDeletionDateOk() (*time.Time, bool)

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

func (*Key) GetDescription ¶

func (o *Key) GetDescription() string

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

func (*Key) GetDescriptionOk ¶

func (o *Key) 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 (*Key) GetDisplayName ¶

func (o *Key) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*Key) GetDisplayNameOk ¶

func (o *Key) GetDisplayNameOk() (*string, bool)

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

func (*Key) GetId ¶

func (o *Key) GetId() string

GetId returns the Id field value

func (*Key) GetIdOk ¶

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

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

func (*Key) GetImportOnly ¶

func (o *Key) GetImportOnly() bool

GetImportOnly returns the ImportOnly field value

func (*Key) GetImportOnlyOk ¶

func (o *Key) GetImportOnlyOk() (*bool, bool)

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

func (*Key) GetKeyRingId ¶

func (o *Key) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*Key) GetKeyRingIdOk ¶

func (o *Key) GetKeyRingIdOk() (*string, bool)

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

func (*Key) GetProtection ¶

func (o *Key) GetProtection() string

GetProtection returns the Protection field value

func (*Key) GetProtectionOk ¶

func (o *Key) GetProtectionOk() (*string, bool)

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

func (*Key) GetPurpose ¶

func (o *Key) GetPurpose() Purpose

GetPurpose returns the Purpose field value

func (*Key) GetPurposeOk ¶

func (o *Key) GetPurposeOk() (*Purpose, bool)

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

func (*Key) GetState ¶

func (o *Key) GetState() KeyState

GetState returns the State field value

func (*Key) GetStateOk ¶

func (o *Key) GetStateOk() (*KeyState, bool)

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

func (*Key) HasDeletionDate ¶

func (o *Key) HasDeletionDate() bool

HasDeletionDate returns a boolean if a field has been set.

func (*Key) HasDescription ¶

func (o *Key) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (Key) MarshalJSON ¶

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

func (*Key) SetAccessScope ¶

func (o *Key) SetAccessScope(v AccessScope)

SetAccessScope sets field value

func (*Key) SetAlgorithm ¶

func (o *Key) SetAlgorithm(v Algorithm)

SetAlgorithm sets field value

func (*Key) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*Key) SetDeletionDate ¶

func (o *Key) SetDeletionDate(v time.Time)

SetDeletionDate gets a reference to the given time.Time and assigns it to the DeletionDate field.

func (*Key) SetDescription ¶

func (o *Key) SetDescription(v string)

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

func (*Key) SetDisplayName ¶

func (o *Key) SetDisplayName(v string)

SetDisplayName sets field value

func (*Key) SetId ¶

func (o *Key) SetId(v string)

SetId sets field value

func (*Key) SetImportOnly ¶

func (o *Key) SetImportOnly(v bool)

SetImportOnly sets field value

func (*Key) SetKeyRingId ¶

func (o *Key) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*Key) SetProtection ¶

func (o *Key) SetProtection(v string)

SetProtection sets field value

func (*Key) SetPurpose ¶

func (o *Key) SetPurpose(v Purpose)

SetPurpose sets field value

func (*Key) SetState ¶

func (o *Key) SetState(v KeyState)

SetState sets field value

func (Key) ToMap ¶

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

func (*Key) UnmarshalJSON ¶

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

type KeyList ¶

type KeyList struct {
	Keys                 []Key `json:"keys"`
	AdditionalProperties map[string]interface{}
}

KeyList struct for KeyList

func NewKeyList ¶

func NewKeyList(keys []Key) *KeyList

NewKeyList instantiates a new KeyList 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 NewKeyListWithDefaults ¶

func NewKeyListWithDefaults() *KeyList

NewKeyListWithDefaults instantiates a new KeyList 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 (*KeyList) GetKeys ¶

func (o *KeyList) GetKeys() []Key

GetKeys returns the Keys field value

func (*KeyList) GetKeysOk ¶

func (o *KeyList) GetKeysOk() ([]Key, bool)

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

func (KeyList) MarshalJSON ¶

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

func (*KeyList) SetKeys ¶

func (o *KeyList) SetKeys(v []Key)

SetKeys sets field value

func (KeyList) ToMap ¶

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

func (*KeyList) UnmarshalJSON ¶

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

type KeyRing ¶

type KeyRing struct {
	// The date and time the creation of the key ring was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// A user chosen description to distinguish multiple key rings.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple key rings.
	DisplayName string `json:"displayName"`
	// A auto generated unique id which identifies the key ring.
	Id                   string       `json:"id"`
	State                KeyRingState `json:"state"`
	AdditionalProperties map[string]interface{}
}

KeyRing struct for KeyRing

func NewKeyRing ¶

func NewKeyRing(createdAt time.Time, displayName string, id string, state KeyRingState) *KeyRing

NewKeyRing instantiates a new KeyRing 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 NewKeyRingWithDefaults ¶

func NewKeyRingWithDefaults() *KeyRing

NewKeyRingWithDefaults instantiates a new KeyRing 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 (*KeyRing) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*KeyRing) GetCreatedAtOk ¶

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

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

func (*KeyRing) GetDescription ¶

func (o *KeyRing) GetDescription() string

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

func (*KeyRing) GetDescriptionOk ¶

func (o *KeyRing) 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 (*KeyRing) GetDisplayName ¶

func (o *KeyRing) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*KeyRing) GetDisplayNameOk ¶

func (o *KeyRing) GetDisplayNameOk() (*string, bool)

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

func (*KeyRing) GetId ¶

func (o *KeyRing) GetId() string

GetId returns the Id field value

func (*KeyRing) GetIdOk ¶

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

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

func (*KeyRing) GetState ¶

func (o *KeyRing) GetState() KeyRingState

GetState returns the State field value

func (*KeyRing) GetStateOk ¶

func (o *KeyRing) GetStateOk() (*KeyRingState, bool)

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

func (*KeyRing) HasDescription ¶

func (o *KeyRing) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (KeyRing) MarshalJSON ¶

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

func (*KeyRing) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*KeyRing) SetDescription ¶

func (o *KeyRing) SetDescription(v string)

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

func (*KeyRing) SetDisplayName ¶

func (o *KeyRing) SetDisplayName(v string)

SetDisplayName sets field value

func (*KeyRing) SetId ¶

func (o *KeyRing) SetId(v string)

SetId sets field value

func (*KeyRing) SetState ¶

func (o *KeyRing) SetState(v KeyRingState)

SetState sets field value

func (KeyRing) ToMap ¶

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

func (*KeyRing) UnmarshalJSON ¶

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

type KeyRingList ¶

type KeyRingList struct {
	KeyRings             []KeyRing `json:"keyRings"`
	AdditionalProperties map[string]interface{}
}

KeyRingList struct for KeyRingList

func NewKeyRingList ¶

func NewKeyRingList(keyRings []KeyRing) *KeyRingList

NewKeyRingList instantiates a new KeyRingList 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 NewKeyRingListWithDefaults ¶

func NewKeyRingListWithDefaults() *KeyRingList

NewKeyRingListWithDefaults instantiates a new KeyRingList 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 (*KeyRingList) GetKeyRings ¶

func (o *KeyRingList) GetKeyRings() []KeyRing

GetKeyRings returns the KeyRings field value

func (*KeyRingList) GetKeyRingsOk ¶

func (o *KeyRingList) GetKeyRingsOk() ([]KeyRing, bool)

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

func (KeyRingList) MarshalJSON ¶

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

func (*KeyRingList) SetKeyRings ¶

func (o *KeyRingList) SetKeyRings(v []KeyRing)

SetKeyRings sets field value

func (KeyRingList) ToMap ¶

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

func (*KeyRingList) UnmarshalJSON ¶

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

type KeyRingState ¶ added in v1.11.0

type KeyRingState string

KeyRingState The current state of the key ring.

const (
	KEYRINGSTATE_CREATING                 KeyRingState = "creating"
	KEYRINGSTATE_ACTIVE                   KeyRingState = "active"
	KEYRINGSTATE_DELETED                  KeyRingState = "deleted"
	KEYRINGSTATE_UNKNOWN_DEFAULT_OPEN_API KeyRingState = "unknown_default_open_api"
)

List of keyRing_state

func NewKeyRingStateFromValue ¶ added in v1.11.0

func NewKeyRingStateFromValue(v string) (*KeyRingState, error)

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

func (KeyRingState) IsValid ¶ added in v1.11.0

func (v KeyRingState) IsValid() bool

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

func (KeyRingState) Ptr ¶ added in v1.11.0

func (v KeyRingState) Ptr() *KeyRingState

Ptr returns reference to keyRing_state value

func (*KeyRingState) UnmarshalJSON ¶ added in v1.11.0

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

type KeyState ¶ added in v1.11.0

type KeyState string

KeyState The current state of the key.

const (
	KEYSTATE_ACTIVE                   KeyState = "active"
	KEYSTATE_DELETED                  KeyState = "deleted"
	KEYSTATE_NOT_AVAILABLE            KeyState = "not_available"
	KEYSTATE_ERRORS_EXIST             KeyState = "errors_exist"
	KEYSTATE_CREATING                 KeyState = "creating"
	KEYSTATE_NO_VERSION               KeyState = "no_version"
	KEYSTATE_UNKNOWN_DEFAULT_OPEN_API KeyState = "unknown_default_open_api"
)

List of key_state

func NewKeyStateFromValue ¶ added in v1.11.0

func NewKeyStateFromValue(v string) (*KeyState, error)

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

func (KeyState) IsValid ¶ added in v1.11.0

func (v KeyState) IsValid() bool

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

func (KeyState) Ptr ¶ added in v1.11.0

func (v KeyState) Ptr() *KeyState

Ptr returns reference to key_state value

func (*KeyState) UnmarshalJSON ¶ added in v1.11.0

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

type MappedNullable ¶

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

type NullableAccessScope ¶

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

func NewNullableAccessScope ¶

func NewNullableAccessScope(val *AccessScope) *NullableAccessScope

func (NullableAccessScope) Get ¶

func (NullableAccessScope) IsSet ¶

func (v NullableAccessScope) IsSet() bool

func (NullableAccessScope) MarshalJSON ¶

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

func (*NullableAccessScope) Set ¶

func (v *NullableAccessScope) Set(val *AccessScope)

func (*NullableAccessScope) UnmarshalJSON ¶

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

func (*NullableAccessScope) Unset ¶

func (v *NullableAccessScope) Unset()

type NullableAlgorithm ¶

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

func NewNullableAlgorithm ¶

func NewNullableAlgorithm(val *Algorithm) *NullableAlgorithm

func (NullableAlgorithm) Get ¶

func (v NullableAlgorithm) Get() *Algorithm

func (NullableAlgorithm) IsSet ¶

func (v NullableAlgorithm) IsSet() bool

func (NullableAlgorithm) MarshalJSON ¶

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

func (*NullableAlgorithm) Set ¶

func (v *NullableAlgorithm) Set(val *Algorithm)

func (*NullableAlgorithm) UnmarshalJSON ¶

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

func (*NullableAlgorithm) Unset ¶

func (v *NullableAlgorithm) 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 NullableCreateKeyPayload ¶

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

func NewNullableCreateKeyPayload ¶

func NewNullableCreateKeyPayload(val *CreateKeyPayload) *NullableCreateKeyPayload

func (NullableCreateKeyPayload) Get ¶

func (NullableCreateKeyPayload) IsSet ¶

func (v NullableCreateKeyPayload) IsSet() bool

func (NullableCreateKeyPayload) MarshalJSON ¶

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

func (*NullableCreateKeyPayload) Set ¶

func (*NullableCreateKeyPayload) UnmarshalJSON ¶

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

func (*NullableCreateKeyPayload) Unset ¶

func (v *NullableCreateKeyPayload) Unset()

type NullableCreateKeyRingPayload ¶

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

func (NullableCreateKeyRingPayload) Get ¶

func (NullableCreateKeyRingPayload) IsSet ¶

func (NullableCreateKeyRingPayload) MarshalJSON ¶

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

func (*NullableCreateKeyRingPayload) Set ¶

func (*NullableCreateKeyRingPayload) UnmarshalJSON ¶

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

func (*NullableCreateKeyRingPayload) Unset ¶

func (v *NullableCreateKeyRingPayload) Unset()

type NullableCreateWrappingKeyPayload ¶

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

func (NullableCreateWrappingKeyPayload) Get ¶

func (NullableCreateWrappingKeyPayload) IsSet ¶

func (NullableCreateWrappingKeyPayload) MarshalJSON ¶

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

func (*NullableCreateWrappingKeyPayload) Set ¶

func (*NullableCreateWrappingKeyPayload) UnmarshalJSON ¶

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

func (*NullableCreateWrappingKeyPayload) Unset ¶

type NullableDecryptPayload ¶

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

func NewNullableDecryptPayload ¶

func NewNullableDecryptPayload(val *DecryptPayload) *NullableDecryptPayload

func (NullableDecryptPayload) Get ¶

func (NullableDecryptPayload) IsSet ¶

func (v NullableDecryptPayload) IsSet() bool

func (NullableDecryptPayload) MarshalJSON ¶

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

func (*NullableDecryptPayload) Set ¶

func (*NullableDecryptPayload) UnmarshalJSON ¶

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

func (*NullableDecryptPayload) Unset ¶

func (v *NullableDecryptPayload) Unset()

type NullableDecryptedData ¶

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

func NewNullableDecryptedData ¶

func NewNullableDecryptedData(val *DecryptedData) *NullableDecryptedData

func (NullableDecryptedData) Get ¶

func (NullableDecryptedData) IsSet ¶

func (v NullableDecryptedData) IsSet() bool

func (NullableDecryptedData) MarshalJSON ¶

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

func (*NullableDecryptedData) Set ¶

func (v *NullableDecryptedData) Set(val *DecryptedData)

func (*NullableDecryptedData) UnmarshalJSON ¶

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

func (*NullableDecryptedData) Unset ¶

func (v *NullableDecryptedData) Unset()

type NullableEncryptPayload ¶

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

func NewNullableEncryptPayload ¶

func NewNullableEncryptPayload(val *EncryptPayload) *NullableEncryptPayload

func (NullableEncryptPayload) Get ¶

func (NullableEncryptPayload) IsSet ¶

func (v NullableEncryptPayload) IsSet() bool

func (NullableEncryptPayload) MarshalJSON ¶

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

func (*NullableEncryptPayload) Set ¶

func (*NullableEncryptPayload) UnmarshalJSON ¶

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

func (*NullableEncryptPayload) Unset ¶

func (v *NullableEncryptPayload) Unset()

type NullableEncryptedData ¶

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

func NewNullableEncryptedData ¶

func NewNullableEncryptedData(val *EncryptedData) *NullableEncryptedData

func (NullableEncryptedData) Get ¶

func (NullableEncryptedData) IsSet ¶

func (v NullableEncryptedData) IsSet() bool

func (NullableEncryptedData) MarshalJSON ¶

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

func (*NullableEncryptedData) Set ¶

func (v *NullableEncryptedData) Set(val *EncryptedData)

func (*NullableEncryptedData) UnmarshalJSON ¶

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

func (*NullableEncryptedData) Unset ¶

func (v *NullableEncryptedData) 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 NullableHttpError ¶

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

func NewNullableHttpError ¶

func NewNullableHttpError(val *HttpError) *NullableHttpError

func (NullableHttpError) Get ¶

func (v NullableHttpError) Get() *HttpError

func (NullableHttpError) IsSet ¶

func (v NullableHttpError) IsSet() bool

func (NullableHttpError) MarshalJSON ¶

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

func (*NullableHttpError) Set ¶

func (v *NullableHttpError) Set(val *HttpError)

func (*NullableHttpError) UnmarshalJSON ¶

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

func (*NullableHttpError) Unset ¶

func (v *NullableHttpError) Unset()

type NullableImportKeyPayload ¶

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

func NewNullableImportKeyPayload ¶

func NewNullableImportKeyPayload(val *ImportKeyPayload) *NullableImportKeyPayload

func (NullableImportKeyPayload) Get ¶

func (NullableImportKeyPayload) IsSet ¶

func (v NullableImportKeyPayload) IsSet() bool

func (NullableImportKeyPayload) MarshalJSON ¶

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

func (*NullableImportKeyPayload) Set ¶

func (*NullableImportKeyPayload) UnmarshalJSON ¶

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

func (*NullableImportKeyPayload) Unset ¶

func (v *NullableImportKeyPayload) 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 NullableKey ¶

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

func NewNullableKey ¶

func NewNullableKey(val *Key) *NullableKey

func (NullableKey) Get ¶

func (v NullableKey) Get() *Key

func (NullableKey) IsSet ¶

func (v NullableKey) IsSet() bool

func (NullableKey) MarshalJSON ¶

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

func (*NullableKey) Set ¶

func (v *NullableKey) Set(val *Key)

func (*NullableKey) UnmarshalJSON ¶

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

func (*NullableKey) Unset ¶

func (v *NullableKey) Unset()

type NullableKeyList ¶

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

func NewNullableKeyList ¶

func NewNullableKeyList(val *KeyList) *NullableKeyList

func (NullableKeyList) Get ¶

func (v NullableKeyList) Get() *KeyList

func (NullableKeyList) IsSet ¶

func (v NullableKeyList) IsSet() bool

func (NullableKeyList) MarshalJSON ¶

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

func (*NullableKeyList) Set ¶

func (v *NullableKeyList) Set(val *KeyList)

func (*NullableKeyList) UnmarshalJSON ¶

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

func (*NullableKeyList) Unset ¶

func (v *NullableKeyList) Unset()

type NullableKeyRing ¶

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

func NewNullableKeyRing ¶

func NewNullableKeyRing(val *KeyRing) *NullableKeyRing

func (NullableKeyRing) Get ¶

func (v NullableKeyRing) Get() *KeyRing

func (NullableKeyRing) IsSet ¶

func (v NullableKeyRing) IsSet() bool

func (NullableKeyRing) MarshalJSON ¶

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

func (*NullableKeyRing) Set ¶

func (v *NullableKeyRing) Set(val *KeyRing)

func (*NullableKeyRing) UnmarshalJSON ¶

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

func (*NullableKeyRing) Unset ¶

func (v *NullableKeyRing) Unset()

type NullableKeyRingList ¶

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

func NewNullableKeyRingList ¶

func NewNullableKeyRingList(val *KeyRingList) *NullableKeyRingList

func (NullableKeyRingList) Get ¶

func (NullableKeyRingList) IsSet ¶

func (v NullableKeyRingList) IsSet() bool

func (NullableKeyRingList) MarshalJSON ¶

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

func (*NullableKeyRingList) Set ¶

func (v *NullableKeyRingList) Set(val *KeyRingList)

func (*NullableKeyRingList) UnmarshalJSON ¶

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

func (*NullableKeyRingList) Unset ¶

func (v *NullableKeyRingList) Unset()

type NullableKeyRingState ¶ added in v1.11.0

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

func NewNullableKeyRingState ¶ added in v1.11.0

func NewNullableKeyRingState(val *KeyRingState) *NullableKeyRingState

func (NullableKeyRingState) Get ¶ added in v1.11.0

func (NullableKeyRingState) IsSet ¶ added in v1.11.0

func (v NullableKeyRingState) IsSet() bool

func (NullableKeyRingState) MarshalJSON ¶ added in v1.11.0

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

func (*NullableKeyRingState) Set ¶ added in v1.11.0

func (v *NullableKeyRingState) Set(val *KeyRingState)

func (*NullableKeyRingState) UnmarshalJSON ¶ added in v1.11.0

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

func (*NullableKeyRingState) Unset ¶ added in v1.11.0

func (v *NullableKeyRingState) Unset()

type NullableKeyState ¶ added in v1.11.0

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

func NewNullableKeyState ¶ added in v1.11.0

func NewNullableKeyState(val *KeyState) *NullableKeyState

func (NullableKeyState) Get ¶ added in v1.11.0

func (v NullableKeyState) Get() *KeyState

func (NullableKeyState) IsSet ¶ added in v1.11.0

func (v NullableKeyState) IsSet() bool

func (NullableKeyState) MarshalJSON ¶ added in v1.11.0

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

func (*NullableKeyState) Set ¶ added in v1.11.0

func (v *NullableKeyState) Set(val *KeyState)

func (*NullableKeyState) UnmarshalJSON ¶ added in v1.11.0

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

func (*NullableKeyState) Unset ¶ added in v1.11.0

func (v *NullableKeyState) Unset()

type NullablePurpose ¶

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

func NewNullablePurpose ¶

func NewNullablePurpose(val *Purpose) *NullablePurpose

func (NullablePurpose) Get ¶

func (v NullablePurpose) Get() *Purpose

func (NullablePurpose) IsSet ¶

func (v NullablePurpose) IsSet() bool

func (NullablePurpose) MarshalJSON ¶

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

func (*NullablePurpose) Set ¶

func (v *NullablePurpose) Set(val *Purpose)

func (*NullablePurpose) UnmarshalJSON ¶

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

func (*NullablePurpose) Unset ¶

func (v *NullablePurpose) Unset()

type NullableSignPayload ¶

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

func NewNullableSignPayload ¶

func NewNullableSignPayload(val *SignPayload) *NullableSignPayload

func (NullableSignPayload) Get ¶

func (NullableSignPayload) IsSet ¶

func (v NullableSignPayload) IsSet() bool

func (NullableSignPayload) MarshalJSON ¶

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

func (*NullableSignPayload) Set ¶

func (v *NullableSignPayload) Set(val *SignPayload)

func (*NullableSignPayload) UnmarshalJSON ¶

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

func (*NullableSignPayload) Unset ¶

func (v *NullableSignPayload) Unset()

type NullableSignedData ¶

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

func NewNullableSignedData ¶

func NewNullableSignedData(val *SignedData) *NullableSignedData

func (NullableSignedData) Get ¶

func (v NullableSignedData) Get() *SignedData

func (NullableSignedData) IsSet ¶

func (v NullableSignedData) IsSet() bool

func (NullableSignedData) MarshalJSON ¶

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

func (*NullableSignedData) Set ¶

func (v *NullableSignedData) Set(val *SignedData)

func (*NullableSignedData) UnmarshalJSON ¶

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

func (*NullableSignedData) Unset ¶

func (v *NullableSignedData) 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 NullableVerifiedData ¶

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

func NewNullableVerifiedData ¶

func NewNullableVerifiedData(val *VerifiedData) *NullableVerifiedData

func (NullableVerifiedData) Get ¶

func (NullableVerifiedData) IsSet ¶

func (v NullableVerifiedData) IsSet() bool

func (NullableVerifiedData) MarshalJSON ¶

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

func (*NullableVerifiedData) Set ¶

func (v *NullableVerifiedData) Set(val *VerifiedData)

func (*NullableVerifiedData) UnmarshalJSON ¶

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

func (*NullableVerifiedData) Unset ¶

func (v *NullableVerifiedData) Unset()

type NullableVerifyPayload ¶

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

func NewNullableVerifyPayload ¶

func NewNullableVerifyPayload(val *VerifyPayload) *NullableVerifyPayload

func (NullableVerifyPayload) Get ¶

func (NullableVerifyPayload) IsSet ¶

func (v NullableVerifyPayload) IsSet() bool

func (NullableVerifyPayload) MarshalJSON ¶

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

func (*NullableVerifyPayload) Set ¶

func (v *NullableVerifyPayload) Set(val *VerifyPayload)

func (*NullableVerifyPayload) UnmarshalJSON ¶

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

func (*NullableVerifyPayload) Unset ¶

func (v *NullableVerifyPayload) Unset()

type NullableVersion ¶

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

func NewNullableVersion ¶

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get ¶

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet ¶

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON ¶

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

func (*NullableVersion) Set ¶

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON ¶

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

func (*NullableVersion) Unset ¶

func (v *NullableVersion) Unset()

type NullableVersionList ¶

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

func NewNullableVersionList ¶

func NewNullableVersionList(val *VersionList) *NullableVersionList

func (NullableVersionList) Get ¶

func (NullableVersionList) IsSet ¶

func (v NullableVersionList) IsSet() bool

func (NullableVersionList) MarshalJSON ¶

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

func (*NullableVersionList) Set ¶

func (v *NullableVersionList) Set(val *VersionList)

func (*NullableVersionList) UnmarshalJSON ¶

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

func (*NullableVersionList) Unset ¶

func (v *NullableVersionList) Unset()

type NullableVersionState ¶ added in v1.11.0

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

func NewNullableVersionState ¶ added in v1.11.0

func NewNullableVersionState(val *VersionState) *NullableVersionState

func (NullableVersionState) Get ¶ added in v1.11.0

func (NullableVersionState) IsSet ¶ added in v1.11.0

func (v NullableVersionState) IsSet() bool

func (NullableVersionState) MarshalJSON ¶ added in v1.11.0

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

func (*NullableVersionState) Set ¶ added in v1.11.0

func (v *NullableVersionState) Set(val *VersionState)

func (*NullableVersionState) UnmarshalJSON ¶ added in v1.11.0

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

func (*NullableVersionState) Unset ¶ added in v1.11.0

func (v *NullableVersionState) Unset()

type NullableWrappingAlgorithm ¶

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

func NewNullableWrappingAlgorithm ¶

func NewNullableWrappingAlgorithm(val *WrappingAlgorithm) *NullableWrappingAlgorithm

func (NullableWrappingAlgorithm) Get ¶

func (NullableWrappingAlgorithm) IsSet ¶

func (v NullableWrappingAlgorithm) IsSet() bool

func (NullableWrappingAlgorithm) MarshalJSON ¶

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

func (*NullableWrappingAlgorithm) Set ¶

func (*NullableWrappingAlgorithm) UnmarshalJSON ¶

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

func (*NullableWrappingAlgorithm) Unset ¶

func (v *NullableWrappingAlgorithm) Unset()

type NullableWrappingKey ¶

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

func NewNullableWrappingKey ¶

func NewNullableWrappingKey(val *WrappingKey) *NullableWrappingKey

func (NullableWrappingKey) Get ¶

func (NullableWrappingKey) IsSet ¶

func (v NullableWrappingKey) IsSet() bool

func (NullableWrappingKey) MarshalJSON ¶

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

func (*NullableWrappingKey) Set ¶

func (v *NullableWrappingKey) Set(val *WrappingKey)

func (*NullableWrappingKey) UnmarshalJSON ¶

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

func (*NullableWrappingKey) Unset ¶

func (v *NullableWrappingKey) Unset()

type NullableWrappingKeyList ¶

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

func NewNullableWrappingKeyList ¶

func NewNullableWrappingKeyList(val *WrappingKeyList) *NullableWrappingKeyList

func (NullableWrappingKeyList) Get ¶

func (NullableWrappingKeyList) IsSet ¶

func (v NullableWrappingKeyList) IsSet() bool

func (NullableWrappingKeyList) MarshalJSON ¶

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

func (*NullableWrappingKeyList) Set ¶

func (*NullableWrappingKeyList) UnmarshalJSON ¶

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

func (*NullableWrappingKeyList) Unset ¶

func (v *NullableWrappingKeyList) Unset()

type NullableWrappingKeyState ¶ added in v1.11.0

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

func NewNullableWrappingKeyState ¶ added in v1.11.0

func NewNullableWrappingKeyState(val *WrappingKeyState) *NullableWrappingKeyState

func (NullableWrappingKeyState) Get ¶ added in v1.11.0

func (NullableWrappingKeyState) IsSet ¶ added in v1.11.0

func (v NullableWrappingKeyState) IsSet() bool

func (NullableWrappingKeyState) MarshalJSON ¶ added in v1.11.0

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

func (*NullableWrappingKeyState) Set ¶ added in v1.11.0

func (*NullableWrappingKeyState) UnmarshalJSON ¶ added in v1.11.0

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

func (*NullableWrappingKeyState) Unset ¶ added in v1.11.0

func (v *NullableWrappingKeyState) Unset()

type NullableWrappingPurpose ¶

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

func NewNullableWrappingPurpose ¶

func NewNullableWrappingPurpose(val *WrappingPurpose) *NullableWrappingPurpose

func (NullableWrappingPurpose) Get ¶

func (NullableWrappingPurpose) IsSet ¶

func (v NullableWrappingPurpose) IsSet() bool

func (NullableWrappingPurpose) MarshalJSON ¶

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

func (*NullableWrappingPurpose) Set ¶

func (*NullableWrappingPurpose) UnmarshalJSON ¶

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

func (*NullableWrappingPurpose) Unset ¶

func (v *NullableWrappingPurpose) Unset()

type Protection deprecated

type Protection = string

Deprecated: Protection is deprecated and will be removed after February 2027. Use instead `string`.

const (
	// Deprecated: PROTECTION_SOFTWARE is deprecated and will be removed after February 2027.
	PROTECTION_SOFTWARE Protection = "software"
	// Deprecated: PROTECTION_SOFTWARE is deprecated and will be removed after February 2027.
	PROTECTION_HSM Protection = "hsm"
	// Deprecated: PROTECTION_UNKNOWN_DEFAULT_OPEN_API is deprecated and will be removed after February 2027.
	PROTECTION_UNKNOWN_DEFAULT_OPEN_API Protection = "unknown_default_open_api"
)

List of protection

type Purpose ¶

type Purpose string

Purpose The purpose of the key.

const (
	PURPOSE_SYMMETRIC_ENCRYPT_DECRYPT   Purpose = "symmetric_encrypt_decrypt"
	PURPOSE_ASYMMETRIC_ENCRYPT_DECRYPT  Purpose = "asymmetric_encrypt_decrypt"
	PURPOSE_MESSAGE_AUTHENTICATION_CODE Purpose = "message_authentication_code"
	PURPOSE_ASYMMETRIC_SIGN_VERIFY      Purpose = "asymmetric_sign_verify"
	PURPOSE_UNKNOWN_DEFAULT_OPEN_API    Purpose = "unknown_default_open_api"
)

List of purpose

func NewPurposeFromValue ¶

func NewPurposeFromValue(v string) (*Purpose, error)

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

func (Purpose) IsValid ¶

func (v Purpose) IsValid() bool

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

func (Purpose) Ptr ¶

func (v Purpose) Ptr() *Purpose

Ptr returns reference to purpose value

func (*Purpose) UnmarshalJSON ¶

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

type SignPayload ¶

type SignPayload struct {
	// The data that has to be signed. Encoded in base64.
	Data                 string `json:"data"`
	AdditionalProperties map[string]interface{}
}

SignPayload struct for SignPayload

func NewSignPayload ¶

func NewSignPayload(data string) *SignPayload

NewSignPayload instantiates a new SignPayload 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 NewSignPayloadWithDefaults ¶

func NewSignPayloadWithDefaults() *SignPayload

NewSignPayloadWithDefaults instantiates a new SignPayload 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 (*SignPayload) GetData ¶

func (o *SignPayload) GetData() string

GetData returns the Data field value

func (*SignPayload) GetDataOk ¶

func (o *SignPayload) GetDataOk() (*string, bool)

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

func (SignPayload) MarshalJSON ¶

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

func (*SignPayload) SetData ¶

func (o *SignPayload) SetData(v string)

SetData sets field value

func (SignPayload) ToMap ¶

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

func (*SignPayload) UnmarshalJSON ¶

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

type SignedData ¶

type SignedData struct {
	// The data that was signed. Encoded in base64.
	Data string `json:"data"`
	// The signature of the data. Encoded in base64.
	Signature            string `json:"signature"`
	AdditionalProperties map[string]interface{}
}

SignedData struct for SignedData

func NewSignedData ¶

func NewSignedData(data string, signature string) *SignedData

NewSignedData instantiates a new SignedData 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 NewSignedDataWithDefaults ¶

func NewSignedDataWithDefaults() *SignedData

NewSignedDataWithDefaults instantiates a new SignedData 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 (*SignedData) GetData ¶

func (o *SignedData) GetData() string

GetData returns the Data field value

func (*SignedData) GetDataOk ¶

func (o *SignedData) GetDataOk() (*string, bool)

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

func (*SignedData) GetSignature ¶

func (o *SignedData) GetSignature() string

GetSignature returns the Signature field value

func (*SignedData) GetSignatureOk ¶

func (o *SignedData) GetSignatureOk() (*string, bool)

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

func (SignedData) MarshalJSON ¶

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

func (*SignedData) SetData ¶

func (o *SignedData) SetData(v string)

SetData sets field value

func (*SignedData) SetSignature ¶

func (o *SignedData) SetSignature(v string)

SetSignature sets field value

func (SignedData) ToMap ¶

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

func (*SignedData) UnmarshalJSON ¶

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

type VerifiedData ¶

type VerifiedData struct {
	// Whether or not the data has a valid signature.
	Valid                bool `json:"valid"`
	AdditionalProperties map[string]interface{}
}

VerifiedData struct for VerifiedData

func NewVerifiedData ¶

func NewVerifiedData(valid bool) *VerifiedData

NewVerifiedData instantiates a new VerifiedData 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 NewVerifiedDataWithDefaults ¶

func NewVerifiedDataWithDefaults() *VerifiedData

NewVerifiedDataWithDefaults instantiates a new VerifiedData 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 (*VerifiedData) GetValid ¶

func (o *VerifiedData) GetValid() bool

GetValid returns the Valid field value

func (*VerifiedData) GetValidOk ¶

func (o *VerifiedData) GetValidOk() (*bool, bool)

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

func (VerifiedData) MarshalJSON ¶

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

func (*VerifiedData) SetValid ¶

func (o *VerifiedData) SetValid(v bool)

SetValid sets field value

func (VerifiedData) ToMap ¶

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

func (*VerifiedData) UnmarshalJSON ¶

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

type VerifyPayload ¶

type VerifyPayload struct {
	// The data to be verified. Encoded in base64.
	Data string `json:"data"`
	// The signature of the data. Encoded in base64.
	Signature            string `json:"signature"`
	AdditionalProperties map[string]interface{}
}

VerifyPayload struct for VerifyPayload

func NewVerifyPayload ¶

func NewVerifyPayload(data string, signature string) *VerifyPayload

NewVerifyPayload instantiates a new VerifyPayload 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 NewVerifyPayloadWithDefaults ¶

func NewVerifyPayloadWithDefaults() *VerifyPayload

NewVerifyPayloadWithDefaults instantiates a new VerifyPayload 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 (*VerifyPayload) GetData ¶

func (o *VerifyPayload) GetData() string

GetData returns the Data field value

func (*VerifyPayload) GetDataOk ¶

func (o *VerifyPayload) GetDataOk() (*string, bool)

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

func (*VerifyPayload) GetSignature ¶

func (o *VerifyPayload) GetSignature() string

GetSignature returns the Signature field value

func (*VerifyPayload) GetSignatureOk ¶

func (o *VerifyPayload) GetSignatureOk() (*string, bool)

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

func (VerifyPayload) MarshalJSON ¶

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

func (*VerifyPayload) SetData ¶

func (o *VerifyPayload) SetData(v string)

SetData sets field value

func (*VerifyPayload) SetSignature ¶

func (o *VerifyPayload) SetSignature(v string)

SetSignature sets field value

func (VerifyPayload) ToMap ¶

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

func (*VerifyPayload) UnmarshalJSON ¶

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

type Version ¶

type Version struct {
	// The date and time the creation of the key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// The scheduled date when a version's key material will be erased completely from the backend
	DestroyDate *time.Time `json:"destroyDate,omitempty"`
	// States whether versions is enabled or disabled.
	Disabled bool `json:"disabled"`
	// The unique id of the key this version is assigned to.
	KeyId string `json:"keyId"`
	// The unique id of the key ring the key of this version is assigned to.
	KeyRingId string `json:"keyRingId"`
	// A sequential number which identifies the key versions.
	Number int64 `json:"number"`
	// The public key of the key version. Only present in asymmetric keys.
	PublicKey            *string      `json:"publicKey,omitempty"`
	State                VersionState `json:"state"`
	AdditionalProperties map[string]interface{}
}

Version struct for Version

func NewVersion ¶

func NewVersion(createdAt time.Time, disabled bool, keyId string, keyRingId string, number int64, state VersionState) *Version

NewVersion instantiates a new Version 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 NewVersionWithDefaults ¶

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version 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 (*Version) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*Version) GetCreatedAtOk ¶

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

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

func (*Version) GetDestroyDate ¶

func (o *Version) GetDestroyDate() time.Time

GetDestroyDate returns the DestroyDate field value if set, zero value otherwise.

func (*Version) GetDestroyDateOk ¶

func (o *Version) GetDestroyDateOk() (*time.Time, bool)

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

func (*Version) GetDisabled ¶

func (o *Version) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*Version) GetDisabledOk ¶

func (o *Version) GetDisabledOk() (*bool, bool)

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

func (*Version) GetKeyId ¶

func (o *Version) GetKeyId() string

GetKeyId returns the KeyId field value

func (*Version) GetKeyIdOk ¶

func (o *Version) GetKeyIdOk() (*string, bool)

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

func (*Version) GetKeyRingId ¶

func (o *Version) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*Version) GetKeyRingIdOk ¶

func (o *Version) GetKeyRingIdOk() (*string, bool)

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

func (*Version) GetNumber ¶

func (o *Version) GetNumber() int64

GetNumber returns the Number field value

func (*Version) GetNumberOk ¶

func (o *Version) GetNumberOk() (*int64, bool)

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

func (*Version) GetPublicKey ¶

func (o *Version) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*Version) GetPublicKeyOk ¶

func (o *Version) GetPublicKeyOk() (*string, bool)

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

func (*Version) GetState ¶

func (o *Version) GetState() VersionState

GetState returns the State field value

func (*Version) GetStateOk ¶

func (o *Version) GetStateOk() (*VersionState, bool)

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

func (*Version) HasDestroyDate ¶

func (o *Version) HasDestroyDate() bool

HasDestroyDate returns a boolean if a field has been set.

func (*Version) HasPublicKey ¶

func (o *Version) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (Version) MarshalJSON ¶

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

func (*Version) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*Version) SetDestroyDate ¶

func (o *Version) SetDestroyDate(v time.Time)

SetDestroyDate gets a reference to the given time.Time and assigns it to the DestroyDate field.

func (*Version) SetDisabled ¶

func (o *Version) SetDisabled(v bool)

SetDisabled sets field value

func (*Version) SetKeyId ¶

func (o *Version) SetKeyId(v string)

SetKeyId sets field value

func (*Version) SetKeyRingId ¶

func (o *Version) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*Version) SetNumber ¶

func (o *Version) SetNumber(v int64)

SetNumber sets field value

func (*Version) SetPublicKey ¶

func (o *Version) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*Version) SetState ¶

func (o *Version) SetState(v VersionState)

SetState sets field value

func (Version) ToMap ¶

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

func (*Version) UnmarshalJSON ¶

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

type VersionList ¶

type VersionList struct {
	Versions             []Version `json:"versions"`
	AdditionalProperties map[string]interface{}
}

VersionList struct for VersionList

func NewVersionList ¶

func NewVersionList(versions []Version) *VersionList

NewVersionList instantiates a new VersionList 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 NewVersionListWithDefaults ¶

func NewVersionListWithDefaults() *VersionList

NewVersionListWithDefaults instantiates a new VersionList 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 (*VersionList) GetVersions ¶

func (o *VersionList) GetVersions() []Version

GetVersions returns the Versions field value

func (*VersionList) GetVersionsOk ¶

func (o *VersionList) GetVersionsOk() ([]Version, bool)

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

func (VersionList) MarshalJSON ¶

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

func (*VersionList) SetVersions ¶

func (o *VersionList) SetVersions(v []Version)

SetVersions sets field value

func (VersionList) ToMap ¶

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

func (*VersionList) UnmarshalJSON ¶

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

type VersionState ¶ added in v1.11.0

type VersionState string

VersionState The current state of the key.

const (
	VERSIONSTATE_ACTIVE                   VersionState = "active"
	VERSIONSTATE_CREATING                 VersionState = "creating"
	VERSIONSTATE_KEY_MATERIAL_INVALID     VersionState = "key_material_invalid"
	VERSIONSTATE_KEY_MATERIAL_UNAVAILABLE VersionState = "key_material_unavailable"
	VERSIONSTATE_DISABLED                 VersionState = "disabled"
	VERSIONSTATE_DESTROYED                VersionState = "destroyed"
	VERSIONSTATE_UNKNOWN_DEFAULT_OPEN_API VersionState = "unknown_default_open_api"
)

List of version_state

func NewVersionStateFromValue ¶ added in v1.11.0

func NewVersionStateFromValue(v string) (*VersionState, error)

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

func (VersionState) IsValid ¶ added in v1.11.0

func (v VersionState) IsValid() bool

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

func (VersionState) Ptr ¶ added in v1.11.0

func (v VersionState) Ptr() *VersionState

Ptr returns reference to version_state value

func (*VersionState) UnmarshalJSON ¶ added in v1.11.0

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

type WrappingAlgorithm ¶

type WrappingAlgorithm string

WrappingAlgorithm The wrapping algorithm used to wrap the key to import.

const (
	WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256                  WrappingAlgorithm = "rsa_2048_oaep_sha256"
	WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256                  WrappingAlgorithm = "rsa_3072_oaep_sha256"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256                  WrappingAlgorithm = "rsa_4096_oaep_sha256"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512                  WrappingAlgorithm = "rsa_4096_oaep_sha512"
	WRAPPINGALGORITHM_RSA_2048_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_2048_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_3072_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_3072_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA256_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha256_aes_256_key_wrap"
	WRAPPINGALGORITHM_RSA_4096_OAEP_SHA512_AES_256_KEY_WRAP WrappingAlgorithm = "rsa_4096_oaep_sha512_aes_256_key_wrap"
	WRAPPINGALGORITHM_UNKNOWN_DEFAULT_OPEN_API              WrappingAlgorithm = "unknown_default_open_api"
)

List of wrappingAlgorithm

func NewWrappingAlgorithmFromValue ¶

func NewWrappingAlgorithmFromValue(v string) (*WrappingAlgorithm, error)

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

func (WrappingAlgorithm) IsValid ¶

func (v WrappingAlgorithm) IsValid() bool

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

func (WrappingAlgorithm) Ptr ¶

Ptr returns reference to wrappingAlgorithm value

func (*WrappingAlgorithm) UnmarshalJSON ¶

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

type WrappingKey ¶

type WrappingKey struct {
	AccessScope AccessScope       `json:"access_scope"`
	Algorithm   WrappingAlgorithm `json:"algorithm"`
	// The date and time the creation of the wrapping key was triggered.
	CreatedAt time.Time `json:"createdAt"`
	// A user chosen description to distinguish multiple wrapping keys.
	Description *string `json:"description,omitempty"`
	// The display name to distinguish multiple wrapping keys.
	DisplayName string `json:"displayName"`
	// The date and time the wrapping key will expire.
	ExpiresAt time.Time `json:"expiresAt"`
	// A auto generated unique id which identifies the wrapping keys.
	Id string `json:"id"`
	// The unique id of the key ring this wrapping key is assigned to.
	KeyRingId string `json:"keyRingId"`
	// The underlying system that is responsible for protecting the key material. Possible values are \"software\" or \"hsm\"
	Protection string `json:"protection"`
	// The public key of the wrapping key.
	PublicKey            *string          `json:"publicKey,omitempty"`
	Purpose              WrappingPurpose  `json:"purpose"`
	State                WrappingKeyState `json:"state"`
	AdditionalProperties map[string]interface{}
}

WrappingKey struct for WrappingKey

func NewWrappingKey ¶

func NewWrappingKey(accessScope AccessScope, algorithm WrappingAlgorithm, createdAt time.Time, displayName string, expiresAt time.Time, id string, keyRingId string, protection string, purpose WrappingPurpose, state WrappingKeyState) *WrappingKey

NewWrappingKey instantiates a new WrappingKey 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 NewWrappingKeyWithDefaults ¶

func NewWrappingKeyWithDefaults() *WrappingKey

NewWrappingKeyWithDefaults instantiates a new WrappingKey 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 (*WrappingKey) GetAccessScope ¶

func (o *WrappingKey) GetAccessScope() AccessScope

GetAccessScope returns the AccessScope field value

func (*WrappingKey) GetAccessScopeOk ¶

func (o *WrappingKey) GetAccessScopeOk() (*AccessScope, bool)

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

func (*WrappingKey) GetAlgorithm ¶

func (o *WrappingKey) GetAlgorithm() WrappingAlgorithm

GetAlgorithm returns the Algorithm field value

func (*WrappingKey) GetAlgorithmOk ¶

func (o *WrappingKey) GetAlgorithmOk() (*WrappingAlgorithm, bool)

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

func (*WrappingKey) GetCreatedAt ¶

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

GetCreatedAt returns the CreatedAt field value

func (*WrappingKey) GetCreatedAtOk ¶

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

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

func (*WrappingKey) GetDescription ¶

func (o *WrappingKey) GetDescription() string

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

func (*WrappingKey) GetDescriptionOk ¶

func (o *WrappingKey) 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 (*WrappingKey) GetDisplayName ¶

func (o *WrappingKey) GetDisplayName() string

GetDisplayName returns the DisplayName field value

func (*WrappingKey) GetDisplayNameOk ¶

func (o *WrappingKey) GetDisplayNameOk() (*string, bool)

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

func (*WrappingKey) GetExpiresAt ¶

func (o *WrappingKey) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*WrappingKey) GetExpiresAtOk ¶

func (o *WrappingKey) GetExpiresAtOk() (*time.Time, bool)

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

func (*WrappingKey) GetId ¶

func (o *WrappingKey) GetId() string

GetId returns the Id field value

func (*WrappingKey) GetIdOk ¶

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

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

func (*WrappingKey) GetKeyRingId ¶

func (o *WrappingKey) GetKeyRingId() string

GetKeyRingId returns the KeyRingId field value

func (*WrappingKey) GetKeyRingIdOk ¶

func (o *WrappingKey) GetKeyRingIdOk() (*string, bool)

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

func (*WrappingKey) GetProtection ¶

func (o *WrappingKey) GetProtection() string

GetProtection returns the Protection field value

func (*WrappingKey) GetProtectionOk ¶

func (o *WrappingKey) GetProtectionOk() (*string, bool)

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

func (*WrappingKey) GetPublicKey ¶

func (o *WrappingKey) GetPublicKey() string

GetPublicKey returns the PublicKey field value if set, zero value otherwise.

func (*WrappingKey) GetPublicKeyOk ¶

func (o *WrappingKey) GetPublicKeyOk() (*string, bool)

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

func (*WrappingKey) GetPurpose ¶

func (o *WrappingKey) GetPurpose() WrappingPurpose

GetPurpose returns the Purpose field value

func (*WrappingKey) GetPurposeOk ¶

func (o *WrappingKey) GetPurposeOk() (*WrappingPurpose, bool)

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

func (*WrappingKey) GetState ¶

func (o *WrappingKey) GetState() WrappingKeyState

GetState returns the State field value

func (*WrappingKey) GetStateOk ¶

func (o *WrappingKey) GetStateOk() (*WrappingKeyState, bool)

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

func (*WrappingKey) HasDescription ¶

func (o *WrappingKey) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*WrappingKey) HasPublicKey ¶ added in v1.6.0

func (o *WrappingKey) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

func (WrappingKey) MarshalJSON ¶

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

func (*WrappingKey) SetAccessScope ¶

func (o *WrappingKey) SetAccessScope(v AccessScope)

SetAccessScope sets field value

func (*WrappingKey) SetAlgorithm ¶

func (o *WrappingKey) SetAlgorithm(v WrappingAlgorithm)

SetAlgorithm sets field value

func (*WrappingKey) SetCreatedAt ¶

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

SetCreatedAt sets field value

func (*WrappingKey) SetDescription ¶

func (o *WrappingKey) SetDescription(v string)

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

func (*WrappingKey) SetDisplayName ¶

func (o *WrappingKey) SetDisplayName(v string)

SetDisplayName sets field value

func (*WrappingKey) SetExpiresAt ¶

func (o *WrappingKey) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*WrappingKey) SetId ¶

func (o *WrappingKey) SetId(v string)

SetId sets field value

func (*WrappingKey) SetKeyRingId ¶

func (o *WrappingKey) SetKeyRingId(v string)

SetKeyRingId sets field value

func (*WrappingKey) SetProtection ¶

func (o *WrappingKey) SetProtection(v string)

SetProtection sets field value

func (*WrappingKey) SetPublicKey ¶

func (o *WrappingKey) SetPublicKey(v string)

SetPublicKey gets a reference to the given string and assigns it to the PublicKey field.

func (*WrappingKey) SetPurpose ¶

func (o *WrappingKey) SetPurpose(v WrappingPurpose)

SetPurpose sets field value

func (*WrappingKey) SetState ¶

func (o *WrappingKey) SetState(v WrappingKeyState)

SetState sets field value

func (WrappingKey) ToMap ¶

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

func (*WrappingKey) UnmarshalJSON ¶

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

type WrappingKeyList ¶

type WrappingKeyList struct {
	WrappingKeys         []WrappingKey `json:"wrappingKeys"`
	AdditionalProperties map[string]interface{}
}

WrappingKeyList struct for WrappingKeyList

func NewWrappingKeyList ¶

func NewWrappingKeyList(wrappingKeys []WrappingKey) *WrappingKeyList

NewWrappingKeyList instantiates a new WrappingKeyList 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 NewWrappingKeyListWithDefaults ¶

func NewWrappingKeyListWithDefaults() *WrappingKeyList

NewWrappingKeyListWithDefaults instantiates a new WrappingKeyList 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 (*WrappingKeyList) GetWrappingKeys ¶

func (o *WrappingKeyList) GetWrappingKeys() []WrappingKey

GetWrappingKeys returns the WrappingKeys field value

func (*WrappingKeyList) GetWrappingKeysOk ¶

func (o *WrappingKeyList) GetWrappingKeysOk() ([]WrappingKey, bool)

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

func (WrappingKeyList) MarshalJSON ¶

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

func (*WrappingKeyList) SetWrappingKeys ¶

func (o *WrappingKeyList) SetWrappingKeys(v []WrappingKey)

SetWrappingKeys sets field value

func (WrappingKeyList) ToMap ¶

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

func (*WrappingKeyList) UnmarshalJSON ¶

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

type WrappingKeyState ¶ added in v1.11.0

type WrappingKeyState string

WrappingKeyState The current state of the wrapping key.

const (
	WRAPPINGKEYSTATE_ACTIVE                   WrappingKeyState = "active"
	WRAPPINGKEYSTATE_CREATING                 WrappingKeyState = "creating"
	WRAPPINGKEYSTATE_EXPIRED                  WrappingKeyState = "expired"
	WRAPPINGKEYSTATE_DELETED                  WrappingKeyState = "deleted"
	WRAPPINGKEYSTATE_KEY_MATERIAL_UNAVAILABLE WrappingKeyState = "key_material_unavailable"
	WRAPPINGKEYSTATE_UNKNOWN_DEFAULT_OPEN_API WrappingKeyState = "unknown_default_open_api"
)

List of wrappingKey_state

func NewWrappingKeyStateFromValue ¶ added in v1.11.0

func NewWrappingKeyStateFromValue(v string) (*WrappingKeyState, error)

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

func (WrappingKeyState) IsValid ¶ added in v1.11.0

func (v WrappingKeyState) IsValid() bool

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

func (WrappingKeyState) Ptr ¶ added in v1.11.0

Ptr returns reference to wrappingKey_state value

func (*WrappingKeyState) UnmarshalJSON ¶ added in v1.11.0

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

type WrappingPurpose ¶

type WrappingPurpose string

WrappingPurpose The wrapping purpose for the wrapping key.

const (
	WRAPPINGPURPOSE_WRAP_SYMMETRIC_KEY       WrappingPurpose = "wrap_symmetric_key"
	WRAPPINGPURPOSE_WRAP_ASYMMETRIC_KEY      WrappingPurpose = "wrap_asymmetric_key"
	WRAPPINGPURPOSE_UNKNOWN_DEFAULT_OPEN_API WrappingPurpose = "unknown_default_open_api"
)

List of wrappingPurpose

func NewWrappingPurposeFromValue ¶

func NewWrappingPurposeFromValue(v string) (*WrappingPurpose, error)

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

func (WrappingPurpose) IsValid ¶

func (v WrappingPurpose) IsValid() bool

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

func (WrappingPurpose) Ptr ¶

Ptr returns reference to wrappingPurpose value

func (*WrappingPurpose) UnmarshalJSON ¶

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

Directories ¶

Path Synopsis

Jump to

Keyboard shortcuts

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