api

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

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

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

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedDecryptModeEnumValues = []DecryptMode{
	"RAW",
	"PKCS1",
	"OAEP_MD5",
	"OAEP_SHA1",
	"OAEP_SHA224",
	"OAEP_SHA256",
	"OAEP_SHA384",
	"OAEP_SHA512",
	"AES_CBC",
}

All allowed values of DecryptMode enum

View Source
var AllowedEncryptModeEnumValues = []EncryptMode{
	"AES_CBC",
}

All allowed values of EncryptMode enum

View Source
var AllowedKeyMechanismEnumValues = []KeyMechanism{
	"RSA_Decryption_RAW",
	"RSA_Decryption_PKCS1",
	"RSA_Decryption_OAEP_MD5",
	"RSA_Decryption_OAEP_SHA1",
	"RSA_Decryption_OAEP_SHA224",
	"RSA_Decryption_OAEP_SHA256",
	"RSA_Decryption_OAEP_SHA384",
	"RSA_Decryption_OAEP_SHA512",
	"RSA_Signature_PKCS1",
	"RSA_Signature_PSS_MD5",
	"RSA_Signature_PSS_SHA1",
	"RSA_Signature_PSS_SHA224",
	"RSA_Signature_PSS_SHA256",
	"RSA_Signature_PSS_SHA384",
	"RSA_Signature_PSS_SHA512",
	"EdDSA_Signature",
	"ECDSA_Signature",
	"AES_Encryption_CBC",
	"AES_Decryption_CBC",
}

All allowed values of KeyMechanism enum

View Source
var AllowedKeyTypeEnumValues = []KeyType{
	"RSA",
	"Curve25519",
	"EC_P224",
	"EC_P256",
	"EC_P384",
	"EC_P521",
	"Generic",
}

All allowed values of KeyType enum

View Source
var AllowedLogLevelEnumValues = []LogLevel{
	"debug",
	"info",
	"warning",
	"error",
}

All allowed values of LogLevel enum

View Source
var AllowedSignModeEnumValues = []SignMode{
	"PKCS1",
	"PSS_MD5",
	"PSS_SHA1",
	"PSS_SHA224",
	"PSS_SHA256",
	"PSS_SHA384",
	"PSS_SHA512",
	"EdDSA",
	"ECDSA",
}

All allowed values of SignMode enum

View Source
var AllowedSwitchEnumValues = []Switch{
	"on",
	"off",
}

All allowed values of Switch enum

View Source
var AllowedSystemStateEnumValues = []SystemState{
	"Unprovisioned",
	"Locked",
	"Operational",
}

All allowed values of SystemState enum

View Source
var AllowedTlsKeyTypeEnumValues = []TlsKeyType{
	"RSA",
	"Curve25519",
	"EC_P224",
	"EC_P256",
	"EC_P384",
	"EC_P521",
}

All allowed values of TlsKeyType enum

View Source
var AllowedUserRoleEnumValues = []UserRole{
	"Administrator",
	"Operator",
	"Metrics",
	"Backup",
}

All allowed values of UserRole enum

Functions

func CacheExpires

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

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

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

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

func PtrFloat32

func PtrFloat32(v float32) *float32

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

func PtrFloat64

func PtrFloat64(v float64) *float64

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

func PtrInt

func PtrInt(v int) *int

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

func PtrInt32

func PtrInt32(v int32) *int32

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

func PtrInt64

func PtrInt64(v int64) *int64

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

func PtrString

func PtrString(v string) *string

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

func PtrTime

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

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

Types

type APIClient

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

APIClient manages communication with the NetHSM API vv1 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

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

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

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

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

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

type APIResponse

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

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

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

type AkPub

type AkPub struct {
	P256 *string `json:"P256,omitempty"`
	P384 *string `json:"P384,omitempty"`
}

AkPub struct for AkPub

func NewAkPub

func NewAkPub() *AkPub

NewAkPub instantiates a new AkPub 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 NewAkPubWithDefaults

func NewAkPubWithDefaults() *AkPub

NewAkPubWithDefaults instantiates a new AkPub 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 (*AkPub) GetP256

func (o *AkPub) GetP256() string

GetP256 returns the P256 field value if set, zero value otherwise.

func (*AkPub) GetP256Ok

func (o *AkPub) GetP256Ok() (*string, bool)

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

func (*AkPub) GetP384

func (o *AkPub) GetP384() string

GetP384 returns the P384 field value if set, zero value otherwise.

func (*AkPub) GetP384Ok

func (o *AkPub) GetP384Ok() (*string, bool)

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

func (*AkPub) HasP256

func (o *AkPub) HasP256() bool

HasP256 returns a boolean if a field has been set.

func (*AkPub) HasP384

func (o *AkPub) HasP384() bool

HasP384 returns a boolean if a field has been set.

func (AkPub) MarshalJSON

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

func (*AkPub) SetP256

func (o *AkPub) SetP256(v string)

SetP256 gets a reference to the given string and assigns it to the P256 field.

func (*AkPub) SetP384

func (o *AkPub) SetP384(v string)

SetP384 gets a reference to the given string and assigns it to the P384 field.

func (AkPub) ToMap

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

type ApiConfigBackupPassphrasePutRequest

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

func (ApiConfigBackupPassphrasePutRequest) BackupPassphraseConfig

func (ApiConfigBackupPassphrasePutRequest) Execute

type ApiConfigLoggingGetRequest

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

func (ApiConfigLoggingGetRequest) Execute

type ApiConfigLoggingPutRequest

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

func (ApiConfigLoggingPutRequest) Execute

func (ApiConfigLoggingPutRequest) LoggingConfig

type ApiConfigNetworkGetRequest

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

func (ApiConfigNetworkGetRequest) Execute

type ApiConfigNetworkPutRequest

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

func (ApiConfigNetworkPutRequest) Execute

func (ApiConfigNetworkPutRequest) NetworkConfig

type ApiConfigTimeGetRequest

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

func (ApiConfigTimeGetRequest) Execute

type ApiConfigTimePutRequest

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

func (ApiConfigTimePutRequest) Execute

func (r ApiConfigTimePutRequest) Execute() (*http.Response, error)

func (ApiConfigTimePutRequest) TimeConfig

type ApiConfigTlsCertPemGetRequest

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

func (ApiConfigTlsCertPemGetRequest) Execute

type ApiConfigTlsCertPemPutRequest

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

func (ApiConfigTlsCertPemPutRequest) Body

func (ApiConfigTlsCertPemPutRequest) Execute

type ApiConfigTlsCsrPemPostRequest

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

func (ApiConfigTlsCsrPemPostRequest) DistinguishedName

func (r ApiConfigTlsCsrPemPostRequest) DistinguishedName(distinguishedName DistinguishedName) ApiConfigTlsCsrPemPostRequest

func (ApiConfigTlsCsrPemPostRequest) Execute

type ApiConfigTlsGeneratePostRequest

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

func (ApiConfigTlsGeneratePostRequest) Execute

func (ApiConfigTlsGeneratePostRequest) TlsKeyGenerateRequestData

func (r ApiConfigTlsGeneratePostRequest) TlsKeyGenerateRequestData(tlsKeyGenerateRequestData TlsKeyGenerateRequestData) ApiConfigTlsGeneratePostRequest

type ApiConfigTlsPublicPemGetRequest

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

func (ApiConfigTlsPublicPemGetRequest) Execute

type ApiConfigUnattendedBootGetRequest

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

func (ApiConfigUnattendedBootGetRequest) Execute

type ApiConfigUnattendedBootPutRequest

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

func (ApiConfigUnattendedBootPutRequest) Execute

func (ApiConfigUnattendedBootPutRequest) UnattendedBootConfig

type ApiConfigUnlockPassphrasePutRequest

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

func (ApiConfigUnlockPassphrasePutRequest) Execute

func (ApiConfigUnlockPassphrasePutRequest) UnlockPassphraseConfig

type ApiHealthAliveGetRequest

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

func (ApiHealthAliveGetRequest) Execute

func (r ApiHealthAliveGetRequest) Execute() (*http.Response, error)

type ApiHealthReadyGetRequest

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

func (ApiHealthReadyGetRequest) Execute

func (r ApiHealthReadyGetRequest) Execute() (*http.Response, error)

type ApiHealthStateGetRequest

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

func (ApiHealthStateGetRequest) Execute

type ApiInfoGetRequest

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

func (ApiInfoGetRequest) Execute

func (r ApiInfoGetRequest) Execute() (*InfoData, *http.Response, error)

type ApiKeysGeneratePostRequest

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

func (ApiKeysGeneratePostRequest) Execute

func (ApiKeysGeneratePostRequest) KeyGenerateRequestData

func (r ApiKeysGeneratePostRequest) KeyGenerateRequestData(keyGenerateRequestData KeyGenerateRequestData) ApiKeysGeneratePostRequest

type ApiKeysGetRequest

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

func (ApiKeysGetRequest) Execute

func (r ApiKeysGetRequest) Execute() ([]KeyItem, *http.Response, error)

func (ApiKeysGetRequest) Filter

func (r ApiKeysGetRequest) Filter(filter string) ApiKeysGetRequest

Only return keys that are can be used by the requester, according to restrictions.

type ApiKeysKeyIDCertDeleteRequest

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

func (ApiKeysKeyIDCertDeleteRequest) Execute

type ApiKeysKeyIDCertGetRequest

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

func (ApiKeysKeyIDCertGetRequest) Execute

type ApiKeysKeyIDCertPutRequest

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

func (ApiKeysKeyIDCertPutRequest) Body

func (ApiKeysKeyIDCertPutRequest) Execute

type ApiKeysKeyIDCsrPemPostRequest

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

func (ApiKeysKeyIDCsrPemPostRequest) DistinguishedName

func (r ApiKeysKeyIDCsrPemPostRequest) DistinguishedName(distinguishedName DistinguishedName) ApiKeysKeyIDCsrPemPostRequest

func (ApiKeysKeyIDCsrPemPostRequest) Execute

type ApiKeysKeyIDDecryptPostRequest

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

func (ApiKeysKeyIDDecryptPostRequest) DecryptRequestData

func (r ApiKeysKeyIDDecryptPostRequest) DecryptRequestData(decryptRequestData DecryptRequestData) ApiKeysKeyIDDecryptPostRequest

For request body with content type `application/json`: * Mode `RAW` expects raw binary data. * Mode `PKCS1` expects PKCS1-encoded and padded binary data. * Mode `OAEP_*` expects EME-OAEP-encoded and padded binary data.

func (ApiKeysKeyIDDecryptPostRequest) Execute

type ApiKeysKeyIDDeleteRequest

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

func (ApiKeysKeyIDDeleteRequest) Execute

func (r ApiKeysKeyIDDeleteRequest) Execute() (*http.Response, error)

type ApiKeysKeyIDEncryptPostRequest

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

func (ApiKeysKeyIDEncryptPostRequest) EncryptRequestData

func (r ApiKeysKeyIDEncryptPostRequest) EncryptRequestData(encryptRequestData EncryptRequestData) ApiKeysKeyIDEncryptPostRequest

func (ApiKeysKeyIDEncryptPostRequest) Execute

type ApiKeysKeyIDGetRequest

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

func (ApiKeysKeyIDGetRequest) Execute

type ApiKeysKeyIDPublicPemGetRequest

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

func (ApiKeysKeyIDPublicPemGetRequest) Execute

type ApiKeysKeyIDPutRequest

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

func (ApiKeysKeyIDPutRequest) Execute

func (r ApiKeysKeyIDPutRequest) Execute() (*http.Response, error)

func (ApiKeysKeyIDPutRequest) PrivateKey

func (r ApiKeysKeyIDPutRequest) PrivateKey(privateKey PrivateKey) ApiKeysKeyIDPutRequest

For request body with content type `application/json`: * *RSA* includes `primeP`, `primeQ`, and `publicExponent` properties. The remaining properties `privateExponent`, `modulus`, ..) are computed. * *EC_P224*, *EC_P256*, *EC_P384*, *EC_P521* uses the `data` property. Keys are the raw (big endian) scalar. * *Curve25519* uses the `data` property. Keys are the raw (little endian) key.

type ApiKeysKeyIDRestrictionsTagsTagDeleteRequest

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

func (ApiKeysKeyIDRestrictionsTagsTagDeleteRequest) Execute

type ApiKeysKeyIDRestrictionsTagsTagPutRequest

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

func (ApiKeysKeyIDRestrictionsTagsTagPutRequest) Execute

type ApiKeysKeyIDSignPostRequest

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

func (ApiKeysKeyIDSignPostRequest) Execute

func (ApiKeysKeyIDSignPostRequest) SignRequestData

func (r ApiKeysKeyIDSignPostRequest) SignRequestData(signRequestData SignRequestData) ApiKeysKeyIDSignPostRequest

For request body with content type `application/json`: * Mode `PKCS1` expects the already hashed data. * Mode `PSS_*` expects the already hashed data. * Mode `EdDSA` expects the raw message (ED25519 applies the SHA512 hash internally, also to derive the nonce). * Mode `ECDSA` expects the hashed data (using SHA224 for P224, SHA256 for P256, SHA384 for P384 and SHA512 for P521).

type ApiKeysPostRequest

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

func (ApiKeysPostRequest) Execute

func (ApiKeysPostRequest) PrivateKey

func (r ApiKeysPostRequest) PrivateKey(privateKey PrivateKey) ApiKeysPostRequest

type ApiLockPostRequest

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

func (ApiLockPostRequest) Execute

func (r ApiLockPostRequest) Execute() (*http.Response, error)

type ApiMetricsGetRequest

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

func (ApiMetricsGetRequest) Execute

func (r ApiMetricsGetRequest) Execute() (map[string]interface{}, *http.Response, error)

type ApiNamespacesGetRequest

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

func (ApiNamespacesGetRequest) Execute

type ApiNamespacesNamespaceIDDeleteRequest

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

func (ApiNamespacesNamespaceIDDeleteRequest) Execute

type ApiNamespacesNamespaceIDPutRequest

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

func (ApiNamespacesNamespaceIDPutRequest) Execute

type ApiProvisionPostRequest

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

func (ApiProvisionPostRequest) Execute

func (r ApiProvisionPostRequest) Execute() (*http.Response, error)

func (ApiProvisionPostRequest) ProvisionRequestData

func (r ApiProvisionPostRequest) ProvisionRequestData(provisionRequestData ProvisionRequestData) ApiProvisionPostRequest

type ApiRandomPostRequest

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

func (ApiRandomPostRequest) Execute

func (ApiRandomPostRequest) RandomRequestData

func (r ApiRandomPostRequest) RandomRequestData(randomRequestData RandomRequestData) ApiRandomPostRequest

type ApiSystemBackupPostRequest

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

func (ApiSystemBackupPostRequest) Execute

type ApiSystemCancelUpdatePostRequest

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

func (ApiSystemCancelUpdatePostRequest) Execute

type ApiSystemCommitUpdatePostRequest

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

func (ApiSystemCommitUpdatePostRequest) Execute

type ApiSystemFactoryResetPostRequest

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

func (ApiSystemFactoryResetPostRequest) Execute

type ApiSystemInfoGetRequest

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

func (ApiSystemInfoGetRequest) Execute

type ApiSystemRebootPostRequest

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

func (ApiSystemRebootPostRequest) Execute

type ApiSystemRestorePostRequest

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

func (ApiSystemRestorePostRequest) Arguments

func (ApiSystemRestorePostRequest) BackupFile

func (ApiSystemRestorePostRequest) Execute

type ApiSystemShutdownPostRequest

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

func (ApiSystemShutdownPostRequest) Execute

type ApiSystemUpdatePostRequest

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

func (ApiSystemUpdatePostRequest) Body

func (ApiSystemUpdatePostRequest) Execute

type ApiUnlockPostRequest

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

func (ApiUnlockPostRequest) Execute

func (r ApiUnlockPostRequest) Execute() (*http.Response, error)

func (ApiUnlockPostRequest) UnlockRequestData

func (r ApiUnlockPostRequest) UnlockRequestData(unlockRequestData UnlockRequestData) ApiUnlockPostRequest

type ApiUsersGetRequest

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

func (ApiUsersGetRequest) Execute

func (r ApiUsersGetRequest) Execute() ([]UserItem, *http.Response, error)

type ApiUsersPostRequest

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

func (ApiUsersPostRequest) Execute

func (ApiUsersPostRequest) UserPostData

func (r ApiUsersPostRequest) UserPostData(userPostData UserPostData) ApiUsersPostRequest

type ApiUsersUserIDDeleteRequest

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

func (ApiUsersUserIDDeleteRequest) Execute

type ApiUsersUserIDGetRequest

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

func (ApiUsersUserIDGetRequest) Execute

type ApiUsersUserIDPassphrasePostRequest

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

func (ApiUsersUserIDPassphrasePostRequest) Execute

func (ApiUsersUserIDPassphrasePostRequest) UserPassphrasePostData

type ApiUsersUserIDPostRequest

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

func (ApiUsersUserIDPostRequest) Execute

func (ApiUsersUserIDPostRequest) UserPostData

type ApiUsersUserIDPutRequest

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

func (ApiUsersUserIDPutRequest) Execute

func (r ApiUsersUserIDPutRequest) Execute() (*http.Response, error)

func (ApiUsersUserIDPutRequest) UserPostData

func (r ApiUsersUserIDPutRequest) UserPostData(userPostData UserPostData) ApiUsersUserIDPutRequest

type ApiUsersUserIDTagsGetRequest

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

func (ApiUsersUserIDTagsGetRequest) Execute

type ApiUsersUserIDTagsTagDeleteRequest

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

func (ApiUsersUserIDTagsTagDeleteRequest) Execute

type ApiUsersUserIDTagsTagPutRequest

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

func (ApiUsersUserIDTagsTagPutRequest) Execute

type BackupPassphraseConfig

type BackupPassphraseConfig struct {
	NewPassphrase     string `json:"newPassphrase"`
	CurrentPassphrase string `json:"currentPassphrase"`
}

BackupPassphraseConfig struct for BackupPassphraseConfig

func NewBackupPassphraseConfig

func NewBackupPassphraseConfig(newPassphrase string, currentPassphrase string) *BackupPassphraseConfig

NewBackupPassphraseConfig instantiates a new BackupPassphraseConfig 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 NewBackupPassphraseConfigWithDefaults

func NewBackupPassphraseConfigWithDefaults() *BackupPassphraseConfig

NewBackupPassphraseConfigWithDefaults instantiates a new BackupPassphraseConfig 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 (*BackupPassphraseConfig) GetCurrentPassphrase

func (o *BackupPassphraseConfig) GetCurrentPassphrase() string

GetCurrentPassphrase returns the CurrentPassphrase field value

func (*BackupPassphraseConfig) GetCurrentPassphraseOk

func (o *BackupPassphraseConfig) GetCurrentPassphraseOk() (*string, bool)

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

func (*BackupPassphraseConfig) GetNewPassphrase

func (o *BackupPassphraseConfig) GetNewPassphrase() string

GetNewPassphrase returns the NewPassphrase field value

func (*BackupPassphraseConfig) GetNewPassphraseOk

func (o *BackupPassphraseConfig) GetNewPassphraseOk() (*string, bool)

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

func (BackupPassphraseConfig) MarshalJSON

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

func (*BackupPassphraseConfig) SetCurrentPassphrase

func (o *BackupPassphraseConfig) SetCurrentPassphrase(v string)

SetCurrentPassphrase sets field value

func (*BackupPassphraseConfig) SetNewPassphrase

func (o *BackupPassphraseConfig) SetNewPassphrase(v string)

SetNewPassphrase sets field value

func (BackupPassphraseConfig) ToMap

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

func (*BackupPassphraseConfig) UnmarshalJSON

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

type BasicAuth

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

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

type Configuration

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

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

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

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

func (*Configuration) ServerURL

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

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

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

ServerURLWithContext returns a new server URL given an endpoint

type CreateResourceId

type CreateResourceId struct {
	Id string `json:"id"`
}

CreateResourceId struct for CreateResourceId

func NewCreateResourceId

func NewCreateResourceId(id string) *CreateResourceId

NewCreateResourceId instantiates a new CreateResourceId 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 NewCreateResourceIdWithDefaults

func NewCreateResourceIdWithDefaults() *CreateResourceId

NewCreateResourceIdWithDefaults instantiates a new CreateResourceId 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 (*CreateResourceId) GetId

func (o *CreateResourceId) GetId() string

GetId returns the Id field value

func (*CreateResourceId) GetIdOk

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

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

func (CreateResourceId) MarshalJSON

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

func (*CreateResourceId) SetId

func (o *CreateResourceId) SetId(v string)

SetId sets field value

func (CreateResourceId) ToMap

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

func (*CreateResourceId) UnmarshalJSON

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

type DecryptData

type DecryptData struct {
	Decrypted string `json:"decrypted" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

DecryptData struct for DecryptData

func NewDecryptData

func NewDecryptData(decrypted string) *DecryptData

NewDecryptData instantiates a new DecryptData 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 NewDecryptDataWithDefaults

func NewDecryptDataWithDefaults() *DecryptData

NewDecryptDataWithDefaults instantiates a new DecryptData 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 (*DecryptData) GetDecrypted

func (o *DecryptData) GetDecrypted() string

GetDecrypted returns the Decrypted field value

func (*DecryptData) GetDecryptedOk

func (o *DecryptData) GetDecryptedOk() (*string, bool)

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

func (DecryptData) MarshalJSON

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

func (*DecryptData) SetDecrypted

func (o *DecryptData) SetDecrypted(v string)

SetDecrypted sets field value

func (DecryptData) ToMap

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

func (*DecryptData) UnmarshalJSON

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

type DecryptMode

type DecryptMode string

DecryptMode the model 'DecryptMode'

const (
	DECRYPTMODE_RAW         DecryptMode = "RAW"
	DECRYPTMODE_PKCS1       DecryptMode = "PKCS1"
	DECRYPTMODE_OAEP_MD5    DecryptMode = "OAEP_MD5"
	DECRYPTMODE_OAEP_SHA1   DecryptMode = "OAEP_SHA1"
	DECRYPTMODE_OAEP_SHA224 DecryptMode = "OAEP_SHA224"
	DECRYPTMODE_OAEP_SHA256 DecryptMode = "OAEP_SHA256"
	DECRYPTMODE_OAEP_SHA384 DecryptMode = "OAEP_SHA384"
	DECRYPTMODE_OAEP_SHA512 DecryptMode = "OAEP_SHA512"
	DECRYPTMODE_AES_CBC     DecryptMode = "AES_CBC"
)

List of DecryptMode

func NewDecryptModeFromValue

func NewDecryptModeFromValue(v string) (*DecryptMode, error)

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

func (DecryptMode) IsValid

func (v DecryptMode) IsValid() bool

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

func (DecryptMode) Ptr

func (v DecryptMode) Ptr() *DecryptMode

Ptr returns reference to DecryptMode value

func (*DecryptMode) UnmarshalJSON

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

type DecryptRequestData

type DecryptRequestData struct {
	Mode      DecryptMode `json:"mode"`
	Encrypted string      `json:"encrypted" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	Iv        *string     `json:"iv,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

DecryptRequestData struct for DecryptRequestData

func NewDecryptRequestData

func NewDecryptRequestData(mode DecryptMode, encrypted string) *DecryptRequestData

NewDecryptRequestData instantiates a new DecryptRequestData 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 NewDecryptRequestDataWithDefaults

func NewDecryptRequestDataWithDefaults() *DecryptRequestData

NewDecryptRequestDataWithDefaults instantiates a new DecryptRequestData 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 (*DecryptRequestData) GetEncrypted

func (o *DecryptRequestData) GetEncrypted() string

GetEncrypted returns the Encrypted field value

func (*DecryptRequestData) GetEncryptedOk

func (o *DecryptRequestData) GetEncryptedOk() (*string, bool)

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

func (*DecryptRequestData) GetIv

func (o *DecryptRequestData) GetIv() string

GetIv returns the Iv field value if set, zero value otherwise.

func (*DecryptRequestData) GetIvOk

func (o *DecryptRequestData) GetIvOk() (*string, bool)

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

func (*DecryptRequestData) GetMode

func (o *DecryptRequestData) GetMode() DecryptMode

GetMode returns the Mode field value

func (*DecryptRequestData) GetModeOk

func (o *DecryptRequestData) GetModeOk() (*DecryptMode, bool)

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

func (*DecryptRequestData) HasIv

func (o *DecryptRequestData) HasIv() bool

HasIv returns a boolean if a field has been set.

func (DecryptRequestData) MarshalJSON

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

func (*DecryptRequestData) SetEncrypted

func (o *DecryptRequestData) SetEncrypted(v string)

SetEncrypted sets field value

func (*DecryptRequestData) SetIv

func (o *DecryptRequestData) SetIv(v string)

SetIv gets a reference to the given string and assigns it to the Iv field.

func (*DecryptRequestData) SetMode

func (o *DecryptRequestData) SetMode(v DecryptMode)

SetMode sets field value

func (DecryptRequestData) ToMap

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

func (*DecryptRequestData) UnmarshalJSON

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

type DefaultAPIService

type DefaultAPIService service

DefaultAPIService DefaultAPI service

func (*DefaultAPIService) ConfigBackupPassphrasePut

func (a *DefaultAPIService) ConfigBackupPassphrasePut(ctx context.Context) ApiConfigBackupPassphrasePutRequest

ConfigBackupPassphrasePut Method for ConfigBackupPassphrasePut

Update the backup passphrase. If the backup passphrase is not set yet, use "" as currentPassphrase.

*WARNING:* Like the unlock passphrase, this configuration can't be reset by an admin user without knowing the current value, so if the backup passphrase is lost, neither can it be reset to a new value nor can the created backups be restored.

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

func (*DefaultAPIService) ConfigBackupPassphrasePutExecute

func (a *DefaultAPIService) ConfigBackupPassphrasePutExecute(r ApiConfigBackupPassphrasePutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigLoggingGet

ConfigLoggingGet Method for ConfigLoggingGet

Get logging configuration. Protocol is always syslog over UDP. Configurable are IP adress and port, log level.

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

func (*DefaultAPIService) ConfigLoggingGetExecute

func (a *DefaultAPIService) ConfigLoggingGetExecute(r ApiConfigLoggingGetRequest) (*LoggingConfig, *http.Response, error)

Execute executes the request

@return LoggingConfig

func (*DefaultAPIService) ConfigLoggingPut

ConfigLoggingPut Method for ConfigLoggingPut

Configure log level and destination.

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

func (*DefaultAPIService) ConfigLoggingPutExecute

func (a *DefaultAPIService) ConfigLoggingPutExecute(r ApiConfigLoggingPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigNetworkGet

ConfigNetworkGet Method for ConfigNetworkGet

Get network configuration. IP address, netmask, router.

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

func (*DefaultAPIService) ConfigNetworkGetExecute

func (a *DefaultAPIService) ConfigNetworkGetExecute(r ApiConfigNetworkGetRequest) (*NetworkConfig, *http.Response, error)

Execute executes the request

@return NetworkConfig

func (*DefaultAPIService) ConfigNetworkPut

ConfigNetworkPut Method for ConfigNetworkPut

Configure network.

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

func (*DefaultAPIService) ConfigNetworkPutExecute

func (a *DefaultAPIService) ConfigNetworkPutExecute(r ApiConfigNetworkPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigTimeGet

ConfigTimeGet Method for ConfigTimeGet

Get system time.

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

func (*DefaultAPIService) ConfigTimeGetExecute

func (a *DefaultAPIService) ConfigTimeGetExecute(r ApiConfigTimeGetRequest) (*TimeConfig, *http.Response, error)

Execute executes the request

@return TimeConfig

func (*DefaultAPIService) ConfigTimePut

ConfigTimePut Method for ConfigTimePut

Configure system time.

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

func (*DefaultAPIService) ConfigTimePutExecute

func (a *DefaultAPIService) ConfigTimePutExecute(r ApiConfigTimePutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigTlsCertPemGet

func (a *DefaultAPIService) ConfigTlsCertPemGet(ctx context.Context) ApiConfigTlsCertPemGetRequest

ConfigTlsCertPemGet Method for ConfigTlsCertPemGet

Get certificate for NetHSMs https API.

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

func (*DefaultAPIService) ConfigTlsCertPemGetExecute

func (a *DefaultAPIService) ConfigTlsCertPemGetExecute(r ApiConfigTlsCertPemGetRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DefaultAPIService) ConfigTlsCertPemPut

func (a *DefaultAPIService) ConfigTlsCertPemPut(ctx context.Context) ApiConfigTlsCertPemPutRequest

ConfigTlsCertPemPut Method for ConfigTlsCertPemPut

Set certificate for NetHSMs https API e.g. to replace self-signed intital certificate.

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

func (*DefaultAPIService) ConfigTlsCertPemPutExecute

func (a *DefaultAPIService) ConfigTlsCertPemPutExecute(r ApiConfigTlsCertPemPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigTlsCsrPemPost

func (a *DefaultAPIService) ConfigTlsCsrPemPost(ctx context.Context) ApiConfigTlsCsrPemPostRequest

ConfigTlsCsrPemPost Method for ConfigTlsCsrPemPost

Get NetHSM certificate signing request e.g. to replace self-signed intital certificate.

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

func (*DefaultAPIService) ConfigTlsCsrPemPostExecute

func (a *DefaultAPIService) ConfigTlsCsrPemPostExecute(r ApiConfigTlsCsrPemPostRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DefaultAPIService) ConfigTlsGeneratePost

func (a *DefaultAPIService) ConfigTlsGeneratePost(ctx context.Context) ApiConfigTlsGeneratePostRequest

ConfigTlsGeneratePost Method for ConfigTlsGeneratePost

Generate a new pair of public and private key for NetHSM's https API.

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

func (*DefaultAPIService) ConfigTlsGeneratePostExecute

func (a *DefaultAPIService) ConfigTlsGeneratePostExecute(r ApiConfigTlsGeneratePostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigTlsPublicPemGet

func (a *DefaultAPIService) ConfigTlsPublicPemGet(ctx context.Context) ApiConfigTlsPublicPemGetRequest

ConfigTlsPublicPemGet Method for ConfigTlsPublicPemGet

Get public key for NetHSMs https API.

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

func (*DefaultAPIService) ConfigTlsPublicPemGetExecute

func (a *DefaultAPIService) ConfigTlsPublicPemGetExecute(r ApiConfigTlsPublicPemGetRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DefaultAPIService) ConfigUnattendedBootGet

func (a *DefaultAPIService) ConfigUnattendedBootGet(ctx context.Context) ApiConfigUnattendedBootGetRequest

ConfigUnattendedBootGet Method for ConfigUnattendedBootGet

Read unattended boot configuration: is it on or off?

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

func (*DefaultAPIService) ConfigUnattendedBootGetExecute

Execute executes the request

@return UnattendedBootConfig

func (*DefaultAPIService) ConfigUnattendedBootPut

func (a *DefaultAPIService) ConfigUnattendedBootPut(ctx context.Context) ApiConfigUnattendedBootPutRequest

ConfigUnattendedBootPut Method for ConfigUnattendedBootPut

Configure unattended boot: switch it on or off (flip the switch).

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

func (*DefaultAPIService) ConfigUnattendedBootPutExecute

func (a *DefaultAPIService) ConfigUnattendedBootPutExecute(r ApiConfigUnattendedBootPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ConfigUnlockPassphrasePut

func (a *DefaultAPIService) ConfigUnlockPassphrasePut(ctx context.Context) ApiConfigUnlockPassphrasePutRequest

ConfigUnlockPassphrasePut Method for ConfigUnlockPassphrasePut

Update the unlock passphrase.

*WARNING:* The unlock passphrase can't be reset by an admin user without knowing the current value, so if the unlock passphrase is lost, neither can it be reset to a new value nor can the NetHSM be unlocked.

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

func (*DefaultAPIService) ConfigUnlockPassphrasePutExecute

func (a *DefaultAPIService) ConfigUnlockPassphrasePutExecute(r ApiConfigUnlockPassphrasePutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) HealthAliveGet

HealthAliveGet Method for HealthAliveGet

Retrieve whether NetHSM is fully started but not ready to take traffic. This corresponds to the state *Locked* or *Unprovisioned*.

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

func (*DefaultAPIService) HealthAliveGetExecute

func (a *DefaultAPIService) HealthAliveGetExecute(r ApiHealthAliveGetRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) HealthReadyGet

HealthReadyGet Method for HealthReadyGet

Retrieve whether NetHSM is in state *Operational* and thus ready to take traffic.

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

func (*DefaultAPIService) HealthReadyGetExecute

func (a *DefaultAPIService) HealthReadyGetExecute(r ApiHealthReadyGetRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) HealthStateGet

HealthStateGet Method for HealthStateGet

Retrieve the state of NetHSM.

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

func (*DefaultAPIService) HealthStateGetExecute

Execute executes the request

@return HealthStateData

func (*DefaultAPIService) InfoGet

InfoGet Method for InfoGet

Information about the vendor and product.

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

func (*DefaultAPIService) InfoGetExecute

func (a *DefaultAPIService) InfoGetExecute(r ApiInfoGetRequest) (*InfoData, *http.Response, error)

Execute executes the request

@return InfoData

func (*DefaultAPIService) KeysGeneratePost

KeysGeneratePost Method for KeysGeneratePost

Generate a pair of public and private key and store it in NetHSM. KeyID is optional as a parameter and will be generated by NetHSM if not present. The key is stored in the caller's namespace.

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

func (*DefaultAPIService) KeysGeneratePostExecute

Execute executes the request

@return CreateResourceId

func (*DefaultAPIService) KeysGet

KeysGet Method for KeysGet

Get a list of the identifiers of all keys that are currently stored in NetHSM. If the caller is in a namespace, only keys in that namespace are returned. Separate requests need to be made to request the individual key data.

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

func (*DefaultAPIService) KeysGetExecute

func (a *DefaultAPIService) KeysGetExecute(r ApiKeysGetRequest) ([]KeyItem, *http.Response, error)

Execute executes the request

@return []KeyItem

func (*DefaultAPIService) KeysKeyIDCertDelete

func (a *DefaultAPIService) KeysKeyIDCertDelete(ctx context.Context, keyID string) ApiKeysKeyIDCertDeleteRequest

KeysKeyIDCertDelete Method for KeysKeyIDCertDelete

Delete the certificate.

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

func (*DefaultAPIService) KeysKeyIDCertDeleteExecute

func (a *DefaultAPIService) KeysKeyIDCertDeleteExecute(r ApiKeysKeyIDCertDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDCertGet

func (a *DefaultAPIService) KeysKeyIDCertGet(ctx context.Context, keyID string) ApiKeysKeyIDCertGetRequest

KeysKeyIDCertGet Method for KeysKeyIDCertGet

Retrieve a stored certificate in the exact format it was stored.

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

func (*DefaultAPIService) KeysKeyIDCertGetExecute

func (a *DefaultAPIService) KeysKeyIDCertGetExecute(r ApiKeysKeyIDCertGetRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*DefaultAPIService) KeysKeyIDCertPut

func (a *DefaultAPIService) KeysKeyIDCertPut(ctx context.Context, keyID string) ApiKeysKeyIDCertPutRequest

KeysKeyIDCertPut Method for KeysKeyIDCertPut

Store a certificate. Maximum size 1MB. The Content-Type must be application/octet-stream.

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

func (*DefaultAPIService) KeysKeyIDCertPutExecute

func (a *DefaultAPIService) KeysKeyIDCertPutExecute(r ApiKeysKeyIDCertPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDCsrPemPost

func (a *DefaultAPIService) KeysKeyIDCsrPemPost(ctx context.Context, keyID string) ApiKeysKeyIDCsrPemPostRequest

KeysKeyIDCsrPemPost Method for KeysKeyIDCsrPemPost

Retrieve a certificate signing request in PEM format.

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

func (*DefaultAPIService) KeysKeyIDCsrPemPostExecute

func (a *DefaultAPIService) KeysKeyIDCsrPemPostExecute(r ApiKeysKeyIDCsrPemPostRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DefaultAPIService) KeysKeyIDDecryptPost

func (a *DefaultAPIService) KeysKeyIDDecryptPost(ctx context.Context, keyID string) ApiKeysKeyIDDecryptPostRequest

KeysKeyIDDecryptPost Method for KeysKeyIDDecryptPost

Decrypt an encrypted message with the secret key.

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

func (*DefaultAPIService) KeysKeyIDDecryptPostExecute

func (a *DefaultAPIService) KeysKeyIDDecryptPostExecute(r ApiKeysKeyIDDecryptPostRequest) (*DecryptData, *http.Response, error)

Execute executes the request

@return DecryptData

func (*DefaultAPIService) KeysKeyIDDelete

func (a *DefaultAPIService) KeysKeyIDDelete(ctx context.Context, keyID string) ApiKeysKeyIDDeleteRequest

KeysKeyIDDelete Method for KeysKeyIDDelete

Delete a pair of public and private key.

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

func (*DefaultAPIService) KeysKeyIDDeleteExecute

func (a *DefaultAPIService) KeysKeyIDDeleteExecute(r ApiKeysKeyIDDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDEncryptPost

func (a *DefaultAPIService) KeysKeyIDEncryptPost(ctx context.Context, keyID string) ApiKeysKeyIDEncryptPostRequest

KeysKeyIDEncryptPost Method for KeysKeyIDEncryptPost

Encrypt a message with the secret key.

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

func (*DefaultAPIService) KeysKeyIDEncryptPostExecute

func (a *DefaultAPIService) KeysKeyIDEncryptPostExecute(r ApiKeysKeyIDEncryptPostRequest) (*EncryptData, *http.Response, error)

Execute executes the request

@return EncryptData

func (*DefaultAPIService) KeysKeyIDGet

func (a *DefaultAPIService) KeysKeyIDGet(ctx context.Context, keyID string) ApiKeysKeyIDGetRequest

KeysKeyIDGet Method for KeysKeyIDGet

Retrieve the public key.

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

func (*DefaultAPIService) KeysKeyIDGetExecute

func (a *DefaultAPIService) KeysKeyIDGetExecute(r ApiKeysKeyIDGetRequest) (*PublicKey, *http.Response, error)

Execute executes the request

@return PublicKey

func (*DefaultAPIService) KeysKeyIDPublicPemGet

func (a *DefaultAPIService) KeysKeyIDPublicPemGet(ctx context.Context, keyID string) ApiKeysKeyIDPublicPemGetRequest

KeysKeyIDPublicPemGet Method for KeysKeyIDPublicPemGet

Retrieve public key in PEM format.

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

func (*DefaultAPIService) KeysKeyIDPublicPemGetExecute

func (a *DefaultAPIService) KeysKeyIDPublicPemGetExecute(r ApiKeysKeyIDPublicPemGetRequest) (string, *http.Response, error)

Execute executes the request

@return string

func (*DefaultAPIService) KeysKeyIDPut

func (a *DefaultAPIService) KeysKeyIDPut(ctx context.Context, keyID string) ApiKeysKeyIDPutRequest

KeysKeyIDPut Method for KeysKeyIDPut

Import a private key into NetHSM and store it under the *KeyID* path. The public key will be automatically derived. The parameters of the key can be passed as a PEM file or a JSON object. The key is stored in the caller's namespace.

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

func (*DefaultAPIService) KeysKeyIDPutExecute

func (a *DefaultAPIService) KeysKeyIDPutExecute(r ApiKeysKeyIDPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDRestrictionsTagsTagDelete

func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagDelete(ctx context.Context, tag string, keyID string) ApiKeysKeyIDRestrictionsTagsTagDeleteRequest

KeysKeyIDRestrictionsTagsTagDelete Method for KeysKeyIDRestrictionsTagsTagDelete

Delete a tag from the authorized set

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

func (*DefaultAPIService) KeysKeyIDRestrictionsTagsTagDeleteExecute

func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagDeleteExecute(r ApiKeysKeyIDRestrictionsTagsTagDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDRestrictionsTagsTagPut

func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagPut(ctx context.Context, tag string, keyID string) ApiKeysKeyIDRestrictionsTagsTagPutRequest

KeysKeyIDRestrictionsTagsTagPut Method for KeysKeyIDRestrictionsTagsTagPut

Add a tag to the authorized set

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

func (*DefaultAPIService) KeysKeyIDRestrictionsTagsTagPutExecute

func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagPutExecute(r ApiKeysKeyIDRestrictionsTagsTagPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) KeysKeyIDSignPost

func (a *DefaultAPIService) KeysKeyIDSignPost(ctx context.Context, keyID string) ApiKeysKeyIDSignPostRequest

KeysKeyIDSignPost Method for KeysKeyIDSignPost

Sign a message with the secret key.

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

func (*DefaultAPIService) KeysKeyIDSignPostExecute

func (a *DefaultAPIService) KeysKeyIDSignPostExecute(r ApiKeysKeyIDSignPostRequest) (*SignData, *http.Response, error)

Execute executes the request

@return SignData

func (*DefaultAPIService) KeysPost

KeysPost Method for KeysPost

Import a private key into NetHSM and let NetHSM generate a KeyID. The public key will be automatically derived. The parameters of the key can be passed as a PEM file or a JSON object. The key is stored in the caller's namespace.

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

func (*DefaultAPIService) KeysPostExecute

Execute executes the request

@return CreateResourceId

func (*DefaultAPIService) LockPost

LockPost Method for LockPost

Brings an *Operational* NetHSM into *Locked* state.

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

func (*DefaultAPIService) LockPostExecute

func (a *DefaultAPIService) LockPostExecute(r ApiLockPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) MetricsGet

MetricsGet Method for MetricsGet

Get metrics. Precondition: NetHSM is *Operational* and a **R-Metrics** can be authenticated.

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

func (*DefaultAPIService) MetricsGetExecute

func (a *DefaultAPIService) MetricsGetExecute(r ApiMetricsGetRequest) (map[string]interface{}, *http.Response, error)

Execute executes the request

@return map[string]interface{}

func (*DefaultAPIService) NamespacesGet

NamespacesGet Method for NamespacesGet

Get a list of all created namespaces. Note that users may be assigned namespaces not present in this list, as long as the namespace has not been created.

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

func (*DefaultAPIService) NamespacesGetExecute

func (a *DefaultAPIService) NamespacesGetExecute(r ApiNamespacesGetRequest) ([]NamespaceItem, *http.Response, error)

Execute executes the request

@return []NamespaceItem

func (*DefaultAPIService) NamespacesNamespaceIDDelete

func (a *DefaultAPIService) NamespacesNamespaceIDDelete(ctx context.Context, namespaceID string) ApiNamespacesNamespaceIDDeleteRequest

NamespacesNamespaceIDDelete Method for NamespacesNamespaceIDDelete

Delete a namespace. **WARNING: all keys from that namespace are deleted.**

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

func (*DefaultAPIService) NamespacesNamespaceIDDeleteExecute

func (a *DefaultAPIService) NamespacesNamespaceIDDeleteExecute(r ApiNamespacesNamespaceIDDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) NamespacesNamespaceIDPut

func (a *DefaultAPIService) NamespacesNamespaceIDPut(ctx context.Context, namespaceID string) ApiNamespacesNamespaceIDPutRequest

NamespacesNamespaceIDPut Method for NamespacesNamespaceIDPut

Create a namespace on keyfender. All users in that namespace can now be used, and all user management power is delegated to admins in that namespace.

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

func (*DefaultAPIService) NamespacesNamespaceIDPutExecute

func (a *DefaultAPIService) NamespacesNamespaceIDPutExecute(r ApiNamespacesNamespaceIDPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) ProvisionPost

ProvisionPost Method for ProvisionPost

Initial provisioning, only available in *Unprovisioned* state.

*WARNING:* The unlock passphrase can't be reset by an admin user without knowing the current value, so if the unlock passphrase is lost, neither can it be reset to a new value nor can the NetHSM be unlocked.

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

func (*DefaultAPIService) ProvisionPostExecute

func (a *DefaultAPIService) ProvisionPostExecute(r ApiProvisionPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) RandomPost

RandomPost Method for RandomPost

Retrieve cryptographically strong random bytes from NetHSM. Precondition: NetHSM is *Operational* and a **R-Operator** can be authenticated.

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

func (*DefaultAPIService) RandomPostExecute

func (a *DefaultAPIService) RandomPostExecute(r ApiRandomPostRequest) (*RandomData, *http.Response, error)

Execute executes the request

@return RandomData

func (*DefaultAPIService) SystemBackupPost

SystemBackupPost Method for SystemBackupPost

Back up the key store to a backup file.

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

func (*DefaultAPIService) SystemBackupPostExecute

func (a *DefaultAPIService) SystemBackupPostExecute(r ApiSystemBackupPostRequest) (*os.File, *http.Response, error)

Execute executes the request

@return *os.File

func (*DefaultAPIService) SystemCancelUpdatePost

func (a *DefaultAPIService) SystemCancelUpdatePost(ctx context.Context) ApiSystemCancelUpdatePostRequest

SystemCancelUpdatePost Method for SystemCancelUpdatePost

Cancel update of NetHSM software.

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

func (*DefaultAPIService) SystemCancelUpdatePostExecute

func (a *DefaultAPIService) SystemCancelUpdatePostExecute(r ApiSystemCancelUpdatePostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemCommitUpdatePost

func (a *DefaultAPIService) SystemCommitUpdatePost(ctx context.Context) ApiSystemCommitUpdatePostRequest

SystemCommitUpdatePost Method for SystemCommitUpdatePost

Commit update of NetHSM software.

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

func (*DefaultAPIService) SystemCommitUpdatePostExecute

func (a *DefaultAPIService) SystemCommitUpdatePostExecute(r ApiSystemCommitUpdatePostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemFactoryResetPost

func (a *DefaultAPIService) SystemFactoryResetPost(ctx context.Context) ApiSystemFactoryResetPostRequest

SystemFactoryResetPost Method for SystemFactoryResetPost

Reset NetHSM to factory settings.

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

func (*DefaultAPIService) SystemFactoryResetPostExecute

func (a *DefaultAPIService) SystemFactoryResetPostExecute(r ApiSystemFactoryResetPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemInfoGet

SystemInfoGet Method for SystemInfoGet

Get detailed system information, including firmware, system, and hardware version.

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

func (*DefaultAPIService) SystemInfoGetExecute

func (a *DefaultAPIService) SystemInfoGetExecute(r ApiSystemInfoGetRequest) (*SystemInfo, *http.Response, error)

Execute executes the request

@return SystemInfo

func (*DefaultAPIService) SystemRebootPost

SystemRebootPost Method for SystemRebootPost

Reboot NetHSM.

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

func (*DefaultAPIService) SystemRebootPostExecute

func (a *DefaultAPIService) SystemRebootPostExecute(r ApiSystemRebootPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemRestorePost

SystemRestorePost Method for SystemRestorePost

Restore the key store and user store from a backup file. If NetHSM is *Unprovisioned*, then the configuration is restored.

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

func (*DefaultAPIService) SystemRestorePostExecute

func (a *DefaultAPIService) SystemRestorePostExecute(r ApiSystemRestorePostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemShutdownPost

SystemShutdownPost Method for SystemShutdownPost

Shut down NetHSM.

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

func (*DefaultAPIService) SystemShutdownPostExecute

func (a *DefaultAPIService) SystemShutdownPostExecute(r ApiSystemShutdownPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) SystemUpdatePost

SystemUpdatePost Method for SystemUpdatePost

Update NetHSM software.

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

func (*DefaultAPIService) SystemUpdatePostExecute

Execute executes the request

@return SystemUpdateData

func (*DefaultAPIService) UnlockPost

UnlockPost Method for UnlockPost

Brings a *Locked* NetHSM into *Operational* state.

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

func (*DefaultAPIService) UnlockPostExecute

func (a *DefaultAPIService) UnlockPostExecute(r ApiUnlockPostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) UsersGet

UsersGet Method for UsersGet

Get a list of all user ids that have accounts on NetHSM. If the caller is in a namespace, return only users in that namespace.

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

func (*DefaultAPIService) UsersGetExecute

func (a *DefaultAPIService) UsersGetExecute(r ApiUsersGetRequest) ([]UserItem, *http.Response, error)

Execute executes the request

@return []UserItem

func (*DefaultAPIService) UsersPost

UsersPost Method for UsersPost

Create a new user on NetHSM, inheriting the caller's namespace. The user-ID is generated by NetHSM.

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

func (*DefaultAPIService) UsersPostExecute

Execute executes the request

@return CreateResourceId

func (*DefaultAPIService) UsersUserIDDelete

func (a *DefaultAPIService) UsersUserIDDelete(ctx context.Context, userID string) ApiUsersUserIDDeleteRequest

UsersUserIDDelete Method for UsersUserIDDelete

Delete a user from keyfender.

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

func (*DefaultAPIService) UsersUserIDDeleteExecute

func (a *DefaultAPIService) UsersUserIDDeleteExecute(r ApiUsersUserIDDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) UsersUserIDGet

func (a *DefaultAPIService) UsersUserIDGet(ctx context.Context, userID string) ApiUsersUserIDGetRequest

UsersUserIDGet Method for UsersUserIDGet

Get user info: name and role.

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

func (*DefaultAPIService) UsersUserIDGetExecute

func (a *DefaultAPIService) UsersUserIDGetExecute(r ApiUsersUserIDGetRequest) (*UserData, *http.Response, error)

Execute executes the request

@return UserData

func (*DefaultAPIService) UsersUserIDPassphrasePost

func (a *DefaultAPIService) UsersUserIDPassphrasePost(ctx context.Context, userID string) ApiUsersUserIDPassphrasePostRequest

UsersUserIDPassphrasePost Method for UsersUserIDPassphrasePost

Update the passphrase.

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

func (*DefaultAPIService) UsersUserIDPassphrasePostExecute

func (a *DefaultAPIService) UsersUserIDPassphrasePostExecute(r ApiUsersUserIDPassphrasePostRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) UsersUserIDPost

func (a *DefaultAPIService) UsersUserIDPost(ctx context.Context, userID string) ApiUsersUserIDPostRequest

UsersUserIDPost Method for UsersUserIDPost

Create a new user on NetHSM, in the namespace specified as a prefix in the path with the format 'namespace~'. For example, a POST request on "https://nethsm.local/v1/users/namespace1~" will generate a user-ID and create that user in "namespace1". The namespace prefix *must* be present: for creating users without a namespace, use a POST on "/v1/users".

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

func (*DefaultAPIService) UsersUserIDPostExecute

Execute executes the request

@return CreateResourceId

func (*DefaultAPIService) UsersUserIDPut

func (a *DefaultAPIService) UsersUserIDPut(ctx context.Context, userID string) ApiUsersUserIDPutRequest

UsersUserIDPut Method for UsersUserIDPut

Create a user on keyfender. The new user must either be in the same namespace as the caller, or be in a namespace not created yet if the caller has no namespace.

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

func (*DefaultAPIService) UsersUserIDPutExecute

func (a *DefaultAPIService) UsersUserIDPutExecute(r ApiUsersUserIDPutRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) UsersUserIDTagsGet

func (a *DefaultAPIService) UsersUserIDTagsGet(ctx context.Context, userID string) ApiUsersUserIDTagsGetRequest

UsersUserIDTagsGet Method for UsersUserIDTagsGet

Get the list of tags set to an Operator user.

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

func (*DefaultAPIService) UsersUserIDTagsGetExecute

func (a *DefaultAPIService) UsersUserIDTagsGetExecute(r ApiUsersUserIDTagsGetRequest) ([]string, *http.Response, error)

Execute executes the request

@return []string

func (*DefaultAPIService) UsersUserIDTagsTagDelete

func (a *DefaultAPIService) UsersUserIDTagsTagDelete(ctx context.Context, userID string, tag string) ApiUsersUserIDTagsTagDeleteRequest

UsersUserIDTagsTagDelete Method for UsersUserIDTagsTagDelete

Delete a tag from the Operator user

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

func (*DefaultAPIService) UsersUserIDTagsTagDeleteExecute

func (a *DefaultAPIService) UsersUserIDTagsTagDeleteExecute(r ApiUsersUserIDTagsTagDeleteRequest) (*http.Response, error)

Execute executes the request

func (*DefaultAPIService) UsersUserIDTagsTagPut

func (a *DefaultAPIService) UsersUserIDTagsTagPut(ctx context.Context, userID string, tag string) ApiUsersUserIDTagsTagPutRequest

UsersUserIDTagsTagPut Method for UsersUserIDTagsTagPut

Add a tag to the Operator user.

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

func (*DefaultAPIService) UsersUserIDTagsTagPutExecute

func (a *DefaultAPIService) UsersUserIDTagsTagPutExecute(r ApiUsersUserIDTagsTagPutRequest) (*http.Response, error)

Execute executes the request

type DistinguishedName

type DistinguishedName struct {
	CountryName            *string `json:"countryName,omitempty"`
	StateOrProvinceName    *string `json:"stateOrProvinceName,omitempty"`
	LocalityName           *string `json:"localityName,omitempty"`
	OrganizationName       *string `json:"organizationName,omitempty"`
	OrganizationalUnitName *string `json:"organizationalUnitName,omitempty"`
	CommonName             string  `json:"commonName"`
	EmailAddress           *string `json:"emailAddress,omitempty"`
}

DistinguishedName struct for DistinguishedName

func NewDistinguishedName

func NewDistinguishedName(commonName string) *DistinguishedName

NewDistinguishedName instantiates a new DistinguishedName 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 NewDistinguishedNameWithDefaults

func NewDistinguishedNameWithDefaults() *DistinguishedName

NewDistinguishedNameWithDefaults instantiates a new DistinguishedName 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 (*DistinguishedName) GetCommonName

func (o *DistinguishedName) GetCommonName() string

GetCommonName returns the CommonName field value

func (*DistinguishedName) GetCommonNameOk

func (o *DistinguishedName) GetCommonNameOk() (*string, bool)

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

func (*DistinguishedName) GetCountryName

func (o *DistinguishedName) GetCountryName() string

GetCountryName returns the CountryName field value if set, zero value otherwise.

func (*DistinguishedName) GetCountryNameOk

func (o *DistinguishedName) GetCountryNameOk() (*string, bool)

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

func (*DistinguishedName) GetEmailAddress

func (o *DistinguishedName) GetEmailAddress() string

GetEmailAddress returns the EmailAddress field value if set, zero value otherwise.

func (*DistinguishedName) GetEmailAddressOk

func (o *DistinguishedName) GetEmailAddressOk() (*string, bool)

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

func (*DistinguishedName) GetLocalityName

func (o *DistinguishedName) GetLocalityName() string

GetLocalityName returns the LocalityName field value if set, zero value otherwise.

func (*DistinguishedName) GetLocalityNameOk

func (o *DistinguishedName) GetLocalityNameOk() (*string, bool)

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

func (*DistinguishedName) GetOrganizationName

func (o *DistinguishedName) GetOrganizationName() string

GetOrganizationName returns the OrganizationName field value if set, zero value otherwise.

func (*DistinguishedName) GetOrganizationNameOk

func (o *DistinguishedName) GetOrganizationNameOk() (*string, bool)

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

func (*DistinguishedName) GetOrganizationalUnitName

func (o *DistinguishedName) GetOrganizationalUnitName() string

GetOrganizationalUnitName returns the OrganizationalUnitName field value if set, zero value otherwise.

func (*DistinguishedName) GetOrganizationalUnitNameOk

func (o *DistinguishedName) GetOrganizationalUnitNameOk() (*string, bool)

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

func (*DistinguishedName) GetStateOrProvinceName

func (o *DistinguishedName) GetStateOrProvinceName() string

GetStateOrProvinceName returns the StateOrProvinceName field value if set, zero value otherwise.

func (*DistinguishedName) GetStateOrProvinceNameOk

func (o *DistinguishedName) GetStateOrProvinceNameOk() (*string, bool)

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

func (*DistinguishedName) HasCountryName

func (o *DistinguishedName) HasCountryName() bool

HasCountryName returns a boolean if a field has been set.

func (*DistinguishedName) HasEmailAddress

func (o *DistinguishedName) HasEmailAddress() bool

HasEmailAddress returns a boolean if a field has been set.

func (*DistinguishedName) HasLocalityName

func (o *DistinguishedName) HasLocalityName() bool

HasLocalityName returns a boolean if a field has been set.

func (*DistinguishedName) HasOrganizationName

func (o *DistinguishedName) HasOrganizationName() bool

HasOrganizationName returns a boolean if a field has been set.

func (*DistinguishedName) HasOrganizationalUnitName

func (o *DistinguishedName) HasOrganizationalUnitName() bool

HasOrganizationalUnitName returns a boolean if a field has been set.

func (*DistinguishedName) HasStateOrProvinceName

func (o *DistinguishedName) HasStateOrProvinceName() bool

HasStateOrProvinceName returns a boolean if a field has been set.

func (DistinguishedName) MarshalJSON

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

func (*DistinguishedName) SetCommonName

func (o *DistinguishedName) SetCommonName(v string)

SetCommonName sets field value

func (*DistinguishedName) SetCountryName

func (o *DistinguishedName) SetCountryName(v string)

SetCountryName gets a reference to the given string and assigns it to the CountryName field.

func (*DistinguishedName) SetEmailAddress

func (o *DistinguishedName) SetEmailAddress(v string)

SetEmailAddress gets a reference to the given string and assigns it to the EmailAddress field.

func (*DistinguishedName) SetLocalityName

func (o *DistinguishedName) SetLocalityName(v string)

SetLocalityName gets a reference to the given string and assigns it to the LocalityName field.

func (*DistinguishedName) SetOrganizationName

func (o *DistinguishedName) SetOrganizationName(v string)

SetOrganizationName gets a reference to the given string and assigns it to the OrganizationName field.

func (*DistinguishedName) SetOrganizationalUnitName

func (o *DistinguishedName) SetOrganizationalUnitName(v string)

SetOrganizationalUnitName gets a reference to the given string and assigns it to the OrganizationalUnitName field.

func (*DistinguishedName) SetStateOrProvinceName

func (o *DistinguishedName) SetStateOrProvinceName(v string)

SetStateOrProvinceName gets a reference to the given string and assigns it to the StateOrProvinceName field.

func (DistinguishedName) ToMap

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

func (*DistinguishedName) UnmarshalJSON

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

type EncryptData

type EncryptData struct {
	Encrypted string `json:"encrypted" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	Iv        string `json:"iv" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

EncryptData struct for EncryptData

func NewEncryptData

func NewEncryptData(encrypted string, iv string) *EncryptData

NewEncryptData instantiates a new EncryptData 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 NewEncryptDataWithDefaults

func NewEncryptDataWithDefaults() *EncryptData

NewEncryptDataWithDefaults instantiates a new EncryptData 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 (*EncryptData) GetEncrypted

func (o *EncryptData) GetEncrypted() string

GetEncrypted returns the Encrypted field value

func (*EncryptData) GetEncryptedOk

func (o *EncryptData) GetEncryptedOk() (*string, bool)

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

func (*EncryptData) GetIv

func (o *EncryptData) GetIv() string

GetIv returns the Iv field value

func (*EncryptData) GetIvOk

func (o *EncryptData) GetIvOk() (*string, bool)

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

func (EncryptData) MarshalJSON

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

func (*EncryptData) SetEncrypted

func (o *EncryptData) SetEncrypted(v string)

SetEncrypted sets field value

func (*EncryptData) SetIv

func (o *EncryptData) SetIv(v string)

SetIv sets field value

func (EncryptData) ToMap

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

func (*EncryptData) UnmarshalJSON

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

type EncryptMode

type EncryptMode string

EncryptMode the model 'EncryptMode'

const (
	ENCRYPTMODE_AES_CBC EncryptMode = "AES_CBC"
)

List of EncryptMode

func NewEncryptModeFromValue

func NewEncryptModeFromValue(v string) (*EncryptMode, error)

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

func (EncryptMode) IsValid

func (v EncryptMode) IsValid() bool

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

func (EncryptMode) Ptr

func (v EncryptMode) Ptr() *EncryptMode

Ptr returns reference to EncryptMode value

func (*EncryptMode) UnmarshalJSON

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

type EncryptRequestData

type EncryptRequestData struct {
	Mode    EncryptMode `json:"mode"`
	Message string      `json:"message" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	Iv      *string     `json:"iv,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

EncryptRequestData struct for EncryptRequestData

func NewEncryptRequestData

func NewEncryptRequestData(mode EncryptMode, message string) *EncryptRequestData

NewEncryptRequestData instantiates a new EncryptRequestData 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 NewEncryptRequestDataWithDefaults

func NewEncryptRequestDataWithDefaults() *EncryptRequestData

NewEncryptRequestDataWithDefaults instantiates a new EncryptRequestData 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 (*EncryptRequestData) GetIv

func (o *EncryptRequestData) GetIv() string

GetIv returns the Iv field value if set, zero value otherwise.

func (*EncryptRequestData) GetIvOk

func (o *EncryptRequestData) GetIvOk() (*string, bool)

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

func (*EncryptRequestData) GetMessage

func (o *EncryptRequestData) GetMessage() string

GetMessage returns the Message field value

func (*EncryptRequestData) GetMessageOk

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

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

func (*EncryptRequestData) GetMode

func (o *EncryptRequestData) GetMode() EncryptMode

GetMode returns the Mode field value

func (*EncryptRequestData) GetModeOk

func (o *EncryptRequestData) GetModeOk() (*EncryptMode, bool)

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

func (*EncryptRequestData) HasIv

func (o *EncryptRequestData) HasIv() bool

HasIv returns a boolean if a field has been set.

func (EncryptRequestData) MarshalJSON

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

func (*EncryptRequestData) SetIv

func (o *EncryptRequestData) SetIv(v string)

SetIv gets a reference to the given string and assigns it to the Iv field.

func (*EncryptRequestData) SetMessage

func (o *EncryptRequestData) SetMessage(v string)

SetMessage sets field value

func (*EncryptRequestData) SetMode

func (o *EncryptRequestData) SetMode(v EncryptMode)

SetMode sets field value

func (EncryptRequestData) ToMap

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

func (*EncryptRequestData) UnmarshalJSON

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

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type HealthStateData

type HealthStateData struct {
	State SystemState `json:"state"`
}

HealthStateData struct for HealthStateData

func NewHealthStateData

func NewHealthStateData(state SystemState) *HealthStateData

NewHealthStateData instantiates a new HealthStateData 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 NewHealthStateDataWithDefaults

func NewHealthStateDataWithDefaults() *HealthStateData

NewHealthStateDataWithDefaults instantiates a new HealthStateData 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 (*HealthStateData) GetState

func (o *HealthStateData) GetState() SystemState

GetState returns the State field value

func (*HealthStateData) GetStateOk

func (o *HealthStateData) GetStateOk() (*SystemState, bool)

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

func (HealthStateData) MarshalJSON

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

func (*HealthStateData) SetState

func (o *HealthStateData) SetState(v SystemState)

SetState sets field value

func (HealthStateData) ToMap

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

func (*HealthStateData) UnmarshalJSON

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

type InfoData

type InfoData struct {
	Vendor  string `json:"vendor"`
	Product string `json:"product"`
}

InfoData struct for InfoData

func NewInfoData

func NewInfoData(vendor string, product string) *InfoData

NewInfoData instantiates a new InfoData 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 NewInfoDataWithDefaults

func NewInfoDataWithDefaults() *InfoData

NewInfoDataWithDefaults instantiates a new InfoData 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 (*InfoData) GetProduct

func (o *InfoData) GetProduct() string

GetProduct returns the Product field value

func (*InfoData) GetProductOk

func (o *InfoData) GetProductOk() (*string, bool)

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

func (*InfoData) GetVendor

func (o *InfoData) GetVendor() string

GetVendor returns the Vendor field value

func (*InfoData) GetVendorOk

func (o *InfoData) GetVendorOk() (*string, bool)

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

func (InfoData) MarshalJSON

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

func (*InfoData) SetProduct

func (o *InfoData) SetProduct(v string)

SetProduct sets field value

func (*InfoData) SetVendor

func (o *InfoData) SetVendor(v string)

SetVendor sets field value

func (InfoData) ToMap

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

func (*InfoData) UnmarshalJSON

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

type KeyGenerateRequestData

type KeyGenerateRequestData struct {
	Mechanisms   []KeyMechanism   `json:"mechanisms"`
	Type         KeyType          `json:"type"`
	Length       *int32           `json:"length,omitempty"`
	Id           *string          `json:"id,omitempty" validate:"regexp=^[a-zA-Z0-9]+$"`
	Restrictions *KeyRestrictions `json:"restrictions,omitempty"`
}

KeyGenerateRequestData struct for KeyGenerateRequestData

func NewKeyGenerateRequestData

func NewKeyGenerateRequestData(mechanisms []KeyMechanism, type_ KeyType) *KeyGenerateRequestData

NewKeyGenerateRequestData instantiates a new KeyGenerateRequestData 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 NewKeyGenerateRequestDataWithDefaults

func NewKeyGenerateRequestDataWithDefaults() *KeyGenerateRequestData

NewKeyGenerateRequestDataWithDefaults instantiates a new KeyGenerateRequestData 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 (*KeyGenerateRequestData) GetId

func (o *KeyGenerateRequestData) GetId() string

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

func (*KeyGenerateRequestData) GetIdOk

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

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

func (*KeyGenerateRequestData) GetLength

func (o *KeyGenerateRequestData) GetLength() int32

GetLength returns the Length field value if set, zero value otherwise.

func (*KeyGenerateRequestData) GetLengthOk

func (o *KeyGenerateRequestData) GetLengthOk() (*int32, bool)

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

func (*KeyGenerateRequestData) GetMechanisms

func (o *KeyGenerateRequestData) GetMechanisms() []KeyMechanism

GetMechanisms returns the Mechanisms field value

func (*KeyGenerateRequestData) GetMechanismsOk

func (o *KeyGenerateRequestData) GetMechanismsOk() ([]KeyMechanism, bool)

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

func (*KeyGenerateRequestData) GetRestrictions

func (o *KeyGenerateRequestData) GetRestrictions() KeyRestrictions

GetRestrictions returns the Restrictions field value if set, zero value otherwise.

func (*KeyGenerateRequestData) GetRestrictionsOk

func (o *KeyGenerateRequestData) GetRestrictionsOk() (*KeyRestrictions, bool)

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

func (*KeyGenerateRequestData) GetType

func (o *KeyGenerateRequestData) GetType() KeyType

GetType returns the Type field value

func (*KeyGenerateRequestData) GetTypeOk

func (o *KeyGenerateRequestData) GetTypeOk() (*KeyType, bool)

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

func (*KeyGenerateRequestData) HasId

func (o *KeyGenerateRequestData) HasId() bool

HasId returns a boolean if a field has been set.

func (*KeyGenerateRequestData) HasLength

func (o *KeyGenerateRequestData) HasLength() bool

HasLength returns a boolean if a field has been set.

func (*KeyGenerateRequestData) HasRestrictions

func (o *KeyGenerateRequestData) HasRestrictions() bool

HasRestrictions returns a boolean if a field has been set.

func (KeyGenerateRequestData) MarshalJSON

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

func (*KeyGenerateRequestData) SetId

func (o *KeyGenerateRequestData) SetId(v string)

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

func (*KeyGenerateRequestData) SetLength

func (o *KeyGenerateRequestData) SetLength(v int32)

SetLength gets a reference to the given int32 and assigns it to the Length field.

func (*KeyGenerateRequestData) SetMechanisms

func (o *KeyGenerateRequestData) SetMechanisms(v []KeyMechanism)

SetMechanisms sets field value

func (*KeyGenerateRequestData) SetRestrictions

func (o *KeyGenerateRequestData) SetRestrictions(v KeyRestrictions)

SetRestrictions gets a reference to the given KeyRestrictions and assigns it to the Restrictions field.

func (*KeyGenerateRequestData) SetType

func (o *KeyGenerateRequestData) SetType(v KeyType)

SetType sets field value

func (KeyGenerateRequestData) ToMap

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

func (*KeyGenerateRequestData) UnmarshalJSON

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

type KeyItem

type KeyItem struct {
	Id string `json:"id" validate:"regexp=^[a-zA-Z0-9]+$"`
}

KeyItem struct for KeyItem

func NewKeyItem

func NewKeyItem(id string) *KeyItem

NewKeyItem instantiates a new KeyItem 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 NewKeyItemWithDefaults

func NewKeyItemWithDefaults() *KeyItem

NewKeyItemWithDefaults instantiates a new KeyItem 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 (*KeyItem) GetId

func (o *KeyItem) GetId() string

GetId returns the Id field value

func (*KeyItem) GetIdOk

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

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

func (KeyItem) MarshalJSON

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

func (*KeyItem) SetId

func (o *KeyItem) SetId(v string)

SetId sets field value

func (KeyItem) ToMap

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

func (*KeyItem) UnmarshalJSON

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

type KeyMechanism

type KeyMechanism string

KeyMechanism the model 'KeyMechanism'

const (
	KEYMECHANISM_RSA_DECRYPTION_RAW         KeyMechanism = "RSA_Decryption_RAW"
	KEYMECHANISM_RSA_DECRYPTION_PKCS1       KeyMechanism = "RSA_Decryption_PKCS1"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_MD5    KeyMechanism = "RSA_Decryption_OAEP_MD5"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_SHA1   KeyMechanism = "RSA_Decryption_OAEP_SHA1"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_SHA224 KeyMechanism = "RSA_Decryption_OAEP_SHA224"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_SHA256 KeyMechanism = "RSA_Decryption_OAEP_SHA256"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_SHA384 KeyMechanism = "RSA_Decryption_OAEP_SHA384"
	KEYMECHANISM_RSA_DECRYPTION_OAEP_SHA512 KeyMechanism = "RSA_Decryption_OAEP_SHA512"
	KEYMECHANISM_RSA_SIGNATURE_PKCS1        KeyMechanism = "RSA_Signature_PKCS1"
	KEYMECHANISM_RSA_SIGNATURE_PSS_MD5      KeyMechanism = "RSA_Signature_PSS_MD5"
	KEYMECHANISM_RSA_SIGNATURE_PSS_SHA1     KeyMechanism = "RSA_Signature_PSS_SHA1"
	KEYMECHANISM_RSA_SIGNATURE_PSS_SHA224   KeyMechanism = "RSA_Signature_PSS_SHA224"
	KEYMECHANISM_RSA_SIGNATURE_PSS_SHA256   KeyMechanism = "RSA_Signature_PSS_SHA256"
	KEYMECHANISM_RSA_SIGNATURE_PSS_SHA384   KeyMechanism = "RSA_Signature_PSS_SHA384"
	KEYMECHANISM_RSA_SIGNATURE_PSS_SHA512   KeyMechanism = "RSA_Signature_PSS_SHA512"
	KEYMECHANISM_ED_DSA_SIGNATURE           KeyMechanism = "EdDSA_Signature"
	KEYMECHANISM_ECDSA_SIGNATURE            KeyMechanism = "ECDSA_Signature"
	KEYMECHANISM_AES_ENCRYPTION_CBC         KeyMechanism = "AES_Encryption_CBC"
	KEYMECHANISM_AES_DECRYPTION_CBC         KeyMechanism = "AES_Decryption_CBC"
)

List of KeyMechanism

func NewKeyMechanismFromValue

func NewKeyMechanismFromValue(v string) (*KeyMechanism, error)

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

func (KeyMechanism) IsValid

func (v KeyMechanism) IsValid() bool

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

func (KeyMechanism) Ptr

func (v KeyMechanism) Ptr() *KeyMechanism

Ptr returns reference to KeyMechanism value

func (*KeyMechanism) UnmarshalJSON

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

type KeyPrivateData

type KeyPrivateData struct {
	PrimeP         *string `json:"primeP,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	PrimeQ         *string `json:"primeQ,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	PublicExponent *string `json:"publicExponent,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	Data           *string `json:"data,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

KeyPrivateData struct for KeyPrivateData

func NewKeyPrivateData

func NewKeyPrivateData() *KeyPrivateData

NewKeyPrivateData instantiates a new KeyPrivateData 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 NewKeyPrivateDataWithDefaults

func NewKeyPrivateDataWithDefaults() *KeyPrivateData

NewKeyPrivateDataWithDefaults instantiates a new KeyPrivateData 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 (*KeyPrivateData) GetData

func (o *KeyPrivateData) GetData() string

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

func (*KeyPrivateData) GetDataOk

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

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

func (*KeyPrivateData) GetPrimeP

func (o *KeyPrivateData) GetPrimeP() string

GetPrimeP returns the PrimeP field value if set, zero value otherwise.

func (*KeyPrivateData) GetPrimePOk

func (o *KeyPrivateData) GetPrimePOk() (*string, bool)

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

func (*KeyPrivateData) GetPrimeQ

func (o *KeyPrivateData) GetPrimeQ() string

GetPrimeQ returns the PrimeQ field value if set, zero value otherwise.

func (*KeyPrivateData) GetPrimeQOk

func (o *KeyPrivateData) GetPrimeQOk() (*string, bool)

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

func (*KeyPrivateData) GetPublicExponent

func (o *KeyPrivateData) GetPublicExponent() string

GetPublicExponent returns the PublicExponent field value if set, zero value otherwise.

func (*KeyPrivateData) GetPublicExponentOk

func (o *KeyPrivateData) GetPublicExponentOk() (*string, bool)

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

func (*KeyPrivateData) HasData

func (o *KeyPrivateData) HasData() bool

HasData returns a boolean if a field has been set.

func (*KeyPrivateData) HasPrimeP

func (o *KeyPrivateData) HasPrimeP() bool

HasPrimeP returns a boolean if a field has been set.

func (*KeyPrivateData) HasPrimeQ

func (o *KeyPrivateData) HasPrimeQ() bool

HasPrimeQ returns a boolean if a field has been set.

func (*KeyPrivateData) HasPublicExponent

func (o *KeyPrivateData) HasPublicExponent() bool

HasPublicExponent returns a boolean if a field has been set.

func (KeyPrivateData) MarshalJSON

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

func (*KeyPrivateData) SetData

func (o *KeyPrivateData) SetData(v string)

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

func (*KeyPrivateData) SetPrimeP

func (o *KeyPrivateData) SetPrimeP(v string)

SetPrimeP gets a reference to the given string and assigns it to the PrimeP field.

func (*KeyPrivateData) SetPrimeQ

func (o *KeyPrivateData) SetPrimeQ(v string)

SetPrimeQ gets a reference to the given string and assigns it to the PrimeQ field.

func (*KeyPrivateData) SetPublicExponent

func (o *KeyPrivateData) SetPublicExponent(v string)

SetPublicExponent gets a reference to the given string and assigns it to the PublicExponent field.

func (KeyPrivateData) ToMap

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

type KeyPublicData

type KeyPublicData struct {
	Modulus        *string `json:"modulus,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	PublicExponent *string `json:"publicExponent,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
	Data           *string `json:"data,omitempty" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

KeyPublicData The public key data is either a *modulus* and a *publicExponent* or a *data* field. The *data* field is used for EC keys. This field is null for Generic keys.

func NewKeyPublicData

func NewKeyPublicData() *KeyPublicData

NewKeyPublicData instantiates a new KeyPublicData 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 NewKeyPublicDataWithDefaults

func NewKeyPublicDataWithDefaults() *KeyPublicData

NewKeyPublicDataWithDefaults instantiates a new KeyPublicData 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 (*KeyPublicData) GetData

func (o *KeyPublicData) GetData() string

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

func (*KeyPublicData) GetDataOk

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

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

func (*KeyPublicData) GetModulus

func (o *KeyPublicData) GetModulus() string

GetModulus returns the Modulus field value if set, zero value otherwise.

func (*KeyPublicData) GetModulusOk

func (o *KeyPublicData) GetModulusOk() (*string, bool)

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

func (*KeyPublicData) GetPublicExponent

func (o *KeyPublicData) GetPublicExponent() string

GetPublicExponent returns the PublicExponent field value if set, zero value otherwise.

func (*KeyPublicData) GetPublicExponentOk

func (o *KeyPublicData) GetPublicExponentOk() (*string, bool)

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

func (*KeyPublicData) HasData

func (o *KeyPublicData) HasData() bool

HasData returns a boolean if a field has been set.

func (*KeyPublicData) HasModulus

func (o *KeyPublicData) HasModulus() bool

HasModulus returns a boolean if a field has been set.

func (*KeyPublicData) HasPublicExponent

func (o *KeyPublicData) HasPublicExponent() bool

HasPublicExponent returns a boolean if a field has been set.

func (KeyPublicData) MarshalJSON

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

func (*KeyPublicData) SetData

func (o *KeyPublicData) SetData(v string)

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

func (*KeyPublicData) SetModulus

func (o *KeyPublicData) SetModulus(v string)

SetModulus gets a reference to the given string and assigns it to the Modulus field.

func (*KeyPublicData) SetPublicExponent

func (o *KeyPublicData) SetPublicExponent(v string)

SetPublicExponent gets a reference to the given string and assigns it to the PublicExponent field.

func (KeyPublicData) ToMap

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

type KeyRestrictions

type KeyRestrictions struct {
	Tags []string `json:"tags,omitempty"`
}

KeyRestrictions struct for KeyRestrictions

func NewKeyRestrictions

func NewKeyRestrictions() *KeyRestrictions

NewKeyRestrictions instantiates a new KeyRestrictions 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 NewKeyRestrictionsWithDefaults

func NewKeyRestrictionsWithDefaults() *KeyRestrictions

NewKeyRestrictionsWithDefaults instantiates a new KeyRestrictions 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 (*KeyRestrictions) GetTags

func (o *KeyRestrictions) GetTags() []string

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

func (*KeyRestrictions) GetTagsOk

func (o *KeyRestrictions) GetTagsOk() ([]string, bool)

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

func (*KeyRestrictions) HasTags

func (o *KeyRestrictions) HasTags() bool

HasTags returns a boolean if a field has been set.

func (KeyRestrictions) MarshalJSON

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

func (*KeyRestrictions) SetTags

func (o *KeyRestrictions) SetTags(v []string)

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

func (KeyRestrictions) ToMap

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

type KeyType

type KeyType string

KeyType the model 'KeyType'

const (
	KEYTYPE_RSA        KeyType = "RSA"
	KEYTYPE_CURVE25519 KeyType = "Curve25519"
	KEYTYPE_EC_P224    KeyType = "EC_P224"
	KEYTYPE_EC_P256    KeyType = "EC_P256"
	KEYTYPE_EC_P384    KeyType = "EC_P384"
	KEYTYPE_EC_P521    KeyType = "EC_P521"
	KEYTYPE_GENERIC    KeyType = "Generic"
)

List of KeyType

func NewKeyTypeFromValue

func NewKeyTypeFromValue(v string) (*KeyType, error)

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

func (KeyType) IsValid

func (v KeyType) IsValid() bool

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

func (KeyType) Ptr

func (v KeyType) Ptr() *KeyType

Ptr returns reference to KeyType value

func (*KeyType) UnmarshalJSON

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

type LogLevel

type LogLevel string

LogLevel the model 'LogLevel'

const (
	LOGLEVEL_DEBUG   LogLevel = "debug"
	LOGLEVEL_INFO    LogLevel = "info"
	LOGLEVEL_WARNING LogLevel = "warning"
	LOGLEVEL_ERROR   LogLevel = "error"
)

List of LogLevel

func NewLogLevelFromValue

func NewLogLevelFromValue(v string) (*LogLevel, error)

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

func (LogLevel) IsValid

func (v LogLevel) IsValid() bool

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

func (LogLevel) Ptr

func (v LogLevel) Ptr() *LogLevel

Ptr returns reference to LogLevel value

func (*LogLevel) UnmarshalJSON

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

type LoggingConfig

type LoggingConfig struct {
	IpAddress string   `json:"ipAddress"`
	Port      int32    `json:"port"`
	LogLevel  LogLevel `json:"logLevel"`
}

LoggingConfig struct for LoggingConfig

func NewLoggingConfig

func NewLoggingConfig(ipAddress string, port int32, logLevel LogLevel) *LoggingConfig

NewLoggingConfig instantiates a new LoggingConfig 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 NewLoggingConfigWithDefaults

func NewLoggingConfigWithDefaults() *LoggingConfig

NewLoggingConfigWithDefaults instantiates a new LoggingConfig 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 (*LoggingConfig) GetIpAddress

func (o *LoggingConfig) GetIpAddress() string

GetIpAddress returns the IpAddress field value

func (*LoggingConfig) GetIpAddressOk

func (o *LoggingConfig) GetIpAddressOk() (*string, bool)

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

func (*LoggingConfig) GetLogLevel

func (o *LoggingConfig) GetLogLevel() LogLevel

GetLogLevel returns the LogLevel field value

func (*LoggingConfig) GetLogLevelOk

func (o *LoggingConfig) GetLogLevelOk() (*LogLevel, bool)

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

func (*LoggingConfig) GetPort

func (o *LoggingConfig) GetPort() int32

GetPort returns the Port field value

func (*LoggingConfig) GetPortOk

func (o *LoggingConfig) GetPortOk() (*int32, bool)

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

func (LoggingConfig) MarshalJSON

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

func (*LoggingConfig) SetIpAddress

func (o *LoggingConfig) SetIpAddress(v string)

SetIpAddress sets field value

func (*LoggingConfig) SetLogLevel

func (o *LoggingConfig) SetLogLevel(v LogLevel)

SetLogLevel sets field value

func (*LoggingConfig) SetPort

func (o *LoggingConfig) SetPort(v int32)

SetPort sets field value

func (LoggingConfig) ToMap

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

func (*LoggingConfig) UnmarshalJSON

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

type MappedNullable

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

type NamespaceItem

type NamespaceItem struct {
	Id string `json:"id" validate:"regexp=^[a-zA-Z0-9]+$"`
}

NamespaceItem struct for NamespaceItem

func NewNamespaceItem

func NewNamespaceItem(id string) *NamespaceItem

NewNamespaceItem instantiates a new NamespaceItem 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 NewNamespaceItemWithDefaults

func NewNamespaceItemWithDefaults() *NamespaceItem

NewNamespaceItemWithDefaults instantiates a new NamespaceItem 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 (*NamespaceItem) GetId

func (o *NamespaceItem) GetId() string

GetId returns the Id field value

func (*NamespaceItem) GetIdOk

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

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

func (NamespaceItem) MarshalJSON

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

func (*NamespaceItem) SetId

func (o *NamespaceItem) SetId(v string)

SetId sets field value

func (NamespaceItem) ToMap

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

func (*NamespaceItem) UnmarshalJSON

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

type NetworkConfig

type NetworkConfig struct {
	IpAddress string `json:"ipAddress"`
	Netmask   string `json:"netmask"`
	Gateway   string `json:"gateway"`
}

NetworkConfig struct for NetworkConfig

func NewNetworkConfig

func NewNetworkConfig(ipAddress string, netmask string, gateway string) *NetworkConfig

NewNetworkConfig instantiates a new NetworkConfig 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 NewNetworkConfigWithDefaults

func NewNetworkConfigWithDefaults() *NetworkConfig

NewNetworkConfigWithDefaults instantiates a new NetworkConfig 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 (*NetworkConfig) GetGateway

func (o *NetworkConfig) GetGateway() string

GetGateway returns the Gateway field value

func (*NetworkConfig) GetGatewayOk

func (o *NetworkConfig) GetGatewayOk() (*string, bool)

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

func (*NetworkConfig) GetIpAddress

func (o *NetworkConfig) GetIpAddress() string

GetIpAddress returns the IpAddress field value

func (*NetworkConfig) GetIpAddressOk

func (o *NetworkConfig) GetIpAddressOk() (*string, bool)

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

func (*NetworkConfig) GetNetmask

func (o *NetworkConfig) GetNetmask() string

GetNetmask returns the Netmask field value

func (*NetworkConfig) GetNetmaskOk

func (o *NetworkConfig) GetNetmaskOk() (*string, bool)

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

func (NetworkConfig) MarshalJSON

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

func (*NetworkConfig) SetGateway

func (o *NetworkConfig) SetGateway(v string)

SetGateway sets field value

func (*NetworkConfig) SetIpAddress

func (o *NetworkConfig) SetIpAddress(v string)

SetIpAddress sets field value

func (*NetworkConfig) SetNetmask

func (o *NetworkConfig) SetNetmask(v string)

SetNetmask sets field value

func (NetworkConfig) ToMap

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

func (*NetworkConfig) UnmarshalJSON

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

type NullableAkPub

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

func NewNullableAkPub

func NewNullableAkPub(val *AkPub) *NullableAkPub

func (NullableAkPub) Get

func (v NullableAkPub) Get() *AkPub

func (NullableAkPub) IsSet

func (v NullableAkPub) IsSet() bool

func (NullableAkPub) MarshalJSON

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

func (*NullableAkPub) Set

func (v *NullableAkPub) Set(val *AkPub)

func (*NullableAkPub) UnmarshalJSON

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

func (*NullableAkPub) Unset

func (v *NullableAkPub) Unset()

type NullableBackupPassphraseConfig

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

func (NullableBackupPassphraseConfig) Get

func (NullableBackupPassphraseConfig) IsSet

func (NullableBackupPassphraseConfig) MarshalJSON

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

func (*NullableBackupPassphraseConfig) Set

func (*NullableBackupPassphraseConfig) UnmarshalJSON

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

func (*NullableBackupPassphraseConfig) Unset

func (v *NullableBackupPassphraseConfig) 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 NullableCreateResourceId

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

func NewNullableCreateResourceId

func NewNullableCreateResourceId(val *CreateResourceId) *NullableCreateResourceId

func (NullableCreateResourceId) Get

func (NullableCreateResourceId) IsSet

func (v NullableCreateResourceId) IsSet() bool

func (NullableCreateResourceId) MarshalJSON

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

func (*NullableCreateResourceId) Set

func (*NullableCreateResourceId) UnmarshalJSON

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

func (*NullableCreateResourceId) Unset

func (v *NullableCreateResourceId) Unset()

type NullableDecryptData

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

func NewNullableDecryptData

func NewNullableDecryptData(val *DecryptData) *NullableDecryptData

func (NullableDecryptData) Get

func (NullableDecryptData) IsSet

func (v NullableDecryptData) IsSet() bool

func (NullableDecryptData) MarshalJSON

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

func (*NullableDecryptData) Set

func (v *NullableDecryptData) Set(val *DecryptData)

func (*NullableDecryptData) UnmarshalJSON

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

func (*NullableDecryptData) Unset

func (v *NullableDecryptData) Unset()

type NullableDecryptMode

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

func NewNullableDecryptMode

func NewNullableDecryptMode(val *DecryptMode) *NullableDecryptMode

func (NullableDecryptMode) Get

func (NullableDecryptMode) IsSet

func (v NullableDecryptMode) IsSet() bool

func (NullableDecryptMode) MarshalJSON

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

func (*NullableDecryptMode) Set

func (v *NullableDecryptMode) Set(val *DecryptMode)

func (*NullableDecryptMode) UnmarshalJSON

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

func (*NullableDecryptMode) Unset

func (v *NullableDecryptMode) Unset()

type NullableDecryptRequestData

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

func NewNullableDecryptRequestData

func NewNullableDecryptRequestData(val *DecryptRequestData) *NullableDecryptRequestData

func (NullableDecryptRequestData) Get

func (NullableDecryptRequestData) IsSet

func (v NullableDecryptRequestData) IsSet() bool

func (NullableDecryptRequestData) MarshalJSON

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

func (*NullableDecryptRequestData) Set

func (*NullableDecryptRequestData) UnmarshalJSON

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

func (*NullableDecryptRequestData) Unset

func (v *NullableDecryptRequestData) Unset()

type NullableDistinguishedName

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

func NewNullableDistinguishedName

func NewNullableDistinguishedName(val *DistinguishedName) *NullableDistinguishedName

func (NullableDistinguishedName) Get

func (NullableDistinguishedName) IsSet

func (v NullableDistinguishedName) IsSet() bool

func (NullableDistinguishedName) MarshalJSON

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

func (*NullableDistinguishedName) Set

func (*NullableDistinguishedName) UnmarshalJSON

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

func (*NullableDistinguishedName) Unset

func (v *NullableDistinguishedName) Unset()

type NullableEncryptData

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

func NewNullableEncryptData

func NewNullableEncryptData(val *EncryptData) *NullableEncryptData

func (NullableEncryptData) Get

func (NullableEncryptData) IsSet

func (v NullableEncryptData) IsSet() bool

func (NullableEncryptData) MarshalJSON

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

func (*NullableEncryptData) Set

func (v *NullableEncryptData) Set(val *EncryptData)

func (*NullableEncryptData) UnmarshalJSON

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

func (*NullableEncryptData) Unset

func (v *NullableEncryptData) Unset()

type NullableEncryptMode

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

func NewNullableEncryptMode

func NewNullableEncryptMode(val *EncryptMode) *NullableEncryptMode

func (NullableEncryptMode) Get

func (NullableEncryptMode) IsSet

func (v NullableEncryptMode) IsSet() bool

func (NullableEncryptMode) MarshalJSON

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

func (*NullableEncryptMode) Set

func (v *NullableEncryptMode) Set(val *EncryptMode)

func (*NullableEncryptMode) UnmarshalJSON

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

func (*NullableEncryptMode) Unset

func (v *NullableEncryptMode) Unset()

type NullableEncryptRequestData

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

func NewNullableEncryptRequestData

func NewNullableEncryptRequestData(val *EncryptRequestData) *NullableEncryptRequestData

func (NullableEncryptRequestData) Get

func (NullableEncryptRequestData) IsSet

func (v NullableEncryptRequestData) IsSet() bool

func (NullableEncryptRequestData) MarshalJSON

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

func (*NullableEncryptRequestData) Set

func (*NullableEncryptRequestData) UnmarshalJSON

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

func (*NullableEncryptRequestData) Unset

func (v *NullableEncryptRequestData) 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 NullableHealthStateData

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

func NewNullableHealthStateData

func NewNullableHealthStateData(val *HealthStateData) *NullableHealthStateData

func (NullableHealthStateData) Get

func (NullableHealthStateData) IsSet

func (v NullableHealthStateData) IsSet() bool

func (NullableHealthStateData) MarshalJSON

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

func (*NullableHealthStateData) Set

func (*NullableHealthStateData) UnmarshalJSON

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

func (*NullableHealthStateData) Unset

func (v *NullableHealthStateData) Unset()

type NullableInfoData

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

func NewNullableInfoData

func NewNullableInfoData(val *InfoData) *NullableInfoData

func (NullableInfoData) Get

func (v NullableInfoData) Get() *InfoData

func (NullableInfoData) IsSet

func (v NullableInfoData) IsSet() bool

func (NullableInfoData) MarshalJSON

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

func (*NullableInfoData) Set

func (v *NullableInfoData) Set(val *InfoData)

func (*NullableInfoData) UnmarshalJSON

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

func (*NullableInfoData) Unset

func (v *NullableInfoData) 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 NullableKeyGenerateRequestData

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

func (NullableKeyGenerateRequestData) Get

func (NullableKeyGenerateRequestData) IsSet

func (NullableKeyGenerateRequestData) MarshalJSON

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

func (*NullableKeyGenerateRequestData) Set

func (*NullableKeyGenerateRequestData) UnmarshalJSON

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

func (*NullableKeyGenerateRequestData) Unset

func (v *NullableKeyGenerateRequestData) Unset()

type NullableKeyItem

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

func NewNullableKeyItem

func NewNullableKeyItem(val *KeyItem) *NullableKeyItem

func (NullableKeyItem) Get

func (v NullableKeyItem) Get() *KeyItem

func (NullableKeyItem) IsSet

func (v NullableKeyItem) IsSet() bool

func (NullableKeyItem) MarshalJSON

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

func (*NullableKeyItem) Set

func (v *NullableKeyItem) Set(val *KeyItem)

func (*NullableKeyItem) UnmarshalJSON

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

func (*NullableKeyItem) Unset

func (v *NullableKeyItem) Unset()

type NullableKeyMechanism

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

func NewNullableKeyMechanism

func NewNullableKeyMechanism(val *KeyMechanism) *NullableKeyMechanism

func (NullableKeyMechanism) Get

func (NullableKeyMechanism) IsSet

func (v NullableKeyMechanism) IsSet() bool

func (NullableKeyMechanism) MarshalJSON

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

func (*NullableKeyMechanism) Set

func (v *NullableKeyMechanism) Set(val *KeyMechanism)

func (*NullableKeyMechanism) UnmarshalJSON

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

func (*NullableKeyMechanism) Unset

func (v *NullableKeyMechanism) Unset()

type NullableKeyPrivateData

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

func NewNullableKeyPrivateData

func NewNullableKeyPrivateData(val *KeyPrivateData) *NullableKeyPrivateData

func (NullableKeyPrivateData) Get

func (NullableKeyPrivateData) IsSet

func (v NullableKeyPrivateData) IsSet() bool

func (NullableKeyPrivateData) MarshalJSON

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

func (*NullableKeyPrivateData) Set

func (*NullableKeyPrivateData) UnmarshalJSON

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

func (*NullableKeyPrivateData) Unset

func (v *NullableKeyPrivateData) Unset()

type NullableKeyPublicData

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

func NewNullableKeyPublicData

func NewNullableKeyPublicData(val *KeyPublicData) *NullableKeyPublicData

func (NullableKeyPublicData) Get

func (NullableKeyPublicData) IsSet

func (v NullableKeyPublicData) IsSet() bool

func (NullableKeyPublicData) MarshalJSON

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

func (*NullableKeyPublicData) Set

func (v *NullableKeyPublicData) Set(val *KeyPublicData)

func (*NullableKeyPublicData) UnmarshalJSON

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

func (*NullableKeyPublicData) Unset

func (v *NullableKeyPublicData) Unset()

type NullableKeyRestrictions

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

func NewNullableKeyRestrictions

func NewNullableKeyRestrictions(val *KeyRestrictions) *NullableKeyRestrictions

func (NullableKeyRestrictions) Get

func (NullableKeyRestrictions) IsSet

func (v NullableKeyRestrictions) IsSet() bool

func (NullableKeyRestrictions) MarshalJSON

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

func (*NullableKeyRestrictions) Set

func (*NullableKeyRestrictions) UnmarshalJSON

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

func (*NullableKeyRestrictions) Unset

func (v *NullableKeyRestrictions) Unset()

type NullableKeyType

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

func NewNullableKeyType

func NewNullableKeyType(val *KeyType) *NullableKeyType

func (NullableKeyType) Get

func (v NullableKeyType) Get() *KeyType

func (NullableKeyType) IsSet

func (v NullableKeyType) IsSet() bool

func (NullableKeyType) MarshalJSON

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

func (*NullableKeyType) Set

func (v *NullableKeyType) Set(val *KeyType)

func (*NullableKeyType) UnmarshalJSON

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

func (*NullableKeyType) Unset

func (v *NullableKeyType) Unset()

type NullableLogLevel

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

func NewNullableLogLevel

func NewNullableLogLevel(val *LogLevel) *NullableLogLevel

func (NullableLogLevel) Get

func (v NullableLogLevel) Get() *LogLevel

func (NullableLogLevel) IsSet

func (v NullableLogLevel) IsSet() bool

func (NullableLogLevel) MarshalJSON

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

func (*NullableLogLevel) Set

func (v *NullableLogLevel) Set(val *LogLevel)

func (*NullableLogLevel) UnmarshalJSON

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

func (*NullableLogLevel) Unset

func (v *NullableLogLevel) Unset()

type NullableLoggingConfig

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

func NewNullableLoggingConfig

func NewNullableLoggingConfig(val *LoggingConfig) *NullableLoggingConfig

func (NullableLoggingConfig) Get

func (NullableLoggingConfig) IsSet

func (v NullableLoggingConfig) IsSet() bool

func (NullableLoggingConfig) MarshalJSON

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

func (*NullableLoggingConfig) Set

func (v *NullableLoggingConfig) Set(val *LoggingConfig)

func (*NullableLoggingConfig) UnmarshalJSON

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

func (*NullableLoggingConfig) Unset

func (v *NullableLoggingConfig) Unset()

type NullableNamespaceItem

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

func NewNullableNamespaceItem

func NewNullableNamespaceItem(val *NamespaceItem) *NullableNamespaceItem

func (NullableNamespaceItem) Get

func (NullableNamespaceItem) IsSet

func (v NullableNamespaceItem) IsSet() bool

func (NullableNamespaceItem) MarshalJSON

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

func (*NullableNamespaceItem) Set

func (v *NullableNamespaceItem) Set(val *NamespaceItem)

func (*NullableNamespaceItem) UnmarshalJSON

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

func (*NullableNamespaceItem) Unset

func (v *NullableNamespaceItem) Unset()

type NullableNetworkConfig

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

func NewNullableNetworkConfig

func NewNullableNetworkConfig(val *NetworkConfig) *NullableNetworkConfig

func (NullableNetworkConfig) Get

func (NullableNetworkConfig) IsSet

func (v NullableNetworkConfig) IsSet() bool

func (NullableNetworkConfig) MarshalJSON

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

func (*NullableNetworkConfig) Set

func (v *NullableNetworkConfig) Set(val *NetworkConfig)

func (*NullableNetworkConfig) UnmarshalJSON

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

func (*NullableNetworkConfig) Unset

func (v *NullableNetworkConfig) Unset()

type NullablePcr

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

func NewNullablePcr

func NewNullablePcr(val *Pcr) *NullablePcr

func (NullablePcr) Get

func (v NullablePcr) Get() *Pcr

func (NullablePcr) IsSet

func (v NullablePcr) IsSet() bool

func (NullablePcr) MarshalJSON

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

func (*NullablePcr) Set

func (v *NullablePcr) Set(val *Pcr)

func (*NullablePcr) UnmarshalJSON

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

func (*NullablePcr) Unset

func (v *NullablePcr) Unset()

type NullablePrivateKey

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

func NewNullablePrivateKey

func NewNullablePrivateKey(val *PrivateKey) *NullablePrivateKey

func (NullablePrivateKey) Get

func (v NullablePrivateKey) Get() *PrivateKey

func (NullablePrivateKey) IsSet

func (v NullablePrivateKey) IsSet() bool

func (NullablePrivateKey) MarshalJSON

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

func (*NullablePrivateKey) Set

func (v *NullablePrivateKey) Set(val *PrivateKey)

func (*NullablePrivateKey) UnmarshalJSON

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

func (*NullablePrivateKey) Unset

func (v *NullablePrivateKey) Unset()

type NullablePrivateKeyPemArguments

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

func (NullablePrivateKeyPemArguments) Get

func (NullablePrivateKeyPemArguments) IsSet

func (NullablePrivateKeyPemArguments) MarshalJSON

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

func (*NullablePrivateKeyPemArguments) Set

func (*NullablePrivateKeyPemArguments) UnmarshalJSON

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

func (*NullablePrivateKeyPemArguments) Unset

func (v *NullablePrivateKeyPemArguments) Unset()

type NullableProvisionRequestData

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

func NewNullableProvisionRequestData

func NewNullableProvisionRequestData(val *ProvisionRequestData) *NullableProvisionRequestData

func (NullableProvisionRequestData) Get

func (NullableProvisionRequestData) IsSet

func (NullableProvisionRequestData) MarshalJSON

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

func (*NullableProvisionRequestData) Set

func (*NullableProvisionRequestData) UnmarshalJSON

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

func (*NullableProvisionRequestData) Unset

func (v *NullableProvisionRequestData) Unset()

type NullablePublicKey

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

func NewNullablePublicKey

func NewNullablePublicKey(val *PublicKey) *NullablePublicKey

func (NullablePublicKey) Get

func (v NullablePublicKey) Get() *PublicKey

func (NullablePublicKey) IsSet

func (v NullablePublicKey) IsSet() bool

func (NullablePublicKey) MarshalJSON

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

func (*NullablePublicKey) Set

func (v *NullablePublicKey) Set(val *PublicKey)

func (*NullablePublicKey) UnmarshalJSON

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

func (*NullablePublicKey) Unset

func (v *NullablePublicKey) Unset()

type NullableRandomData

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

func NewNullableRandomData

func NewNullableRandomData(val *RandomData) *NullableRandomData

func (NullableRandomData) Get

func (v NullableRandomData) Get() *RandomData

func (NullableRandomData) IsSet

func (v NullableRandomData) IsSet() bool

func (NullableRandomData) MarshalJSON

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

func (*NullableRandomData) Set

func (v *NullableRandomData) Set(val *RandomData)

func (*NullableRandomData) UnmarshalJSON

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

func (*NullableRandomData) Unset

func (v *NullableRandomData) Unset()

type NullableRandomRequestData

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

func NewNullableRandomRequestData

func NewNullableRandomRequestData(val *RandomRequestData) *NullableRandomRequestData

func (NullableRandomRequestData) Get

func (NullableRandomRequestData) IsSet

func (v NullableRandomRequestData) IsSet() bool

func (NullableRandomRequestData) MarshalJSON

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

func (*NullableRandomRequestData) Set

func (*NullableRandomRequestData) UnmarshalJSON

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

func (*NullableRandomRequestData) Unset

func (v *NullableRandomRequestData) Unset()

type NullableRestoreRequestArguments

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

func (NullableRestoreRequestArguments) Get

func (NullableRestoreRequestArguments) IsSet

func (NullableRestoreRequestArguments) MarshalJSON

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

func (*NullableRestoreRequestArguments) Set

func (*NullableRestoreRequestArguments) UnmarshalJSON

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

func (*NullableRestoreRequestArguments) Unset

type NullableSignData

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

func NewNullableSignData

func NewNullableSignData(val *SignData) *NullableSignData

func (NullableSignData) Get

func (v NullableSignData) Get() *SignData

func (NullableSignData) IsSet

func (v NullableSignData) IsSet() bool

func (NullableSignData) MarshalJSON

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

func (*NullableSignData) Set

func (v *NullableSignData) Set(val *SignData)

func (*NullableSignData) UnmarshalJSON

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

func (*NullableSignData) Unset

func (v *NullableSignData) Unset()

type NullableSignMode

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

func NewNullableSignMode

func NewNullableSignMode(val *SignMode) *NullableSignMode

func (NullableSignMode) Get

func (v NullableSignMode) Get() *SignMode

func (NullableSignMode) IsSet

func (v NullableSignMode) IsSet() bool

func (NullableSignMode) MarshalJSON

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

func (*NullableSignMode) Set

func (v *NullableSignMode) Set(val *SignMode)

func (*NullableSignMode) UnmarshalJSON

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

func (*NullableSignMode) Unset

func (v *NullableSignMode) Unset()

type NullableSignRequestData

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

func NewNullableSignRequestData

func NewNullableSignRequestData(val *SignRequestData) *NullableSignRequestData

func (NullableSignRequestData) Get

func (NullableSignRequestData) IsSet

func (v NullableSignRequestData) IsSet() bool

func (NullableSignRequestData) MarshalJSON

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

func (*NullableSignRequestData) Set

func (*NullableSignRequestData) UnmarshalJSON

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

func (*NullableSignRequestData) Unset

func (v *NullableSignRequestData) 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 NullableSwitch

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

func NewNullableSwitch

func NewNullableSwitch(val *Switch) *NullableSwitch

func (NullableSwitch) Get

func (v NullableSwitch) Get() *Switch

func (NullableSwitch) IsSet

func (v NullableSwitch) IsSet() bool

func (NullableSwitch) MarshalJSON

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

func (*NullableSwitch) Set

func (v *NullableSwitch) Set(val *Switch)

func (*NullableSwitch) UnmarshalJSON

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

func (*NullableSwitch) Unset

func (v *NullableSwitch) Unset()

type NullableSystemInfo

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

func NewNullableSystemInfo

func NewNullableSystemInfo(val *SystemInfo) *NullableSystemInfo

func (NullableSystemInfo) Get

func (v NullableSystemInfo) Get() *SystemInfo

func (NullableSystemInfo) IsSet

func (v NullableSystemInfo) IsSet() bool

func (NullableSystemInfo) MarshalJSON

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

func (*NullableSystemInfo) Set

func (v *NullableSystemInfo) Set(val *SystemInfo)

func (*NullableSystemInfo) UnmarshalJSON

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

func (*NullableSystemInfo) Unset

func (v *NullableSystemInfo) Unset()

type NullableSystemState

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

func NewNullableSystemState

func NewNullableSystemState(val *SystemState) *NullableSystemState

func (NullableSystemState) Get

func (NullableSystemState) IsSet

func (v NullableSystemState) IsSet() bool

func (NullableSystemState) MarshalJSON

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

func (*NullableSystemState) Set

func (v *NullableSystemState) Set(val *SystemState)

func (*NullableSystemState) UnmarshalJSON

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

func (*NullableSystemState) Unset

func (v *NullableSystemState) Unset()

type NullableSystemUpdateData

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

func NewNullableSystemUpdateData

func NewNullableSystemUpdateData(val *SystemUpdateData) *NullableSystemUpdateData

func (NullableSystemUpdateData) Get

func (NullableSystemUpdateData) IsSet

func (v NullableSystemUpdateData) IsSet() bool

func (NullableSystemUpdateData) MarshalJSON

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

func (*NullableSystemUpdateData) Set

func (*NullableSystemUpdateData) UnmarshalJSON

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

func (*NullableSystemUpdateData) Unset

func (v *NullableSystemUpdateData) 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 NullableTimeConfig

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

func NewNullableTimeConfig

func NewNullableTimeConfig(val *TimeConfig) *NullableTimeConfig

func (NullableTimeConfig) Get

func (v NullableTimeConfig) Get() *TimeConfig

func (NullableTimeConfig) IsSet

func (v NullableTimeConfig) IsSet() bool

func (NullableTimeConfig) MarshalJSON

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

func (*NullableTimeConfig) Set

func (v *NullableTimeConfig) Set(val *TimeConfig)

func (*NullableTimeConfig) UnmarshalJSON

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

func (*NullableTimeConfig) Unset

func (v *NullableTimeConfig) Unset()

type NullableTlsKeyGenerateRequestData

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

func (NullableTlsKeyGenerateRequestData) Get

func (NullableTlsKeyGenerateRequestData) IsSet

func (NullableTlsKeyGenerateRequestData) MarshalJSON

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

func (*NullableTlsKeyGenerateRequestData) Set

func (*NullableTlsKeyGenerateRequestData) UnmarshalJSON

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

func (*NullableTlsKeyGenerateRequestData) Unset

type NullableTlsKeyType

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

func NewNullableTlsKeyType

func NewNullableTlsKeyType(val *TlsKeyType) *NullableTlsKeyType

func (NullableTlsKeyType) Get

func (v NullableTlsKeyType) Get() *TlsKeyType

func (NullableTlsKeyType) IsSet

func (v NullableTlsKeyType) IsSet() bool

func (NullableTlsKeyType) MarshalJSON

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

func (*NullableTlsKeyType) Set

func (v *NullableTlsKeyType) Set(val *TlsKeyType)

func (*NullableTlsKeyType) UnmarshalJSON

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

func (*NullableTlsKeyType) Unset

func (v *NullableTlsKeyType) Unset()

type NullableUnattendedBootConfig

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

func NewNullableUnattendedBootConfig

func NewNullableUnattendedBootConfig(val *UnattendedBootConfig) *NullableUnattendedBootConfig

func (NullableUnattendedBootConfig) Get

func (NullableUnattendedBootConfig) IsSet

func (NullableUnattendedBootConfig) MarshalJSON

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

func (*NullableUnattendedBootConfig) Set

func (*NullableUnattendedBootConfig) UnmarshalJSON

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

func (*NullableUnattendedBootConfig) Unset

func (v *NullableUnattendedBootConfig) Unset()

type NullableUnlockPassphraseConfig

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

func (NullableUnlockPassphraseConfig) Get

func (NullableUnlockPassphraseConfig) IsSet

func (NullableUnlockPassphraseConfig) MarshalJSON

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

func (*NullableUnlockPassphraseConfig) Set

func (*NullableUnlockPassphraseConfig) UnmarshalJSON

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

func (*NullableUnlockPassphraseConfig) Unset

func (v *NullableUnlockPassphraseConfig) Unset()

type NullableUnlockRequestData

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

func NewNullableUnlockRequestData

func NewNullableUnlockRequestData(val *UnlockRequestData) *NullableUnlockRequestData

func (NullableUnlockRequestData) Get

func (NullableUnlockRequestData) IsSet

func (v NullableUnlockRequestData) IsSet() bool

func (NullableUnlockRequestData) MarshalJSON

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

func (*NullableUnlockRequestData) Set

func (*NullableUnlockRequestData) UnmarshalJSON

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

func (*NullableUnlockRequestData) Unset

func (v *NullableUnlockRequestData) Unset()

type NullableUserData

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

func NewNullableUserData

func NewNullableUserData(val *UserData) *NullableUserData

func (NullableUserData) Get

func (v NullableUserData) Get() *UserData

func (NullableUserData) IsSet

func (v NullableUserData) IsSet() bool

func (NullableUserData) MarshalJSON

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

func (*NullableUserData) Set

func (v *NullableUserData) Set(val *UserData)

func (*NullableUserData) UnmarshalJSON

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

func (*NullableUserData) Unset

func (v *NullableUserData) Unset()

type NullableUserItem

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

func NewNullableUserItem

func NewNullableUserItem(val *UserItem) *NullableUserItem

func (NullableUserItem) Get

func (v NullableUserItem) Get() *UserItem

func (NullableUserItem) IsSet

func (v NullableUserItem) IsSet() bool

func (NullableUserItem) MarshalJSON

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

func (*NullableUserItem) Set

func (v *NullableUserItem) Set(val *UserItem)

func (*NullableUserItem) UnmarshalJSON

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

func (*NullableUserItem) Unset

func (v *NullableUserItem) Unset()

type NullableUserPassphrasePostData

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

func (NullableUserPassphrasePostData) Get

func (NullableUserPassphrasePostData) IsSet

func (NullableUserPassphrasePostData) MarshalJSON

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

func (*NullableUserPassphrasePostData) Set

func (*NullableUserPassphrasePostData) UnmarshalJSON

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

func (*NullableUserPassphrasePostData) Unset

func (v *NullableUserPassphrasePostData) Unset()

type NullableUserPostData

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

func NewNullableUserPostData

func NewNullableUserPostData(val *UserPostData) *NullableUserPostData

func (NullableUserPostData) Get

func (NullableUserPostData) IsSet

func (v NullableUserPostData) IsSet() bool

func (NullableUserPostData) MarshalJSON

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

func (*NullableUserPostData) Set

func (v *NullableUserPostData) Set(val *UserPostData)

func (*NullableUserPostData) UnmarshalJSON

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

func (*NullableUserPostData) Unset

func (v *NullableUserPostData) Unset()

type NullableUserRole

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

func NewNullableUserRole

func NewNullableUserRole(val *UserRole) *NullableUserRole

func (NullableUserRole) Get

func (v NullableUserRole) Get() *UserRole

func (NullableUserRole) IsSet

func (v NullableUserRole) IsSet() bool

func (NullableUserRole) MarshalJSON

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

func (*NullableUserRole) Set

func (v *NullableUserRole) Set(val *UserRole)

func (*NullableUserRole) UnmarshalJSON

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

func (*NullableUserRole) Unset

func (v *NullableUserRole) Unset()

type Pcr

type Pcr struct {
	Var0 *string `json:"0,omitempty"`
	Var2 *string `json:"2,omitempty"`
}

Pcr struct for Pcr

func NewPcr

func NewPcr() *Pcr

NewPcr instantiates a new Pcr 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 NewPcrWithDefaults

func NewPcrWithDefaults() *Pcr

NewPcrWithDefaults instantiates a new Pcr 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 (*Pcr) GetVar0

func (o *Pcr) GetVar0() string

GetVar0 returns the Var0 field value if set, zero value otherwise.

func (*Pcr) GetVar0Ok

func (o *Pcr) GetVar0Ok() (*string, bool)

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

func (*Pcr) GetVar2

func (o *Pcr) GetVar2() string

GetVar2 returns the Var2 field value if set, zero value otherwise.

func (*Pcr) GetVar2Ok

func (o *Pcr) GetVar2Ok() (*string, bool)

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

func (*Pcr) HasVar0

func (o *Pcr) HasVar0() bool

HasVar0 returns a boolean if a field has been set.

func (*Pcr) HasVar2

func (o *Pcr) HasVar2() bool

HasVar2 returns a boolean if a field has been set.

func (Pcr) MarshalJSON

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

func (*Pcr) SetVar0

func (o *Pcr) SetVar0(v string)

SetVar0 gets a reference to the given string and assigns it to the Var0 field.

func (*Pcr) SetVar2

func (o *Pcr) SetVar2(v string)

SetVar2 gets a reference to the given string and assigns it to the Var2 field.

func (Pcr) ToMap

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

type PrivateKey

type PrivateKey struct {
	Mechanisms   []KeyMechanism   `json:"mechanisms"`
	Type         KeyType          `json:"type"`
	Private      KeyPrivateData   `json:"private"`
	Restrictions *KeyRestrictions `json:"restrictions,omitempty"`
}

PrivateKey struct for PrivateKey

func NewPrivateKey

func NewPrivateKey(mechanisms []KeyMechanism, type_ KeyType, private KeyPrivateData) *PrivateKey

NewPrivateKey instantiates a new PrivateKey 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 NewPrivateKeyWithDefaults

func NewPrivateKeyWithDefaults() *PrivateKey

NewPrivateKeyWithDefaults instantiates a new PrivateKey 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 (*PrivateKey) GetMechanisms

func (o *PrivateKey) GetMechanisms() []KeyMechanism

GetMechanisms returns the Mechanisms field value

func (*PrivateKey) GetMechanismsOk

func (o *PrivateKey) GetMechanismsOk() ([]KeyMechanism, bool)

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

func (*PrivateKey) GetPrivate

func (o *PrivateKey) GetPrivate() KeyPrivateData

GetPrivate returns the Private field value

func (*PrivateKey) GetPrivateOk

func (o *PrivateKey) GetPrivateOk() (*KeyPrivateData, bool)

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

func (*PrivateKey) GetRestrictions

func (o *PrivateKey) GetRestrictions() KeyRestrictions

GetRestrictions returns the Restrictions field value if set, zero value otherwise.

func (*PrivateKey) GetRestrictionsOk

func (o *PrivateKey) GetRestrictionsOk() (*KeyRestrictions, bool)

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

func (*PrivateKey) GetType

func (o *PrivateKey) GetType() KeyType

GetType returns the Type field value

func (*PrivateKey) GetTypeOk

func (o *PrivateKey) GetTypeOk() (*KeyType, bool)

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

func (*PrivateKey) HasRestrictions

func (o *PrivateKey) HasRestrictions() bool

HasRestrictions returns a boolean if a field has been set.

func (PrivateKey) MarshalJSON

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

func (*PrivateKey) SetMechanisms

func (o *PrivateKey) SetMechanisms(v []KeyMechanism)

SetMechanisms sets field value

func (*PrivateKey) SetPrivate

func (o *PrivateKey) SetPrivate(v KeyPrivateData)

SetPrivate sets field value

func (*PrivateKey) SetRestrictions

func (o *PrivateKey) SetRestrictions(v KeyRestrictions)

SetRestrictions gets a reference to the given KeyRestrictions and assigns it to the Restrictions field.

func (*PrivateKey) SetType

func (o *PrivateKey) SetType(v KeyType)

SetType sets field value

func (PrivateKey) ToMap

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

func (*PrivateKey) UnmarshalJSON

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

type PrivateKeyPemArguments

type PrivateKeyPemArguments struct {
	Mechanisms   []KeyMechanism   `json:"mechanisms,omitempty"`
	Restrictions *KeyRestrictions `json:"restrictions,omitempty"`
}

PrivateKeyPemArguments struct for PrivateKeyPemArguments

func NewPrivateKeyPemArguments

func NewPrivateKeyPemArguments() *PrivateKeyPemArguments

NewPrivateKeyPemArguments instantiates a new PrivateKeyPemArguments 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 NewPrivateKeyPemArgumentsWithDefaults

func NewPrivateKeyPemArgumentsWithDefaults() *PrivateKeyPemArguments

NewPrivateKeyPemArgumentsWithDefaults instantiates a new PrivateKeyPemArguments 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 (*PrivateKeyPemArguments) GetMechanisms

func (o *PrivateKeyPemArguments) GetMechanisms() []KeyMechanism

GetMechanisms returns the Mechanisms field value if set, zero value otherwise.

func (*PrivateKeyPemArguments) GetMechanismsOk

func (o *PrivateKeyPemArguments) GetMechanismsOk() ([]KeyMechanism, bool)

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

func (*PrivateKeyPemArguments) GetRestrictions

func (o *PrivateKeyPemArguments) GetRestrictions() KeyRestrictions

GetRestrictions returns the Restrictions field value if set, zero value otherwise.

func (*PrivateKeyPemArguments) GetRestrictionsOk

func (o *PrivateKeyPemArguments) GetRestrictionsOk() (*KeyRestrictions, bool)

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

func (*PrivateKeyPemArguments) HasMechanisms

func (o *PrivateKeyPemArguments) HasMechanisms() bool

HasMechanisms returns a boolean if a field has been set.

func (*PrivateKeyPemArguments) HasRestrictions

func (o *PrivateKeyPemArguments) HasRestrictions() bool

HasRestrictions returns a boolean if a field has been set.

func (PrivateKeyPemArguments) MarshalJSON

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

func (*PrivateKeyPemArguments) SetMechanisms

func (o *PrivateKeyPemArguments) SetMechanisms(v []KeyMechanism)

SetMechanisms gets a reference to the given []KeyMechanism and assigns it to the Mechanisms field.

func (*PrivateKeyPemArguments) SetRestrictions

func (o *PrivateKeyPemArguments) SetRestrictions(v KeyRestrictions)

SetRestrictions gets a reference to the given KeyRestrictions and assigns it to the Restrictions field.

func (PrivateKeyPemArguments) ToMap

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

type ProvisionRequestData

type ProvisionRequestData struct {
	UnlockPassphrase string    `json:"unlockPassphrase"`
	AdminPassphrase  string    `json:"adminPassphrase"`
	SystemTime       time.Time `json:"systemTime"`
}

ProvisionRequestData struct for ProvisionRequestData

func NewProvisionRequestData

func NewProvisionRequestData(unlockPassphrase string, adminPassphrase string, systemTime time.Time) *ProvisionRequestData

NewProvisionRequestData instantiates a new ProvisionRequestData 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 NewProvisionRequestDataWithDefaults

func NewProvisionRequestDataWithDefaults() *ProvisionRequestData

NewProvisionRequestDataWithDefaults instantiates a new ProvisionRequestData 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 (*ProvisionRequestData) GetAdminPassphrase

func (o *ProvisionRequestData) GetAdminPassphrase() string

GetAdminPassphrase returns the AdminPassphrase field value

func (*ProvisionRequestData) GetAdminPassphraseOk

func (o *ProvisionRequestData) GetAdminPassphraseOk() (*string, bool)

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

func (*ProvisionRequestData) GetSystemTime

func (o *ProvisionRequestData) GetSystemTime() time.Time

GetSystemTime returns the SystemTime field value

func (*ProvisionRequestData) GetSystemTimeOk

func (o *ProvisionRequestData) GetSystemTimeOk() (*time.Time, bool)

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

func (*ProvisionRequestData) GetUnlockPassphrase

func (o *ProvisionRequestData) GetUnlockPassphrase() string

GetUnlockPassphrase returns the UnlockPassphrase field value

func (*ProvisionRequestData) GetUnlockPassphraseOk

func (o *ProvisionRequestData) GetUnlockPassphraseOk() (*string, bool)

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

func (ProvisionRequestData) MarshalJSON

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

func (*ProvisionRequestData) SetAdminPassphrase

func (o *ProvisionRequestData) SetAdminPassphrase(v string)

SetAdminPassphrase sets field value

func (*ProvisionRequestData) SetSystemTime

func (o *ProvisionRequestData) SetSystemTime(v time.Time)

SetSystemTime sets field value

func (*ProvisionRequestData) SetUnlockPassphrase

func (o *ProvisionRequestData) SetUnlockPassphrase(v string)

SetUnlockPassphrase sets field value

func (ProvisionRequestData) ToMap

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

func (*ProvisionRequestData) UnmarshalJSON

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

type PublicKey

type PublicKey struct {
	Mechanisms   []KeyMechanism  `json:"mechanisms"`
	Type         KeyType         `json:"type"`
	Restrictions KeyRestrictions `json:"restrictions"`
	Public       *KeyPublicData  `json:"public,omitempty"`
	Operations   int32           `json:"operations"`
}

PublicKey struct for PublicKey

func NewPublicKey

func NewPublicKey(mechanisms []KeyMechanism, type_ KeyType, restrictions KeyRestrictions, operations int32) *PublicKey

NewPublicKey instantiates a new PublicKey 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 NewPublicKeyWithDefaults

func NewPublicKeyWithDefaults() *PublicKey

NewPublicKeyWithDefaults instantiates a new PublicKey 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 (*PublicKey) GetMechanisms

func (o *PublicKey) GetMechanisms() []KeyMechanism

GetMechanisms returns the Mechanisms field value

func (*PublicKey) GetMechanismsOk

func (o *PublicKey) GetMechanismsOk() ([]KeyMechanism, bool)

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

func (*PublicKey) GetOperations

func (o *PublicKey) GetOperations() int32

GetOperations returns the Operations field value

func (*PublicKey) GetOperationsOk

func (o *PublicKey) GetOperationsOk() (*int32, bool)

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

func (*PublicKey) GetPublic

func (o *PublicKey) GetPublic() KeyPublicData

GetPublic returns the Public field value if set, zero value otherwise.

func (*PublicKey) GetPublicOk

func (o *PublicKey) GetPublicOk() (*KeyPublicData, bool)

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

func (*PublicKey) GetRestrictions

func (o *PublicKey) GetRestrictions() KeyRestrictions

GetRestrictions returns the Restrictions field value

func (*PublicKey) GetRestrictionsOk

func (o *PublicKey) GetRestrictionsOk() (*KeyRestrictions, bool)

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

func (*PublicKey) GetType

func (o *PublicKey) GetType() KeyType

GetType returns the Type field value

func (*PublicKey) GetTypeOk

func (o *PublicKey) GetTypeOk() (*KeyType, bool)

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

func (*PublicKey) HasPublic

func (o *PublicKey) HasPublic() bool

HasPublic returns a boolean if a field has been set.

func (PublicKey) MarshalJSON

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

func (*PublicKey) SetMechanisms

func (o *PublicKey) SetMechanisms(v []KeyMechanism)

SetMechanisms sets field value

func (*PublicKey) SetOperations

func (o *PublicKey) SetOperations(v int32)

SetOperations sets field value

func (*PublicKey) SetPublic

func (o *PublicKey) SetPublic(v KeyPublicData)

SetPublic gets a reference to the given KeyPublicData and assigns it to the Public field.

func (*PublicKey) SetRestrictions

func (o *PublicKey) SetRestrictions(v KeyRestrictions)

SetRestrictions sets field value

func (*PublicKey) SetType

func (o *PublicKey) SetType(v KeyType)

SetType sets field value

func (PublicKey) ToMap

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

func (*PublicKey) UnmarshalJSON

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

type RandomData

type RandomData struct {
	Random string `json:"random" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

RandomData struct for RandomData

func NewRandomData

func NewRandomData(random string) *RandomData

NewRandomData instantiates a new RandomData 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 NewRandomDataWithDefaults

func NewRandomDataWithDefaults() *RandomData

NewRandomDataWithDefaults instantiates a new RandomData 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 (*RandomData) GetRandom

func (o *RandomData) GetRandom() string

GetRandom returns the Random field value

func (*RandomData) GetRandomOk

func (o *RandomData) GetRandomOk() (*string, bool)

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

func (RandomData) MarshalJSON

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

func (*RandomData) SetRandom

func (o *RandomData) SetRandom(v string)

SetRandom sets field value

func (RandomData) ToMap

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

func (*RandomData) UnmarshalJSON

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

type RandomRequestData

type RandomRequestData struct {
	Length int32 `json:"length"`
}

RandomRequestData struct for RandomRequestData

func NewRandomRequestData

func NewRandomRequestData(length int32) *RandomRequestData

NewRandomRequestData instantiates a new RandomRequestData 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 NewRandomRequestDataWithDefaults

func NewRandomRequestDataWithDefaults() *RandomRequestData

NewRandomRequestDataWithDefaults instantiates a new RandomRequestData 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 (*RandomRequestData) GetLength

func (o *RandomRequestData) GetLength() int32

GetLength returns the Length field value

func (*RandomRequestData) GetLengthOk

func (o *RandomRequestData) GetLengthOk() (*int32, bool)

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

func (RandomRequestData) MarshalJSON

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

func (*RandomRequestData) SetLength

func (o *RandomRequestData) SetLength(v int32)

SetLength sets field value

func (RandomRequestData) ToMap

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

func (*RandomRequestData) UnmarshalJSON

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

type RestoreRequestArguments

type RestoreRequestArguments struct {
	BackupPassphrase *string    `json:"backupPassphrase,omitempty"`
	SystemTime       *time.Time `json:"systemTime,omitempty"`
}

RestoreRequestArguments struct for RestoreRequestArguments

func NewRestoreRequestArguments

func NewRestoreRequestArguments() *RestoreRequestArguments

NewRestoreRequestArguments instantiates a new RestoreRequestArguments 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 NewRestoreRequestArgumentsWithDefaults

func NewRestoreRequestArgumentsWithDefaults() *RestoreRequestArguments

NewRestoreRequestArgumentsWithDefaults instantiates a new RestoreRequestArguments 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 (*RestoreRequestArguments) GetBackupPassphrase

func (o *RestoreRequestArguments) GetBackupPassphrase() string

GetBackupPassphrase returns the BackupPassphrase field value if set, zero value otherwise.

func (*RestoreRequestArguments) GetBackupPassphraseOk

func (o *RestoreRequestArguments) GetBackupPassphraseOk() (*string, bool)

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

func (*RestoreRequestArguments) GetSystemTime

func (o *RestoreRequestArguments) GetSystemTime() time.Time

GetSystemTime returns the SystemTime field value if set, zero value otherwise.

func (*RestoreRequestArguments) GetSystemTimeOk

func (o *RestoreRequestArguments) GetSystemTimeOk() (*time.Time, bool)

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

func (*RestoreRequestArguments) HasBackupPassphrase

func (o *RestoreRequestArguments) HasBackupPassphrase() bool

HasBackupPassphrase returns a boolean if a field has been set.

func (*RestoreRequestArguments) HasSystemTime

func (o *RestoreRequestArguments) HasSystemTime() bool

HasSystemTime returns a boolean if a field has been set.

func (RestoreRequestArguments) MarshalJSON

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

func (*RestoreRequestArguments) SetBackupPassphrase

func (o *RestoreRequestArguments) SetBackupPassphrase(v string)

SetBackupPassphrase gets a reference to the given string and assigns it to the BackupPassphrase field.

func (*RestoreRequestArguments) SetSystemTime

func (o *RestoreRequestArguments) SetSystemTime(v time.Time)

SetSystemTime gets a reference to the given time.Time and assigns it to the SystemTime field.

func (RestoreRequestArguments) ToMap

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

type ServerConfiguration

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

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

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

URL formats template on a index using given variables

type ServerVariable

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

ServerVariable stores the information about a server variable

type SignData

type SignData struct {
	Signature string `json:"signature" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

SignData struct for SignData

func NewSignData

func NewSignData(signature string) *SignData

NewSignData instantiates a new SignData 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 NewSignDataWithDefaults

func NewSignDataWithDefaults() *SignData

NewSignDataWithDefaults instantiates a new SignData 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 (*SignData) GetSignature

func (o *SignData) GetSignature() string

GetSignature returns the Signature field value

func (*SignData) GetSignatureOk

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

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

func (SignData) MarshalJSON

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

func (*SignData) SetSignature

func (o *SignData) SetSignature(v string)

SetSignature sets field value

func (SignData) ToMap

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

func (*SignData) UnmarshalJSON

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

type SignMode

type SignMode string

SignMode the model 'SignMode'

const (
	SIGNMODE_PKCS1      SignMode = "PKCS1"
	SIGNMODE_PSS_MD5    SignMode = "PSS_MD5"
	SIGNMODE_PSS_SHA1   SignMode = "PSS_SHA1"
	SIGNMODE_PSS_SHA224 SignMode = "PSS_SHA224"
	SIGNMODE_PSS_SHA256 SignMode = "PSS_SHA256"
	SIGNMODE_PSS_SHA384 SignMode = "PSS_SHA384"
	SIGNMODE_PSS_SHA512 SignMode = "PSS_SHA512"
	SIGNMODE_ED_DSA     SignMode = "EdDSA"
	SIGNMODE_ECDSA      SignMode = "ECDSA"
)

List of SignMode

func NewSignModeFromValue

func NewSignModeFromValue(v string) (*SignMode, error)

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

func (SignMode) IsValid

func (v SignMode) IsValid() bool

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

func (SignMode) Ptr

func (v SignMode) Ptr() *SignMode

Ptr returns reference to SignMode value

func (*SignMode) UnmarshalJSON

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

type SignRequestData

type SignRequestData struct {
	Mode    SignMode `json:"mode"`
	Message string   `json:"message" validate:"regexp=^[a-zA-Z0-9+\\/]+={0,3}$"`
}

SignRequestData struct for SignRequestData

func NewSignRequestData

func NewSignRequestData(mode SignMode, message string) *SignRequestData

NewSignRequestData instantiates a new SignRequestData 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 NewSignRequestDataWithDefaults

func NewSignRequestDataWithDefaults() *SignRequestData

NewSignRequestDataWithDefaults instantiates a new SignRequestData 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 (*SignRequestData) GetMessage

func (o *SignRequestData) GetMessage() string

GetMessage returns the Message field value

func (*SignRequestData) GetMessageOk

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

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

func (*SignRequestData) GetMode

func (o *SignRequestData) GetMode() SignMode

GetMode returns the Mode field value

func (*SignRequestData) GetModeOk

func (o *SignRequestData) GetModeOk() (*SignMode, bool)

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

func (SignRequestData) MarshalJSON

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

func (*SignRequestData) SetMessage

func (o *SignRequestData) SetMessage(v string)

SetMessage sets field value

func (*SignRequestData) SetMode

func (o *SignRequestData) SetMode(v SignMode)

SetMode sets field value

func (SignRequestData) ToMap

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

func (*SignRequestData) UnmarshalJSON

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

type Switch

type Switch string

Switch the model 'Switch'

const (
	SWITCH_ON  Switch = "on"
	SWITCH_OFF Switch = "off"
)

List of Switch

func NewSwitchFromValue

func NewSwitchFromValue(v string) (*Switch, error)

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

func (Switch) IsValid

func (v Switch) IsValid() bool

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

func (Switch) Ptr

func (v Switch) Ptr() *Switch

Ptr returns reference to Switch value

func (*Switch) UnmarshalJSON

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

type SystemInfo

type SystemInfo struct {
	SoftwareVersion string `json:"softwareVersion"`
	SoftwareBuild   string `json:"softwareBuild"`
	FirmwareVersion string `json:"firmwareVersion"`
	HardwareVersion string `json:"hardwareVersion"`
	DeviceId        string `json:"deviceId"`
	AkPub           AkPub  `json:"akPub"`
	Pcr             Pcr    `json:"pcr"`
}

SystemInfo struct for SystemInfo

func NewSystemInfo

func NewSystemInfo(softwareVersion string, softwareBuild string, firmwareVersion string, hardwareVersion string, deviceId string, akPub AkPub, pcr Pcr) *SystemInfo

NewSystemInfo instantiates a new SystemInfo 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 NewSystemInfoWithDefaults

func NewSystemInfoWithDefaults() *SystemInfo

NewSystemInfoWithDefaults instantiates a new SystemInfo 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 (*SystemInfo) GetAkPub

func (o *SystemInfo) GetAkPub() AkPub

GetAkPub returns the AkPub field value

func (*SystemInfo) GetAkPubOk

func (o *SystemInfo) GetAkPubOk() (*AkPub, bool)

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

func (*SystemInfo) GetDeviceId

func (o *SystemInfo) GetDeviceId() string

GetDeviceId returns the DeviceId field value

func (*SystemInfo) GetDeviceIdOk

func (o *SystemInfo) GetDeviceIdOk() (*string, bool)

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

func (*SystemInfo) GetFirmwareVersion

func (o *SystemInfo) GetFirmwareVersion() string

GetFirmwareVersion returns the FirmwareVersion field value

func (*SystemInfo) GetFirmwareVersionOk

func (o *SystemInfo) GetFirmwareVersionOk() (*string, bool)

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

func (*SystemInfo) GetHardwareVersion

func (o *SystemInfo) GetHardwareVersion() string

GetHardwareVersion returns the HardwareVersion field value

func (*SystemInfo) GetHardwareVersionOk

func (o *SystemInfo) GetHardwareVersionOk() (*string, bool)

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

func (*SystemInfo) GetPcr

func (o *SystemInfo) GetPcr() Pcr

GetPcr returns the Pcr field value

func (*SystemInfo) GetPcrOk

func (o *SystemInfo) GetPcrOk() (*Pcr, bool)

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

func (*SystemInfo) GetSoftwareBuild

func (o *SystemInfo) GetSoftwareBuild() string

GetSoftwareBuild returns the SoftwareBuild field value

func (*SystemInfo) GetSoftwareBuildOk

func (o *SystemInfo) GetSoftwareBuildOk() (*string, bool)

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

func (*SystemInfo) GetSoftwareVersion

func (o *SystemInfo) GetSoftwareVersion() string

GetSoftwareVersion returns the SoftwareVersion field value

func (*SystemInfo) GetSoftwareVersionOk

func (o *SystemInfo) GetSoftwareVersionOk() (*string, bool)

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

func (SystemInfo) MarshalJSON

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

func (*SystemInfo) SetAkPub

func (o *SystemInfo) SetAkPub(v AkPub)

SetAkPub sets field value

func (*SystemInfo) SetDeviceId

func (o *SystemInfo) SetDeviceId(v string)

SetDeviceId sets field value

func (*SystemInfo) SetFirmwareVersion

func (o *SystemInfo) SetFirmwareVersion(v string)

SetFirmwareVersion sets field value

func (*SystemInfo) SetHardwareVersion

func (o *SystemInfo) SetHardwareVersion(v string)

SetHardwareVersion sets field value

func (*SystemInfo) SetPcr

func (o *SystemInfo) SetPcr(v Pcr)

SetPcr sets field value

func (*SystemInfo) SetSoftwareBuild

func (o *SystemInfo) SetSoftwareBuild(v string)

SetSoftwareBuild sets field value

func (*SystemInfo) SetSoftwareVersion

func (o *SystemInfo) SetSoftwareVersion(v string)

SetSoftwareVersion sets field value

func (SystemInfo) ToMap

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

func (*SystemInfo) UnmarshalJSON

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

type SystemState

type SystemState string

SystemState the model 'SystemState'

const (
	SYSTEMSTATE_UNPROVISIONED SystemState = "Unprovisioned"
	SYSTEMSTATE_LOCKED        SystemState = "Locked"
	SYSTEMSTATE_OPERATIONAL   SystemState = "Operational"
)

List of SystemState

func NewSystemStateFromValue

func NewSystemStateFromValue(v string) (*SystemState, error)

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

func (SystemState) IsValid

func (v SystemState) IsValid() bool

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

func (SystemState) Ptr

func (v SystemState) Ptr() *SystemState

Ptr returns reference to SystemState value

func (*SystemState) UnmarshalJSON

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

type SystemUpdateData

type SystemUpdateData struct {
	ReleaseNotes string `json:"releaseNotes"`
}

SystemUpdateData struct for SystemUpdateData

func NewSystemUpdateData

func NewSystemUpdateData(releaseNotes string) *SystemUpdateData

NewSystemUpdateData instantiates a new SystemUpdateData 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 NewSystemUpdateDataWithDefaults

func NewSystemUpdateDataWithDefaults() *SystemUpdateData

NewSystemUpdateDataWithDefaults instantiates a new SystemUpdateData 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 (*SystemUpdateData) GetReleaseNotes

func (o *SystemUpdateData) GetReleaseNotes() string

GetReleaseNotes returns the ReleaseNotes field value

func (*SystemUpdateData) GetReleaseNotesOk

func (o *SystemUpdateData) GetReleaseNotesOk() (*string, bool)

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

func (SystemUpdateData) MarshalJSON

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

func (*SystemUpdateData) SetReleaseNotes

func (o *SystemUpdateData) SetReleaseNotes(v string)

SetReleaseNotes sets field value

func (SystemUpdateData) ToMap

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

func (*SystemUpdateData) UnmarshalJSON

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

type TimeConfig

type TimeConfig struct {
	Time time.Time `json:"time"`
}

TimeConfig struct for TimeConfig

func NewTimeConfig

func NewTimeConfig(time time.Time) *TimeConfig

NewTimeConfig instantiates a new TimeConfig 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 NewTimeConfigWithDefaults

func NewTimeConfigWithDefaults() *TimeConfig

NewTimeConfigWithDefaults instantiates a new TimeConfig 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 (*TimeConfig) GetTime

func (o *TimeConfig) GetTime() time.Time

GetTime returns the Time field value

func (*TimeConfig) GetTimeOk

func (o *TimeConfig) GetTimeOk() (*time.Time, bool)

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

func (TimeConfig) MarshalJSON

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

func (*TimeConfig) SetTime

func (o *TimeConfig) SetTime(v time.Time)

SetTime sets field value

func (TimeConfig) ToMap

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

func (*TimeConfig) UnmarshalJSON

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

type TlsKeyGenerateRequestData

type TlsKeyGenerateRequestData struct {
	Type   TlsKeyType `json:"type"`
	Length *int32     `json:"length,omitempty"`
}

TlsKeyGenerateRequestData struct for TlsKeyGenerateRequestData

func NewTlsKeyGenerateRequestData

func NewTlsKeyGenerateRequestData(type_ TlsKeyType) *TlsKeyGenerateRequestData

NewTlsKeyGenerateRequestData instantiates a new TlsKeyGenerateRequestData 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 NewTlsKeyGenerateRequestDataWithDefaults

func NewTlsKeyGenerateRequestDataWithDefaults() *TlsKeyGenerateRequestData

NewTlsKeyGenerateRequestDataWithDefaults instantiates a new TlsKeyGenerateRequestData 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 (*TlsKeyGenerateRequestData) GetLength

func (o *TlsKeyGenerateRequestData) GetLength() int32

GetLength returns the Length field value if set, zero value otherwise.

func (*TlsKeyGenerateRequestData) GetLengthOk

func (o *TlsKeyGenerateRequestData) GetLengthOk() (*int32, bool)

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

func (*TlsKeyGenerateRequestData) GetType

GetType returns the Type field value

func (*TlsKeyGenerateRequestData) GetTypeOk

func (o *TlsKeyGenerateRequestData) GetTypeOk() (*TlsKeyType, bool)

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

func (*TlsKeyGenerateRequestData) HasLength

func (o *TlsKeyGenerateRequestData) HasLength() bool

HasLength returns a boolean if a field has been set.

func (TlsKeyGenerateRequestData) MarshalJSON

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

func (*TlsKeyGenerateRequestData) SetLength

func (o *TlsKeyGenerateRequestData) SetLength(v int32)

SetLength gets a reference to the given int32 and assigns it to the Length field.

func (*TlsKeyGenerateRequestData) SetType

func (o *TlsKeyGenerateRequestData) SetType(v TlsKeyType)

SetType sets field value

func (TlsKeyGenerateRequestData) ToMap

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

func (*TlsKeyGenerateRequestData) UnmarshalJSON

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

type TlsKeyType

type TlsKeyType string

TlsKeyType the model 'TlsKeyType'

const (
	TLSKEYTYPE_RSA        TlsKeyType = "RSA"
	TLSKEYTYPE_CURVE25519 TlsKeyType = "Curve25519"
	TLSKEYTYPE_EC_P224    TlsKeyType = "EC_P224"
	TLSKEYTYPE_EC_P256    TlsKeyType = "EC_P256"
	TLSKEYTYPE_EC_P384    TlsKeyType = "EC_P384"
	TLSKEYTYPE_EC_P521    TlsKeyType = "EC_P521"
)

List of TlsKeyType

func NewTlsKeyTypeFromValue

func NewTlsKeyTypeFromValue(v string) (*TlsKeyType, error)

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

func (TlsKeyType) IsValid

func (v TlsKeyType) IsValid() bool

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

func (TlsKeyType) Ptr

func (v TlsKeyType) Ptr() *TlsKeyType

Ptr returns reference to TlsKeyType value

func (*TlsKeyType) UnmarshalJSON

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

type UnattendedBootConfig

type UnattendedBootConfig struct {
	Status Switch `json:"status"`
}

UnattendedBootConfig struct for UnattendedBootConfig

func NewUnattendedBootConfig

func NewUnattendedBootConfig(status Switch) *UnattendedBootConfig

NewUnattendedBootConfig instantiates a new UnattendedBootConfig 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 NewUnattendedBootConfigWithDefaults

func NewUnattendedBootConfigWithDefaults() *UnattendedBootConfig

NewUnattendedBootConfigWithDefaults instantiates a new UnattendedBootConfig 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 (*UnattendedBootConfig) GetStatus

func (o *UnattendedBootConfig) GetStatus() Switch

GetStatus returns the Status field value

func (*UnattendedBootConfig) GetStatusOk

func (o *UnattendedBootConfig) GetStatusOk() (*Switch, bool)

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

func (UnattendedBootConfig) MarshalJSON

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

func (*UnattendedBootConfig) SetStatus

func (o *UnattendedBootConfig) SetStatus(v Switch)

SetStatus sets field value

func (UnattendedBootConfig) ToMap

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

func (*UnattendedBootConfig) UnmarshalJSON

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

type UnlockPassphraseConfig

type UnlockPassphraseConfig struct {
	NewPassphrase     string `json:"newPassphrase"`
	CurrentPassphrase string `json:"currentPassphrase"`
}

UnlockPassphraseConfig struct for UnlockPassphraseConfig

func NewUnlockPassphraseConfig

func NewUnlockPassphraseConfig(newPassphrase string, currentPassphrase string) *UnlockPassphraseConfig

NewUnlockPassphraseConfig instantiates a new UnlockPassphraseConfig 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 NewUnlockPassphraseConfigWithDefaults

func NewUnlockPassphraseConfigWithDefaults() *UnlockPassphraseConfig

NewUnlockPassphraseConfigWithDefaults instantiates a new UnlockPassphraseConfig 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 (*UnlockPassphraseConfig) GetCurrentPassphrase

func (o *UnlockPassphraseConfig) GetCurrentPassphrase() string

GetCurrentPassphrase returns the CurrentPassphrase field value

func (*UnlockPassphraseConfig) GetCurrentPassphraseOk

func (o *UnlockPassphraseConfig) GetCurrentPassphraseOk() (*string, bool)

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

func (*UnlockPassphraseConfig) GetNewPassphrase

func (o *UnlockPassphraseConfig) GetNewPassphrase() string

GetNewPassphrase returns the NewPassphrase field value

func (*UnlockPassphraseConfig) GetNewPassphraseOk

func (o *UnlockPassphraseConfig) GetNewPassphraseOk() (*string, bool)

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

func (UnlockPassphraseConfig) MarshalJSON

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

func (*UnlockPassphraseConfig) SetCurrentPassphrase

func (o *UnlockPassphraseConfig) SetCurrentPassphrase(v string)

SetCurrentPassphrase sets field value

func (*UnlockPassphraseConfig) SetNewPassphrase

func (o *UnlockPassphraseConfig) SetNewPassphrase(v string)

SetNewPassphrase sets field value

func (UnlockPassphraseConfig) ToMap

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

func (*UnlockPassphraseConfig) UnmarshalJSON

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

type UnlockRequestData

type UnlockRequestData struct {
	Passphrase string `json:"passphrase"`
}

UnlockRequestData struct for UnlockRequestData

func NewUnlockRequestData

func NewUnlockRequestData(passphrase string) *UnlockRequestData

NewUnlockRequestData instantiates a new UnlockRequestData 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 NewUnlockRequestDataWithDefaults

func NewUnlockRequestDataWithDefaults() *UnlockRequestData

NewUnlockRequestDataWithDefaults instantiates a new UnlockRequestData 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 (*UnlockRequestData) GetPassphrase

func (o *UnlockRequestData) GetPassphrase() string

GetPassphrase returns the Passphrase field value

func (*UnlockRequestData) GetPassphraseOk

func (o *UnlockRequestData) GetPassphraseOk() (*string, bool)

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

func (UnlockRequestData) MarshalJSON

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

func (*UnlockRequestData) SetPassphrase

func (o *UnlockRequestData) SetPassphrase(v string)

SetPassphrase sets field value

func (UnlockRequestData) ToMap

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

func (*UnlockRequestData) UnmarshalJSON

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

type UserData

type UserData struct {
	RealName string   `json:"realName"`
	Role     UserRole `json:"role"`
}

UserData struct for UserData

func NewUserData

func NewUserData(realName string, role UserRole) *UserData

NewUserData instantiates a new UserData 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 NewUserDataWithDefaults

func NewUserDataWithDefaults() *UserData

NewUserDataWithDefaults instantiates a new UserData 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 (*UserData) GetRealName

func (o *UserData) GetRealName() string

GetRealName returns the RealName field value

func (*UserData) GetRealNameOk

func (o *UserData) GetRealNameOk() (*string, bool)

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

func (*UserData) GetRole

func (o *UserData) GetRole() UserRole

GetRole returns the Role field value

func (*UserData) GetRoleOk

func (o *UserData) GetRoleOk() (*UserRole, bool)

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

func (UserData) MarshalJSON

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

func (*UserData) SetRealName

func (o *UserData) SetRealName(v string)

SetRealName sets field value

func (*UserData) SetRole

func (o *UserData) SetRole(v UserRole)

SetRole sets field value

func (UserData) ToMap

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

func (*UserData) UnmarshalJSON

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

type UserItem

type UserItem struct {
	User string `json:"user" validate:"regexp=^([a-zA-Z0-9]+~)?[a-zA-Z0-9]+$"`
}

UserItem struct for UserItem

func NewUserItem

func NewUserItem(user string) *UserItem

NewUserItem instantiates a new UserItem 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 NewUserItemWithDefaults

func NewUserItemWithDefaults() *UserItem

NewUserItemWithDefaults instantiates a new UserItem 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 (*UserItem) GetUser

func (o *UserItem) GetUser() string

GetUser returns the User field value

func (*UserItem) GetUserOk

func (o *UserItem) GetUserOk() (*string, bool)

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

func (UserItem) MarshalJSON

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

func (*UserItem) SetUser

func (o *UserItem) SetUser(v string)

SetUser sets field value

func (UserItem) ToMap

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

func (*UserItem) UnmarshalJSON

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

type UserPassphrasePostData

type UserPassphrasePostData struct {
	Passphrase string `json:"passphrase"`
}

UserPassphrasePostData struct for UserPassphrasePostData

func NewUserPassphrasePostData

func NewUserPassphrasePostData(passphrase string) *UserPassphrasePostData

NewUserPassphrasePostData instantiates a new UserPassphrasePostData 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 NewUserPassphrasePostDataWithDefaults

func NewUserPassphrasePostDataWithDefaults() *UserPassphrasePostData

NewUserPassphrasePostDataWithDefaults instantiates a new UserPassphrasePostData 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 (*UserPassphrasePostData) GetPassphrase

func (o *UserPassphrasePostData) GetPassphrase() string

GetPassphrase returns the Passphrase field value

func (*UserPassphrasePostData) GetPassphraseOk

func (o *UserPassphrasePostData) GetPassphraseOk() (*string, bool)

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

func (UserPassphrasePostData) MarshalJSON

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

func (*UserPassphrasePostData) SetPassphrase

func (o *UserPassphrasePostData) SetPassphrase(v string)

SetPassphrase sets field value

func (UserPassphrasePostData) ToMap

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

func (*UserPassphrasePostData) UnmarshalJSON

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

type UserPostData

type UserPostData struct {
	RealName   string   `json:"realName"`
	Role       UserRole `json:"role"`
	Passphrase string   `json:"passphrase"`
}

UserPostData struct for UserPostData

func NewUserPostData

func NewUserPostData(realName string, role UserRole, passphrase string) *UserPostData

NewUserPostData instantiates a new UserPostData 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 NewUserPostDataWithDefaults

func NewUserPostDataWithDefaults() *UserPostData

NewUserPostDataWithDefaults instantiates a new UserPostData 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 (*UserPostData) GetPassphrase

func (o *UserPostData) GetPassphrase() string

GetPassphrase returns the Passphrase field value

func (*UserPostData) GetPassphraseOk

func (o *UserPostData) GetPassphraseOk() (*string, bool)

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

func (*UserPostData) GetRealName

func (o *UserPostData) GetRealName() string

GetRealName returns the RealName field value

func (*UserPostData) GetRealNameOk

func (o *UserPostData) GetRealNameOk() (*string, bool)

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

func (*UserPostData) GetRole

func (o *UserPostData) GetRole() UserRole

GetRole returns the Role field value

func (*UserPostData) GetRoleOk

func (o *UserPostData) GetRoleOk() (*UserRole, bool)

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

func (UserPostData) MarshalJSON

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

func (*UserPostData) SetPassphrase

func (o *UserPostData) SetPassphrase(v string)

SetPassphrase sets field value

func (*UserPostData) SetRealName

func (o *UserPostData) SetRealName(v string)

SetRealName sets field value

func (*UserPostData) SetRole

func (o *UserPostData) SetRole(v UserRole)

SetRole sets field value

func (UserPostData) ToMap

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

func (*UserPostData) UnmarshalJSON

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

type UserRole

type UserRole string

UserRole the model 'UserRole'

const (
	USERROLE_ADMINISTRATOR UserRole = "Administrator"
	USERROLE_OPERATOR      UserRole = "Operator"
	USERROLE_METRICS       UserRole = "Metrics"
	USERROLE_BACKUP        UserRole = "Backup"
)

List of UserRole

func NewUserRoleFromValue

func NewUserRoleFromValue(v string) (*UserRole, error)

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

func (UserRole) IsValid

func (v UserRole) IsValid() bool

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

func (UserRole) Ptr

func (v UserRole) Ptr() *UserRole

Ptr returns reference to UserRole value

func (*UserRole) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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