Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AkPub
- func (o *AkPub) GetP256() string
- func (o *AkPub) GetP256Ok() (*string, bool)
- func (o *AkPub) GetP384() string
- func (o *AkPub) GetP384Ok() (*string, bool)
- func (o *AkPub) HasP256() bool
- func (o *AkPub) HasP384() bool
- func (o AkPub) MarshalJSON() ([]byte, error)
- func (o *AkPub) SetP256(v string)
- func (o *AkPub) SetP384(v string)
- func (o AkPub) ToMap() (map[string]interface{}, error)
- type ApiConfigBackupPassphrasePutRequest
- type ApiConfigLoggingGetRequest
- type ApiConfigLoggingPutRequest
- type ApiConfigNetworkGetRequest
- type ApiConfigNetworkPutRequest
- type ApiConfigTimeGetRequest
- type ApiConfigTimePutRequest
- type ApiConfigTlsCertPemGetRequest
- type ApiConfigTlsCertPemPutRequest
- type ApiConfigTlsCsrPemPostRequest
- type ApiConfigTlsGeneratePostRequest
- type ApiConfigTlsPublicPemGetRequest
- type ApiConfigUnattendedBootGetRequest
- type ApiConfigUnattendedBootPutRequest
- type ApiConfigUnlockPassphrasePutRequest
- type ApiHealthAliveGetRequest
- type ApiHealthReadyGetRequest
- type ApiHealthStateGetRequest
- type ApiInfoGetRequest
- type ApiKeysGeneratePostRequest
- type ApiKeysGetRequest
- type ApiKeysKeyIDCertDeleteRequest
- type ApiKeysKeyIDCertGetRequest
- type ApiKeysKeyIDCertPutRequest
- type ApiKeysKeyIDCsrPemPostRequest
- type ApiKeysKeyIDDecryptPostRequest
- type ApiKeysKeyIDDeleteRequest
- type ApiKeysKeyIDEncryptPostRequest
- type ApiKeysKeyIDGetRequest
- type ApiKeysKeyIDPublicPemGetRequest
- type ApiKeysKeyIDPutRequest
- type ApiKeysKeyIDRestrictionsTagsTagDeleteRequest
- type ApiKeysKeyIDRestrictionsTagsTagPutRequest
- type ApiKeysKeyIDSignPostRequest
- type ApiKeysPostRequest
- type ApiLockPostRequest
- type ApiMetricsGetRequest
- type ApiNamespacesGetRequest
- type ApiNamespacesNamespaceIDDeleteRequest
- type ApiNamespacesNamespaceIDPutRequest
- type ApiProvisionPostRequest
- type ApiRandomPostRequest
- type ApiSystemBackupPostRequest
- type ApiSystemCancelUpdatePostRequest
- type ApiSystemCommitUpdatePostRequest
- type ApiSystemFactoryResetPostRequest
- type ApiSystemInfoGetRequest
- type ApiSystemRebootPostRequest
- type ApiSystemRestorePostRequest
- type ApiSystemShutdownPostRequest
- type ApiSystemUpdatePostRequest
- type ApiUnlockPostRequest
- type ApiUsersGetRequest
- type ApiUsersPostRequest
- type ApiUsersUserIDDeleteRequest
- type ApiUsersUserIDGetRequest
- type ApiUsersUserIDPassphrasePostRequest
- type ApiUsersUserIDPostRequest
- type ApiUsersUserIDPutRequest
- type ApiUsersUserIDTagsGetRequest
- type ApiUsersUserIDTagsTagDeleteRequest
- type ApiUsersUserIDTagsTagPutRequest
- type BackupPassphraseConfig
- func (o *BackupPassphraseConfig) GetCurrentPassphrase() string
- func (o *BackupPassphraseConfig) GetCurrentPassphraseOk() (*string, bool)
- func (o *BackupPassphraseConfig) GetNewPassphrase() string
- func (o *BackupPassphraseConfig) GetNewPassphraseOk() (*string, bool)
- func (o BackupPassphraseConfig) MarshalJSON() ([]byte, error)
- func (o *BackupPassphraseConfig) SetCurrentPassphrase(v string)
- func (o *BackupPassphraseConfig) SetNewPassphrase(v string)
- func (o BackupPassphraseConfig) ToMap() (map[string]interface{}, error)
- func (o *BackupPassphraseConfig) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type Configuration
- type CreateResourceId
- func (o *CreateResourceId) GetId() string
- func (o *CreateResourceId) GetIdOk() (*string, bool)
- func (o CreateResourceId) MarshalJSON() ([]byte, error)
- func (o *CreateResourceId) SetId(v string)
- func (o CreateResourceId) ToMap() (map[string]interface{}, error)
- func (o *CreateResourceId) UnmarshalJSON(data []byte) (err error)
- type DecryptData
- func (o *DecryptData) GetDecrypted() string
- func (o *DecryptData) GetDecryptedOk() (*string, bool)
- func (o DecryptData) MarshalJSON() ([]byte, error)
- func (o *DecryptData) SetDecrypted(v string)
- func (o DecryptData) ToMap() (map[string]interface{}, error)
- func (o *DecryptData) UnmarshalJSON(data []byte) (err error)
- type DecryptMode
- type DecryptRequestData
- func (o *DecryptRequestData) GetEncrypted() string
- func (o *DecryptRequestData) GetEncryptedOk() (*string, bool)
- func (o *DecryptRequestData) GetIv() string
- func (o *DecryptRequestData) GetIvOk() (*string, bool)
- func (o *DecryptRequestData) GetMode() DecryptMode
- func (o *DecryptRequestData) GetModeOk() (*DecryptMode, bool)
- func (o *DecryptRequestData) HasIv() bool
- func (o DecryptRequestData) MarshalJSON() ([]byte, error)
- func (o *DecryptRequestData) SetEncrypted(v string)
- func (o *DecryptRequestData) SetIv(v string)
- func (o *DecryptRequestData) SetMode(v DecryptMode)
- func (o DecryptRequestData) ToMap() (map[string]interface{}, error)
- func (o *DecryptRequestData) UnmarshalJSON(data []byte) (err error)
- type DefaultAPIService
- func (a *DefaultAPIService) ConfigBackupPassphrasePut(ctx context.Context) ApiConfigBackupPassphrasePutRequest
- func (a *DefaultAPIService) ConfigBackupPassphrasePutExecute(r ApiConfigBackupPassphrasePutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigLoggingGet(ctx context.Context) ApiConfigLoggingGetRequest
- func (a *DefaultAPIService) ConfigLoggingGetExecute(r ApiConfigLoggingGetRequest) (*LoggingConfig, *http.Response, error)
- func (a *DefaultAPIService) ConfigLoggingPut(ctx context.Context) ApiConfigLoggingPutRequest
- func (a *DefaultAPIService) ConfigLoggingPutExecute(r ApiConfigLoggingPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigNetworkGet(ctx context.Context) ApiConfigNetworkGetRequest
- func (a *DefaultAPIService) ConfigNetworkGetExecute(r ApiConfigNetworkGetRequest) (*NetworkConfig, *http.Response, error)
- func (a *DefaultAPIService) ConfigNetworkPut(ctx context.Context) ApiConfigNetworkPutRequest
- func (a *DefaultAPIService) ConfigNetworkPutExecute(r ApiConfigNetworkPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigTimeGet(ctx context.Context) ApiConfigTimeGetRequest
- func (a *DefaultAPIService) ConfigTimeGetExecute(r ApiConfigTimeGetRequest) (*TimeConfig, *http.Response, error)
- func (a *DefaultAPIService) ConfigTimePut(ctx context.Context) ApiConfigTimePutRequest
- func (a *DefaultAPIService) ConfigTimePutExecute(r ApiConfigTimePutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigTlsCertPemGet(ctx context.Context) ApiConfigTlsCertPemGetRequest
- func (a *DefaultAPIService) ConfigTlsCertPemGetExecute(r ApiConfigTlsCertPemGetRequest) (string, *http.Response, error)
- func (a *DefaultAPIService) ConfigTlsCertPemPut(ctx context.Context) ApiConfigTlsCertPemPutRequest
- func (a *DefaultAPIService) ConfigTlsCertPemPutExecute(r ApiConfigTlsCertPemPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigTlsCsrPemPost(ctx context.Context) ApiConfigTlsCsrPemPostRequest
- func (a *DefaultAPIService) ConfigTlsCsrPemPostExecute(r ApiConfigTlsCsrPemPostRequest) (string, *http.Response, error)
- func (a *DefaultAPIService) ConfigTlsGeneratePost(ctx context.Context) ApiConfigTlsGeneratePostRequest
- func (a *DefaultAPIService) ConfigTlsGeneratePostExecute(r ApiConfigTlsGeneratePostRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigTlsPublicPemGet(ctx context.Context) ApiConfigTlsPublicPemGetRequest
- func (a *DefaultAPIService) ConfigTlsPublicPemGetExecute(r ApiConfigTlsPublicPemGetRequest) (string, *http.Response, error)
- func (a *DefaultAPIService) ConfigUnattendedBootGet(ctx context.Context) ApiConfigUnattendedBootGetRequest
- func (a *DefaultAPIService) ConfigUnattendedBootGetExecute(r ApiConfigUnattendedBootGetRequest) (*UnattendedBootConfig, *http.Response, error)
- func (a *DefaultAPIService) ConfigUnattendedBootPut(ctx context.Context) ApiConfigUnattendedBootPutRequest
- func (a *DefaultAPIService) ConfigUnattendedBootPutExecute(r ApiConfigUnattendedBootPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ConfigUnlockPassphrasePut(ctx context.Context) ApiConfigUnlockPassphrasePutRequest
- func (a *DefaultAPIService) ConfigUnlockPassphrasePutExecute(r ApiConfigUnlockPassphrasePutRequest) (*http.Response, error)
- func (a *DefaultAPIService) HealthAliveGet(ctx context.Context) ApiHealthAliveGetRequest
- func (a *DefaultAPIService) HealthAliveGetExecute(r ApiHealthAliveGetRequest) (*http.Response, error)
- func (a *DefaultAPIService) HealthReadyGet(ctx context.Context) ApiHealthReadyGetRequest
- func (a *DefaultAPIService) HealthReadyGetExecute(r ApiHealthReadyGetRequest) (*http.Response, error)
- func (a *DefaultAPIService) HealthStateGet(ctx context.Context) ApiHealthStateGetRequest
- func (a *DefaultAPIService) HealthStateGetExecute(r ApiHealthStateGetRequest) (*HealthStateData, *http.Response, error)
- func (a *DefaultAPIService) InfoGet(ctx context.Context) ApiInfoGetRequest
- func (a *DefaultAPIService) InfoGetExecute(r ApiInfoGetRequest) (*InfoData, *http.Response, error)
- func (a *DefaultAPIService) KeysGeneratePost(ctx context.Context) ApiKeysGeneratePostRequest
- func (a *DefaultAPIService) KeysGeneratePostExecute(r ApiKeysGeneratePostRequest) (*CreateResourceId, *http.Response, error)
- func (a *DefaultAPIService) KeysGet(ctx context.Context) ApiKeysGetRequest
- func (a *DefaultAPIService) KeysGetExecute(r ApiKeysGetRequest) ([]KeyItem, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDCertDelete(ctx context.Context, keyID string) ApiKeysKeyIDCertDeleteRequest
- func (a *DefaultAPIService) KeysKeyIDCertDeleteExecute(r ApiKeysKeyIDCertDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDCertGet(ctx context.Context, keyID string) ApiKeysKeyIDCertGetRequest
- func (a *DefaultAPIService) KeysKeyIDCertGetExecute(r ApiKeysKeyIDCertGetRequest) (*os.File, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDCertPut(ctx context.Context, keyID string) ApiKeysKeyIDCertPutRequest
- func (a *DefaultAPIService) KeysKeyIDCertPutExecute(r ApiKeysKeyIDCertPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDCsrPemPost(ctx context.Context, keyID string) ApiKeysKeyIDCsrPemPostRequest
- func (a *DefaultAPIService) KeysKeyIDCsrPemPostExecute(r ApiKeysKeyIDCsrPemPostRequest) (string, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDDecryptPost(ctx context.Context, keyID string) ApiKeysKeyIDDecryptPostRequest
- func (a *DefaultAPIService) KeysKeyIDDecryptPostExecute(r ApiKeysKeyIDDecryptPostRequest) (*DecryptData, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDDelete(ctx context.Context, keyID string) ApiKeysKeyIDDeleteRequest
- func (a *DefaultAPIService) KeysKeyIDDeleteExecute(r ApiKeysKeyIDDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDEncryptPost(ctx context.Context, keyID string) ApiKeysKeyIDEncryptPostRequest
- func (a *DefaultAPIService) KeysKeyIDEncryptPostExecute(r ApiKeysKeyIDEncryptPostRequest) (*EncryptData, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDGet(ctx context.Context, keyID string) ApiKeysKeyIDGetRequest
- func (a *DefaultAPIService) KeysKeyIDGetExecute(r ApiKeysKeyIDGetRequest) (*PublicKey, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDPublicPemGet(ctx context.Context, keyID string) ApiKeysKeyIDPublicPemGetRequest
- func (a *DefaultAPIService) KeysKeyIDPublicPemGetExecute(r ApiKeysKeyIDPublicPemGetRequest) (string, *http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDPut(ctx context.Context, keyID string) ApiKeysKeyIDPutRequest
- func (a *DefaultAPIService) KeysKeyIDPutExecute(r ApiKeysKeyIDPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagDelete(ctx context.Context, tag string, keyID string) ApiKeysKeyIDRestrictionsTagsTagDeleteRequest
- func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagDeleteExecute(r ApiKeysKeyIDRestrictionsTagsTagDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagPut(ctx context.Context, tag string, keyID string) ApiKeysKeyIDRestrictionsTagsTagPutRequest
- func (a *DefaultAPIService) KeysKeyIDRestrictionsTagsTagPutExecute(r ApiKeysKeyIDRestrictionsTagsTagPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) KeysKeyIDSignPost(ctx context.Context, keyID string) ApiKeysKeyIDSignPostRequest
- func (a *DefaultAPIService) KeysKeyIDSignPostExecute(r ApiKeysKeyIDSignPostRequest) (*SignData, *http.Response, error)
- func (a *DefaultAPIService) KeysPost(ctx context.Context) ApiKeysPostRequest
- func (a *DefaultAPIService) KeysPostExecute(r ApiKeysPostRequest) (*CreateResourceId, *http.Response, error)
- func (a *DefaultAPIService) LockPost(ctx context.Context) ApiLockPostRequest
- func (a *DefaultAPIService) LockPostExecute(r ApiLockPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) MetricsGet(ctx context.Context) ApiMetricsGetRequest
- func (a *DefaultAPIService) MetricsGetExecute(r ApiMetricsGetRequest) (map[string]interface{}, *http.Response, error)
- func (a *DefaultAPIService) NamespacesGet(ctx context.Context) ApiNamespacesGetRequest
- func (a *DefaultAPIService) NamespacesGetExecute(r ApiNamespacesGetRequest) ([]NamespaceItem, *http.Response, error)
- func (a *DefaultAPIService) NamespacesNamespaceIDDelete(ctx context.Context, namespaceID string) ApiNamespacesNamespaceIDDeleteRequest
- func (a *DefaultAPIService) NamespacesNamespaceIDDeleteExecute(r ApiNamespacesNamespaceIDDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) NamespacesNamespaceIDPut(ctx context.Context, namespaceID string) ApiNamespacesNamespaceIDPutRequest
- func (a *DefaultAPIService) NamespacesNamespaceIDPutExecute(r ApiNamespacesNamespaceIDPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) ProvisionPost(ctx context.Context) ApiProvisionPostRequest
- func (a *DefaultAPIService) ProvisionPostExecute(r ApiProvisionPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) RandomPost(ctx context.Context) ApiRandomPostRequest
- func (a *DefaultAPIService) RandomPostExecute(r ApiRandomPostRequest) (*RandomData, *http.Response, error)
- func (a *DefaultAPIService) SystemBackupPost(ctx context.Context) ApiSystemBackupPostRequest
- func (a *DefaultAPIService) SystemBackupPostExecute(r ApiSystemBackupPostRequest) (*os.File, *http.Response, error)
- func (a *DefaultAPIService) SystemCancelUpdatePost(ctx context.Context) ApiSystemCancelUpdatePostRequest
- func (a *DefaultAPIService) SystemCancelUpdatePostExecute(r ApiSystemCancelUpdatePostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemCommitUpdatePost(ctx context.Context) ApiSystemCommitUpdatePostRequest
- func (a *DefaultAPIService) SystemCommitUpdatePostExecute(r ApiSystemCommitUpdatePostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemFactoryResetPost(ctx context.Context) ApiSystemFactoryResetPostRequest
- func (a *DefaultAPIService) SystemFactoryResetPostExecute(r ApiSystemFactoryResetPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemInfoGet(ctx context.Context) ApiSystemInfoGetRequest
- func (a *DefaultAPIService) SystemInfoGetExecute(r ApiSystemInfoGetRequest) (*SystemInfo, *http.Response, error)
- func (a *DefaultAPIService) SystemRebootPost(ctx context.Context) ApiSystemRebootPostRequest
- func (a *DefaultAPIService) SystemRebootPostExecute(r ApiSystemRebootPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemRestorePost(ctx context.Context) ApiSystemRestorePostRequest
- func (a *DefaultAPIService) SystemRestorePostExecute(r ApiSystemRestorePostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemShutdownPost(ctx context.Context) ApiSystemShutdownPostRequest
- func (a *DefaultAPIService) SystemShutdownPostExecute(r ApiSystemShutdownPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) SystemUpdatePost(ctx context.Context) ApiSystemUpdatePostRequest
- func (a *DefaultAPIService) SystemUpdatePostExecute(r ApiSystemUpdatePostRequest) (*SystemUpdateData, *http.Response, error)
- func (a *DefaultAPIService) UnlockPost(ctx context.Context) ApiUnlockPostRequest
- func (a *DefaultAPIService) UnlockPostExecute(r ApiUnlockPostRequest) (*http.Response, error)
- func (a *DefaultAPIService) UsersGet(ctx context.Context) ApiUsersGetRequest
- func (a *DefaultAPIService) UsersGetExecute(r ApiUsersGetRequest) ([]UserItem, *http.Response, error)
- func (a *DefaultAPIService) UsersPost(ctx context.Context) ApiUsersPostRequest
- func (a *DefaultAPIService) UsersPostExecute(r ApiUsersPostRequest) (*CreateResourceId, *http.Response, error)
- func (a *DefaultAPIService) UsersUserIDDelete(ctx context.Context, userID string) ApiUsersUserIDDeleteRequest
- func (a *DefaultAPIService) UsersUserIDDeleteExecute(r ApiUsersUserIDDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) UsersUserIDGet(ctx context.Context, userID string) ApiUsersUserIDGetRequest
- func (a *DefaultAPIService) UsersUserIDGetExecute(r ApiUsersUserIDGetRequest) (*UserData, *http.Response, error)
- func (a *DefaultAPIService) UsersUserIDPassphrasePost(ctx context.Context, userID string) ApiUsersUserIDPassphrasePostRequest
- func (a *DefaultAPIService) UsersUserIDPassphrasePostExecute(r ApiUsersUserIDPassphrasePostRequest) (*http.Response, error)
- func (a *DefaultAPIService) UsersUserIDPost(ctx context.Context, userID string) ApiUsersUserIDPostRequest
- func (a *DefaultAPIService) UsersUserIDPostExecute(r ApiUsersUserIDPostRequest) (*CreateResourceId, *http.Response, error)
- func (a *DefaultAPIService) UsersUserIDPut(ctx context.Context, userID string) ApiUsersUserIDPutRequest
- func (a *DefaultAPIService) UsersUserIDPutExecute(r ApiUsersUserIDPutRequest) (*http.Response, error)
- func (a *DefaultAPIService) UsersUserIDTagsGet(ctx context.Context, userID string) ApiUsersUserIDTagsGetRequest
- func (a *DefaultAPIService) UsersUserIDTagsGetExecute(r ApiUsersUserIDTagsGetRequest) ([]string, *http.Response, error)
- func (a *DefaultAPIService) UsersUserIDTagsTagDelete(ctx context.Context, userID string, tag string) ApiUsersUserIDTagsTagDeleteRequest
- func (a *DefaultAPIService) UsersUserIDTagsTagDeleteExecute(r ApiUsersUserIDTagsTagDeleteRequest) (*http.Response, error)
- func (a *DefaultAPIService) UsersUserIDTagsTagPut(ctx context.Context, userID string, tag string) ApiUsersUserIDTagsTagPutRequest
- func (a *DefaultAPIService) UsersUserIDTagsTagPutExecute(r ApiUsersUserIDTagsTagPutRequest) (*http.Response, error)
- type DistinguishedName
- func (o *DistinguishedName) GetCommonName() string
- func (o *DistinguishedName) GetCommonNameOk() (*string, bool)
- func (o *DistinguishedName) GetCountryName() string
- func (o *DistinguishedName) GetCountryNameOk() (*string, bool)
- func (o *DistinguishedName) GetEmailAddress() string
- func (o *DistinguishedName) GetEmailAddressOk() (*string, bool)
- func (o *DistinguishedName) GetLocalityName() string
- func (o *DistinguishedName) GetLocalityNameOk() (*string, bool)
- func (o *DistinguishedName) GetOrganizationName() string
- func (o *DistinguishedName) GetOrganizationNameOk() (*string, bool)
- func (o *DistinguishedName) GetOrganizationalUnitName() string
- func (o *DistinguishedName) GetOrganizationalUnitNameOk() (*string, bool)
- func (o *DistinguishedName) GetStateOrProvinceName() string
- func (o *DistinguishedName) GetStateOrProvinceNameOk() (*string, bool)
- func (o *DistinguishedName) HasCountryName() bool
- func (o *DistinguishedName) HasEmailAddress() bool
- func (o *DistinguishedName) HasLocalityName() bool
- func (o *DistinguishedName) HasOrganizationName() bool
- func (o *DistinguishedName) HasOrganizationalUnitName() bool
- func (o *DistinguishedName) HasStateOrProvinceName() bool
- func (o DistinguishedName) MarshalJSON() ([]byte, error)
- func (o *DistinguishedName) SetCommonName(v string)
- func (o *DistinguishedName) SetCountryName(v string)
- func (o *DistinguishedName) SetEmailAddress(v string)
- func (o *DistinguishedName) SetLocalityName(v string)
- func (o *DistinguishedName) SetOrganizationName(v string)
- func (o *DistinguishedName) SetOrganizationalUnitName(v string)
- func (o *DistinguishedName) SetStateOrProvinceName(v string)
- func (o DistinguishedName) ToMap() (map[string]interface{}, error)
- func (o *DistinguishedName) UnmarshalJSON(data []byte) (err error)
- type EncryptData
- func (o *EncryptData) GetEncrypted() string
- func (o *EncryptData) GetEncryptedOk() (*string, bool)
- func (o *EncryptData) GetIv() string
- func (o *EncryptData) GetIvOk() (*string, bool)
- func (o EncryptData) MarshalJSON() ([]byte, error)
- func (o *EncryptData) SetEncrypted(v string)
- func (o *EncryptData) SetIv(v string)
- func (o EncryptData) ToMap() (map[string]interface{}, error)
- func (o *EncryptData) UnmarshalJSON(data []byte) (err error)
- type EncryptMode
- type EncryptRequestData
- func (o *EncryptRequestData) GetIv() string
- func (o *EncryptRequestData) GetIvOk() (*string, bool)
- func (o *EncryptRequestData) GetMessage() string
- func (o *EncryptRequestData) GetMessageOk() (*string, bool)
- func (o *EncryptRequestData) GetMode() EncryptMode
- func (o *EncryptRequestData) GetModeOk() (*EncryptMode, bool)
- func (o *EncryptRequestData) HasIv() bool
- func (o EncryptRequestData) MarshalJSON() ([]byte, error)
- func (o *EncryptRequestData) SetIv(v string)
- func (o *EncryptRequestData) SetMessage(v string)
- func (o *EncryptRequestData) SetMode(v EncryptMode)
- func (o EncryptRequestData) ToMap() (map[string]interface{}, error)
- func (o *EncryptRequestData) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type HealthStateData
- func (o *HealthStateData) GetState() SystemState
- func (o *HealthStateData) GetStateOk() (*SystemState, bool)
- func (o HealthStateData) MarshalJSON() ([]byte, error)
- func (o *HealthStateData) SetState(v SystemState)
- func (o HealthStateData) ToMap() (map[string]interface{}, error)
- func (o *HealthStateData) UnmarshalJSON(data []byte) (err error)
- type InfoData
- func (o *InfoData) GetProduct() string
- func (o *InfoData) GetProductOk() (*string, bool)
- func (o *InfoData) GetVendor() string
- func (o *InfoData) GetVendorOk() (*string, bool)
- func (o InfoData) MarshalJSON() ([]byte, error)
- func (o *InfoData) SetProduct(v string)
- func (o *InfoData) SetVendor(v string)
- func (o InfoData) ToMap() (map[string]interface{}, error)
- func (o *InfoData) UnmarshalJSON(data []byte) (err error)
- type KeyGenerateRequestData
- func (o *KeyGenerateRequestData) GetId() string
- func (o *KeyGenerateRequestData) GetIdOk() (*string, bool)
- func (o *KeyGenerateRequestData) GetLength() int32
- func (o *KeyGenerateRequestData) GetLengthOk() (*int32, bool)
- func (o *KeyGenerateRequestData) GetMechanisms() []KeyMechanism
- func (o *KeyGenerateRequestData) GetMechanismsOk() ([]KeyMechanism, bool)
- func (o *KeyGenerateRequestData) GetRestrictions() KeyRestrictions
- func (o *KeyGenerateRequestData) GetRestrictionsOk() (*KeyRestrictions, bool)
- func (o *KeyGenerateRequestData) GetType() KeyType
- func (o *KeyGenerateRequestData) GetTypeOk() (*KeyType, bool)
- func (o *KeyGenerateRequestData) HasId() bool
- func (o *KeyGenerateRequestData) HasLength() bool
- func (o *KeyGenerateRequestData) HasRestrictions() bool
- func (o KeyGenerateRequestData) MarshalJSON() ([]byte, error)
- func (o *KeyGenerateRequestData) SetId(v string)
- func (o *KeyGenerateRequestData) SetLength(v int32)
- func (o *KeyGenerateRequestData) SetMechanisms(v []KeyMechanism)
- func (o *KeyGenerateRequestData) SetRestrictions(v KeyRestrictions)
- func (o *KeyGenerateRequestData) SetType(v KeyType)
- func (o KeyGenerateRequestData) ToMap() (map[string]interface{}, error)
- func (o *KeyGenerateRequestData) UnmarshalJSON(data []byte) (err error)
- type KeyItem
- type KeyMechanism
- type KeyPrivateData
- func (o *KeyPrivateData) GetData() string
- func (o *KeyPrivateData) GetDataOk() (*string, bool)
- func (o *KeyPrivateData) GetPrimeP() string
- func (o *KeyPrivateData) GetPrimePOk() (*string, bool)
- func (o *KeyPrivateData) GetPrimeQ() string
- func (o *KeyPrivateData) GetPrimeQOk() (*string, bool)
- func (o *KeyPrivateData) GetPublicExponent() string
- func (o *KeyPrivateData) GetPublicExponentOk() (*string, bool)
- func (o *KeyPrivateData) HasData() bool
- func (o *KeyPrivateData) HasPrimeP() bool
- func (o *KeyPrivateData) HasPrimeQ() bool
- func (o *KeyPrivateData) HasPublicExponent() bool
- func (o KeyPrivateData) MarshalJSON() ([]byte, error)
- func (o *KeyPrivateData) SetData(v string)
- func (o *KeyPrivateData) SetPrimeP(v string)
- func (o *KeyPrivateData) SetPrimeQ(v string)
- func (o *KeyPrivateData) SetPublicExponent(v string)
- func (o KeyPrivateData) ToMap() (map[string]interface{}, error)
- type KeyPublicData
- func (o *KeyPublicData) GetData() string
- func (o *KeyPublicData) GetDataOk() (*string, bool)
- func (o *KeyPublicData) GetModulus() string
- func (o *KeyPublicData) GetModulusOk() (*string, bool)
- func (o *KeyPublicData) GetPublicExponent() string
- func (o *KeyPublicData) GetPublicExponentOk() (*string, bool)
- func (o *KeyPublicData) HasData() bool
- func (o *KeyPublicData) HasModulus() bool
- func (o *KeyPublicData) HasPublicExponent() bool
- func (o KeyPublicData) MarshalJSON() ([]byte, error)
- func (o *KeyPublicData) SetData(v string)
- func (o *KeyPublicData) SetModulus(v string)
- func (o *KeyPublicData) SetPublicExponent(v string)
- func (o KeyPublicData) ToMap() (map[string]interface{}, error)
- type KeyRestrictions
- func (o *KeyRestrictions) GetTags() []string
- func (o *KeyRestrictions) GetTagsOk() ([]string, bool)
- func (o *KeyRestrictions) HasTags() bool
- func (o KeyRestrictions) MarshalJSON() ([]byte, error)
- func (o *KeyRestrictions) SetTags(v []string)
- func (o KeyRestrictions) ToMap() (map[string]interface{}, error)
- type KeyType
- type LogLevel
- type LoggingConfig
- func (o *LoggingConfig) GetIpAddress() string
- func (o *LoggingConfig) GetIpAddressOk() (*string, bool)
- func (o *LoggingConfig) GetLogLevel() LogLevel
- func (o *LoggingConfig) GetLogLevelOk() (*LogLevel, bool)
- func (o *LoggingConfig) GetPort() int32
- func (o *LoggingConfig) GetPortOk() (*int32, bool)
- func (o LoggingConfig) MarshalJSON() ([]byte, error)
- func (o *LoggingConfig) SetIpAddress(v string)
- func (o *LoggingConfig) SetLogLevel(v LogLevel)
- func (o *LoggingConfig) SetPort(v int32)
- func (o LoggingConfig) ToMap() (map[string]interface{}, error)
- func (o *LoggingConfig) UnmarshalJSON(data []byte) (err error)
- type MappedNullable
- type NamespaceItem
- func (o *NamespaceItem) GetId() string
- func (o *NamespaceItem) GetIdOk() (*string, bool)
- func (o NamespaceItem) MarshalJSON() ([]byte, error)
- func (o *NamespaceItem) SetId(v string)
- func (o NamespaceItem) ToMap() (map[string]interface{}, error)
- func (o *NamespaceItem) UnmarshalJSON(data []byte) (err error)
- type NetworkConfig
- func (o *NetworkConfig) GetGateway() string
- func (o *NetworkConfig) GetGatewayOk() (*string, bool)
- func (o *NetworkConfig) GetIpAddress() string
- func (o *NetworkConfig) GetIpAddressOk() (*string, bool)
- func (o *NetworkConfig) GetNetmask() string
- func (o *NetworkConfig) GetNetmaskOk() (*string, bool)
- func (o NetworkConfig) MarshalJSON() ([]byte, error)
- func (o *NetworkConfig) SetGateway(v string)
- func (o *NetworkConfig) SetIpAddress(v string)
- func (o *NetworkConfig) SetNetmask(v string)
- func (o NetworkConfig) ToMap() (map[string]interface{}, error)
- func (o *NetworkConfig) UnmarshalJSON(data []byte) (err error)
- type NullableAkPub
- type NullableBackupPassphraseConfig
- func (v NullableBackupPassphraseConfig) Get() *BackupPassphraseConfig
- func (v NullableBackupPassphraseConfig) IsSet() bool
- func (v NullableBackupPassphraseConfig) MarshalJSON() ([]byte, error)
- func (v *NullableBackupPassphraseConfig) Set(val *BackupPassphraseConfig)
- func (v *NullableBackupPassphraseConfig) UnmarshalJSON(src []byte) error
- func (v *NullableBackupPassphraseConfig) Unset()
- type NullableBool
- type NullableCreateResourceId
- func (v NullableCreateResourceId) Get() *CreateResourceId
- func (v NullableCreateResourceId) IsSet() bool
- func (v NullableCreateResourceId) MarshalJSON() ([]byte, error)
- func (v *NullableCreateResourceId) Set(val *CreateResourceId)
- func (v *NullableCreateResourceId) UnmarshalJSON(src []byte) error
- func (v *NullableCreateResourceId) Unset()
- type NullableDecryptData
- func (v NullableDecryptData) Get() *DecryptData
- func (v NullableDecryptData) IsSet() bool
- func (v NullableDecryptData) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptData) Set(val *DecryptData)
- func (v *NullableDecryptData) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptData) Unset()
- type NullableDecryptMode
- func (v NullableDecryptMode) Get() *DecryptMode
- func (v NullableDecryptMode) IsSet() bool
- func (v NullableDecryptMode) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptMode) Set(val *DecryptMode)
- func (v *NullableDecryptMode) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptMode) Unset()
- type NullableDecryptRequestData
- func (v NullableDecryptRequestData) Get() *DecryptRequestData
- func (v NullableDecryptRequestData) IsSet() bool
- func (v NullableDecryptRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableDecryptRequestData) Set(val *DecryptRequestData)
- func (v *NullableDecryptRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableDecryptRequestData) Unset()
- type NullableDistinguishedName
- func (v NullableDistinguishedName) Get() *DistinguishedName
- func (v NullableDistinguishedName) IsSet() bool
- func (v NullableDistinguishedName) MarshalJSON() ([]byte, error)
- func (v *NullableDistinguishedName) Set(val *DistinguishedName)
- func (v *NullableDistinguishedName) UnmarshalJSON(src []byte) error
- func (v *NullableDistinguishedName) Unset()
- type NullableEncryptData
- func (v NullableEncryptData) Get() *EncryptData
- func (v NullableEncryptData) IsSet() bool
- func (v NullableEncryptData) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptData) Set(val *EncryptData)
- func (v *NullableEncryptData) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptData) Unset()
- type NullableEncryptMode
- func (v NullableEncryptMode) Get() *EncryptMode
- func (v NullableEncryptMode) IsSet() bool
- func (v NullableEncryptMode) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptMode) Set(val *EncryptMode)
- func (v *NullableEncryptMode) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptMode) Unset()
- type NullableEncryptRequestData
- func (v NullableEncryptRequestData) Get() *EncryptRequestData
- func (v NullableEncryptRequestData) IsSet() bool
- func (v NullableEncryptRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableEncryptRequestData) Set(val *EncryptRequestData)
- func (v *NullableEncryptRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableEncryptRequestData) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHealthStateData
- func (v NullableHealthStateData) Get() *HealthStateData
- func (v NullableHealthStateData) IsSet() bool
- func (v NullableHealthStateData) MarshalJSON() ([]byte, error)
- func (v *NullableHealthStateData) Set(val *HealthStateData)
- func (v *NullableHealthStateData) UnmarshalJSON(src []byte) error
- func (v *NullableHealthStateData) Unset()
- type NullableInfoData
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableKeyGenerateRequestData
- func (v NullableKeyGenerateRequestData) Get() *KeyGenerateRequestData
- func (v NullableKeyGenerateRequestData) IsSet() bool
- func (v NullableKeyGenerateRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableKeyGenerateRequestData) Set(val *KeyGenerateRequestData)
- func (v *NullableKeyGenerateRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableKeyGenerateRequestData) Unset()
- type NullableKeyItem
- type NullableKeyMechanism
- func (v NullableKeyMechanism) Get() *KeyMechanism
- func (v NullableKeyMechanism) IsSet() bool
- func (v NullableKeyMechanism) MarshalJSON() ([]byte, error)
- func (v *NullableKeyMechanism) Set(val *KeyMechanism)
- func (v *NullableKeyMechanism) UnmarshalJSON(src []byte) error
- func (v *NullableKeyMechanism) Unset()
- type NullableKeyPrivateData
- func (v NullableKeyPrivateData) Get() *KeyPrivateData
- func (v NullableKeyPrivateData) IsSet() bool
- func (v NullableKeyPrivateData) MarshalJSON() ([]byte, error)
- func (v *NullableKeyPrivateData) Set(val *KeyPrivateData)
- func (v *NullableKeyPrivateData) UnmarshalJSON(src []byte) error
- func (v *NullableKeyPrivateData) Unset()
- type NullableKeyPublicData
- func (v NullableKeyPublicData) Get() *KeyPublicData
- func (v NullableKeyPublicData) IsSet() bool
- func (v NullableKeyPublicData) MarshalJSON() ([]byte, error)
- func (v *NullableKeyPublicData) Set(val *KeyPublicData)
- func (v *NullableKeyPublicData) UnmarshalJSON(src []byte) error
- func (v *NullableKeyPublicData) Unset()
- type NullableKeyRestrictions
- func (v NullableKeyRestrictions) Get() *KeyRestrictions
- func (v NullableKeyRestrictions) IsSet() bool
- func (v NullableKeyRestrictions) MarshalJSON() ([]byte, error)
- func (v *NullableKeyRestrictions) Set(val *KeyRestrictions)
- func (v *NullableKeyRestrictions) UnmarshalJSON(src []byte) error
- func (v *NullableKeyRestrictions) Unset()
- type NullableKeyType
- type NullableLogLevel
- type NullableLoggingConfig
- func (v NullableLoggingConfig) Get() *LoggingConfig
- func (v NullableLoggingConfig) IsSet() bool
- func (v NullableLoggingConfig) MarshalJSON() ([]byte, error)
- func (v *NullableLoggingConfig) Set(val *LoggingConfig)
- func (v *NullableLoggingConfig) UnmarshalJSON(src []byte) error
- func (v *NullableLoggingConfig) Unset()
- type NullableNamespaceItem
- func (v NullableNamespaceItem) Get() *NamespaceItem
- func (v NullableNamespaceItem) IsSet() bool
- func (v NullableNamespaceItem) MarshalJSON() ([]byte, error)
- func (v *NullableNamespaceItem) Set(val *NamespaceItem)
- func (v *NullableNamespaceItem) UnmarshalJSON(src []byte) error
- func (v *NullableNamespaceItem) Unset()
- type NullableNetworkConfig
- func (v NullableNetworkConfig) Get() *NetworkConfig
- func (v NullableNetworkConfig) IsSet() bool
- func (v NullableNetworkConfig) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkConfig) Set(val *NetworkConfig)
- func (v *NullableNetworkConfig) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkConfig) Unset()
- type NullablePcr
- type NullablePrivateKey
- type NullablePrivateKeyPemArguments
- func (v NullablePrivateKeyPemArguments) Get() *PrivateKeyPemArguments
- func (v NullablePrivateKeyPemArguments) IsSet() bool
- func (v NullablePrivateKeyPemArguments) MarshalJSON() ([]byte, error)
- func (v *NullablePrivateKeyPemArguments) Set(val *PrivateKeyPemArguments)
- func (v *NullablePrivateKeyPemArguments) UnmarshalJSON(src []byte) error
- func (v *NullablePrivateKeyPemArguments) Unset()
- type NullableProvisionRequestData
- func (v NullableProvisionRequestData) Get() *ProvisionRequestData
- func (v NullableProvisionRequestData) IsSet() bool
- func (v NullableProvisionRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableProvisionRequestData) Set(val *ProvisionRequestData)
- func (v *NullableProvisionRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableProvisionRequestData) Unset()
- type NullablePublicKey
- type NullableRandomData
- type NullableRandomRequestData
- func (v NullableRandomRequestData) Get() *RandomRequestData
- func (v NullableRandomRequestData) IsSet() bool
- func (v NullableRandomRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableRandomRequestData) Set(val *RandomRequestData)
- func (v *NullableRandomRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableRandomRequestData) Unset()
- type NullableRestoreRequestArguments
- func (v NullableRestoreRequestArguments) Get() *RestoreRequestArguments
- func (v NullableRestoreRequestArguments) IsSet() bool
- func (v NullableRestoreRequestArguments) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreRequestArguments) Set(val *RestoreRequestArguments)
- func (v *NullableRestoreRequestArguments) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreRequestArguments) Unset()
- type NullableSignData
- type NullableSignMode
- type NullableSignRequestData
- func (v NullableSignRequestData) Get() *SignRequestData
- func (v NullableSignRequestData) IsSet() bool
- func (v NullableSignRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableSignRequestData) Set(val *SignRequestData)
- func (v *NullableSignRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableSignRequestData) Unset()
- type NullableString
- type NullableSwitch
- type NullableSystemInfo
- type NullableSystemState
- func (v NullableSystemState) Get() *SystemState
- func (v NullableSystemState) IsSet() bool
- func (v NullableSystemState) MarshalJSON() ([]byte, error)
- func (v *NullableSystemState) Set(val *SystemState)
- func (v *NullableSystemState) UnmarshalJSON(src []byte) error
- func (v *NullableSystemState) Unset()
- type NullableSystemUpdateData
- func (v NullableSystemUpdateData) Get() *SystemUpdateData
- func (v NullableSystemUpdateData) IsSet() bool
- func (v NullableSystemUpdateData) MarshalJSON() ([]byte, error)
- func (v *NullableSystemUpdateData) Set(val *SystemUpdateData)
- func (v *NullableSystemUpdateData) UnmarshalJSON(src []byte) error
- func (v *NullableSystemUpdateData) Unset()
- type NullableTime
- type NullableTimeConfig
- type NullableTlsKeyGenerateRequestData
- func (v NullableTlsKeyGenerateRequestData) Get() *TlsKeyGenerateRequestData
- func (v NullableTlsKeyGenerateRequestData) IsSet() bool
- func (v NullableTlsKeyGenerateRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableTlsKeyGenerateRequestData) Set(val *TlsKeyGenerateRequestData)
- func (v *NullableTlsKeyGenerateRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableTlsKeyGenerateRequestData) Unset()
- type NullableTlsKeyType
- type NullableUnattendedBootConfig
- func (v NullableUnattendedBootConfig) Get() *UnattendedBootConfig
- func (v NullableUnattendedBootConfig) IsSet() bool
- func (v NullableUnattendedBootConfig) MarshalJSON() ([]byte, error)
- func (v *NullableUnattendedBootConfig) Set(val *UnattendedBootConfig)
- func (v *NullableUnattendedBootConfig) UnmarshalJSON(src []byte) error
- func (v *NullableUnattendedBootConfig) Unset()
- type NullableUnlockPassphraseConfig
- func (v NullableUnlockPassphraseConfig) Get() *UnlockPassphraseConfig
- func (v NullableUnlockPassphraseConfig) IsSet() bool
- func (v NullableUnlockPassphraseConfig) MarshalJSON() ([]byte, error)
- func (v *NullableUnlockPassphraseConfig) Set(val *UnlockPassphraseConfig)
- func (v *NullableUnlockPassphraseConfig) UnmarshalJSON(src []byte) error
- func (v *NullableUnlockPassphraseConfig) Unset()
- type NullableUnlockRequestData
- func (v NullableUnlockRequestData) Get() *UnlockRequestData
- func (v NullableUnlockRequestData) IsSet() bool
- func (v NullableUnlockRequestData) MarshalJSON() ([]byte, error)
- func (v *NullableUnlockRequestData) Set(val *UnlockRequestData)
- func (v *NullableUnlockRequestData) UnmarshalJSON(src []byte) error
- func (v *NullableUnlockRequestData) Unset()
- type NullableUserData
- type NullableUserItem
- type NullableUserPassphrasePostData
- func (v NullableUserPassphrasePostData) Get() *UserPassphrasePostData
- func (v NullableUserPassphrasePostData) IsSet() bool
- func (v NullableUserPassphrasePostData) MarshalJSON() ([]byte, error)
- func (v *NullableUserPassphrasePostData) Set(val *UserPassphrasePostData)
- func (v *NullableUserPassphrasePostData) UnmarshalJSON(src []byte) error
- func (v *NullableUserPassphrasePostData) Unset()
- type NullableUserPostData
- func (v NullableUserPostData) Get() *UserPostData
- func (v NullableUserPostData) IsSet() bool
- func (v NullableUserPostData) MarshalJSON() ([]byte, error)
- func (v *NullableUserPostData) Set(val *UserPostData)
- func (v *NullableUserPostData) UnmarshalJSON(src []byte) error
- func (v *NullableUserPostData) Unset()
- type NullableUserRole
- type Pcr
- func (o *Pcr) GetVar0() string
- func (o *Pcr) GetVar0Ok() (*string, bool)
- func (o *Pcr) GetVar2() string
- func (o *Pcr) GetVar2Ok() (*string, bool)
- func (o *Pcr) HasVar0() bool
- func (o *Pcr) HasVar2() bool
- func (o Pcr) MarshalJSON() ([]byte, error)
- func (o *Pcr) SetVar0(v string)
- func (o *Pcr) SetVar2(v string)
- func (o Pcr) ToMap() (map[string]interface{}, error)
- type PrivateKey
- func (o *PrivateKey) GetMechanisms() []KeyMechanism
- func (o *PrivateKey) GetMechanismsOk() ([]KeyMechanism, bool)
- func (o *PrivateKey) GetPrivate() KeyPrivateData
- func (o *PrivateKey) GetPrivateOk() (*KeyPrivateData, bool)
- func (o *PrivateKey) GetRestrictions() KeyRestrictions
- func (o *PrivateKey) GetRestrictionsOk() (*KeyRestrictions, bool)
- func (o *PrivateKey) GetType() KeyType
- func (o *PrivateKey) GetTypeOk() (*KeyType, bool)
- func (o *PrivateKey) HasRestrictions() bool
- func (o PrivateKey) MarshalJSON() ([]byte, error)
- func (o *PrivateKey) SetMechanisms(v []KeyMechanism)
- func (o *PrivateKey) SetPrivate(v KeyPrivateData)
- func (o *PrivateKey) SetRestrictions(v KeyRestrictions)
- func (o *PrivateKey) SetType(v KeyType)
- func (o PrivateKey) ToMap() (map[string]interface{}, error)
- func (o *PrivateKey) UnmarshalJSON(data []byte) (err error)
- type PrivateKeyPemArguments
- func (o *PrivateKeyPemArguments) GetMechanisms() []KeyMechanism
- func (o *PrivateKeyPemArguments) GetMechanismsOk() ([]KeyMechanism, bool)
- func (o *PrivateKeyPemArguments) GetRestrictions() KeyRestrictions
- func (o *PrivateKeyPemArguments) GetRestrictionsOk() (*KeyRestrictions, bool)
- func (o *PrivateKeyPemArguments) HasMechanisms() bool
- func (o *PrivateKeyPemArguments) HasRestrictions() bool
- func (o PrivateKeyPemArguments) MarshalJSON() ([]byte, error)
- func (o *PrivateKeyPemArguments) SetMechanisms(v []KeyMechanism)
- func (o *PrivateKeyPemArguments) SetRestrictions(v KeyRestrictions)
- func (o PrivateKeyPemArguments) ToMap() (map[string]interface{}, error)
- type ProvisionRequestData
- func (o *ProvisionRequestData) GetAdminPassphrase() string
- func (o *ProvisionRequestData) GetAdminPassphraseOk() (*string, bool)
- func (o *ProvisionRequestData) GetSystemTime() time.Time
- func (o *ProvisionRequestData) GetSystemTimeOk() (*time.Time, bool)
- func (o *ProvisionRequestData) GetUnlockPassphrase() string
- func (o *ProvisionRequestData) GetUnlockPassphraseOk() (*string, bool)
- func (o ProvisionRequestData) MarshalJSON() ([]byte, error)
- func (o *ProvisionRequestData) SetAdminPassphrase(v string)
- func (o *ProvisionRequestData) SetSystemTime(v time.Time)
- func (o *ProvisionRequestData) SetUnlockPassphrase(v string)
- func (o ProvisionRequestData) ToMap() (map[string]interface{}, error)
- func (o *ProvisionRequestData) UnmarshalJSON(data []byte) (err error)
- type PublicKey
- func (o *PublicKey) GetMechanisms() []KeyMechanism
- func (o *PublicKey) GetMechanismsOk() ([]KeyMechanism, bool)
- func (o *PublicKey) GetOperations() int32
- func (o *PublicKey) GetOperationsOk() (*int32, bool)
- func (o *PublicKey) GetPublic() KeyPublicData
- func (o *PublicKey) GetPublicOk() (*KeyPublicData, bool)
- func (o *PublicKey) GetRestrictions() KeyRestrictions
- func (o *PublicKey) GetRestrictionsOk() (*KeyRestrictions, bool)
- func (o *PublicKey) GetType() KeyType
- func (o *PublicKey) GetTypeOk() (*KeyType, bool)
- func (o *PublicKey) HasPublic() bool
- func (o PublicKey) MarshalJSON() ([]byte, error)
- func (o *PublicKey) SetMechanisms(v []KeyMechanism)
- func (o *PublicKey) SetOperations(v int32)
- func (o *PublicKey) SetPublic(v KeyPublicData)
- func (o *PublicKey) SetRestrictions(v KeyRestrictions)
- func (o *PublicKey) SetType(v KeyType)
- func (o PublicKey) ToMap() (map[string]interface{}, error)
- func (o *PublicKey) UnmarshalJSON(data []byte) (err error)
- type RandomData
- func (o *RandomData) GetRandom() string
- func (o *RandomData) GetRandomOk() (*string, bool)
- func (o RandomData) MarshalJSON() ([]byte, error)
- func (o *RandomData) SetRandom(v string)
- func (o RandomData) ToMap() (map[string]interface{}, error)
- func (o *RandomData) UnmarshalJSON(data []byte) (err error)
- type RandomRequestData
- func (o *RandomRequestData) GetLength() int32
- func (o *RandomRequestData) GetLengthOk() (*int32, bool)
- func (o RandomRequestData) MarshalJSON() ([]byte, error)
- func (o *RandomRequestData) SetLength(v int32)
- func (o RandomRequestData) ToMap() (map[string]interface{}, error)
- func (o *RandomRequestData) UnmarshalJSON(data []byte) (err error)
- type RestoreRequestArguments
- func (o *RestoreRequestArguments) GetBackupPassphrase() string
- func (o *RestoreRequestArguments) GetBackupPassphraseOk() (*string, bool)
- func (o *RestoreRequestArguments) GetSystemTime() time.Time
- func (o *RestoreRequestArguments) GetSystemTimeOk() (*time.Time, bool)
- func (o *RestoreRequestArguments) HasBackupPassphrase() bool
- func (o *RestoreRequestArguments) HasSystemTime() bool
- func (o RestoreRequestArguments) MarshalJSON() ([]byte, error)
- func (o *RestoreRequestArguments) SetBackupPassphrase(v string)
- func (o *RestoreRequestArguments) SetSystemTime(v time.Time)
- func (o RestoreRequestArguments) ToMap() (map[string]interface{}, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SignData
- type SignMode
- type SignRequestData
- func (o *SignRequestData) GetMessage() string
- func (o *SignRequestData) GetMessageOk() (*string, bool)
- func (o *SignRequestData) GetMode() SignMode
- func (o *SignRequestData) GetModeOk() (*SignMode, bool)
- func (o SignRequestData) MarshalJSON() ([]byte, error)
- func (o *SignRequestData) SetMessage(v string)
- func (o *SignRequestData) SetMode(v SignMode)
- func (o SignRequestData) ToMap() (map[string]interface{}, error)
- func (o *SignRequestData) UnmarshalJSON(data []byte) (err error)
- type Switch
- type SystemInfo
- func (o *SystemInfo) GetAkPub() AkPub
- func (o *SystemInfo) GetAkPubOk() (*AkPub, bool)
- func (o *SystemInfo) GetDeviceId() string
- func (o *SystemInfo) GetDeviceIdOk() (*string, bool)
- func (o *SystemInfo) GetFirmwareVersion() string
- func (o *SystemInfo) GetFirmwareVersionOk() (*string, bool)
- func (o *SystemInfo) GetHardwareVersion() string
- func (o *SystemInfo) GetHardwareVersionOk() (*string, bool)
- func (o *SystemInfo) GetPcr() Pcr
- func (o *SystemInfo) GetPcrOk() (*Pcr, bool)
- func (o *SystemInfo) GetSoftwareBuild() string
- func (o *SystemInfo) GetSoftwareBuildOk() (*string, bool)
- func (o *SystemInfo) GetSoftwareVersion() string
- func (o *SystemInfo) GetSoftwareVersionOk() (*string, bool)
- func (o SystemInfo) MarshalJSON() ([]byte, error)
- func (o *SystemInfo) SetAkPub(v AkPub)
- func (o *SystemInfo) SetDeviceId(v string)
- func (o *SystemInfo) SetFirmwareVersion(v string)
- func (o *SystemInfo) SetHardwareVersion(v string)
- func (o *SystemInfo) SetPcr(v Pcr)
- func (o *SystemInfo) SetSoftwareBuild(v string)
- func (o *SystemInfo) SetSoftwareVersion(v string)
- func (o SystemInfo) ToMap() (map[string]interface{}, error)
- func (o *SystemInfo) UnmarshalJSON(data []byte) (err error)
- type SystemState
- type SystemUpdateData
- func (o *SystemUpdateData) GetReleaseNotes() string
- func (o *SystemUpdateData) GetReleaseNotesOk() (*string, bool)
- func (o SystemUpdateData) MarshalJSON() ([]byte, error)
- func (o *SystemUpdateData) SetReleaseNotes(v string)
- func (o SystemUpdateData) ToMap() (map[string]interface{}, error)
- func (o *SystemUpdateData) UnmarshalJSON(data []byte) (err error)
- type TimeConfig
- func (o *TimeConfig) GetTime() time.Time
- func (o *TimeConfig) GetTimeOk() (*time.Time, bool)
- func (o TimeConfig) MarshalJSON() ([]byte, error)
- func (o *TimeConfig) SetTime(v time.Time)
- func (o TimeConfig) ToMap() (map[string]interface{}, error)
- func (o *TimeConfig) UnmarshalJSON(data []byte) (err error)
- type TlsKeyGenerateRequestData
- func (o *TlsKeyGenerateRequestData) GetLength() int32
- func (o *TlsKeyGenerateRequestData) GetLengthOk() (*int32, bool)
- func (o *TlsKeyGenerateRequestData) GetType() TlsKeyType
- func (o *TlsKeyGenerateRequestData) GetTypeOk() (*TlsKeyType, bool)
- func (o *TlsKeyGenerateRequestData) HasLength() bool
- func (o TlsKeyGenerateRequestData) MarshalJSON() ([]byte, error)
- func (o *TlsKeyGenerateRequestData) SetLength(v int32)
- func (o *TlsKeyGenerateRequestData) SetType(v TlsKeyType)
- func (o TlsKeyGenerateRequestData) ToMap() (map[string]interface{}, error)
- func (o *TlsKeyGenerateRequestData) UnmarshalJSON(data []byte) (err error)
- type TlsKeyType
- type UnattendedBootConfig
- func (o *UnattendedBootConfig) GetStatus() Switch
- func (o *UnattendedBootConfig) GetStatusOk() (*Switch, bool)
- func (o UnattendedBootConfig) MarshalJSON() ([]byte, error)
- func (o *UnattendedBootConfig) SetStatus(v Switch)
- func (o UnattendedBootConfig) ToMap() (map[string]interface{}, error)
- func (o *UnattendedBootConfig) UnmarshalJSON(data []byte) (err error)
- type UnlockPassphraseConfig
- func (o *UnlockPassphraseConfig) GetCurrentPassphrase() string
- func (o *UnlockPassphraseConfig) GetCurrentPassphraseOk() (*string, bool)
- func (o *UnlockPassphraseConfig) GetNewPassphrase() string
- func (o *UnlockPassphraseConfig) GetNewPassphraseOk() (*string, bool)
- func (o UnlockPassphraseConfig) MarshalJSON() ([]byte, error)
- func (o *UnlockPassphraseConfig) SetCurrentPassphrase(v string)
- func (o *UnlockPassphraseConfig) SetNewPassphrase(v string)
- func (o UnlockPassphraseConfig) ToMap() (map[string]interface{}, error)
- func (o *UnlockPassphraseConfig) UnmarshalJSON(data []byte) (err error)
- type UnlockRequestData
- func (o *UnlockRequestData) GetPassphrase() string
- func (o *UnlockRequestData) GetPassphraseOk() (*string, bool)
- func (o UnlockRequestData) MarshalJSON() ([]byte, error)
- func (o *UnlockRequestData) SetPassphrase(v string)
- func (o UnlockRequestData) ToMap() (map[string]interface{}, error)
- func (o *UnlockRequestData) UnmarshalJSON(data []byte) (err error)
- type UserData
- func (o *UserData) GetRealName() string
- func (o *UserData) GetRealNameOk() (*string, bool)
- func (o *UserData) GetRole() UserRole
- func (o *UserData) GetRoleOk() (*UserRole, bool)
- func (o UserData) MarshalJSON() ([]byte, error)
- func (o *UserData) SetRealName(v string)
- func (o *UserData) SetRole(v UserRole)
- func (o UserData) ToMap() (map[string]interface{}, error)
- func (o *UserData) UnmarshalJSON(data []byte) (err error)
- type UserItem
- type UserPassphrasePostData
- func (o *UserPassphrasePostData) GetPassphrase() string
- func (o *UserPassphrasePostData) GetPassphraseOk() (*string, bool)
- func (o UserPassphrasePostData) MarshalJSON() ([]byte, error)
- func (o *UserPassphrasePostData) SetPassphrase(v string)
- func (o UserPassphrasePostData) ToMap() (map[string]interface{}, error)
- func (o *UserPassphrasePostData) UnmarshalJSON(data []byte) (err error)
- type UserPostData
- func (o *UserPostData) GetPassphrase() string
- func (o *UserPostData) GetPassphraseOk() (*string, bool)
- func (o *UserPostData) GetRealName() string
- func (o *UserPostData) GetRealNameOk() (*string, bool)
- func (o *UserPostData) GetRole() UserRole
- func (o *UserPostData) GetRoleOk() (*UserRole, bool)
- func (o UserPostData) MarshalJSON() ([]byte, error)
- func (o *UserPostData) SetPassphrase(v string)
- func (o *UserPostData) SetRealName(v string)
- func (o *UserPostData) SetRole(v UserRole)
- func (o UserPostData) ToMap() (map[string]interface{}, error)
- func (o *UserPostData) UnmarshalJSON(data []byte) (err error)
- type UserRole
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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") )
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
var AllowedEncryptModeEnumValues = []EncryptMode{
"AES_CBC",
}
All allowed values of EncryptMode enum
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
var AllowedKeyTypeEnumValues = []KeyType{
"RSA",
"Curve25519",
"EC_P224",
"EC_P256",
"EC_P384",
"EC_P521",
"Generic",
}
All allowed values of KeyType enum
var AllowedLogLevelEnumValues = []LogLevel{
"debug",
"info",
"warning",
"error",
}
All allowed values of LogLevel enum
var AllowedSignModeEnumValues = []SignMode{
"PKCS1",
"PSS_MD5",
"PSS_SHA1",
"PSS_SHA224",
"PSS_SHA256",
"PSS_SHA384",
"PSS_SHA512",
"EdDSA",
"ECDSA",
}
All allowed values of SignMode enum
var AllowedSwitchEnumValues = []Switch{
"on",
"off",
}
All allowed values of Switch enum
var AllowedSystemStateEnumValues = []SystemState{
"Unprovisioned",
"Locked",
"Operational",
}
All allowed values of SystemState enum
var AllowedTlsKeyTypeEnumValues = []TlsKeyType{
"RSA",
"Curve25519",
"EC_P224",
"EC_P256",
"EC_P384",
"EC_P521",
}
All allowed values of TlsKeyType enum
var AllowedUserRoleEnumValues = []UserRole{
"Administrator",
"Operator",
"Metrics",
"Backup",
}
All allowed values of UserRole enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { 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 ¶
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 ¶
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) GetP256Ok ¶
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) GetP384Ok ¶
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) MarshalJSON ¶
func (*AkPub) SetP256 ¶
SetP256 gets a reference to the given string and assigns it to the P256 field.
type ApiConfigBackupPassphrasePutRequest ¶
type ApiConfigBackupPassphrasePutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigBackupPassphrasePutRequest) BackupPassphraseConfig ¶
func (r ApiConfigBackupPassphrasePutRequest) BackupPassphraseConfig(backupPassphraseConfig BackupPassphraseConfig) ApiConfigBackupPassphrasePutRequest
type ApiConfigLoggingGetRequest ¶
type ApiConfigLoggingGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigLoggingGetRequest) Execute ¶
func (r ApiConfigLoggingGetRequest) Execute() (*LoggingConfig, *http.Response, error)
type ApiConfigLoggingPutRequest ¶
type ApiConfigLoggingPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigLoggingPutRequest) Execute ¶
func (r ApiConfigLoggingPutRequest) Execute() (*http.Response, error)
func (ApiConfigLoggingPutRequest) LoggingConfig ¶
func (r ApiConfigLoggingPutRequest) LoggingConfig(loggingConfig LoggingConfig) ApiConfigLoggingPutRequest
type ApiConfigNetworkGetRequest ¶
type ApiConfigNetworkGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigNetworkGetRequest) Execute ¶
func (r ApiConfigNetworkGetRequest) Execute() (*NetworkConfig, *http.Response, error)
type ApiConfigNetworkPutRequest ¶
type ApiConfigNetworkPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigNetworkPutRequest) Execute ¶
func (r ApiConfigNetworkPutRequest) Execute() (*http.Response, error)
func (ApiConfigNetworkPutRequest) NetworkConfig ¶
func (r ApiConfigNetworkPutRequest) NetworkConfig(networkConfig NetworkConfig) ApiConfigNetworkPutRequest
type ApiConfigTimeGetRequest ¶
type ApiConfigTimeGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigTimeGetRequest) Execute ¶
func (r ApiConfigTimeGetRequest) Execute() (*TimeConfig, *http.Response, error)
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 ¶
func (r ApiConfigTimePutRequest) TimeConfig(timeConfig TimeConfig) ApiConfigTimePutRequest
type ApiConfigTlsCertPemGetRequest ¶
type ApiConfigTlsCertPemGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiConfigTlsCertPemPutRequest ¶
type ApiConfigTlsCertPemPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigTlsCertPemPutRequest) Body ¶
func (r ApiConfigTlsCertPemPutRequest) Body(body string) ApiConfigTlsCertPemPutRequest
type ApiConfigTlsCsrPemPostRequest ¶
type ApiConfigTlsCsrPemPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigTlsCsrPemPostRequest) DistinguishedName ¶
func (r ApiConfigTlsCsrPemPostRequest) DistinguishedName(distinguishedName DistinguishedName) ApiConfigTlsCsrPemPostRequest
type ApiConfigTlsGeneratePostRequest ¶
type ApiConfigTlsGeneratePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigTlsGeneratePostRequest) Execute ¶
func (r ApiConfigTlsGeneratePostRequest) Execute() (*http.Response, error)
func (ApiConfigTlsGeneratePostRequest) TlsKeyGenerateRequestData ¶
func (r ApiConfigTlsGeneratePostRequest) TlsKeyGenerateRequestData(tlsKeyGenerateRequestData TlsKeyGenerateRequestData) ApiConfigTlsGeneratePostRequest
type ApiConfigTlsPublicPemGetRequest ¶
type ApiConfigTlsPublicPemGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiConfigUnattendedBootGetRequest ¶
type ApiConfigUnattendedBootGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigUnattendedBootGetRequest) Execute ¶
func (r ApiConfigUnattendedBootGetRequest) Execute() (*UnattendedBootConfig, *http.Response, error)
type ApiConfigUnattendedBootPutRequest ¶
type ApiConfigUnattendedBootPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigUnattendedBootPutRequest) Execute ¶
func (r ApiConfigUnattendedBootPutRequest) Execute() (*http.Response, error)
func (ApiConfigUnattendedBootPutRequest) UnattendedBootConfig ¶
func (r ApiConfigUnattendedBootPutRequest) UnattendedBootConfig(unattendedBootConfig UnattendedBootConfig) ApiConfigUnattendedBootPutRequest
type ApiConfigUnlockPassphrasePutRequest ¶
type ApiConfigUnlockPassphrasePutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiConfigUnlockPassphrasePutRequest) Execute ¶
func (r ApiConfigUnlockPassphrasePutRequest) Execute() (*http.Response, error)
func (ApiConfigUnlockPassphrasePutRequest) UnlockPassphraseConfig ¶
func (r ApiConfigUnlockPassphrasePutRequest) UnlockPassphraseConfig(unlockPassphraseConfig UnlockPassphraseConfig) ApiConfigUnlockPassphrasePutRequest
type ApiHealthAliveGetRequest ¶
type ApiHealthAliveGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiHealthReadyGetRequest ¶
type ApiHealthReadyGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiHealthStateGetRequest ¶
type ApiHealthStateGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiHealthStateGetRequest) Execute ¶
func (r ApiHealthStateGetRequest) Execute() (*HealthStateData, *http.Response, error)
type ApiInfoGetRequest ¶
type ApiInfoGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiKeysGeneratePostRequest ¶
type ApiKeysGeneratePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiKeysGeneratePostRequest) Execute ¶
func (r ApiKeysGeneratePostRequest) Execute() (*CreateResourceId, *http.Response, error)
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 }
type ApiKeysKeyIDCertGetRequest ¶
type ApiKeysKeyIDCertGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiKeysKeyIDCertPutRequest ¶
type ApiKeysKeyIDCertPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiKeysKeyIDCertPutRequest) Body ¶
func (r ApiKeysKeyIDCertPutRequest) Body(body *os.File) ApiKeysKeyIDCertPutRequest
type ApiKeysKeyIDCsrPemPostRequest ¶
type ApiKeysKeyIDCsrPemPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiKeysKeyIDCsrPemPostRequest) DistinguishedName ¶
func (r ApiKeysKeyIDCsrPemPostRequest) DistinguishedName(distinguishedName DistinguishedName) ApiKeysKeyIDCsrPemPostRequest
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 ¶
func (r ApiKeysKeyIDDecryptPostRequest) Execute() (*DecryptData, *http.Response, error)
type ApiKeysKeyIDDeleteRequest ¶
type ApiKeysKeyIDDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
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 ¶
func (r ApiKeysKeyIDEncryptPostRequest) Execute() (*EncryptData, *http.Response, error)
type ApiKeysKeyIDGetRequest ¶
type ApiKeysKeyIDGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiKeysKeyIDPublicPemGetRequest ¶
type ApiKeysKeyIDPublicPemGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
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 }
type ApiKeysKeyIDRestrictionsTagsTagPutRequest ¶
type ApiKeysKeyIDRestrictionsTagsTagPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiKeysKeyIDSignPostRequest ¶
type ApiKeysKeyIDSignPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiKeysKeyIDSignPostRequest) Execute ¶
func (r ApiKeysKeyIDSignPostRequest) Execute() (*SignData, *http.Response, error)
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 (r ApiKeysPostRequest) Execute() (*CreateResourceId, *http.Response, error)
func (ApiKeysPostRequest) PrivateKey ¶
func (r ApiKeysPostRequest) PrivateKey(privateKey PrivateKey) ApiKeysPostRequest
type ApiLockPostRequest ¶
type ApiLockPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiMetricsGetRequest ¶
type ApiMetricsGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiNamespacesGetRequest ¶
type ApiNamespacesGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiNamespacesGetRequest) Execute ¶
func (r ApiNamespacesGetRequest) Execute() ([]NamespaceItem, *http.Response, error)
type ApiNamespacesNamespaceIDDeleteRequest ¶
type ApiNamespacesNamespaceIDDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiNamespacesNamespaceIDPutRequest ¶
type ApiNamespacesNamespaceIDPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
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 (r ApiRandomPostRequest) Execute() (*RandomData, *http.Response, error)
func (ApiRandomPostRequest) RandomRequestData ¶
func (r ApiRandomPostRequest) RandomRequestData(randomRequestData RandomRequestData) ApiRandomPostRequest
type ApiSystemBackupPostRequest ¶
type ApiSystemBackupPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemCancelUpdatePostRequest ¶
type ApiSystemCancelUpdatePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemCommitUpdatePostRequest ¶
type ApiSystemCommitUpdatePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemFactoryResetPostRequest ¶
type ApiSystemFactoryResetPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemInfoGetRequest ¶
type ApiSystemInfoGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiSystemInfoGetRequest) Execute ¶
func (r ApiSystemInfoGetRequest) Execute() (*SystemInfo, *http.Response, error)
type ApiSystemRebootPostRequest ¶
type ApiSystemRebootPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemRestorePostRequest ¶
type ApiSystemRestorePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiSystemRestorePostRequest) Arguments ¶
func (r ApiSystemRestorePostRequest) Arguments(arguments RestoreRequestArguments) ApiSystemRestorePostRequest
func (ApiSystemRestorePostRequest) BackupFile ¶
func (r ApiSystemRestorePostRequest) BackupFile(backupFile *os.File) ApiSystemRestorePostRequest
type ApiSystemShutdownPostRequest ¶
type ApiSystemShutdownPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiSystemUpdatePostRequest ¶
type ApiSystemUpdatePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiSystemUpdatePostRequest) Body ¶
func (r ApiSystemUpdatePostRequest) Body(body *os.File) ApiSystemUpdatePostRequest
func (ApiSystemUpdatePostRequest) Execute ¶
func (r ApiSystemUpdatePostRequest) Execute() (*SystemUpdateData, *http.Response, error)
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 }
type ApiUsersPostRequest ¶
type ApiUsersPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiUsersPostRequest) Execute ¶
func (r ApiUsersPostRequest) Execute() (*CreateResourceId, *http.Response, error)
func (ApiUsersPostRequest) UserPostData ¶
func (r ApiUsersPostRequest) UserPostData(userPostData UserPostData) ApiUsersPostRequest
type ApiUsersUserIDDeleteRequest ¶
type ApiUsersUserIDDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiUsersUserIDGetRequest ¶
type ApiUsersUserIDGetRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiUsersUserIDPassphrasePostRequest ¶
type ApiUsersUserIDPassphrasePostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiUsersUserIDPassphrasePostRequest) Execute ¶
func (r ApiUsersUserIDPassphrasePostRequest) Execute() (*http.Response, error)
func (ApiUsersUserIDPassphrasePostRequest) UserPassphrasePostData ¶
func (r ApiUsersUserIDPassphrasePostRequest) UserPassphrasePostData(userPassphrasePostData UserPassphrasePostData) ApiUsersUserIDPassphrasePostRequest
type ApiUsersUserIDPostRequest ¶
type ApiUsersUserIDPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiUsersUserIDPostRequest) Execute ¶
func (r ApiUsersUserIDPostRequest) Execute() (*CreateResourceId, *http.Response, error)
func (ApiUsersUserIDPostRequest) UserPostData ¶
func (r ApiUsersUserIDPostRequest) UserPostData(userPostData UserPostData) ApiUsersUserIDPostRequest
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 }
type ApiUsersUserIDTagsTagDeleteRequest ¶
type ApiUsersUserIDTagsTagDeleteRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
type ApiUsersUserIDTagsTagPutRequest ¶
type ApiUsersUserIDTagsTagPutRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
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) ServerURLWithContext ¶
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) 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 ¶
func (a *DefaultAPIService) ConfigLoggingGet(ctx context.Context) ApiConfigLoggingGetRequest
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 ¶
func (a *DefaultAPIService) ConfigLoggingPut(ctx context.Context) ApiConfigLoggingPutRequest
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 ¶
func (a *DefaultAPIService) ConfigNetworkGet(ctx context.Context) ApiConfigNetworkGetRequest
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 ¶
func (a *DefaultAPIService) ConfigNetworkPut(ctx context.Context) ApiConfigNetworkPutRequest
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 ¶
func (a *DefaultAPIService) ConfigTimeGet(ctx context.Context) ApiConfigTimeGetRequest
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 ¶
func (a *DefaultAPIService) ConfigTimePut(ctx context.Context) ApiConfigTimePutRequest
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 ¶
func (a *DefaultAPIService) ConfigUnattendedBootGetExecute(r ApiConfigUnattendedBootGetRequest) (*UnattendedBootConfig, *http.Response, error)
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 ¶
func (a *DefaultAPIService) HealthAliveGet(ctx context.Context) ApiHealthAliveGetRequest
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 ¶
func (a *DefaultAPIService) HealthReadyGet(ctx context.Context) ApiHealthReadyGetRequest
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 ¶
func (a *DefaultAPIService) HealthStateGet(ctx context.Context) ApiHealthStateGetRequest
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 ¶
func (a *DefaultAPIService) HealthStateGetExecute(r ApiHealthStateGetRequest) (*HealthStateData, *http.Response, error)
Execute executes the request
@return HealthStateData
func (*DefaultAPIService) InfoGet ¶
func (a *DefaultAPIService) InfoGet(ctx context.Context) ApiInfoGetRequest
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 ¶
func (a *DefaultAPIService) KeysGeneratePost(ctx context.Context) ApiKeysGeneratePostRequest
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 ¶
func (a *DefaultAPIService) KeysGeneratePostExecute(r ApiKeysGeneratePostRequest) (*CreateResourceId, *http.Response, error)
Execute executes the request
@return CreateResourceId
func (*DefaultAPIService) KeysGet ¶
func (a *DefaultAPIService) KeysGet(ctx context.Context) ApiKeysGetRequest
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 ¶
func (a *DefaultAPIService) KeysPost(ctx context.Context) ApiKeysPostRequest
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 ¶
func (a *DefaultAPIService) KeysPostExecute(r ApiKeysPostRequest) (*CreateResourceId, *http.Response, error)
Execute executes the request
@return CreateResourceId
func (*DefaultAPIService) LockPost ¶
func (a *DefaultAPIService) LockPost(ctx context.Context) ApiLockPostRequest
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 ¶
func (a *DefaultAPIService) MetricsGet(ctx context.Context) ApiMetricsGetRequest
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 ¶
func (a *DefaultAPIService) NamespacesGet(ctx context.Context) ApiNamespacesGetRequest
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 ¶
func (a *DefaultAPIService) ProvisionPost(ctx context.Context) ApiProvisionPostRequest
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 ¶
func (a *DefaultAPIService) RandomPost(ctx context.Context) ApiRandomPostRequest
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 ¶
func (a *DefaultAPIService) SystemBackupPost(ctx context.Context) ApiSystemBackupPostRequest
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 ¶
func (a *DefaultAPIService) SystemInfoGet(ctx context.Context) ApiSystemInfoGetRequest
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 ¶
func (a *DefaultAPIService) SystemRebootPost(ctx context.Context) ApiSystemRebootPostRequest
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 ¶
func (a *DefaultAPIService) SystemRestorePost(ctx context.Context) ApiSystemRestorePostRequest
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 ¶
func (a *DefaultAPIService) SystemShutdownPost(ctx context.Context) ApiSystemShutdownPostRequest
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 ¶
func (a *DefaultAPIService) SystemUpdatePost(ctx context.Context) ApiSystemUpdatePostRequest
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 ¶
func (a *DefaultAPIService) SystemUpdatePostExecute(r ApiSystemUpdatePostRequest) (*SystemUpdateData, *http.Response, error)
Execute executes the request
@return SystemUpdateData
func (*DefaultAPIService) UnlockPost ¶
func (a *DefaultAPIService) UnlockPost(ctx context.Context) ApiUnlockPostRequest
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 ¶
func (a *DefaultAPIService) UsersGet(ctx context.Context) ApiUsersGetRequest
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 ¶
func (a *DefaultAPIService) UsersPost(ctx context.Context) ApiUsersPostRequest
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 ¶
func (a *DefaultAPIService) UsersPostExecute(r ApiUsersPostRequest) (*CreateResourceId, *http.Response, error)
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 ¶
func (a *DefaultAPIService) UsersUserIDPostExecute(r ApiUsersUserIDPostRequest) (*CreateResourceId, *http.Response, error)
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) 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) 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 ¶
InfoData struct for InfoData
func NewInfoData ¶
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 ¶
GetProduct returns the Product field value
func (*InfoData) GetProductOk ¶
GetProductOk returns a tuple with the Product field value and a boolean to check if the value has been set.
func (*InfoData) GetVendorOk ¶
GetVendorOk returns a tuple with the Vendor field value and a boolean to check if the value has been set.
func (InfoData) MarshalJSON ¶
func (*InfoData) UnmarshalJSON ¶
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 ¶
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) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (KeyItem) MarshalJSON ¶
func (*KeyItem) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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) ToMap ¶
func (o LoggingConfig) ToMap() (map[string]interface{}, error)
func (*LoggingConfig) UnmarshalJSON ¶
func (o *LoggingConfig) UnmarshalJSON(data []byte) (err error)
type MappedNullable ¶
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) 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 NewNullableBackupPassphraseConfig ¶
func NewNullableBackupPassphraseConfig(val *BackupPassphraseConfig) *NullableBackupPassphraseConfig
func (NullableBackupPassphraseConfig) Get ¶
func (v NullableBackupPassphraseConfig) Get() *BackupPassphraseConfig
func (NullableBackupPassphraseConfig) IsSet ¶
func (v NullableBackupPassphraseConfig) IsSet() bool
func (NullableBackupPassphraseConfig) MarshalJSON ¶
func (v NullableBackupPassphraseConfig) MarshalJSON() ([]byte, error)
func (*NullableBackupPassphraseConfig) Set ¶
func (v *NullableBackupPassphraseConfig) Set(val *BackupPassphraseConfig)
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 (v NullableCreateResourceId) Get() *CreateResourceId
func (NullableCreateResourceId) IsSet ¶
func (v NullableCreateResourceId) IsSet() bool
func (NullableCreateResourceId) MarshalJSON ¶
func (v NullableCreateResourceId) MarshalJSON() ([]byte, error)
func (*NullableCreateResourceId) Set ¶
func (v *NullableCreateResourceId) Set(val *CreateResourceId)
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 (v NullableDecryptData) Get() *DecryptData
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 (v NullableDecryptMode) Get() *DecryptMode
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 (v NullableDecryptRequestData) Get() *DecryptRequestData
func (NullableDecryptRequestData) IsSet ¶
func (v NullableDecryptRequestData) IsSet() bool
func (NullableDecryptRequestData) MarshalJSON ¶
func (v NullableDecryptRequestData) MarshalJSON() ([]byte, error)
func (*NullableDecryptRequestData) Set ¶
func (v *NullableDecryptRequestData) Set(val *DecryptRequestData)
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 (v NullableDistinguishedName) Get() *DistinguishedName
func (NullableDistinguishedName) IsSet ¶
func (v NullableDistinguishedName) IsSet() bool
func (NullableDistinguishedName) MarshalJSON ¶
func (v NullableDistinguishedName) MarshalJSON() ([]byte, error)
func (*NullableDistinguishedName) Set ¶
func (v *NullableDistinguishedName) Set(val *DistinguishedName)
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 (v NullableEncryptData) Get() *EncryptData
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 (v NullableEncryptMode) Get() *EncryptMode
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 (v NullableEncryptRequestData) Get() *EncryptRequestData
func (NullableEncryptRequestData) IsSet ¶
func (v NullableEncryptRequestData) IsSet() bool
func (NullableEncryptRequestData) MarshalJSON ¶
func (v NullableEncryptRequestData) MarshalJSON() ([]byte, error)
func (*NullableEncryptRequestData) Set ¶
func (v *NullableEncryptRequestData) Set(val *EncryptRequestData)
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 (v NullableHealthStateData) Get() *HealthStateData
func (NullableHealthStateData) IsSet ¶
func (v NullableHealthStateData) IsSet() bool
func (NullableHealthStateData) MarshalJSON ¶
func (v NullableHealthStateData) MarshalJSON() ([]byte, error)
func (*NullableHealthStateData) Set ¶
func (v *NullableHealthStateData) Set(val *HealthStateData)
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 NewNullableKeyGenerateRequestData ¶
func NewNullableKeyGenerateRequestData(val *KeyGenerateRequestData) *NullableKeyGenerateRequestData
func (NullableKeyGenerateRequestData) Get ¶
func (v NullableKeyGenerateRequestData) Get() *KeyGenerateRequestData
func (NullableKeyGenerateRequestData) IsSet ¶
func (v NullableKeyGenerateRequestData) IsSet() bool
func (NullableKeyGenerateRequestData) MarshalJSON ¶
func (v NullableKeyGenerateRequestData) MarshalJSON() ([]byte, error)
func (*NullableKeyGenerateRequestData) Set ¶
func (v *NullableKeyGenerateRequestData) Set(val *KeyGenerateRequestData)
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 (v NullableKeyMechanism) Get() *KeyMechanism
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 (v NullableKeyPrivateData) Get() *KeyPrivateData
func (NullableKeyPrivateData) IsSet ¶
func (v NullableKeyPrivateData) IsSet() bool
func (NullableKeyPrivateData) MarshalJSON ¶
func (v NullableKeyPrivateData) MarshalJSON() ([]byte, error)
func (*NullableKeyPrivateData) Set ¶
func (v *NullableKeyPrivateData) Set(val *KeyPrivateData)
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 (v NullableKeyPublicData) Get() *KeyPublicData
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 (v NullableKeyRestrictions) Get() *KeyRestrictions
func (NullableKeyRestrictions) IsSet ¶
func (v NullableKeyRestrictions) IsSet() bool
func (NullableKeyRestrictions) MarshalJSON ¶
func (v NullableKeyRestrictions) MarshalJSON() ([]byte, error)
func (*NullableKeyRestrictions) Set ¶
func (v *NullableKeyRestrictions) Set(val *KeyRestrictions)
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 (v NullableLoggingConfig) Get() *LoggingConfig
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 (v NullableNamespaceItem) Get() *NamespaceItem
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 (v NullableNetworkConfig) Get() *NetworkConfig
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 NewNullablePrivateKeyPemArguments ¶
func NewNullablePrivateKeyPemArguments(val *PrivateKeyPemArguments) *NullablePrivateKeyPemArguments
func (NullablePrivateKeyPemArguments) Get ¶
func (v NullablePrivateKeyPemArguments) Get() *PrivateKeyPemArguments
func (NullablePrivateKeyPemArguments) IsSet ¶
func (v NullablePrivateKeyPemArguments) IsSet() bool
func (NullablePrivateKeyPemArguments) MarshalJSON ¶
func (v NullablePrivateKeyPemArguments) MarshalJSON() ([]byte, error)
func (*NullablePrivateKeyPemArguments) Set ¶
func (v *NullablePrivateKeyPemArguments) Set(val *PrivateKeyPemArguments)
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 (v NullableProvisionRequestData) Get() *ProvisionRequestData
func (NullableProvisionRequestData) IsSet ¶
func (v NullableProvisionRequestData) IsSet() bool
func (NullableProvisionRequestData) MarshalJSON ¶
func (v NullableProvisionRequestData) MarshalJSON() ([]byte, error)
func (*NullableProvisionRequestData) Set ¶
func (v *NullableProvisionRequestData) Set(val *ProvisionRequestData)
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 (v NullableRandomRequestData) Get() *RandomRequestData
func (NullableRandomRequestData) IsSet ¶
func (v NullableRandomRequestData) IsSet() bool
func (NullableRandomRequestData) MarshalJSON ¶
func (v NullableRandomRequestData) MarshalJSON() ([]byte, error)
func (*NullableRandomRequestData) Set ¶
func (v *NullableRandomRequestData) Set(val *RandomRequestData)
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 NewNullableRestoreRequestArguments ¶
func NewNullableRestoreRequestArguments(val *RestoreRequestArguments) *NullableRestoreRequestArguments
func (NullableRestoreRequestArguments) Get ¶
func (v NullableRestoreRequestArguments) Get() *RestoreRequestArguments
func (NullableRestoreRequestArguments) IsSet ¶
func (v NullableRestoreRequestArguments) IsSet() bool
func (NullableRestoreRequestArguments) MarshalJSON ¶
func (v NullableRestoreRequestArguments) MarshalJSON() ([]byte, error)
func (*NullableRestoreRequestArguments) Set ¶
func (v *NullableRestoreRequestArguments) Set(val *RestoreRequestArguments)
func (*NullableRestoreRequestArguments) UnmarshalJSON ¶
func (v *NullableRestoreRequestArguments) UnmarshalJSON(src []byte) error
func (*NullableRestoreRequestArguments) Unset ¶
func (v *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 (v NullableSignRequestData) Get() *SignRequestData
func (NullableSignRequestData) IsSet ¶
func (v NullableSignRequestData) IsSet() bool
func (NullableSignRequestData) MarshalJSON ¶
func (v NullableSignRequestData) MarshalJSON() ([]byte, error)
func (*NullableSignRequestData) Set ¶
func (v *NullableSignRequestData) Set(val *SignRequestData)
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 (v NullableSystemState) Get() *SystemState
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 (v NullableSystemUpdateData) Get() *SystemUpdateData
func (NullableSystemUpdateData) IsSet ¶
func (v NullableSystemUpdateData) IsSet() bool
func (NullableSystemUpdateData) MarshalJSON ¶
func (v NullableSystemUpdateData) MarshalJSON() ([]byte, error)
func (*NullableSystemUpdateData) Set ¶
func (v *NullableSystemUpdateData) Set(val *SystemUpdateData)
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 NewNullableTlsKeyGenerateRequestData ¶
func NewNullableTlsKeyGenerateRequestData(val *TlsKeyGenerateRequestData) *NullableTlsKeyGenerateRequestData
func (NullableTlsKeyGenerateRequestData) Get ¶
func (v NullableTlsKeyGenerateRequestData) Get() *TlsKeyGenerateRequestData
func (NullableTlsKeyGenerateRequestData) IsSet ¶
func (v NullableTlsKeyGenerateRequestData) IsSet() bool
func (NullableTlsKeyGenerateRequestData) MarshalJSON ¶
func (v NullableTlsKeyGenerateRequestData) MarshalJSON() ([]byte, error)
func (*NullableTlsKeyGenerateRequestData) Set ¶
func (v *NullableTlsKeyGenerateRequestData) Set(val *TlsKeyGenerateRequestData)
func (*NullableTlsKeyGenerateRequestData) UnmarshalJSON ¶
func (v *NullableTlsKeyGenerateRequestData) UnmarshalJSON(src []byte) error
func (*NullableTlsKeyGenerateRequestData) Unset ¶
func (v *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 (v NullableUnattendedBootConfig) Get() *UnattendedBootConfig
func (NullableUnattendedBootConfig) IsSet ¶
func (v NullableUnattendedBootConfig) IsSet() bool
func (NullableUnattendedBootConfig) MarshalJSON ¶
func (v NullableUnattendedBootConfig) MarshalJSON() ([]byte, error)
func (*NullableUnattendedBootConfig) Set ¶
func (v *NullableUnattendedBootConfig) Set(val *UnattendedBootConfig)
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 NewNullableUnlockPassphraseConfig ¶
func NewNullableUnlockPassphraseConfig(val *UnlockPassphraseConfig) *NullableUnlockPassphraseConfig
func (NullableUnlockPassphraseConfig) Get ¶
func (v NullableUnlockPassphraseConfig) Get() *UnlockPassphraseConfig
func (NullableUnlockPassphraseConfig) IsSet ¶
func (v NullableUnlockPassphraseConfig) IsSet() bool
func (NullableUnlockPassphraseConfig) MarshalJSON ¶
func (v NullableUnlockPassphraseConfig) MarshalJSON() ([]byte, error)
func (*NullableUnlockPassphraseConfig) Set ¶
func (v *NullableUnlockPassphraseConfig) Set(val *UnlockPassphraseConfig)
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 (v NullableUnlockRequestData) Get() *UnlockRequestData
func (NullableUnlockRequestData) IsSet ¶
func (v NullableUnlockRequestData) IsSet() bool
func (NullableUnlockRequestData) MarshalJSON ¶
func (v NullableUnlockRequestData) MarshalJSON() ([]byte, error)
func (*NullableUnlockRequestData) Set ¶
func (v *NullableUnlockRequestData) Set(val *UnlockRequestData)
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 NewNullableUserPassphrasePostData ¶
func NewNullableUserPassphrasePostData(val *UserPassphrasePostData) *NullableUserPassphrasePostData
func (NullableUserPassphrasePostData) Get ¶
func (v NullableUserPassphrasePostData) Get() *UserPassphrasePostData
func (NullableUserPassphrasePostData) IsSet ¶
func (v NullableUserPassphrasePostData) IsSet() bool
func (NullableUserPassphrasePostData) MarshalJSON ¶
func (v NullableUserPassphrasePostData) MarshalJSON() ([]byte, error)
func (*NullableUserPassphrasePostData) Set ¶
func (v *NullableUserPassphrasePostData) Set(val *UserPassphrasePostData)
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 (v NullableUserPostData) Get() *UserPostData
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 ¶
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) GetVar0Ok ¶
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) GetVar2Ok ¶
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) MarshalJSON ¶
func (*Pcr) SetVar0 ¶
SetVar0 gets a reference to the given string and assigns it to the Var0 field.
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) 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 ¶
GetOperations returns the Operations field value
func (*PublicKey) GetOperationsOk ¶
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) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (PublicKey) MarshalJSON ¶
func (*PublicKey) SetMechanisms ¶
func (o *PublicKey) SetMechanisms(v []KeyMechanism)
SetMechanisms sets field value
func (*PublicKey) SetOperations ¶
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) UnmarshalJSON ¶
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) 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
type ServerVariable ¶
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 ¶
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 ¶
GetSignature returns the Signature field value
func (*SignData) GetSignatureOk ¶
GetSignatureOk returns a tuple with the Signature field value and a boolean to check if the value has been set.
func (SignData) MarshalJSON ¶
func (*SignData) SetSignature ¶
SetSignature sets field value
func (*SignData) UnmarshalJSON ¶
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 ¶
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) UnmarshalJSON ¶
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'
func NewSwitchFromValue ¶
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) UnmarshalJSON ¶
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) 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) 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) 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 ¶
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) 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 ¶
func (o *TlsKeyGenerateRequestData) GetType() TlsKeyType
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 ¶
UserData struct for UserData
func NewUserData ¶
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 ¶
GetRealName returns the RealName field value
func (*UserData) GetRealNameOk ¶
GetRealNameOk returns a tuple with the RealName field value and a boolean to check if the value has been set.
func (*UserData) GetRoleOk ¶
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (UserData) MarshalJSON ¶
func (*UserData) SetRealName ¶
SetRealName sets field value
func (*UserData) UnmarshalJSON ¶
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 ¶
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) GetUserOk ¶
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (UserItem) MarshalJSON ¶
func (*UserItem) UnmarshalJSON ¶
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) 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 ¶
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) UnmarshalJSON ¶
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_ak_pub.go
- model_backup_passphrase_config.go
- model_create_resource_id.go
- model_decrypt_data.go
- model_decrypt_mode.go
- model_decrypt_request_data.go
- model_distinguished_name.go
- model_encrypt_data.go
- model_encrypt_mode.go
- model_encrypt_request_data.go
- model_health_state_data.go
- model_info_data.go
- model_key_generate_request_data.go
- model_key_item.go
- model_key_mechanism.go
- model_key_private_data.go
- model_key_public_data.go
- model_key_restrictions.go
- model_key_type.go
- model_log_level.go
- model_logging_config.go
- model_namespace_item.go
- model_network_config.go
- model_pcr.go
- model_private_key.go
- model_private_key_pem_arguments.go
- model_provision_request_data.go
- model_public_key.go
- model_random_data.go
- model_random_request_data.go
- model_restore_request_arguments.go
- model_sign_data.go
- model_sign_mode.go
- model_sign_request_data.go
- model_switch.go
- model_system_info.go
- model_system_state.go
- model_system_update_data.go
- model_time_config.go
- model_tls_key_generate_request_data.go
- model_tls_key_type.go
- model_unattended_boot_config.go
- model_unlock_passphrase_config.go
- model_unlock_request_data.go
- model_user_data.go
- model_user_item.go
- model_user_passphrase_post_data.go
- model_user_post_data.go
- model_user_role.go
- response.go
- utils.go