models

package
v0.0.0-...-a28b298 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// AuthenticatorAttestationResponseAuthenticatorAttachmentCrossDashPlatform captures enum value "cross-platform"
	AuthenticatorAttestationResponseAuthenticatorAttachmentCrossDashPlatform string = "cross-platform"

	// AuthenticatorAttestationResponseAuthenticatorAttachmentPlatform captures enum value "platform"
	AuthenticatorAttestationResponseAuthenticatorAttachmentPlatform string = "platform"
)
View Source
const (

	// PublicKeyCredentialWithAttestationAuthenticatorAttachmentCrossDashPlatform captures enum value "cross-platform"
	PublicKeyCredentialWithAttestationAuthenticatorAttachmentCrossDashPlatform string = "cross-platform"

	// PublicKeyCredentialWithAttestationAuthenticatorAttachmentPlatform captures enum value "platform"
	PublicKeyCredentialWithAttestationAuthenticatorAttachmentPlatform string = "platform"
)
View Source
const (

	// VoteSelectionVOTESELECTIONAPPROVED captures enum value "VOTE_SELECTION_APPROVED"
	VoteSelectionVOTESELECTIONAPPROVED string = "VOTE_SELECTION_APPROVED"

	// VoteSelectionVOTESELECTIONREJECTED captures enum value "VOTE_SELECTION_REJECTED"
	VoteSelectionVOTESELECTIONREJECTED string = "VOTE_SELECTION_REJECTED"
)
View Source
const (

	// ApproveActivityRequestTypeACTIVITYTYPEAPPROVEACTIVITY captures enum value "ACTIVITY_TYPE_APPROVE_ACTIVITY"
	ApproveActivityRequestTypeACTIVITYTYPEAPPROVEACTIVITY string = "ACTIVITY_TYPE_APPROVE_ACTIVITY"
)
View Source
const (

	// CreateAPIKeysRequestTypeACTIVITYTYPECREATEAPIKEYS captures enum value "ACTIVITY_TYPE_CREATE_API_KEYS"
	CreateAPIKeysRequestTypeACTIVITYTYPECREATEAPIKEYS string = "ACTIVITY_TYPE_CREATE_API_KEYS"
)
View Source
const (

	// CreateAuthenticatorsRequestTypeACTIVITYTYPECREATEAUTHENTICATORSV2 captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
	CreateAuthenticatorsRequestTypeACTIVITYTYPECREATEAUTHENTICATORSV2 string = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
)
View Source
const (

	// CreateInvitationsRequestTypeACTIVITYTYPECREATEINVITATIONS captures enum value "ACTIVITY_TYPE_CREATE_INVITATIONS"
	CreateInvitationsRequestTypeACTIVITYTYPECREATEINVITATIONS string = "ACTIVITY_TYPE_CREATE_INVITATIONS"
)
View Source
const (

	// CreatePoliciesRequestTypeACTIVITYTYPECREATEPOLICIES captures enum value "ACTIVITY_TYPE_CREATE_POLICIES"
	CreatePoliciesRequestTypeACTIVITYTYPECREATEPOLICIES string = "ACTIVITY_TYPE_CREATE_POLICIES"
)
View Source
const (

	// CreatePolicyRequestTypeACTIVITYTYPECREATEPOLICYV3 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V3"
	CreatePolicyRequestTypeACTIVITYTYPECREATEPOLICYV3 string = "ACTIVITY_TYPE_CREATE_POLICY_V3"
)
View Source
const (

	// CreatePrivateKeyTagRequestTypeACTIVITYTYPECREATEPRIVATEKEYTAG captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
	CreatePrivateKeyTagRequestTypeACTIVITYTYPECREATEPRIVATEKEYTAG string = "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
)
View Source
const (

	// CreatePrivateKeysRequestTypeACTIVITYTYPECREATEPRIVATEKEYSV2 captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
	CreatePrivateKeysRequestTypeACTIVITYTYPECREATEPRIVATEKEYSV2 string = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
)
View Source
const (

	// CreateSubOrganizationRequestTypeACTIVITYTYPECREATESUBORGANIZATIONV4 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"
	CreateSubOrganizationRequestTypeACTIVITYTYPECREATESUBORGANIZATIONV4 string = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"
)
View Source
const (

	// CreateUserTagRequestTypeACTIVITYTYPECREATEUSERTAG captures enum value "ACTIVITY_TYPE_CREATE_USER_TAG"
	CreateUserTagRequestTypeACTIVITYTYPECREATEUSERTAG string = "ACTIVITY_TYPE_CREATE_USER_TAG"
)
View Source
const (

	// CreateUsersRequestTypeACTIVITYTYPECREATEUSERSV2 captures enum value "ACTIVITY_TYPE_CREATE_USERS_V2"
	CreateUsersRequestTypeACTIVITYTYPECREATEUSERSV2 string = "ACTIVITY_TYPE_CREATE_USERS_V2"
)
View Source
const (

	// CreateWalletAccountsRequestTypeACTIVITYTYPECREATEWALLETACCOUNTS captures enum value "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
	CreateWalletAccountsRequestTypeACTIVITYTYPECREATEWALLETACCOUNTS string = "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
)
View Source
const (

	// CreateWalletRequestTypeACTIVITYTYPECREATEWALLET captures enum value "ACTIVITY_TYPE_CREATE_WALLET"
	CreateWalletRequestTypeACTIVITYTYPECREATEWALLET string = "ACTIVITY_TYPE_CREATE_WALLET"
)
View Source
const (

	// DeleteAPIKeysRequestTypeACTIVITYTYPEDELETEAPIKEYS captures enum value "ACTIVITY_TYPE_DELETE_API_KEYS"
	DeleteAPIKeysRequestTypeACTIVITYTYPEDELETEAPIKEYS string = "ACTIVITY_TYPE_DELETE_API_KEYS"
)
View Source
const (

	// DeleteAuthenticatorsRequestTypeACTIVITYTYPEDELETEAUTHENTICATORS captures enum value "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
	DeleteAuthenticatorsRequestTypeACTIVITYTYPEDELETEAUTHENTICATORS string = "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
)
View Source
const (

	// DeleteInvitationRequestTypeACTIVITYTYPEDELETEINVITATION captures enum value "ACTIVITY_TYPE_DELETE_INVITATION"
	DeleteInvitationRequestTypeACTIVITYTYPEDELETEINVITATION string = "ACTIVITY_TYPE_DELETE_INVITATION"
)
View Source
const (

	// DeletePolicyRequestTypeACTIVITYTYPEDELETEPOLICY captures enum value "ACTIVITY_TYPE_DELETE_POLICY"
	DeletePolicyRequestTypeACTIVITYTYPEDELETEPOLICY string = "ACTIVITY_TYPE_DELETE_POLICY"
)
View Source
const (

	// DeletePrivateKeyTagsRequestTypeACTIVITYTYPEDELETEPRIVATEKEYTAGS captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
	DeletePrivateKeyTagsRequestTypeACTIVITYTYPEDELETEPRIVATEKEYTAGS string = "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
)
View Source
const (

	// DeleteUserTagsRequestTypeACTIVITYTYPEDELETEUSERTAGS captures enum value "ACTIVITY_TYPE_DELETE_USER_TAGS"
	DeleteUserTagsRequestTypeACTIVITYTYPEDELETEUSERTAGS string = "ACTIVITY_TYPE_DELETE_USER_TAGS"
)
View Source
const (

	// DeleteUsersRequestTypeACTIVITYTYPEDELETEUSERS captures enum value "ACTIVITY_TYPE_DELETE_USERS"
	DeleteUsersRequestTypeACTIVITYTYPEDELETEUSERS string = "ACTIVITY_TYPE_DELETE_USERS"
)
View Source
const (

	// EmailAuthRequestTypeACTIVITYTYPEEMAILAUTH captures enum value "ACTIVITY_TYPE_EMAIL_AUTH"
	EmailAuthRequestTypeACTIVITYTYPEEMAILAUTH string = "ACTIVITY_TYPE_EMAIL_AUTH"
)
View Source
const (

	// ExportPrivateKeyRequestTypeACTIVITYTYPEEXPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
	ExportPrivateKeyRequestTypeACTIVITYTYPEEXPORTPRIVATEKEY string = "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
)
View Source
const (

	// ExportWalletAccountRequestTypeACTIVITYTYPEEXPORTWALLETACCOUNT captures enum value "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
	ExportWalletAccountRequestTypeACTIVITYTYPEEXPORTWALLETACCOUNT string = "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
)
View Source
const (

	// ExportWalletRequestTypeACTIVITYTYPEEXPORTWALLET captures enum value "ACTIVITY_TYPE_EXPORT_WALLET"
	ExportWalletRequestTypeACTIVITYTYPEEXPORTWALLET string = "ACTIVITY_TYPE_EXPORT_WALLET"
)
View Source
const (

	// ImportPrivateKeyRequestTypeACTIVITYTYPEIMPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
	ImportPrivateKeyRequestTypeACTIVITYTYPEIMPORTPRIVATEKEY string = "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
)
View Source
const (

	// ImportWalletRequestTypeACTIVITYTYPEIMPORTWALLET captures enum value "ACTIVITY_TYPE_IMPORT_WALLET"
	ImportWalletRequestTypeACTIVITYTYPEIMPORTWALLET string = "ACTIVITY_TYPE_IMPORT_WALLET"
)
View Source
const (

	// InitImportPrivateKeyRequestTypeACTIVITYTYPEINITIMPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
	InitImportPrivateKeyRequestTypeACTIVITYTYPEINITIMPORTPRIVATEKEY string = "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
)
View Source
const (

	// InitImportWalletRequestTypeACTIVITYTYPEINITIMPORTWALLET captures enum value "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
	InitImportWalletRequestTypeACTIVITYTYPEINITIMPORTWALLET string = "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
)
View Source
const (

	// InitUserEmailRecoveryRequestTypeACTIVITYTYPEINITUSEREMAILRECOVERY captures enum value "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
	InitUserEmailRecoveryRequestTypeACTIVITYTYPEINITUSEREMAILRECOVERY string = "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
)
View Source
const (

	// PublicKeyCredentialWithAttestationTypePublicDashKey captures enum value "public-key"
	PublicKeyCredentialWithAttestationTypePublicDashKey string = "public-key"
)
View Source
const (

	// RecoverUserRequestTypeACTIVITYTYPERECOVERUSER captures enum value "ACTIVITY_TYPE_RECOVER_USER"
	RecoverUserRequestTypeACTIVITYTYPERECOVERUSER string = "ACTIVITY_TYPE_RECOVER_USER"
)
View Source
const (

	// RejectActivityRequestTypeACTIVITYTYPEREJECTACTIVITY captures enum value "ACTIVITY_TYPE_REJECT_ACTIVITY"
	RejectActivityRequestTypeACTIVITYTYPEREJECTACTIVITY string = "ACTIVITY_TYPE_REJECT_ACTIVITY"
)
View Source
const (

	// RemoveOrganizationFeatureRequestTypeACTIVITYTYPEREMOVEORGANIZATIONFEATURE captures enum value "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
	RemoveOrganizationFeatureRequestTypeACTIVITYTYPEREMOVEORGANIZATIONFEATURE string = "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
)
View Source
const (

	// SetOrganizationFeatureRequestTypeACTIVITYTYPESETORGANIZATIONFEATURE captures enum value "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
	SetOrganizationFeatureRequestTypeACTIVITYTYPESETORGANIZATIONFEATURE string = "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
)
View Source
const (

	// SignRawPayloadRequestTypeACTIVITYTYPESIGNRAWPAYLOADV2 captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
	SignRawPayloadRequestTypeACTIVITYTYPESIGNRAWPAYLOADV2 string = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
)
View Source
const (

	// SignRawPayloadsRequestTypeACTIVITYTYPESIGNRAWPAYLOADS captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
	SignRawPayloadsRequestTypeACTIVITYTYPESIGNRAWPAYLOADS string = "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
)
View Source
const (

	// SignTransactionRequestTypeACTIVITYTYPESIGNTRANSACTIONV2 captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
	SignTransactionRequestTypeACTIVITYTYPESIGNTRANSACTIONV2 string = "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
)
View Source
const (

	// UpdatePolicyRequestTypeACTIVITYTYPEUPDATEPOLICY captures enum value "ACTIVITY_TYPE_UPDATE_POLICY"
	UpdatePolicyRequestTypeACTIVITYTYPEUPDATEPOLICY string = "ACTIVITY_TYPE_UPDATE_POLICY"
)
View Source
const (

	// UpdatePrivateKeyTagRequestTypeACTIVITYTYPEUPDATEPRIVATEKEYTAG captures enum value "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
	UpdatePrivateKeyTagRequestTypeACTIVITYTYPEUPDATEPRIVATEKEYTAG string = "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
)
View Source
const (

	// UpdateRootQuorumRequestTypeACTIVITYTYPEUPDATEROOTQUORUM captures enum value "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
	UpdateRootQuorumRequestTypeACTIVITYTYPEUPDATEROOTQUORUM string = "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
)
View Source
const (

	// UpdateUserRequestTypeACTIVITYTYPEUPDATEUSER captures enum value "ACTIVITY_TYPE_UPDATE_USER"
	UpdateUserRequestTypeACTIVITYTYPEUPDATEUSER string = "ACTIVITY_TYPE_UPDATE_USER"
)
View Source
const (

	// UpdateUserTagRequestTypeACTIVITYTYPEUPDATEUSERTAG captures enum value "ACTIVITY_TYPE_UPDATE_USER_TAG"
	UpdateUserTagRequestTypeACTIVITYTYPEUPDATEUSERTAG string = "ACTIVITY_TYPE_UPDATE_USER_TAG"
)

Variables ¶

View Source
var AccessTypeEnum []AccessType

for schema

View Source
var ActivityStatusEnum []ActivityStatus

for schema

View Source
var ActivityTypeEnum []ActivityType

for schema

View Source
var AddressFormatEnum []AddressFormat

for schema

View Source
var AuthenticatorTransportEnum []AuthenticatorTransport

for schema

View Source
var CredentialTypeEnum []CredentialType

for schema

View Source
var CurveEnum []Curve

for schema

View Source
var EffectEnum []Effect

for schema

View Source
var FeatureNameEnum []FeatureName

for schema

View Source
var HashFunctionEnum []HashFunction

for schema

View Source
var MnemonicLanguageEnum []MnemonicLanguage

for schema

View Source
var OperatorEnum []Operator

for schema

View Source
var PathFormatEnum []PathFormat

for schema

View Source
var PayloadEncodingEnum []PayloadEncoding

for schema

View Source
var TagTypeEnum []TagType

for schema

View Source
var TransactionTypeEnum []TransactionType

for schema

Functions ¶

This section is empty.

Types ¶

type APIKey ¶

type APIKey struct {

	// Unique identifier for a given API Key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Human-readable name for an API Key.
	// Required: true
	APIKeyName *string `json:"apiKeyName"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// A User credential that can be used to authenticate to Turnkey.
	// Required: true
	Credential *ExternalDataV1Credential `json:"credential"`

	// Optional window (in seconds) indicating how long the API Key should last.
	ExpirationSeconds string `json:"expirationSeconds,omitempty"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

APIKey Api key

swagger:model ApiKey

func (*APIKey) ContextValidate ¶

func (m *APIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api key based on the context it is used

func (*APIKey) MarshalBinary ¶

func (m *APIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKey) UnmarshalBinary ¶

func (m *APIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKey) Validate ¶

func (m *APIKey) Validate(formats strfmt.Registry) error

Validate validates this Api key

type APIKeyParams ¶

type APIKeyParams struct {

	// Human-readable name for an API Key.
	// Required: true
	APIKeyName *string `json:"apiKeyName"`

	// Optional window (in seconds) indicating how long the API Key should last.
	ExpirationSeconds string `json:"expirationSeconds,omitempty"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`
}

APIKeyParams Api key params

swagger:model ApiKeyParams

func (*APIKeyParams) ContextValidate ¶

func (m *APIKeyParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key params based on context it is used

func (*APIKeyParams) MarshalBinary ¶

func (m *APIKeyParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKeyParams) UnmarshalBinary ¶

func (m *APIKeyParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKeyParams) Validate ¶

func (m *APIKeyParams) Validate(formats strfmt.Registry) error

Validate validates this Api key params

type APIOnlyUserParams ¶

type APIOnlyUserParams struct {

	// A list of API Key parameters.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// The email address for this API-only User (optional).
	UserEmail string `json:"userEmail,omitempty"`

	// The name of the new API-only User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of tags assigned to the new API-only User.
	// Required: true
	UserTags []string `json:"userTags"`
}

APIOnlyUserParams Api only user params

swagger:model ApiOnlyUserParams

func (*APIOnlyUserParams) ContextValidate ¶

func (m *APIOnlyUserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api only user params based on the context it is used

func (*APIOnlyUserParams) MarshalBinary ¶

func (m *APIOnlyUserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIOnlyUserParams) UnmarshalBinary ¶

func (m *APIOnlyUserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIOnlyUserParams) Validate ¶

func (m *APIOnlyUserParams) Validate(formats strfmt.Registry) error

Validate validates this Api only user params

type AcceptInvitationIntent ¶

type AcceptInvitationIntent struct {

	// WebAuthN hardware devices that can be used to log in to the Turnkey web app.
	// Required: true
	Authenticator *AuthenticatorParams `json:"authenticator"`

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationIntent accept invitation intent

swagger:model AcceptInvitationIntent

func (*AcceptInvitationIntent) ContextValidate ¶

func (m *AcceptInvitationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this accept invitation intent based on the context it is used

func (*AcceptInvitationIntent) MarshalBinary ¶

func (m *AcceptInvitationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationIntent) UnmarshalBinary ¶

func (m *AcceptInvitationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationIntent) Validate ¶

func (m *AcceptInvitationIntent) Validate(formats strfmt.Registry) error

Validate validates this accept invitation intent

type AcceptInvitationIntentV2 ¶

type AcceptInvitationIntentV2 struct {

	// WebAuthN hardware devices that can be used to log in to the Turnkey web app.
	// Required: true
	Authenticator *AuthenticatorParamsV2 `json:"authenticator"`

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationIntentV2 accept invitation intent v2

swagger:model AcceptInvitationIntentV2

func (*AcceptInvitationIntentV2) ContextValidate ¶

func (m *AcceptInvitationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this accept invitation intent v2 based on the context it is used

func (*AcceptInvitationIntentV2) MarshalBinary ¶

func (m *AcceptInvitationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationIntentV2) UnmarshalBinary ¶

func (m *AcceptInvitationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationIntentV2) Validate ¶

func (m *AcceptInvitationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this accept invitation intent v2

type AcceptInvitationResult ¶

type AcceptInvitationResult struct {

	// Unique identifier for a given Invitation.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationResult accept invitation result

swagger:model AcceptInvitationResult

func (*AcceptInvitationResult) ContextValidate ¶

func (m *AcceptInvitationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this accept invitation result based on context it is used

func (*AcceptInvitationResult) MarshalBinary ¶

func (m *AcceptInvitationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationResult) UnmarshalBinary ¶

func (m *AcceptInvitationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationResult) Validate ¶

func (m *AcceptInvitationResult) Validate(formats strfmt.Registry) error

Validate validates this accept invitation result

type AccessType ¶

type AccessType string

AccessType access type

swagger:model AccessType

const (

	// AccessTypeWeb captures enum value "ACCESS_TYPE_WEB"
	AccessTypeWeb AccessType = "ACCESS_TYPE_WEB"

	// AccessTypeAPI captures enum value "ACCESS_TYPE_API"
	AccessTypeAPI AccessType = "ACCESS_TYPE_API"

	// AccessTypeAll captures enum value "ACCESS_TYPE_ALL"
	AccessTypeAll AccessType = "ACCESS_TYPE_ALL"
)

func NewAccessType ¶

func NewAccessType(value AccessType) *AccessType

func (AccessType) ContextValidate ¶

func (m AccessType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access type based on context it is used

func (AccessType) Pointer ¶

func (m AccessType) Pointer() *AccessType

Pointer returns a pointer to a freshly-allocated AccessType.

func (AccessType) Validate ¶

func (m AccessType) Validate(formats strfmt.Registry) error

Validate validates this access type

type ActivateBillingTierIntent ¶

type ActivateBillingTierIntent struct {

	// The product that the customer wants to subscribe to.
	// Required: true
	ProductID *string `json:"productId"`
}

ActivateBillingTierIntent activate billing tier intent

swagger:model ActivateBillingTierIntent

func (*ActivateBillingTierIntent) ContextValidate ¶

func (m *ActivateBillingTierIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activate billing tier intent based on context it is used

func (*ActivateBillingTierIntent) MarshalBinary ¶

func (m *ActivateBillingTierIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivateBillingTierIntent) UnmarshalBinary ¶

func (m *ActivateBillingTierIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivateBillingTierIntent) Validate ¶

func (m *ActivateBillingTierIntent) Validate(formats strfmt.Registry) error

Validate validates this activate billing tier intent

type ActivateBillingTierResult ¶

type ActivateBillingTierResult struct {

	// The id of the product being subscribed to.
	// Required: true
	ProductID *string `json:"productId"`
}

ActivateBillingTierResult activate billing tier result

swagger:model ActivateBillingTierResult

func (*ActivateBillingTierResult) ContextValidate ¶

func (m *ActivateBillingTierResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activate billing tier result based on context it is used

func (*ActivateBillingTierResult) MarshalBinary ¶

func (m *ActivateBillingTierResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivateBillingTierResult) UnmarshalBinary ¶

func (m *ActivateBillingTierResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivateBillingTierResult) Validate ¶

func (m *ActivateBillingTierResult) Validate(formats strfmt.Registry) error

Validate validates this activate billing tier result

type Activity ¶

type Activity struct {

	// can approve
	// Required: true
	CanApprove *bool `json:"canApprove"`

	// can reject
	// Required: true
	CanReject *bool `json:"canReject"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`

	// Unique identifier for a given Activity object.
	// Required: true
	ID *string `json:"id"`

	// Intent object crafted by Turnkey based on the user request, used to assess the permissibility of an action.
	// Required: true
	Intent *Intent `json:"intent"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Result of the intended action.
	// Required: true
	Result *Result `json:"result"`

	// The current processing status of a specified Activity.
	// Required: true
	Status *ActivityStatus `json:"status"`

	// Type of Activity, such as Add User, or Sign Transaction.
	// Required: true
	Type *ActivityType `json:"type"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// A list of objects representing a particular User's approval or rejection of a Consensus request, including all relevant metadata.
	// Required: true
	Votes []*Vote `json:"votes"`
}

Activity activity

swagger:model Activity

func (*Activity) ContextValidate ¶

func (m *Activity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity based on the context it is used

func (*Activity) MarshalBinary ¶

func (m *Activity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Activity) UnmarshalBinary ¶

func (m *Activity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Activity) Validate ¶

func (m *Activity) Validate(formats strfmt.Registry) error

Validate validates this activity

type ActivityResponse ¶

type ActivityResponse struct {

	// An action that can that can be taken within the Turnkey infrastructure.
	// Required: true
	Activity *Activity `json:"activity"`
}

ActivityResponse activity response

swagger:model ActivityResponse

func (*ActivityResponse) ContextValidate ¶

func (m *ActivityResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity response based on the context it is used

func (*ActivityResponse) MarshalBinary ¶

func (m *ActivityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityResponse) UnmarshalBinary ¶

func (m *ActivityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityResponse) Validate ¶

func (m *ActivityResponse) Validate(formats strfmt.Registry) error

Validate validates this activity response

type ActivityStatus ¶

type ActivityStatus string

ActivityStatus activity status

swagger:model ActivityStatus

const (

	// ActivityStatusCreated captures enum value "ACTIVITY_STATUS_CREATED"
	ActivityStatusCreated ActivityStatus = "ACTIVITY_STATUS_CREATED"

	// ActivityStatusPending captures enum value "ACTIVITY_STATUS_PENDING"
	ActivityStatusPending ActivityStatus = "ACTIVITY_STATUS_PENDING"

	// ActivityStatusCompleted captures enum value "ACTIVITY_STATUS_COMPLETED"
	ActivityStatusCompleted ActivityStatus = "ACTIVITY_STATUS_COMPLETED"

	// ActivityStatusFailed captures enum value "ACTIVITY_STATUS_FAILED"
	ActivityStatusFailed ActivityStatus = "ACTIVITY_STATUS_FAILED"

	// ActivityStatusConsensusNeeded captures enum value "ACTIVITY_STATUS_CONSENSUS_NEEDED"
	ActivityStatusConsensusNeeded ActivityStatus = "ACTIVITY_STATUS_CONSENSUS_NEEDED"

	// ActivityStatusRejected captures enum value "ACTIVITY_STATUS_REJECTED"
	ActivityStatusRejected ActivityStatus = "ACTIVITY_STATUS_REJECTED"
)

func NewActivityStatus ¶

func NewActivityStatus(value ActivityStatus) *ActivityStatus

func (ActivityStatus) ContextValidate ¶

func (m ActivityStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activity status based on context it is used

func (ActivityStatus) Pointer ¶

func (m ActivityStatus) Pointer() *ActivityStatus

Pointer returns a pointer to a freshly-allocated ActivityStatus.

func (ActivityStatus) Validate ¶

func (m ActivityStatus) Validate(formats strfmt.Registry) error

Validate validates this activity status

type ActivityType ¶

type ActivityType string

ActivityType activity type

swagger:model ActivityType

const (

	// ActivityTypeCreateAPIKeys captures enum value "ACTIVITY_TYPE_CREATE_API_KEYS"
	ActivityTypeCreateAPIKeys ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS"

	// ActivityTypeCreateUsers captures enum value "ACTIVITY_TYPE_CREATE_USERS"
	ActivityTypeCreateUsers ActivityType = "ACTIVITY_TYPE_CREATE_USERS"

	// ActivityTypeCreatePrivateKeys captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS"
	ActivityTypeCreatePrivateKeys ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS"

	// ActivityTypeSignRawPayload captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD"
	ActivityTypeSignRawPayload ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD"

	// ActivityTypeCreateInvitations captures enum value "ACTIVITY_TYPE_CREATE_INVITATIONS"
	ActivityTypeCreateInvitations ActivityType = "ACTIVITY_TYPE_CREATE_INVITATIONS"

	// ActivityTypeAcceptInvitation captures enum value "ACTIVITY_TYPE_ACCEPT_INVITATION"
	ActivityTypeAcceptInvitation ActivityType = "ACTIVITY_TYPE_ACCEPT_INVITATION"

	// ActivityTypeCreatePolicy captures enum value "ACTIVITY_TYPE_CREATE_POLICY"
	ActivityTypeCreatePolicy ActivityType = "ACTIVITY_TYPE_CREATE_POLICY"

	// ActivityTypeDisablePrivateKey captures enum value "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY"
	ActivityTypeDisablePrivateKey ActivityType = "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY"

	// ActivityTypeDeleteUsers captures enum value "ACTIVITY_TYPE_DELETE_USERS"
	ActivityTypeDeleteUsers ActivityType = "ACTIVITY_TYPE_DELETE_USERS"

	// ActivityTypeDeleteAPIKeys captures enum value "ACTIVITY_TYPE_DELETE_API_KEYS"
	ActivityTypeDeleteAPIKeys ActivityType = "ACTIVITY_TYPE_DELETE_API_KEYS"

	// ActivityTypeDeleteInvitation captures enum value "ACTIVITY_TYPE_DELETE_INVITATION"
	ActivityTypeDeleteInvitation ActivityType = "ACTIVITY_TYPE_DELETE_INVITATION"

	// ActivityTypeDeleteOrganization captures enum value "ACTIVITY_TYPE_DELETE_ORGANIZATION"
	ActivityTypeDeleteOrganization ActivityType = "ACTIVITY_TYPE_DELETE_ORGANIZATION"

	// ActivityTypeDeletePolicy captures enum value "ACTIVITY_TYPE_DELETE_POLICY"
	ActivityTypeDeletePolicy ActivityType = "ACTIVITY_TYPE_DELETE_POLICY"

	// ActivityTypeCreateUserTag captures enum value "ACTIVITY_TYPE_CREATE_USER_TAG"
	ActivityTypeCreateUserTag ActivityType = "ACTIVITY_TYPE_CREATE_USER_TAG"

	// ActivityTypeDeleteUserTags captures enum value "ACTIVITY_TYPE_DELETE_USER_TAGS"
	ActivityTypeDeleteUserTags ActivityType = "ACTIVITY_TYPE_DELETE_USER_TAGS"

	// ActivityTypeCreateOrganization captures enum value "ACTIVITY_TYPE_CREATE_ORGANIZATION"
	ActivityTypeCreateOrganization ActivityType = "ACTIVITY_TYPE_CREATE_ORGANIZATION"

	// ActivityTypeSignTransaction captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION"
	ActivityTypeSignTransaction ActivityType = "ACTIVITY_TYPE_SIGN_TRANSACTION"

	// ActivityTypeApproveActivity captures enum value "ACTIVITY_TYPE_APPROVE_ACTIVITY"
	ActivityTypeApproveActivity ActivityType = "ACTIVITY_TYPE_APPROVE_ACTIVITY"

	// ActivityTypeRejectActivity captures enum value "ACTIVITY_TYPE_REJECT_ACTIVITY"
	ActivityTypeRejectActivity ActivityType = "ACTIVITY_TYPE_REJECT_ACTIVITY"

	// ActivityTypeDeleteAuthenticators captures enum value "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
	ActivityTypeDeleteAuthenticators ActivityType = "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"

	// ActivityTypeCreateAuthenticators captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS"
	ActivityTypeCreateAuthenticators ActivityType = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS"

	// ActivityTypeCreatePrivateKeyTag captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
	ActivityTypeCreatePrivateKeyTag ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"

	// ActivityTypeDeletePrivateKeyTags captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
	ActivityTypeDeletePrivateKeyTags ActivityType = "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"

	// ActivityTypeSetPaymentMethod captures enum value "ACTIVITY_TYPE_SET_PAYMENT_METHOD"
	ActivityTypeSetPaymentMethod ActivityType = "ACTIVITY_TYPE_SET_PAYMENT_METHOD"

	// ActivityTypeActivateBillingTier captures enum value "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER"
	ActivityTypeActivateBillingTier ActivityType = "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER"

	// ActivityTypeDeletePaymentMethod captures enum value "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD"
	ActivityTypeDeletePaymentMethod ActivityType = "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD"

	// ActivityTypeCreatePolicyV2 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V2"
	ActivityTypeCreatePolicyV2 ActivityType = "ACTIVITY_TYPE_CREATE_POLICY_V2"

	// ActivityTypeCreatePolicyV3 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V3"
	ActivityTypeCreatePolicyV3 ActivityType = "ACTIVITY_TYPE_CREATE_POLICY_V3"

	// ActivityTypeCreateAPIOnlyUsers captures enum value "ACTIVITY_TYPE_CREATE_API_ONLY_USERS"
	ActivityTypeCreateAPIOnlyUsers ActivityType = "ACTIVITY_TYPE_CREATE_API_ONLY_USERS"

	// ActivityTypeUpdateRootQuorum captures enum value "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
	ActivityTypeUpdateRootQuorum ActivityType = "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"

	// ActivityTypeUpdateUserTag captures enum value "ACTIVITY_TYPE_UPDATE_USER_TAG"
	ActivityTypeUpdateUserTag ActivityType = "ACTIVITY_TYPE_UPDATE_USER_TAG"

	// ActivityTypeUpdatePrivateKeyTag captures enum value "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
	ActivityTypeUpdatePrivateKeyTag ActivityType = "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"

	// ActivityTypeCreateAuthenticatorsV2 captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
	ActivityTypeCreateAuthenticatorsV2 ActivityType = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"

	// ActivityTypeCreateOrganizationV2 captures enum value "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2"
	ActivityTypeCreateOrganizationV2 ActivityType = "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2"

	// ActivityTypeCreateUsersV2 captures enum value "ACTIVITY_TYPE_CREATE_USERS_V2"
	ActivityTypeCreateUsersV2 ActivityType = "ACTIVITY_TYPE_CREATE_USERS_V2"

	// ActivityTypeAcceptInvitationV2 captures enum value "ACTIVITY_TYPE_ACCEPT_INVITATION_V2"
	ActivityTypeAcceptInvitationV2 ActivityType = "ACTIVITY_TYPE_ACCEPT_INVITATION_V2"

	// ActivityTypeCreateSubOrganization captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION"
	ActivityTypeCreateSubOrganization ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION"

	// ActivityTypeCreateSubOrganizationV2 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2"
	ActivityTypeCreateSubOrganizationV2 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2"

	// ActivityTypeUpdateAllowedOrigins captures enum value "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS"
	ActivityTypeUpdateAllowedOrigins ActivityType = "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS"

	// ActivityTypeCreatePrivateKeysV2 captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
	ActivityTypeCreatePrivateKeysV2 ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"

	// ActivityTypeUpdateUser captures enum value "ACTIVITY_TYPE_UPDATE_USER"
	ActivityTypeUpdateUser ActivityType = "ACTIVITY_TYPE_UPDATE_USER"

	// ActivityTypeUpdatePolicy captures enum value "ACTIVITY_TYPE_UPDATE_POLICY"
	ActivityTypeUpdatePolicy ActivityType = "ACTIVITY_TYPE_UPDATE_POLICY"

	// ActivityTypeSetPaymentMethodV2 captures enum value "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2"
	ActivityTypeSetPaymentMethodV2 ActivityType = "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2"

	// ActivityTypeCreateSubOrganizationV3 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"
	ActivityTypeCreateSubOrganizationV3 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"

	// ActivityTypeCreateWallet captures enum value "ACTIVITY_TYPE_CREATE_WALLET"
	ActivityTypeCreateWallet ActivityType = "ACTIVITY_TYPE_CREATE_WALLET"

	// ActivityTypeCreateWalletAccounts captures enum value "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
	ActivityTypeCreateWalletAccounts ActivityType = "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"

	// ActivityTypeInitUserEmailRecovery captures enum value "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
	ActivityTypeInitUserEmailRecovery ActivityType = "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"

	// ActivityTypeRecoverUser captures enum value "ACTIVITY_TYPE_RECOVER_USER"
	ActivityTypeRecoverUser ActivityType = "ACTIVITY_TYPE_RECOVER_USER"

	// ActivityTypeSetOrganizationFeature captures enum value "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
	ActivityTypeSetOrganizationFeature ActivityType = "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"

	// ActivityTypeRemoveOrganizationFeature captures enum value "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
	ActivityTypeRemoveOrganizationFeature ActivityType = "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"

	// ActivityTypeSignRawPayloadV2 captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
	ActivityTypeSignRawPayloadV2 ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"

	// ActivityTypeSignTransactionV2 captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
	ActivityTypeSignTransactionV2 ActivityType = "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"

	// ActivityTypeExportPrivateKey captures enum value "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
	ActivityTypeExportPrivateKey ActivityType = "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"

	// ActivityTypeExportWallet captures enum value "ACTIVITY_TYPE_EXPORT_WALLET"
	ActivityTypeExportWallet ActivityType = "ACTIVITY_TYPE_EXPORT_WALLET"

	// ActivityTypeCreateSubOrganizationV4 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"
	ActivityTypeCreateSubOrganizationV4 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"

	// ActivityTypeEmailAuth captures enum value "ACTIVITY_TYPE_EMAIL_AUTH"
	ActivityTypeEmailAuth ActivityType = "ACTIVITY_TYPE_EMAIL_AUTH"

	// ActivityTypeExportWalletAccount captures enum value "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
	ActivityTypeExportWalletAccount ActivityType = "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"

	// ActivityTypeInitImportWallet captures enum value "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
	ActivityTypeInitImportWallet ActivityType = "ACTIVITY_TYPE_INIT_IMPORT_WALLET"

	// ActivityTypeImportWallet captures enum value "ACTIVITY_TYPE_IMPORT_WALLET"
	ActivityTypeImportWallet ActivityType = "ACTIVITY_TYPE_IMPORT_WALLET"

	// ActivityTypeInitImportPrivateKey captures enum value "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
	ActivityTypeInitImportPrivateKey ActivityType = "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"

	// ActivityTypeImportPrivateKey captures enum value "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
	ActivityTypeImportPrivateKey ActivityType = "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"

	// ActivityTypeCreatePolicies captures enum value "ACTIVITY_TYPE_CREATE_POLICIES"
	ActivityTypeCreatePolicies ActivityType = "ACTIVITY_TYPE_CREATE_POLICIES"

	// ActivityTypeSignRawPayloads captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
	ActivityTypeSignRawPayloads ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
)

func NewActivityType ¶

func NewActivityType(value ActivityType) *ActivityType

func (ActivityType) ContextValidate ¶

func (m ActivityType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activity type based on context it is used

func (ActivityType) Pointer ¶

func (m ActivityType) Pointer() *ActivityType

Pointer returns a pointer to a freshly-allocated ActivityType.

func (ActivityType) Validate ¶

func (m ActivityType) Validate(formats strfmt.Registry) error

Validate validates this activity type

type ActivityV1Address ¶

type ActivityV1Address struct {

	// address
	Address string `json:"address,omitempty"`

	// format
	Format AddressFormat `json:"format,omitempty"`
}

ActivityV1Address activity v1 address

swagger:model activity.v1.Address

func (*ActivityV1Address) ContextValidate ¶

func (m *ActivityV1Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity v1 address based on the context it is used

func (*ActivityV1Address) MarshalBinary ¶

func (m *ActivityV1Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityV1Address) UnmarshalBinary ¶

func (m *ActivityV1Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityV1Address) Validate ¶

func (m *ActivityV1Address) Validate(formats strfmt.Registry) error

Validate validates this activity v1 address

type AddressFormat ¶

type AddressFormat string

AddressFormat address format

swagger:model AddressFormat

const (

	// AddressFormatUncompressed captures enum value "ADDRESS_FORMAT_UNCOMPRESSED"
	AddressFormatUncompressed AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED"

	// AddressFormatCompressed captures enum value "ADDRESS_FORMAT_COMPRESSED"
	AddressFormatCompressed AddressFormat = "ADDRESS_FORMAT_COMPRESSED"

	// AddressFormatEthereum captures enum value "ADDRESS_FORMAT_ETHEREUM"
	AddressFormatEthereum AddressFormat = "ADDRESS_FORMAT_ETHEREUM"

	// AddressFormatSolana captures enum value "ADDRESS_FORMAT_SOLANA"
	AddressFormatSolana AddressFormat = "ADDRESS_FORMAT_SOLANA"

	// AddressFormatCosmos captures enum value "ADDRESS_FORMAT_COSMOS"
	AddressFormatCosmos AddressFormat = "ADDRESS_FORMAT_COSMOS"

	// AddressFormatTron captures enum value "ADDRESS_FORMAT_TRON"
	AddressFormatTron AddressFormat = "ADDRESS_FORMAT_TRON"
)

func NewAddressFormat ¶

func NewAddressFormat(value AddressFormat) *AddressFormat

func (AddressFormat) ContextValidate ¶

func (m AddressFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address format based on context it is used

func (AddressFormat) Pointer ¶

func (m AddressFormat) Pointer() *AddressFormat

Pointer returns a pointer to a freshly-allocated AddressFormat.

func (AddressFormat) Validate ¶

func (m AddressFormat) Validate(formats strfmt.Registry) error

Validate validates this address format

type ApproveActivityIntent ¶

type ApproveActivityIntent struct {

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`
}

ApproveActivityIntent approve activity intent

swagger:model ApproveActivityIntent

func (*ApproveActivityIntent) ContextValidate ¶

func (m *ApproveActivityIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this approve activity intent based on context it is used

func (*ApproveActivityIntent) MarshalBinary ¶

func (m *ApproveActivityIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveActivityIntent) UnmarshalBinary ¶

func (m *ApproveActivityIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveActivityIntent) Validate ¶

func (m *ApproveActivityIntent) Validate(formats strfmt.Registry) error

Validate validates this approve activity intent

type ApproveActivityRequest ¶

type ApproveActivityRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ApproveActivityIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_APPROVE_ACTIVITY]
	Type *string `json:"type"`
}

ApproveActivityRequest approve activity request

swagger:model ApproveActivityRequest

func (*ApproveActivityRequest) ContextValidate ¶

func (m *ApproveActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this approve activity request based on the context it is used

func (*ApproveActivityRequest) MarshalBinary ¶

func (m *ApproveActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveActivityRequest) UnmarshalBinary ¶

func (m *ApproveActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveActivityRequest) Validate ¶

func (m *ApproveActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this approve activity request

type Attestation ¶

type Attestation struct {

	// A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses.
	// Required: true
	AttestationObject *string `json:"attestationObject"`

	// A base64 url encoded payload containing metadata about the signing context and the challenge.
	// Required: true
	ClientDataJSON *string `json:"clientDataJson"`

	// The cbor encoded then base64 url encoded id of the credential.
	// Required: true
	CredentialID *string `json:"credentialId"`

	// The type of authenticator transports.
	// Required: true
	Transports []AuthenticatorTransport `json:"transports"`
}

Attestation attestation

swagger:model Attestation

func (*Attestation) ContextValidate ¶

func (m *Attestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attestation based on the context it is used

func (*Attestation) MarshalBinary ¶

func (m *Attestation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Attestation) UnmarshalBinary ¶

func (m *Attestation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Attestation) Validate ¶

func (m *Attestation) Validate(formats strfmt.Registry) error

Validate validates this attestation

type Authenticator ¶

type Authenticator struct {

	// Identifier indicating the type of the Security Key.
	// Required: true
	Aaguid *string `json:"aaguid"`

	// attestation type
	// Required: true
	AttestationType *string `json:"attestationType"`

	// Unique identifier for a given Authenticator.
	// Required: true
	AuthenticatorID *string `json:"authenticatorId"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// A User credential that can be used to authenticate to Turnkey.
	// Required: true
	Credential *ExternalDataV1Credential `json:"credential"`

	// Unique identifier for a WebAuthn credential.
	// Required: true
	CredentialID *string `json:"credentialId"`

	// The type of Authenticator device.
	// Required: true
	Model *string `json:"model"`

	// Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE).
	// Required: true
	Transports []AuthenticatorTransport `json:"transports"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

Authenticator authenticator

swagger:model Authenticator

func (*Authenticator) ContextValidate ¶

func (m *Authenticator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator based on the context it is used

func (*Authenticator) MarshalBinary ¶

func (m *Authenticator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Authenticator) UnmarshalBinary ¶

func (m *Authenticator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Authenticator) Validate ¶

func (m *Authenticator) Validate(formats strfmt.Registry) error

Validate validates this authenticator

type AuthenticatorAttestationResponse ¶

type AuthenticatorAttestationResponse struct {

	// attestation object
	// Required: true
	AttestationObject *string `json:"attestationObject"`

	// authenticator attachment
	// Enum: [cross-platform platform]
	AuthenticatorAttachment *string `json:"authenticatorAttachment,omitempty"`

	// client data Json
	// Required: true
	ClientDataJSON *string `json:"clientDataJson"`

	// transports
	Transports []AuthenticatorTransport `json:"transports"`
}

AuthenticatorAttestationResponse authenticator attestation response

swagger:model AuthenticatorAttestationResponse

func (*AuthenticatorAttestationResponse) ContextValidate ¶

func (m *AuthenticatorAttestationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator attestation response based on the context it is used

func (*AuthenticatorAttestationResponse) MarshalBinary ¶

func (m *AuthenticatorAttestationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorAttestationResponse) UnmarshalBinary ¶

func (m *AuthenticatorAttestationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorAttestationResponse) Validate ¶

Validate validates this authenticator attestation response

type AuthenticatorParams ¶

type AuthenticatorParams struct {

	// attestation
	// Required: true
	Attestation *PublicKeyCredentialWithAttestation `json:"attestation"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// Challenge presented for authentication purposes.
	// Required: true
	Challenge *string `json:"challenge"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AuthenticatorParams authenticator params

swagger:model AuthenticatorParams

func (*AuthenticatorParams) ContextValidate ¶

func (m *AuthenticatorParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator params based on the context it is used

func (*AuthenticatorParams) MarshalBinary ¶

func (m *AuthenticatorParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorParams) UnmarshalBinary ¶

func (m *AuthenticatorParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorParams) Validate ¶

func (m *AuthenticatorParams) Validate(formats strfmt.Registry) error

Validate validates this authenticator params

type AuthenticatorParamsV2 ¶

type AuthenticatorParamsV2 struct {

	// The attestation that proves custody of the authenticator and provides metadata about it.
	// Required: true
	Attestation *Attestation `json:"attestation"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// Challenge presented for authentication purposes.
	// Required: true
	Challenge *string `json:"challenge"`
}

AuthenticatorParamsV2 authenticator params v2

swagger:model AuthenticatorParamsV2

func (*AuthenticatorParamsV2) ContextValidate ¶

func (m *AuthenticatorParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator params v2 based on the context it is used

func (*AuthenticatorParamsV2) MarshalBinary ¶

func (m *AuthenticatorParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorParamsV2) UnmarshalBinary ¶

func (m *AuthenticatorParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorParamsV2) Validate ¶

func (m *AuthenticatorParamsV2) Validate(formats strfmt.Registry) error

Validate validates this authenticator params v2

type AuthenticatorTransport ¶

type AuthenticatorTransport string

AuthenticatorTransport authenticator transport

swagger:model AuthenticatorTransport

const (

	// AuthenticatorTransportBle captures enum value "AUTHENTICATOR_TRANSPORT_BLE"
	AuthenticatorTransportBle AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_BLE"

	// AuthenticatorTransportInternal captures enum value "AUTHENTICATOR_TRANSPORT_INTERNAL"
	AuthenticatorTransportInternal AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_INTERNAL"

	// AuthenticatorTransportNfc captures enum value "AUTHENTICATOR_TRANSPORT_NFC"
	AuthenticatorTransportNfc AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_NFC"

	// AuthenticatorTransportUsb captures enum value "AUTHENTICATOR_TRANSPORT_USB"
	AuthenticatorTransportUsb AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_USB"

	// AuthenticatorTransportHybrid captures enum value "AUTHENTICATOR_TRANSPORT_HYBRID"
	AuthenticatorTransportHybrid AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_HYBRID"
)

func NewAuthenticatorTransport ¶

func NewAuthenticatorTransport(value AuthenticatorTransport) *AuthenticatorTransport

func (AuthenticatorTransport) ContextValidate ¶

func (m AuthenticatorTransport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authenticator transport based on context it is used

func (AuthenticatorTransport) Pointer ¶

Pointer returns a pointer to a freshly-allocated AuthenticatorTransport.

func (AuthenticatorTransport) Validate ¶

func (m AuthenticatorTransport) Validate(formats strfmt.Registry) error

Validate validates this authenticator transport

type CreateAPIKeysIntent ¶

type CreateAPIKeysIntent struct {

	// A list of API Keys.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAPIKeysIntent create Api keys intent

swagger:model CreateApiKeysIntent

func (*CreateAPIKeysIntent) ContextValidate ¶

func (m *CreateAPIKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api keys intent based on the context it is used

func (*CreateAPIKeysIntent) MarshalBinary ¶

func (m *CreateAPIKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysIntent) UnmarshalBinary ¶

func (m *CreateAPIKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysIntent) Validate ¶

func (m *CreateAPIKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this create Api keys intent

type CreateAPIKeysRequest ¶

type CreateAPIKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateAPIKeysIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_API_KEYS]
	Type *string `json:"type"`
}

CreateAPIKeysRequest create Api keys request

swagger:model CreateApiKeysRequest

func (*CreateAPIKeysRequest) ContextValidate ¶

func (m *CreateAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api keys request based on the context it is used

func (*CreateAPIKeysRequest) MarshalBinary ¶

func (m *CreateAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysRequest) UnmarshalBinary ¶

func (m *CreateAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysRequest) Validate ¶

func (m *CreateAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this create Api keys request

type CreateAPIKeysResult ¶

type CreateAPIKeysResult struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`
}

CreateAPIKeysResult create Api keys result

swagger:model CreateApiKeysResult

func (*CreateAPIKeysResult) ContextValidate ¶

func (m *CreateAPIKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api keys result based on context it is used

func (*CreateAPIKeysResult) MarshalBinary ¶

func (m *CreateAPIKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysResult) UnmarshalBinary ¶

func (m *CreateAPIKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysResult) Validate ¶

func (m *CreateAPIKeysResult) Validate(formats strfmt.Registry) error

Validate validates this create Api keys result

type CreateAPIOnlyUsersIntent ¶

type CreateAPIOnlyUsersIntent struct {

	// A list of API-only Users to create.
	// Required: true
	APIOnlyUsers []*APIOnlyUserParams `json:"apiOnlyUsers"`
}

CreateAPIOnlyUsersIntent create Api only users intent

swagger:model CreateApiOnlyUsersIntent

func (*CreateAPIOnlyUsersIntent) ContextValidate ¶

func (m *CreateAPIOnlyUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api only users intent based on the context it is used

func (*CreateAPIOnlyUsersIntent) MarshalBinary ¶

func (m *CreateAPIOnlyUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIOnlyUsersIntent) UnmarshalBinary ¶

func (m *CreateAPIOnlyUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIOnlyUsersIntent) Validate ¶

func (m *CreateAPIOnlyUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this create Api only users intent

type CreateAPIOnlyUsersResult ¶

type CreateAPIOnlyUsersResult struct {

	// A list of API-only User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

CreateAPIOnlyUsersResult create Api only users result

swagger:model CreateApiOnlyUsersResult

func (*CreateAPIOnlyUsersResult) ContextValidate ¶

func (m *CreateAPIOnlyUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api only users result based on context it is used

func (*CreateAPIOnlyUsersResult) MarshalBinary ¶

func (m *CreateAPIOnlyUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIOnlyUsersResult) UnmarshalBinary ¶

func (m *CreateAPIOnlyUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIOnlyUsersResult) Validate ¶

func (m *CreateAPIOnlyUsersResult) Validate(formats strfmt.Registry) error

Validate validates this create Api only users result

type CreateAuthenticatorsIntent ¶

type CreateAuthenticatorsIntent struct {

	// A list of Authenticators.
	// Required: true
	Authenticators []*AuthenticatorParams `json:"authenticators"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAuthenticatorsIntent create authenticators intent

swagger:model CreateAuthenticatorsIntent

func (*CreateAuthenticatorsIntent) ContextValidate ¶

func (m *CreateAuthenticatorsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators intent based on the context it is used

func (*CreateAuthenticatorsIntent) MarshalBinary ¶

func (m *CreateAuthenticatorsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsIntent) UnmarshalBinary ¶

func (m *CreateAuthenticatorsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsIntent) Validate ¶

func (m *CreateAuthenticatorsIntent) Validate(formats strfmt.Registry) error

Validate validates this create authenticators intent

type CreateAuthenticatorsIntentV2 ¶

type CreateAuthenticatorsIntentV2 struct {

	// A list of Authenticators.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAuthenticatorsIntentV2 create authenticators intent v2

swagger:model CreateAuthenticatorsIntentV2

func (*CreateAuthenticatorsIntentV2) ContextValidate ¶

func (m *CreateAuthenticatorsIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators intent v2 based on the context it is used

func (*CreateAuthenticatorsIntentV2) MarshalBinary ¶

func (m *CreateAuthenticatorsIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsIntentV2) UnmarshalBinary ¶

func (m *CreateAuthenticatorsIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsIntentV2) Validate ¶

func (m *CreateAuthenticatorsIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create authenticators intent v2

type CreateAuthenticatorsRequest ¶

type CreateAuthenticatorsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateAuthenticatorsIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2]
	Type *string `json:"type"`
}

CreateAuthenticatorsRequest create authenticators request

swagger:model CreateAuthenticatorsRequest

func (*CreateAuthenticatorsRequest) ContextValidate ¶

func (m *CreateAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators request based on the context it is used

func (*CreateAuthenticatorsRequest) MarshalBinary ¶

func (m *CreateAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsRequest) UnmarshalBinary ¶

func (m *CreateAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsRequest) Validate ¶

func (m *CreateAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this create authenticators request

type CreateAuthenticatorsResult ¶

type CreateAuthenticatorsResult struct {

	// A list of Authenticator IDs.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`
}

CreateAuthenticatorsResult create authenticators result

swagger:model CreateAuthenticatorsResult

func (*CreateAuthenticatorsResult) ContextValidate ¶

func (m *CreateAuthenticatorsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create authenticators result based on context it is used

func (*CreateAuthenticatorsResult) MarshalBinary ¶

func (m *CreateAuthenticatorsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsResult) UnmarshalBinary ¶

func (m *CreateAuthenticatorsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsResult) Validate ¶

func (m *CreateAuthenticatorsResult) Validate(formats strfmt.Registry) error

Validate validates this create authenticators result

type CreateInvitationsIntent ¶

type CreateInvitationsIntent struct {

	// A list of Invitations.
	// Required: true
	Invitations []*InvitationParams `json:"invitations"`
}

CreateInvitationsIntent create invitations intent

swagger:model CreateInvitationsIntent

func (*CreateInvitationsIntent) ContextValidate ¶

func (m *CreateInvitationsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create invitations intent based on the context it is used

func (*CreateInvitationsIntent) MarshalBinary ¶

func (m *CreateInvitationsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsIntent) UnmarshalBinary ¶

func (m *CreateInvitationsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsIntent) Validate ¶

func (m *CreateInvitationsIntent) Validate(formats strfmt.Registry) error

Validate validates this create invitations intent

type CreateInvitationsRequest ¶

type CreateInvitationsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateInvitationsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_INVITATIONS]
	Type *string `json:"type"`
}

CreateInvitationsRequest create invitations request

swagger:model CreateInvitationsRequest

func (*CreateInvitationsRequest) ContextValidate ¶

func (m *CreateInvitationsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create invitations request based on the context it is used

func (*CreateInvitationsRequest) MarshalBinary ¶

func (m *CreateInvitationsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsRequest) UnmarshalBinary ¶

func (m *CreateInvitationsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsRequest) Validate ¶

func (m *CreateInvitationsRequest) Validate(formats strfmt.Registry) error

Validate validates this create invitations request

type CreateInvitationsResult ¶

type CreateInvitationsResult struct {

	// A list of Invitation IDs
	// Required: true
	InvitationIds []string `json:"invitationIds"`
}

CreateInvitationsResult create invitations result

swagger:model CreateInvitationsResult

func (*CreateInvitationsResult) ContextValidate ¶

func (m *CreateInvitationsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create invitations result based on context it is used

func (*CreateInvitationsResult) MarshalBinary ¶

func (m *CreateInvitationsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsResult) UnmarshalBinary ¶

func (m *CreateInvitationsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsResult) Validate ¶

func (m *CreateInvitationsResult) Validate(formats strfmt.Registry) error

Validate validates this create invitations result

type CreateOrganizationIntent ¶

type CreateOrganizationIntent struct {

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// The root user's Authenticator.
	// Required: true
	RootAuthenticator *AuthenticatorParams `json:"rootAuthenticator"`

	// The root user's email address.
	// Required: true
	RootEmail *string `json:"rootEmail"`

	// Unique identifier for the root user object.
	RootUserID string `json:"rootUserId,omitempty"`
}

CreateOrganizationIntent create organization intent

swagger:model CreateOrganizationIntent

func (*CreateOrganizationIntent) ContextValidate ¶

func (m *CreateOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create organization intent based on the context it is used

func (*CreateOrganizationIntent) MarshalBinary ¶

func (m *CreateOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationIntent) UnmarshalBinary ¶

func (m *CreateOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationIntent) Validate ¶

func (m *CreateOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this create organization intent

type CreateOrganizationIntentV2 ¶

type CreateOrganizationIntentV2 struct {

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// The root user's Authenticator.
	// Required: true
	RootAuthenticator *AuthenticatorParamsV2 `json:"rootAuthenticator"`

	// The root user's email address.
	// Required: true
	RootEmail *string `json:"rootEmail"`

	// Unique identifier for the root user object.
	RootUserID string `json:"rootUserId,omitempty"`
}

CreateOrganizationIntentV2 create organization intent v2

swagger:model CreateOrganizationIntentV2

func (*CreateOrganizationIntentV2) ContextValidate ¶

func (m *CreateOrganizationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create organization intent v2 based on the context it is used

func (*CreateOrganizationIntentV2) MarshalBinary ¶

func (m *CreateOrganizationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationIntentV2) UnmarshalBinary ¶

func (m *CreateOrganizationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationIntentV2) Validate ¶

func (m *CreateOrganizationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create organization intent v2

type CreateOrganizationResult ¶

type CreateOrganizationResult struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

CreateOrganizationResult create organization result

swagger:model CreateOrganizationResult

func (*CreateOrganizationResult) ContextValidate ¶

func (m *CreateOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create organization result based on context it is used

func (*CreateOrganizationResult) MarshalBinary ¶

func (m *CreateOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationResult) UnmarshalBinary ¶

func (m *CreateOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationResult) Validate ¶

func (m *CreateOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this create organization result

type CreatePoliciesIntent ¶

type CreatePoliciesIntent struct {

	// An array of policy intents to be created.
	// Required: true
	Policies []*CreatePolicyIntentV3 `json:"policies"`
}

CreatePoliciesIntent create policies intent

swagger:model CreatePoliciesIntent

func (*CreatePoliciesIntent) ContextValidate ¶

func (m *CreatePoliciesIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policies intent based on the context it is used

func (*CreatePoliciesIntent) MarshalBinary ¶

func (m *CreatePoliciesIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesIntent) UnmarshalBinary ¶

func (m *CreatePoliciesIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesIntent) Validate ¶

func (m *CreatePoliciesIntent) Validate(formats strfmt.Registry) error

Validate validates this create policies intent

type CreatePoliciesRequest ¶

type CreatePoliciesRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePoliciesIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_POLICIES]
	Type *string `json:"type"`
}

CreatePoliciesRequest create policies request

swagger:model CreatePoliciesRequest

func (*CreatePoliciesRequest) ContextValidate ¶

func (m *CreatePoliciesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policies request based on the context it is used

func (*CreatePoliciesRequest) MarshalBinary ¶

func (m *CreatePoliciesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesRequest) UnmarshalBinary ¶

func (m *CreatePoliciesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesRequest) Validate ¶

func (m *CreatePoliciesRequest) Validate(formats strfmt.Registry) error

Validate validates this create policies request

type CreatePoliciesResult ¶

type CreatePoliciesResult struct {

	// A list of unique identifiers for the created policies.
	// Required: true
	PolicyIds []string `json:"policyIds"`
}

CreatePoliciesResult create policies result

swagger:model CreatePoliciesResult

func (*CreatePoliciesResult) ContextValidate ¶

func (m *CreatePoliciesResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create policies result based on context it is used

func (*CreatePoliciesResult) MarshalBinary ¶

func (m *CreatePoliciesResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesResult) UnmarshalBinary ¶

func (m *CreatePoliciesResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesResult) Validate ¶

func (m *CreatePoliciesResult) Validate(formats strfmt.Registry) error

Validate validates this create policies result

type CreatePolicyIntent ¶

type CreatePolicyIntent struct {

	// The instruction to DENY or ALLOW a particular activity following policy selector(s).
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details.
	// Required: true
	Selectors []*Selector `json:"selectors"`
}

CreatePolicyIntent create policy intent

swagger:model CreatePolicyIntent

func (*CreatePolicyIntent) ContextValidate ¶

func (m *CreatePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent based on the context it is used

func (*CreatePolicyIntent) MarshalBinary ¶

func (m *CreatePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntent) UnmarshalBinary ¶

func (m *CreatePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntent) Validate ¶

func (m *CreatePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this create policy intent

type CreatePolicyIntentV2 ¶

type CreatePolicyIntentV2 struct {

	// Whether to ALLOW or DENY requests that match the condition and consensus requirements.
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details.
	// Required: true
	Selectors []*SelectorV2 `json:"selectors"`
}

CreatePolicyIntentV2 create policy intent v2

swagger:model CreatePolicyIntentV2

func (*CreatePolicyIntentV2) ContextValidate ¶

func (m *CreatePolicyIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent v2 based on the context it is used

func (*CreatePolicyIntentV2) MarshalBinary ¶

func (m *CreatePolicyIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntentV2) UnmarshalBinary ¶

func (m *CreatePolicyIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntentV2) Validate ¶

func (m *CreatePolicyIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create policy intent v2

type CreatePolicyIntentV3 ¶

type CreatePolicyIntentV3 struct {

	// The condition expression that triggers the Effect
	Condition string `json:"condition,omitempty"`

	// The consensus expression that triggers the Effect
	Consensus string `json:"consensus,omitempty"`

	// The instruction to DENY or ALLOW an activity.
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`
}

CreatePolicyIntentV3 create policy intent v3

swagger:model CreatePolicyIntentV3

func (*CreatePolicyIntentV3) ContextValidate ¶

func (m *CreatePolicyIntentV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent v3 based on the context it is used

func (*CreatePolicyIntentV3) MarshalBinary ¶

func (m *CreatePolicyIntentV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntentV3) UnmarshalBinary ¶

func (m *CreatePolicyIntentV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntentV3) Validate ¶

func (m *CreatePolicyIntentV3) Validate(formats strfmt.Registry) error

Validate validates this create policy intent v3

type CreatePolicyRequest ¶

type CreatePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePolicyIntentV3 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_POLICY_V3]
	Type *string `json:"type"`
}

CreatePolicyRequest create policy request

swagger:model CreatePolicyRequest

func (*CreatePolicyRequest) ContextValidate ¶

func (m *CreatePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy request based on the context it is used

func (*CreatePolicyRequest) MarshalBinary ¶

func (m *CreatePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyRequest) UnmarshalBinary ¶

func (m *CreatePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyRequest) Validate ¶

func (m *CreatePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this create policy request

type CreatePolicyResult ¶

type CreatePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

CreatePolicyResult create policy result

swagger:model CreatePolicyResult

func (*CreatePolicyResult) ContextValidate ¶

func (m *CreatePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create policy result based on context it is used

func (*CreatePolicyResult) MarshalBinary ¶

func (m *CreatePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyResult) UnmarshalBinary ¶

func (m *CreatePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyResult) Validate ¶

func (m *CreatePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this create policy result

type CreatePrivateKeyTagIntent ¶

type CreatePrivateKeyTagIntent struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// Human-readable name for a Private Key Tag.
	// Required: true
	PrivateKeyTagName *string `json:"privateKeyTagName"`
}

CreatePrivateKeyTagIntent create private key tag intent

swagger:model CreatePrivateKeyTagIntent

func (*CreatePrivateKeyTagIntent) ContextValidate ¶

func (m *CreatePrivateKeyTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private key tag intent based on context it is used

func (*CreatePrivateKeyTagIntent) MarshalBinary ¶

func (m *CreatePrivateKeyTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagIntent) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagIntent) Validate ¶

func (m *CreatePrivateKeyTagIntent) Validate(formats strfmt.Registry) error

Validate validates this create private key tag intent

type CreatePrivateKeyTagRequest ¶

type CreatePrivateKeyTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePrivateKeyTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG]
	Type *string `json:"type"`
}

CreatePrivateKeyTagRequest create private key tag request

swagger:model CreatePrivateKeyTagRequest

func (*CreatePrivateKeyTagRequest) ContextValidate ¶

func (m *CreatePrivateKeyTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private key tag request based on the context it is used

func (*CreatePrivateKeyTagRequest) MarshalBinary ¶

func (m *CreatePrivateKeyTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagRequest) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagRequest) Validate ¶

func (m *CreatePrivateKeyTagRequest) Validate(formats strfmt.Registry) error

Validate validates this create private key tag request

type CreatePrivateKeyTagResult ¶

type CreatePrivateKeyTagResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`
}

CreatePrivateKeyTagResult create private key tag result

swagger:model CreatePrivateKeyTagResult

func (*CreatePrivateKeyTagResult) ContextValidate ¶

func (m *CreatePrivateKeyTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private key tag result based on context it is used

func (*CreatePrivateKeyTagResult) MarshalBinary ¶

func (m *CreatePrivateKeyTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagResult) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagResult) Validate ¶

func (m *CreatePrivateKeyTagResult) Validate(formats strfmt.Registry) error

Validate validates this create private key tag result

type CreatePrivateKeysIntent ¶

type CreatePrivateKeysIntent struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`
}

CreatePrivateKeysIntent create private keys intent

swagger:model CreatePrivateKeysIntent

func (*CreatePrivateKeysIntent) ContextValidate ¶

func (m *CreatePrivateKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys intent based on the context it is used

func (*CreatePrivateKeysIntent) MarshalBinary ¶

func (m *CreatePrivateKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysIntent) UnmarshalBinary ¶

func (m *CreatePrivateKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysIntent) Validate ¶

func (m *CreatePrivateKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this create private keys intent

type CreatePrivateKeysIntentV2 ¶

type CreatePrivateKeysIntentV2 struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`
}

CreatePrivateKeysIntentV2 create private keys intent v2

swagger:model CreatePrivateKeysIntentV2

func (*CreatePrivateKeysIntentV2) ContextValidate ¶

func (m *CreatePrivateKeysIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys intent v2 based on the context it is used

func (*CreatePrivateKeysIntentV2) MarshalBinary ¶

func (m *CreatePrivateKeysIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysIntentV2) UnmarshalBinary ¶

func (m *CreatePrivateKeysIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysIntentV2) Validate ¶

func (m *CreatePrivateKeysIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create private keys intent v2

type CreatePrivateKeysRequest ¶

type CreatePrivateKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePrivateKeysIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2]
	Type *string `json:"type"`
}

CreatePrivateKeysRequest create private keys request

swagger:model CreatePrivateKeysRequest

func (*CreatePrivateKeysRequest) ContextValidate ¶

func (m *CreatePrivateKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys request based on the context it is used

func (*CreatePrivateKeysRequest) MarshalBinary ¶

func (m *CreatePrivateKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysRequest) UnmarshalBinary ¶

func (m *CreatePrivateKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysRequest) Validate ¶

func (m *CreatePrivateKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this create private keys request

type CreatePrivateKeysResult ¶

type CreatePrivateKeysResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`
}

CreatePrivateKeysResult create private keys result

swagger:model CreatePrivateKeysResult

func (*CreatePrivateKeysResult) ContextValidate ¶

func (m *CreatePrivateKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private keys result based on context it is used

func (*CreatePrivateKeysResult) MarshalBinary ¶

func (m *CreatePrivateKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysResult) UnmarshalBinary ¶

func (m *CreatePrivateKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysResult) Validate ¶

func (m *CreatePrivateKeysResult) Validate(formats strfmt.Registry) error

Validate validates this create private keys result

type CreatePrivateKeysResultV2 ¶

type CreatePrivateKeysResultV2 struct {

	// A list of Private Key IDs and addresses.
	// Required: true
	PrivateKeys []*PrivateKeyResult `json:"privateKeys"`
}

CreatePrivateKeysResultV2 create private keys result v2

swagger:model CreatePrivateKeysResultV2

func (*CreatePrivateKeysResultV2) ContextValidate ¶

func (m *CreatePrivateKeysResultV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys result v2 based on the context it is used

func (*CreatePrivateKeysResultV2) MarshalBinary ¶

func (m *CreatePrivateKeysResultV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysResultV2) UnmarshalBinary ¶

func (m *CreatePrivateKeysResultV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysResultV2) Validate ¶

func (m *CreatePrivateKeysResultV2) Validate(formats strfmt.Registry) error

Validate validates this create private keys result v2

type CreateSubOrganizationIntent ¶

type CreateSubOrganizationIntent struct {

	// Name for this sub-organization
	// Required: true
	Name *string `json:"name"`

	// Root User authenticator for this new sub-organization
	// Required: true
	RootAuthenticator *AuthenticatorParamsV2 `json:"rootAuthenticator"`
}

CreateSubOrganizationIntent create sub organization intent

swagger:model CreateSubOrganizationIntent

func (*CreateSubOrganizationIntent) ContextValidate ¶

func (m *CreateSubOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent based on the context it is used

func (*CreateSubOrganizationIntent) MarshalBinary ¶

func (m *CreateSubOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntent) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntent) Validate ¶

func (m *CreateSubOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent

type CreateSubOrganizationIntentV2 ¶

type CreateSubOrganizationIntentV2 struct {

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`
}

CreateSubOrganizationIntentV2 create sub organization intent v2

swagger:model CreateSubOrganizationIntentV2

func (*CreateSubOrganizationIntentV2) ContextValidate ¶

func (m *CreateSubOrganizationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v2 based on the context it is used

func (*CreateSubOrganizationIntentV2) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV2) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV2) Validate ¶

func (m *CreateSubOrganizationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v2

type CreateSubOrganizationIntentV3 ¶

type CreateSubOrganizationIntentV3 struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`
}

CreateSubOrganizationIntentV3 create sub organization intent v3

swagger:model CreateSubOrganizationIntentV3

func (*CreateSubOrganizationIntentV3) ContextValidate ¶

func (m *CreateSubOrganizationIntentV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v3 based on the context it is used

func (*CreateSubOrganizationIntentV3) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV3) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV3) Validate ¶

func (m *CreateSubOrganizationIntentV3) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v3

type CreateSubOrganizationIntentV4 ¶

type CreateSubOrganizationIntentV4 struct {

	// Disable email auth for the sub-organization
	DisableEmailAuth bool `json:"disableEmailAuth,omitempty"`

	// Disable email recovery for the sub-organization
	DisableEmailRecovery bool `json:"disableEmailRecovery,omitempty"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`

	// The wallet to create for the sub-organization
	Wallet *WalletParams `json:"wallet,omitempty"`
}

CreateSubOrganizationIntentV4 create sub organization intent v4

swagger:model CreateSubOrganizationIntentV4

func (*CreateSubOrganizationIntentV4) ContextValidate ¶

func (m *CreateSubOrganizationIntentV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v4 based on the context it is used

func (*CreateSubOrganizationIntentV4) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV4) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV4) Validate ¶

func (m *CreateSubOrganizationIntentV4) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v4

type CreateSubOrganizationRequest ¶

type CreateSubOrganizationRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateSubOrganizationIntentV4 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4]
	Type *string `json:"type"`
}

CreateSubOrganizationRequest create sub organization request

swagger:model CreateSubOrganizationRequest

func (*CreateSubOrganizationRequest) ContextValidate ¶

func (m *CreateSubOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization request based on the context it is used

func (*CreateSubOrganizationRequest) MarshalBinary ¶

func (m *CreateSubOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationRequest) UnmarshalBinary ¶

func (m *CreateSubOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationRequest) Validate ¶

func (m *CreateSubOrganizationRequest) Validate(formats strfmt.Registry) error

Validate validates this create sub organization request

type CreateSubOrganizationResult ¶

type CreateSubOrganizationResult struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`
}

CreateSubOrganizationResult create sub organization result

swagger:model CreateSubOrganizationResult

func (*CreateSubOrganizationResult) ContextValidate ¶

func (m *CreateSubOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create sub organization result based on context it is used

func (*CreateSubOrganizationResult) MarshalBinary ¶

func (m *CreateSubOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResult) UnmarshalBinary ¶

func (m *CreateSubOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResult) Validate ¶

func (m *CreateSubOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result

type CreateSubOrganizationResultV3 ¶

type CreateSubOrganizationResultV3 struct {

	// A list of Private Key IDs and addresses.
	// Required: true
	PrivateKeys []*PrivateKeyResult `json:"privateKeys"`

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`
}

CreateSubOrganizationResultV3 create sub organization result v3

swagger:model CreateSubOrganizationResultV3

func (*CreateSubOrganizationResultV3) ContextValidate ¶

func (m *CreateSubOrganizationResultV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v3 based on the context it is used

func (*CreateSubOrganizationResultV3) MarshalBinary ¶

func (m *CreateSubOrganizationResultV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV3) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV3) Validate ¶

func (m *CreateSubOrganizationResultV3) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v3

type CreateSubOrganizationResultV4 ¶

type CreateSubOrganizationResultV4 struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`

	// wallet
	Wallet *WalletResult `json:"wallet,omitempty"`
}

CreateSubOrganizationResultV4 create sub organization result v4

swagger:model CreateSubOrganizationResultV4

func (*CreateSubOrganizationResultV4) ContextValidate ¶

func (m *CreateSubOrganizationResultV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v4 based on the context it is used

func (*CreateSubOrganizationResultV4) MarshalBinary ¶

func (m *CreateSubOrganizationResultV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV4) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV4) Validate ¶

func (m *CreateSubOrganizationResultV4) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v4

type CreateUserTagIntent ¶

type CreateUserTagIntent struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// Human-readable name for a User Tag.
	// Required: true
	UserTagName *string `json:"userTagName"`
}

CreateUserTagIntent create user tag intent

swagger:model CreateUserTagIntent

func (*CreateUserTagIntent) ContextValidate ¶

func (m *CreateUserTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user tag intent based on context it is used

func (*CreateUserTagIntent) MarshalBinary ¶

func (m *CreateUserTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagIntent) UnmarshalBinary ¶

func (m *CreateUserTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagIntent) Validate ¶

func (m *CreateUserTagIntent) Validate(formats strfmt.Registry) error

Validate validates this create user tag intent

type CreateUserTagRequest ¶

type CreateUserTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateUserTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_USER_TAG]
	Type *string `json:"type"`
}

CreateUserTagRequest create user tag request

swagger:model CreateUserTagRequest

func (*CreateUserTagRequest) ContextValidate ¶

func (m *CreateUserTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create user tag request based on the context it is used

func (*CreateUserTagRequest) MarshalBinary ¶

func (m *CreateUserTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagRequest) UnmarshalBinary ¶

func (m *CreateUserTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagRequest) Validate ¶

func (m *CreateUserTagRequest) Validate(formats strfmt.Registry) error

Validate validates this create user tag request

type CreateUserTagResult ¶

type CreateUserTagResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

CreateUserTagResult create user tag result

swagger:model CreateUserTagResult

func (*CreateUserTagResult) ContextValidate ¶

func (m *CreateUserTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user tag result based on context it is used

func (*CreateUserTagResult) MarshalBinary ¶

func (m *CreateUserTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagResult) UnmarshalBinary ¶

func (m *CreateUserTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagResult) Validate ¶

func (m *CreateUserTagResult) Validate(formats strfmt.Registry) error

Validate validates this create user tag result

type CreateUsersIntent ¶

type CreateUsersIntent struct {

	// A list of Users.
	// Required: true
	Users []*UserParams `json:"users"`
}

CreateUsersIntent create users intent

swagger:model CreateUsersIntent

func (*CreateUsersIntent) ContextValidate ¶

func (m *CreateUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users intent based on the context it is used

func (*CreateUsersIntent) MarshalBinary ¶

func (m *CreateUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersIntent) UnmarshalBinary ¶

func (m *CreateUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersIntent) Validate ¶

func (m *CreateUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this create users intent

type CreateUsersIntentV2 ¶

type CreateUsersIntentV2 struct {

	// A list of Users.
	// Required: true
	Users []*UserParamsV2 `json:"users"`
}

CreateUsersIntentV2 create users intent v2

swagger:model CreateUsersIntentV2

func (*CreateUsersIntentV2) ContextValidate ¶

func (m *CreateUsersIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users intent v2 based on the context it is used

func (*CreateUsersIntentV2) MarshalBinary ¶

func (m *CreateUsersIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersIntentV2) UnmarshalBinary ¶

func (m *CreateUsersIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersIntentV2) Validate ¶

func (m *CreateUsersIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create users intent v2

type CreateUsersRequest ¶

type CreateUsersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateUsersIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_USERS_V2]
	Type *string `json:"type"`
}

CreateUsersRequest create users request

swagger:model CreateUsersRequest

func (*CreateUsersRequest) ContextValidate ¶

func (m *CreateUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users request based on the context it is used

func (*CreateUsersRequest) MarshalBinary ¶

func (m *CreateUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersRequest) UnmarshalBinary ¶

func (m *CreateUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersRequest) Validate ¶

func (m *CreateUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this create users request

type CreateUsersResult ¶

type CreateUsersResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

CreateUsersResult create users result

swagger:model CreateUsersResult

func (*CreateUsersResult) ContextValidate ¶

func (m *CreateUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create users result based on context it is used

func (*CreateUsersResult) MarshalBinary ¶

func (m *CreateUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersResult) UnmarshalBinary ¶

func (m *CreateUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersResult) Validate ¶

func (m *CreateUsersResult) Validate(formats strfmt.Registry) error

Validate validates this create users result

type CreateWalletAccountsIntent ¶

type CreateWalletAccountsIntent struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

CreateWalletAccountsIntent create wallet accounts intent

swagger:model CreateWalletAccountsIntent

func (*CreateWalletAccountsIntent) ContextValidate ¶

func (m *CreateWalletAccountsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet accounts intent based on the context it is used

func (*CreateWalletAccountsIntent) MarshalBinary ¶

func (m *CreateWalletAccountsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsIntent) UnmarshalBinary ¶

func (m *CreateWalletAccountsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsIntent) Validate ¶

func (m *CreateWalletAccountsIntent) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts intent

type CreateWalletAccountsRequest ¶

type CreateWalletAccountsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateWalletAccountsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS]
	Type *string `json:"type"`
}

CreateWalletAccountsRequest create wallet accounts request

swagger:model CreateWalletAccountsRequest

func (*CreateWalletAccountsRequest) ContextValidate ¶

func (m *CreateWalletAccountsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet accounts request based on the context it is used

func (*CreateWalletAccountsRequest) MarshalBinary ¶

func (m *CreateWalletAccountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsRequest) UnmarshalBinary ¶

func (m *CreateWalletAccountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsRequest) Validate ¶

func (m *CreateWalletAccountsRequest) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts request

type CreateWalletAccountsResult ¶

type CreateWalletAccountsResult struct {

	// A list of derived addresses.
	// Required: true
	Addresses []string `json:"addresses"`
}

CreateWalletAccountsResult create wallet accounts result

swagger:model CreateWalletAccountsResult

func (*CreateWalletAccountsResult) ContextValidate ¶

func (m *CreateWalletAccountsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create wallet accounts result based on context it is used

func (*CreateWalletAccountsResult) MarshalBinary ¶

func (m *CreateWalletAccountsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsResult) UnmarshalBinary ¶

func (m *CreateWalletAccountsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsResult) Validate ¶

func (m *CreateWalletAccountsResult) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts result

type CreateWalletIntent ¶

type CreateWalletIntent struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
	MnemonicLength int32 `json:"mnemonicLength,omitempty"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

CreateWalletIntent create wallet intent

swagger:model CreateWalletIntent

func (*CreateWalletIntent) ContextValidate ¶

func (m *CreateWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet intent based on the context it is used

func (*CreateWalletIntent) MarshalBinary ¶

func (m *CreateWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletIntent) UnmarshalBinary ¶

func (m *CreateWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletIntent) Validate ¶

func (m *CreateWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this create wallet intent

type CreateWalletRequest ¶

type CreateWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_WALLET]
	Type *string `json:"type"`
}

CreateWalletRequest create wallet request

swagger:model CreateWalletRequest

func (*CreateWalletRequest) ContextValidate ¶

func (m *CreateWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet request based on the context it is used

func (*CreateWalletRequest) MarshalBinary ¶

func (m *CreateWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletRequest) UnmarshalBinary ¶

func (m *CreateWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletRequest) Validate ¶

func (m *CreateWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this create wallet request

type CreateWalletResult ¶

type CreateWalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// Unique identifier for a Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

CreateWalletResult create wallet result

swagger:model CreateWalletResult

func (*CreateWalletResult) ContextValidate ¶

func (m *CreateWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create wallet result based on context it is used

func (*CreateWalletResult) MarshalBinary ¶

func (m *CreateWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletResult) UnmarshalBinary ¶

func (m *CreateWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletResult) Validate ¶

func (m *CreateWalletResult) Validate(formats strfmt.Registry) error

Validate validates this create wallet result

type CredPropsAuthenticationExtensionsClientOutputs ¶

type CredPropsAuthenticationExtensionsClientOutputs struct {

	// rk
	// Required: true
	Rk *bool `json:"rk"`
}

CredPropsAuthenticationExtensionsClientOutputs cred props authentication extensions client outputs

swagger:model CredPropsAuthenticationExtensionsClientOutputs

func (*CredPropsAuthenticationExtensionsClientOutputs) ContextValidate ¶

ContextValidate validates this cred props authentication extensions client outputs based on context it is used

func (*CredPropsAuthenticationExtensionsClientOutputs) MarshalBinary ¶

MarshalBinary interface implementation

func (*CredPropsAuthenticationExtensionsClientOutputs) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CredPropsAuthenticationExtensionsClientOutputs) Validate ¶

Validate validates this cred props authentication extensions client outputs

type CredentialType ¶

type CredentialType string

CredentialType credential type

swagger:model CredentialType

const (

	// CredentialTypeWebauthnAuthenticator captures enum value "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
	CredentialTypeWebauthnAuthenticator CredentialType = "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"

	// CredentialTypeAPIKeyP256 captures enum value "CREDENTIAL_TYPE_API_KEY_P256"
	CredentialTypeAPIKeyP256 CredentialType = "CREDENTIAL_TYPE_API_KEY_P256"

	// CredentialTypeRecoverUserKeyP256 captures enum value "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256"
	CredentialTypeRecoverUserKeyP256 CredentialType = "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256"
)

func NewCredentialType ¶

func NewCredentialType(value CredentialType) *CredentialType

func (CredentialType) ContextValidate ¶

func (m CredentialType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credential type based on context it is used

func (CredentialType) Pointer ¶

func (m CredentialType) Pointer() *CredentialType

Pointer returns a pointer to a freshly-allocated CredentialType.

func (CredentialType) Validate ¶

func (m CredentialType) Validate(formats strfmt.Registry) error

Validate validates this credential type

type Curve ¶

type Curve string

Curve curve

swagger:model Curve

const (

	// CurveSecp256k1 captures enum value "CURVE_SECP256K1"
	CurveSecp256k1 Curve = "CURVE_SECP256K1"

	// CurveEd25519 captures enum value "CURVE_ED25519"
	CurveEd25519 Curve = "CURVE_ED25519"
)

func NewCurve ¶

func NewCurve(value Curve) *Curve

func (Curve) ContextValidate ¶

func (m Curve) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this curve based on context it is used

func (Curve) Pointer ¶

func (m Curve) Pointer() *Curve

Pointer returns a pointer to a freshly-allocated Curve.

func (Curve) Validate ¶

func (m Curve) Validate(formats strfmt.Registry) error

Validate validates this curve

type DataV1Address ¶

type DataV1Address struct {

	// address
	Address string `json:"address,omitempty"`

	// format
	Format AddressFormat `json:"format,omitempty"`
}

DataV1Address data v1 address

swagger:model data.v1.Address

func (*DataV1Address) ContextValidate ¶

func (m *DataV1Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data v1 address based on the context it is used

func (*DataV1Address) MarshalBinary ¶

func (m *DataV1Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataV1Address) UnmarshalBinary ¶

func (m *DataV1Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataV1Address) Validate ¶

func (m *DataV1Address) Validate(formats strfmt.Registry) error

Validate validates this data v1 address

type DeleteAPIKeysIntent ¶

type DeleteAPIKeysIntent struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

DeleteAPIKeysIntent delete Api keys intent

swagger:model DeleteApiKeysIntent

func (*DeleteAPIKeysIntent) ContextValidate ¶

func (m *DeleteAPIKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api keys intent based on context it is used

func (*DeleteAPIKeysIntent) MarshalBinary ¶

func (m *DeleteAPIKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysIntent) UnmarshalBinary ¶

func (m *DeleteAPIKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysIntent) Validate ¶

func (m *DeleteAPIKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys intent

type DeleteAPIKeysRequest ¶

type DeleteAPIKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteAPIKeysIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_API_KEYS]
	Type *string `json:"type"`
}

DeleteAPIKeysRequest delete Api keys request

swagger:model DeleteApiKeysRequest

func (*DeleteAPIKeysRequest) ContextValidate ¶

func (m *DeleteAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete Api keys request based on the context it is used

func (*DeleteAPIKeysRequest) MarshalBinary ¶

func (m *DeleteAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysRequest) UnmarshalBinary ¶

func (m *DeleteAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysRequest) Validate ¶

func (m *DeleteAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys request

type DeleteAPIKeysResult ¶

type DeleteAPIKeysResult struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`
}

DeleteAPIKeysResult delete Api keys result

swagger:model DeleteApiKeysResult

func (*DeleteAPIKeysResult) ContextValidate ¶

func (m *DeleteAPIKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api keys result based on context it is used

func (*DeleteAPIKeysResult) MarshalBinary ¶

func (m *DeleteAPIKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysResult) UnmarshalBinary ¶

func (m *DeleteAPIKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysResult) Validate ¶

func (m *DeleteAPIKeysResult) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys result

type DeleteAuthenticatorsIntent ¶

type DeleteAuthenticatorsIntent struct {

	// A list of Authenticator IDs.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

DeleteAuthenticatorsIntent delete authenticators intent

swagger:model DeleteAuthenticatorsIntent

func (*DeleteAuthenticatorsIntent) ContextValidate ¶

func (m *DeleteAuthenticatorsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete authenticators intent based on context it is used

func (*DeleteAuthenticatorsIntent) MarshalBinary ¶

func (m *DeleteAuthenticatorsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsIntent) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsIntent) Validate ¶

func (m *DeleteAuthenticatorsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators intent

type DeleteAuthenticatorsRequest ¶

type DeleteAuthenticatorsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteAuthenticatorsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_AUTHENTICATORS]
	Type *string `json:"type"`
}

DeleteAuthenticatorsRequest delete authenticators request

swagger:model DeleteAuthenticatorsRequest

func (*DeleteAuthenticatorsRequest) ContextValidate ¶

func (m *DeleteAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete authenticators request based on the context it is used

func (*DeleteAuthenticatorsRequest) MarshalBinary ¶

func (m *DeleteAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsRequest) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsRequest) Validate ¶

func (m *DeleteAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators request

type DeleteAuthenticatorsResult ¶

type DeleteAuthenticatorsResult struct {

	// Unique identifier for a given Authenticator.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`
}

DeleteAuthenticatorsResult delete authenticators result

swagger:model DeleteAuthenticatorsResult

func (*DeleteAuthenticatorsResult) ContextValidate ¶

func (m *DeleteAuthenticatorsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete authenticators result based on context it is used

func (*DeleteAuthenticatorsResult) MarshalBinary ¶

func (m *DeleteAuthenticatorsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsResult) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsResult) Validate ¶

func (m *DeleteAuthenticatorsResult) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators result

type DeleteInvitationIntent ¶

type DeleteInvitationIntent struct {

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`
}

DeleteInvitationIntent delete invitation intent

swagger:model DeleteInvitationIntent

func (*DeleteInvitationIntent) ContextValidate ¶

func (m *DeleteInvitationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete invitation intent based on context it is used

func (*DeleteInvitationIntent) MarshalBinary ¶

func (m *DeleteInvitationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationIntent) UnmarshalBinary ¶

func (m *DeleteInvitationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationIntent) Validate ¶

func (m *DeleteInvitationIntent) Validate(formats strfmt.Registry) error

Validate validates this delete invitation intent

type DeleteInvitationRequest ¶

type DeleteInvitationRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteInvitationIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_INVITATION]
	Type *string `json:"type"`
}

DeleteInvitationRequest delete invitation request

swagger:model DeleteInvitationRequest

func (*DeleteInvitationRequest) ContextValidate ¶

func (m *DeleteInvitationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete invitation request based on the context it is used

func (*DeleteInvitationRequest) MarshalBinary ¶

func (m *DeleteInvitationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationRequest) UnmarshalBinary ¶

func (m *DeleteInvitationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationRequest) Validate ¶

func (m *DeleteInvitationRequest) Validate(formats strfmt.Registry) error

Validate validates this delete invitation request

type DeleteInvitationResult ¶

type DeleteInvitationResult struct {

	// Unique identifier for a given Invitation.
	// Required: true
	InvitationID *string `json:"invitationId"`
}

DeleteInvitationResult delete invitation result

swagger:model DeleteInvitationResult

func (*DeleteInvitationResult) ContextValidate ¶

func (m *DeleteInvitationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete invitation result based on context it is used

func (*DeleteInvitationResult) MarshalBinary ¶

func (m *DeleteInvitationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationResult) UnmarshalBinary ¶

func (m *DeleteInvitationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationResult) Validate ¶

func (m *DeleteInvitationResult) Validate(formats strfmt.Registry) error

Validate validates this delete invitation result

type DeleteOrganizationIntent ¶

type DeleteOrganizationIntent struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

DeleteOrganizationIntent delete organization intent

swagger:model DeleteOrganizationIntent

func (*DeleteOrganizationIntent) ContextValidate ¶

func (m *DeleteOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete organization intent based on context it is used

func (*DeleteOrganizationIntent) MarshalBinary ¶

func (m *DeleteOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrganizationIntent) UnmarshalBinary ¶

func (m *DeleteOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrganizationIntent) Validate ¶

func (m *DeleteOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this delete organization intent

type DeleteOrganizationResult ¶

type DeleteOrganizationResult struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

DeleteOrganizationResult delete organization result

swagger:model DeleteOrganizationResult

func (*DeleteOrganizationResult) ContextValidate ¶

func (m *DeleteOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete organization result based on context it is used

func (*DeleteOrganizationResult) MarshalBinary ¶

func (m *DeleteOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrganizationResult) UnmarshalBinary ¶

func (m *DeleteOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrganizationResult) Validate ¶

func (m *DeleteOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this delete organization result

type DeletePaymentMethodIntent ¶

type DeletePaymentMethodIntent struct {

	// The payment method that the customer wants to remove.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

DeletePaymentMethodIntent delete payment method intent

swagger:model DeletePaymentMethodIntent

func (*DeletePaymentMethodIntent) ContextValidate ¶

func (m *DeletePaymentMethodIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete payment method intent based on context it is used

func (*DeletePaymentMethodIntent) MarshalBinary ¶

func (m *DeletePaymentMethodIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePaymentMethodIntent) UnmarshalBinary ¶

func (m *DeletePaymentMethodIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePaymentMethodIntent) Validate ¶

func (m *DeletePaymentMethodIntent) Validate(formats strfmt.Registry) error

Validate validates this delete payment method intent

type DeletePaymentMethodResult ¶

type DeletePaymentMethodResult struct {

	// The payment method that was removed.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

DeletePaymentMethodResult delete payment method result

swagger:model DeletePaymentMethodResult

func (*DeletePaymentMethodResult) ContextValidate ¶

func (m *DeletePaymentMethodResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete payment method result based on context it is used

func (*DeletePaymentMethodResult) MarshalBinary ¶

func (m *DeletePaymentMethodResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePaymentMethodResult) UnmarshalBinary ¶

func (m *DeletePaymentMethodResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePaymentMethodResult) Validate ¶

func (m *DeletePaymentMethodResult) Validate(formats strfmt.Registry) error

Validate validates this delete payment method result

type DeletePolicyIntent ¶

type DeletePolicyIntent struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

DeletePolicyIntent delete policy intent

swagger:model DeletePolicyIntent

func (*DeletePolicyIntent) ContextValidate ¶

func (m *DeletePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policy intent based on context it is used

func (*DeletePolicyIntent) MarshalBinary ¶

func (m *DeletePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyIntent) UnmarshalBinary ¶

func (m *DeletePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyIntent) Validate ¶

func (m *DeletePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this delete policy intent

type DeletePolicyRequest ¶

type DeletePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePolicyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_POLICY]
	Type *string `json:"type"`
}

DeletePolicyRequest delete policy request

swagger:model DeletePolicyRequest

func (*DeletePolicyRequest) ContextValidate ¶

func (m *DeletePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete policy request based on the context it is used

func (*DeletePolicyRequest) MarshalBinary ¶

func (m *DeletePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyRequest) UnmarshalBinary ¶

func (m *DeletePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyRequest) Validate ¶

func (m *DeletePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this delete policy request

type DeletePolicyResult ¶

type DeletePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

DeletePolicyResult delete policy result

swagger:model DeletePolicyResult

func (*DeletePolicyResult) ContextValidate ¶

func (m *DeletePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policy result based on context it is used

func (*DeletePolicyResult) MarshalBinary ¶

func (m *DeletePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyResult) UnmarshalBinary ¶

func (m *DeletePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyResult) Validate ¶

func (m *DeletePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this delete policy result

type DeletePrivateKeyTagsIntent ¶

type DeletePrivateKeyTagsIntent struct {

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTagIds []string `json:"privateKeyTagIds"`
}

DeletePrivateKeyTagsIntent delete private key tags intent

swagger:model DeletePrivateKeyTagsIntent

func (*DeletePrivateKeyTagsIntent) ContextValidate ¶

func (m *DeletePrivateKeyTagsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private key tags intent based on context it is used

func (*DeletePrivateKeyTagsIntent) MarshalBinary ¶

func (m *DeletePrivateKeyTagsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsIntent) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsIntent) Validate ¶

func (m *DeletePrivateKeyTagsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags intent

type DeletePrivateKeyTagsRequest ¶

type DeletePrivateKeyTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePrivateKeyTagsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS]
	Type *string `json:"type"`
}

DeletePrivateKeyTagsRequest delete private key tags request

swagger:model DeletePrivateKeyTagsRequest

func (*DeletePrivateKeyTagsRequest) ContextValidate ¶

func (m *DeletePrivateKeyTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete private key tags request based on the context it is used

func (*DeletePrivateKeyTagsRequest) MarshalBinary ¶

func (m *DeletePrivateKeyTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsRequest) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsRequest) Validate ¶

func (m *DeletePrivateKeyTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags request

type DeletePrivateKeyTagsResult ¶

type DeletePrivateKeyTagsResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTagIds []string `json:"privateKeyTagIds"`
}

DeletePrivateKeyTagsResult delete private key tags result

swagger:model DeletePrivateKeyTagsResult

func (*DeletePrivateKeyTagsResult) ContextValidate ¶

func (m *DeletePrivateKeyTagsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private key tags result based on context it is used

func (*DeletePrivateKeyTagsResult) MarshalBinary ¶

func (m *DeletePrivateKeyTagsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsResult) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsResult) Validate ¶

func (m *DeletePrivateKeyTagsResult) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags result

type DeleteUserTagsIntent ¶

type DeleteUserTagsIntent struct {

	// A list of User Tag IDs.
	// Required: true
	UserTagIds []string `json:"userTagIds"`
}

DeleteUserTagsIntent delete user tags intent

swagger:model DeleteUserTagsIntent

func (*DeleteUserTagsIntent) ContextValidate ¶

func (m *DeleteUserTagsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete user tags intent based on context it is used

func (*DeleteUserTagsIntent) MarshalBinary ¶

func (m *DeleteUserTagsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsIntent) UnmarshalBinary ¶

func (m *DeleteUserTagsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsIntent) Validate ¶

func (m *DeleteUserTagsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete user tags intent

type DeleteUserTagsRequest ¶

type DeleteUserTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteUserTagsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_USER_TAGS]
	Type *string `json:"type"`
}

DeleteUserTagsRequest delete user tags request

swagger:model DeleteUserTagsRequest

func (*DeleteUserTagsRequest) ContextValidate ¶

func (m *DeleteUserTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete user tags request based on the context it is used

func (*DeleteUserTagsRequest) MarshalBinary ¶

func (m *DeleteUserTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsRequest) UnmarshalBinary ¶

func (m *DeleteUserTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsRequest) Validate ¶

func (m *DeleteUserTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete user tags request

type DeleteUserTagsResult ¶

type DeleteUserTagsResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// A list of User Tag IDs.
	// Required: true
	UserTagIds []string `json:"userTagIds"`
}

DeleteUserTagsResult delete user tags result

swagger:model DeleteUserTagsResult

func (*DeleteUserTagsResult) ContextValidate ¶

func (m *DeleteUserTagsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete user tags result based on context it is used

func (*DeleteUserTagsResult) MarshalBinary ¶

func (m *DeleteUserTagsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsResult) UnmarshalBinary ¶

func (m *DeleteUserTagsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsResult) Validate ¶

func (m *DeleteUserTagsResult) Validate(formats strfmt.Registry) error

Validate validates this delete user tags result

type DeleteUsersIntent ¶

type DeleteUsersIntent struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

DeleteUsersIntent delete users intent

swagger:model DeleteUsersIntent

func (*DeleteUsersIntent) ContextValidate ¶

func (m *DeleteUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete users intent based on context it is used

func (*DeleteUsersIntent) MarshalBinary ¶

func (m *DeleteUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersIntent) UnmarshalBinary ¶

func (m *DeleteUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersIntent) Validate ¶

func (m *DeleteUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this delete users intent

type DeleteUsersRequest ¶

type DeleteUsersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteUsersIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_USERS]
	Type *string `json:"type"`
}

DeleteUsersRequest delete users request

swagger:model DeleteUsersRequest

func (*DeleteUsersRequest) ContextValidate ¶

func (m *DeleteUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete users request based on the context it is used

func (*DeleteUsersRequest) MarshalBinary ¶

func (m *DeleteUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersRequest) UnmarshalBinary ¶

func (m *DeleteUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersRequest) Validate ¶

func (m *DeleteUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this delete users request

type DeleteUsersResult ¶

type DeleteUsersResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

DeleteUsersResult delete users result

swagger:model DeleteUsersResult

func (*DeleteUsersResult) ContextValidate ¶

func (m *DeleteUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete users result based on context it is used

func (*DeleteUsersResult) MarshalBinary ¶

func (m *DeleteUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersResult) UnmarshalBinary ¶

func (m *DeleteUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersResult) Validate ¶

func (m *DeleteUsersResult) Validate(formats strfmt.Registry) error

Validate validates this delete users result

type DisablePrivateKeyIntent ¶

type DisablePrivateKeyIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

DisablePrivateKeyIntent disable private key intent

swagger:model DisablePrivateKeyIntent

func (*DisablePrivateKeyIntent) ContextValidate ¶

func (m *DisablePrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disable private key intent based on context it is used

func (*DisablePrivateKeyIntent) MarshalBinary ¶

func (m *DisablePrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisablePrivateKeyIntent) UnmarshalBinary ¶

func (m *DisablePrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisablePrivateKeyIntent) Validate ¶

func (m *DisablePrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this disable private key intent

type DisablePrivateKeyResult ¶

type DisablePrivateKeyResult struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

DisablePrivateKeyResult disable private key result

swagger:model DisablePrivateKeyResult

func (*DisablePrivateKeyResult) ContextValidate ¶

func (m *DisablePrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disable private key result based on context it is used

func (*DisablePrivateKeyResult) MarshalBinary ¶

func (m *DisablePrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisablePrivateKeyResult) UnmarshalBinary ¶

func (m *DisablePrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisablePrivateKeyResult) Validate ¶

func (m *DisablePrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this disable private key result

type Effect ¶

type Effect string

Effect effect

swagger:model Effect

const (

	// EffectAllow captures enum value "EFFECT_ALLOW"
	EffectAllow Effect = "EFFECT_ALLOW"

	// EffectDeny captures enum value "EFFECT_DENY"
	EffectDeny Effect = "EFFECT_DENY"
)

func NewEffect ¶

func NewEffect(value Effect) *Effect

func (Effect) ContextValidate ¶

func (m Effect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this effect based on context it is used

func (Effect) Pointer ¶

func (m Effect) Pointer() *Effect

Pointer returns a pointer to a freshly-allocated Effect.

func (Effect) Validate ¶

func (m Effect) Validate(formats strfmt.Registry) error

Validate validates this effect

type EmailAuthIntent ¶

type EmailAuthIntent struct {

	// Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp>
	APIKeyName string `json:"apiKeyName,omitempty"`

	// Email of the authenticating user.
	// Required: true
	Email *string `json:"email"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds string `json:"expirationSeconds,omitempty"`

	// Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

EmailAuthIntent email auth intent

swagger:model EmailAuthIntent

func (*EmailAuthIntent) ContextValidate ¶

func (m *EmailAuthIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email auth intent based on the context it is used

func (*EmailAuthIntent) MarshalBinary ¶

func (m *EmailAuthIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthIntent) UnmarshalBinary ¶

func (m *EmailAuthIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthIntent) Validate ¶

func (m *EmailAuthIntent) Validate(formats strfmt.Registry) error

Validate validates this email auth intent

type EmailAuthRequest ¶

type EmailAuthRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *EmailAuthIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EMAIL_AUTH]
	Type *string `json:"type"`
}

EmailAuthRequest email auth request

swagger:model EmailAuthRequest

func (*EmailAuthRequest) ContextValidate ¶

func (m *EmailAuthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email auth request based on the context it is used

func (*EmailAuthRequest) MarshalBinary ¶

func (m *EmailAuthRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthRequest) UnmarshalBinary ¶

func (m *EmailAuthRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthRequest) Validate ¶

func (m *EmailAuthRequest) Validate(formats strfmt.Registry) error

Validate validates this email auth request

type EmailAuthResult ¶

type EmailAuthResult struct {

	// Unique identifier for the created API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Unique identifier for the authenticating User.
	// Required: true
	UserID *string `json:"userId"`
}

EmailAuthResult email auth result

swagger:model EmailAuthResult

func (*EmailAuthResult) ContextValidate ¶

func (m *EmailAuthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this email auth result based on context it is used

func (*EmailAuthResult) MarshalBinary ¶

func (m *EmailAuthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthResult) UnmarshalBinary ¶

func (m *EmailAuthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthResult) Validate ¶

func (m *EmailAuthResult) Validate(formats strfmt.Registry) error

Validate validates this email auth result

type EmailCustomizationParams ¶

type EmailCustomizationParams struct {

	// The name of the application.
	AppName string `json:"appName,omitempty"`

	// A URL pointing to a logo in PNG format. Note this logo will be resized to fit into 340px x 124px.
	LogoURL string `json:"logoUrl,omitempty"`

	// A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`.
	MagicLinkTemplate string `json:"magicLinkTemplate,omitempty"`

	// Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template.
	TemplateID string `json:"templateId,omitempty"`

	// JSON object containing key/value pairs to be used with custom templates.
	TemplateVariables string `json:"templateVariables,omitempty"`
}

EmailCustomizationParams email customization params

swagger:model EmailCustomizationParams

func (*EmailCustomizationParams) ContextValidate ¶

func (m *EmailCustomizationParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this email customization params based on context it is used

func (*EmailCustomizationParams) MarshalBinary ¶

func (m *EmailCustomizationParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailCustomizationParams) UnmarshalBinary ¶

func (m *EmailCustomizationParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailCustomizationParams) Validate ¶

func (m *EmailCustomizationParams) Validate(formats strfmt.Registry) error

Validate validates this email customization params

type ExportPrivateKeyIntent ¶

type ExportPrivateKeyIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

ExportPrivateKeyIntent export private key intent

swagger:model ExportPrivateKeyIntent

func (*ExportPrivateKeyIntent) ContextValidate ¶

func (m *ExportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export private key intent based on context it is used

func (*ExportPrivateKeyIntent) MarshalBinary ¶

func (m *ExportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyIntent) UnmarshalBinary ¶

func (m *ExportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyIntent) Validate ¶

func (m *ExportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this export private key intent

type ExportPrivateKeyRequest ¶

type ExportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

ExportPrivateKeyRequest export private key request

swagger:model ExportPrivateKeyRequest

func (*ExportPrivateKeyRequest) ContextValidate ¶

func (m *ExportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export private key request based on the context it is used

func (*ExportPrivateKeyRequest) MarshalBinary ¶

func (m *ExportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyRequest) UnmarshalBinary ¶

func (m *ExportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyRequest) Validate ¶

func (m *ExportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this export private key request

type ExportPrivateKeyResult ¶

type ExportPrivateKeyResult struct {

	// Export bundle containing a private key encrypted to the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

ExportPrivateKeyResult export private key result

swagger:model ExportPrivateKeyResult

func (*ExportPrivateKeyResult) ContextValidate ¶

func (m *ExportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export private key result based on context it is used

func (*ExportPrivateKeyResult) MarshalBinary ¶

func (m *ExportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyResult) UnmarshalBinary ¶

func (m *ExportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyResult) Validate ¶

func (m *ExportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this export private key result

type ExportWalletAccountIntent ¶

type ExportWalletAccountIntent struct {

	// Address to identify Wallet Account.
	// Required: true
	Address *string `json:"address"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

ExportWalletAccountIntent export wallet account intent

swagger:model ExportWalletAccountIntent

func (*ExportWalletAccountIntent) ContextValidate ¶

func (m *ExportWalletAccountIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet account intent based on context it is used

func (*ExportWalletAccountIntent) MarshalBinary ¶

func (m *ExportWalletAccountIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountIntent) UnmarshalBinary ¶

func (m *ExportWalletAccountIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountIntent) Validate ¶

func (m *ExportWalletAccountIntent) Validate(formats strfmt.Registry) error

Validate validates this export wallet account intent

type ExportWalletAccountRequest ¶

type ExportWalletAccountRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportWalletAccountIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT]
	Type *string `json:"type"`
}

ExportWalletAccountRequest export wallet account request

swagger:model ExportWalletAccountRequest

func (*ExportWalletAccountRequest) ContextValidate ¶

func (m *ExportWalletAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet account request based on the context it is used

func (*ExportWalletAccountRequest) MarshalBinary ¶

func (m *ExportWalletAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountRequest) UnmarshalBinary ¶

func (m *ExportWalletAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountRequest) Validate ¶

func (m *ExportWalletAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this export wallet account request

type ExportWalletAccountResult ¶

type ExportWalletAccountResult struct {

	// Address to identify Wallet Account.
	// Required: true
	Address *string `json:"address"`

	// Export bundle containing a private key encrypted by the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`
}

ExportWalletAccountResult export wallet account result

swagger:model ExportWalletAccountResult

func (*ExportWalletAccountResult) ContextValidate ¶

func (m *ExportWalletAccountResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet account result based on context it is used

func (*ExportWalletAccountResult) MarshalBinary ¶

func (m *ExportWalletAccountResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountResult) UnmarshalBinary ¶

func (m *ExportWalletAccountResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountResult) Validate ¶

func (m *ExportWalletAccountResult) Validate(formats strfmt.Registry) error

Validate validates this export wallet account result

type ExportWalletIntent ¶

type ExportWalletIntent struct {

	// The language of the mnemonic to export. Defaults to English.
	Language MnemonicLanguage `json:"language,omitempty"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ExportWalletIntent export wallet intent

swagger:model ExportWalletIntent

func (*ExportWalletIntent) ContextValidate ¶

func (m *ExportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet intent based on the context it is used

func (*ExportWalletIntent) MarshalBinary ¶

func (m *ExportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletIntent) UnmarshalBinary ¶

func (m *ExportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletIntent) Validate ¶

func (m *ExportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this export wallet intent

type ExportWalletRequest ¶

type ExportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_WALLET]
	Type *string `json:"type"`
}

ExportWalletRequest export wallet request

swagger:model ExportWalletRequest

func (*ExportWalletRequest) ContextValidate ¶

func (m *ExportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet request based on the context it is used

func (*ExportWalletRequest) MarshalBinary ¶

func (m *ExportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletRequest) UnmarshalBinary ¶

func (m *ExportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletRequest) Validate ¶

func (m *ExportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this export wallet request

type ExportWalletResult ¶

type ExportWalletResult struct {

	// Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ExportWalletResult export wallet result

swagger:model ExportWalletResult

func (*ExportWalletResult) ContextValidate ¶

func (m *ExportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet result based on context it is used

func (*ExportWalletResult) MarshalBinary ¶

func (m *ExportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletResult) UnmarshalBinary ¶

func (m *ExportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletResult) Validate ¶

func (m *ExportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this export wallet result

type ExternalDataV1Credential ¶

type ExternalDataV1Credential struct {

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// type
	// Required: true
	Type *CredentialType `json:"type"`
}

ExternalDataV1Credential external data v1 credential

swagger:model external.data.v1.Credential

func (*ExternalDataV1Credential) ContextValidate ¶

func (m *ExternalDataV1Credential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external data v1 credential based on the context it is used

func (*ExternalDataV1Credential) MarshalBinary ¶

func (m *ExternalDataV1Credential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalDataV1Credential) UnmarshalBinary ¶

func (m *ExternalDataV1Credential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalDataV1Credential) Validate ¶

func (m *ExternalDataV1Credential) Validate(formats strfmt.Registry) error

Validate validates this external data v1 credential

type ExternalDataV1Timestamp ¶

type ExternalDataV1Timestamp struct {

	// nanos
	// Required: true
	Nanos *string `json:"nanos"`

	// seconds
	// Required: true
	Seconds *string `json:"seconds"`
}

ExternalDataV1Timestamp external data v1 timestamp

swagger:model external.data.v1.Timestamp

func (*ExternalDataV1Timestamp) ContextValidate ¶

func (m *ExternalDataV1Timestamp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external data v1 timestamp based on context it is used

func (*ExternalDataV1Timestamp) MarshalBinary ¶

func (m *ExternalDataV1Timestamp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalDataV1Timestamp) UnmarshalBinary ¶

func (m *ExternalDataV1Timestamp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalDataV1Timestamp) Validate ¶

func (m *ExternalDataV1Timestamp) Validate(formats strfmt.Registry) error

Validate validates this external data v1 timestamp

type Feature ¶

type Feature struct {

	// name
	Name FeatureName `json:"name,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

Feature feature

swagger:model Feature

func (*Feature) ContextValidate ¶

func (m *Feature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this feature based on the context it is used

func (*Feature) MarshalBinary ¶

func (m *Feature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Feature) UnmarshalBinary ¶

func (m *Feature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Feature) Validate ¶

func (m *Feature) Validate(formats strfmt.Registry) error

Validate validates this feature

type FeatureName ¶

type FeatureName string

FeatureName feature name

swagger:model FeatureName

const (

	// FeatureNameRootUserEmailRecovery captures enum value "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
	FeatureNameRootUserEmailRecovery FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"

	// FeatureNameWebauthnOrigins captures enum value "FEATURE_NAME_WEBAUTHN_ORIGINS"
	FeatureNameWebauthnOrigins FeatureName = "FEATURE_NAME_WEBAUTHN_ORIGINS"

	// FeatureNameEmailAuth captures enum value "FEATURE_NAME_EMAIL_AUTH"
	FeatureNameEmailAuth FeatureName = "FEATURE_NAME_EMAIL_AUTH"

	// FeatureNameEmailRecovery captures enum value "FEATURE_NAME_EMAIL_RECOVERY"
	FeatureNameEmailRecovery FeatureName = "FEATURE_NAME_EMAIL_RECOVERY"

	// FeatureNameWebhook captures enum value "FEATURE_NAME_WEBHOOK"
	FeatureNameWebhook FeatureName = "FEATURE_NAME_WEBHOOK"
)

func NewFeatureName ¶

func NewFeatureName(value FeatureName) *FeatureName

func (FeatureName) ContextValidate ¶

func (m FeatureName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this feature name based on context it is used

func (FeatureName) Pointer ¶

func (m FeatureName) Pointer() *FeatureName

Pointer returns a pointer to a freshly-allocated FeatureName.

func (FeatureName) Validate ¶

func (m FeatureName) Validate(formats strfmt.Registry) error

Validate validates this feature name

type GetAPIKeyRequest ¶

type GetAPIKeyRequest struct {

	// Unique identifier for a given API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetAPIKeyRequest get Api key request

swagger:model GetApiKeyRequest

func (*GetAPIKeyRequest) ContextValidate ¶

func (m *GetAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get Api key request based on context it is used

func (*GetAPIKeyRequest) MarshalBinary ¶

func (m *GetAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeyRequest) UnmarshalBinary ¶

func (m *GetAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeyRequest) Validate ¶

func (m *GetAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this get Api key request

type GetAPIKeyResponse ¶

type GetAPIKeyResponse struct {

	// An API key.
	// Required: true
	APIKey *APIKey `json:"apiKey"`
}

GetAPIKeyResponse get Api key response

swagger:model GetApiKeyResponse

func (*GetAPIKeyResponse) ContextValidate ¶

func (m *GetAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get Api key response based on the context it is used

func (*GetAPIKeyResponse) MarshalBinary ¶

func (m *GetAPIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeyResponse) UnmarshalBinary ¶

func (m *GetAPIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeyResponse) Validate ¶

func (m *GetAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this get Api key response

type GetAPIKeysRequest ¶

type GetAPIKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given User.
	UserID string `json:"userId,omitempty"`
}

GetAPIKeysRequest get Api keys request

swagger:model GetApiKeysRequest

func (*GetAPIKeysRequest) ContextValidate ¶

func (m *GetAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get Api keys request based on context it is used

func (*GetAPIKeysRequest) MarshalBinary ¶

func (m *GetAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeysRequest) UnmarshalBinary ¶

func (m *GetAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeysRequest) Validate ¶

func (m *GetAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this get Api keys request

type GetAPIKeysResponse ¶

type GetAPIKeysResponse struct {

	// A list of API keys.
	// Required: true
	APIKeys []*APIKey `json:"apiKeys"`
}

GetAPIKeysResponse get Api keys response

swagger:model GetApiKeysResponse

func (*GetAPIKeysResponse) ContextValidate ¶

func (m *GetAPIKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get Api keys response based on the context it is used

func (*GetAPIKeysResponse) MarshalBinary ¶

func (m *GetAPIKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeysResponse) UnmarshalBinary ¶

func (m *GetAPIKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeysResponse) Validate ¶

func (m *GetAPIKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this get Api keys response

type GetActivitiesRequest ¶

type GetActivitiesRequest struct {

	// Array of Activity Statuses filtering which Activities will be listed in the response.
	FilterByStatus []ActivityStatus `json:"filterByStatus"`

	// Array of Activity Types filtering which Activities will be listed in the response.
	FilterByType []ActivityType `json:"filterByType"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`
}

GetActivitiesRequest get activities request

swagger:model GetActivitiesRequest

func (*GetActivitiesRequest) ContextValidate ¶

func (m *GetActivitiesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get activities request based on the context it is used

func (*GetActivitiesRequest) MarshalBinary ¶

func (m *GetActivitiesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivitiesRequest) UnmarshalBinary ¶

func (m *GetActivitiesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivitiesRequest) Validate ¶

func (m *GetActivitiesRequest) Validate(formats strfmt.Registry) error

Validate validates this get activities request

type GetActivitiesResponse ¶

type GetActivitiesResponse struct {

	// A list of Activities.
	// Required: true
	Activities []*Activity `json:"activities"`
}

GetActivitiesResponse get activities response

swagger:model GetActivitiesResponse

func (*GetActivitiesResponse) ContextValidate ¶

func (m *GetActivitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get activities response based on the context it is used

func (*GetActivitiesResponse) MarshalBinary ¶

func (m *GetActivitiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivitiesResponse) UnmarshalBinary ¶

func (m *GetActivitiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivitiesResponse) Validate ¶

func (m *GetActivitiesResponse) Validate(formats strfmt.Registry) error

Validate validates this get activities response

type GetActivityRequest ¶

type GetActivityRequest struct {

	// Unique identifier for a given Activity object.
	// Required: true
	ActivityID *string `json:"activityId"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetActivityRequest get activity request

swagger:model GetActivityRequest

func (*GetActivityRequest) ContextValidate ¶

func (m *GetActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get activity request based on context it is used

func (*GetActivityRequest) MarshalBinary ¶

func (m *GetActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivityRequest) UnmarshalBinary ¶

func (m *GetActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivityRequest) Validate ¶

func (m *GetActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this get activity request

type GetAuthenticatorRequest ¶

type GetAuthenticatorRequest struct {

	// Unique identifier for a given Authenticator.
	// Required: true
	AuthenticatorID *string `json:"authenticatorId"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetAuthenticatorRequest get authenticator request

swagger:model GetAuthenticatorRequest

func (*GetAuthenticatorRequest) ContextValidate ¶

func (m *GetAuthenticatorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get authenticator request based on context it is used

func (*GetAuthenticatorRequest) MarshalBinary ¶

func (m *GetAuthenticatorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorRequest) UnmarshalBinary ¶

func (m *GetAuthenticatorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorRequest) Validate ¶

func (m *GetAuthenticatorRequest) Validate(formats strfmt.Registry) error

Validate validates this get authenticator request

type GetAuthenticatorResponse ¶

type GetAuthenticatorResponse struct {

	// An authenticator.
	// Required: true
	Authenticator *Authenticator `json:"authenticator"`
}

GetAuthenticatorResponse get authenticator response

swagger:model GetAuthenticatorResponse

func (*GetAuthenticatorResponse) ContextValidate ¶

func (m *GetAuthenticatorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get authenticator response based on the context it is used

func (*GetAuthenticatorResponse) MarshalBinary ¶

func (m *GetAuthenticatorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorResponse) UnmarshalBinary ¶

func (m *GetAuthenticatorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorResponse) Validate ¶

func (m *GetAuthenticatorResponse) Validate(formats strfmt.Registry) error

Validate validates this get authenticator response

type GetAuthenticatorsRequest ¶

type GetAuthenticatorsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

GetAuthenticatorsRequest get authenticators request

swagger:model GetAuthenticatorsRequest

func (*GetAuthenticatorsRequest) ContextValidate ¶

func (m *GetAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get authenticators request based on context it is used

func (*GetAuthenticatorsRequest) MarshalBinary ¶

func (m *GetAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorsRequest) UnmarshalBinary ¶

func (m *GetAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorsRequest) Validate ¶

func (m *GetAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this get authenticators request

type GetAuthenticatorsResponse ¶

type GetAuthenticatorsResponse struct {

	// A list of authenticators.
	// Required: true
	Authenticators []*Authenticator `json:"authenticators"`
}

GetAuthenticatorsResponse get authenticators response

swagger:model GetAuthenticatorsResponse

func (*GetAuthenticatorsResponse) ContextValidate ¶

func (m *GetAuthenticatorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get authenticators response based on the context it is used

func (*GetAuthenticatorsResponse) MarshalBinary ¶

func (m *GetAuthenticatorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorsResponse) UnmarshalBinary ¶

func (m *GetAuthenticatorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorsResponse) Validate ¶

func (m *GetAuthenticatorsResponse) Validate(formats strfmt.Registry) error

Validate validates this get authenticators response

type GetPoliciesRequest ¶

type GetPoliciesRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetPoliciesRequest get policies request

swagger:model GetPoliciesRequest

func (*GetPoliciesRequest) ContextValidate ¶

func (m *GetPoliciesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get policies request based on context it is used

func (*GetPoliciesRequest) MarshalBinary ¶

func (m *GetPoliciesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPoliciesRequest) UnmarshalBinary ¶

func (m *GetPoliciesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPoliciesRequest) Validate ¶

func (m *GetPoliciesRequest) Validate(formats strfmt.Registry) error

Validate validates this get policies request

type GetPoliciesResponse ¶

type GetPoliciesResponse struct {

	// A list of Policies.
	// Required: true
	Policies []*Policy `json:"policies"`
}

GetPoliciesResponse get policies response

swagger:model GetPoliciesResponse

func (*GetPoliciesResponse) ContextValidate ¶

func (m *GetPoliciesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get policies response based on the context it is used

func (*GetPoliciesResponse) MarshalBinary ¶

func (m *GetPoliciesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPoliciesResponse) UnmarshalBinary ¶

func (m *GetPoliciesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPoliciesResponse) Validate ¶

func (m *GetPoliciesResponse) Validate(formats strfmt.Registry) error

Validate validates this get policies response

type GetPolicyRequest ¶

type GetPolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

GetPolicyRequest get policy request

swagger:model GetPolicyRequest

func (*GetPolicyRequest) ContextValidate ¶

func (m *GetPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get policy request based on context it is used

func (*GetPolicyRequest) MarshalBinary ¶

func (m *GetPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyRequest) UnmarshalBinary ¶

func (m *GetPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyRequest) Validate ¶

func (m *GetPolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this get policy request

type GetPolicyResponse ¶

type GetPolicyResponse struct {

	// Object that codifies rules defining the actions that are permissible within an Organization.
	// Required: true
	Policy *Policy `json:"policy"`
}

GetPolicyResponse get policy response

swagger:model GetPolicyResponse

func (*GetPolicyResponse) ContextValidate ¶

func (m *GetPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get policy response based on the context it is used

func (*GetPolicyResponse) MarshalBinary ¶

func (m *GetPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyResponse) UnmarshalBinary ¶

func (m *GetPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyResponse) Validate ¶

func (m *GetPolicyResponse) Validate(formats strfmt.Registry) error

Validate validates this get policy response

type GetPrivateKeyRequest ¶

type GetPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

GetPrivateKeyRequest get private key request

swagger:model GetPrivateKeyRequest

func (*GetPrivateKeyRequest) ContextValidate ¶

func (m *GetPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get private key request based on context it is used

func (*GetPrivateKeyRequest) MarshalBinary ¶

func (m *GetPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeyRequest) UnmarshalBinary ¶

func (m *GetPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeyRequest) Validate ¶

func (m *GetPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this get private key request

type GetPrivateKeyResponse ¶

type GetPrivateKeyResponse struct {

	// Cryptographic public/private key pair that can be used for cryptocurrency needs or more generalized encryption.
	// Required: true
	PrivateKey *PrivateKey `json:"privateKey"`
}

GetPrivateKeyResponse get private key response

swagger:model GetPrivateKeyResponse

func (*GetPrivateKeyResponse) ContextValidate ¶

func (m *GetPrivateKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private key response based on the context it is used

func (*GetPrivateKeyResponse) MarshalBinary ¶

func (m *GetPrivateKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeyResponse) UnmarshalBinary ¶

func (m *GetPrivateKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeyResponse) Validate ¶

func (m *GetPrivateKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this get private key response

type GetPrivateKeysRequest ¶

type GetPrivateKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetPrivateKeysRequest get private keys request

swagger:model GetPrivateKeysRequest

func (*GetPrivateKeysRequest) ContextValidate ¶

func (m *GetPrivateKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get private keys request based on context it is used

func (*GetPrivateKeysRequest) MarshalBinary ¶

func (m *GetPrivateKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeysRequest) UnmarshalBinary ¶

func (m *GetPrivateKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeysRequest) Validate ¶

func (m *GetPrivateKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this get private keys request

type GetPrivateKeysResponse ¶

type GetPrivateKeysResponse struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKey `json:"privateKeys"`
}

GetPrivateKeysResponse get private keys response

swagger:model GetPrivateKeysResponse

func (*GetPrivateKeysResponse) ContextValidate ¶

func (m *GetPrivateKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private keys response based on the context it is used

func (*GetPrivateKeysResponse) MarshalBinary ¶

func (m *GetPrivateKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeysResponse) UnmarshalBinary ¶

func (m *GetPrivateKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeysResponse) Validate ¶

func (m *GetPrivateKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this get private keys response

type GetSubOrgIdsRequest ¶

type GetSubOrgIdsRequest struct {

	// Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL' or 'PUBLIC_KEY'
	FilterType string `json:"filterType,omitempty"`

	// The value of the filter to apply for the specified type. For example, a specific email or name string.
	FilterValue string `json:"filterValue,omitempty"`

	// Unique identifier for the parent Organization. This is used to find sub-organizations within it.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`
}

GetSubOrgIdsRequest get sub org ids request

swagger:model GetSubOrgIdsRequest

func (*GetSubOrgIdsRequest) ContextValidate ¶

func (m *GetSubOrgIdsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get sub org ids request based on the context it is used

func (*GetSubOrgIdsRequest) MarshalBinary ¶

func (m *GetSubOrgIdsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubOrgIdsRequest) UnmarshalBinary ¶

func (m *GetSubOrgIdsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubOrgIdsRequest) Validate ¶

func (m *GetSubOrgIdsRequest) Validate(formats strfmt.Registry) error

Validate validates this get sub org ids request

type GetSubOrgIdsResponse ¶

type GetSubOrgIdsResponse struct {

	// List of unique identifiers for the matching sub-organizations.
	// Required: true
	OrganizationIds []string `json:"organizationIds"`
}

GetSubOrgIdsResponse get sub org ids response

swagger:model GetSubOrgIdsResponse

func (*GetSubOrgIdsResponse) ContextValidate ¶

func (m *GetSubOrgIdsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get sub org ids response based on context it is used

func (*GetSubOrgIdsResponse) MarshalBinary ¶

func (m *GetSubOrgIdsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubOrgIdsResponse) UnmarshalBinary ¶

func (m *GetSubOrgIdsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubOrgIdsResponse) Validate ¶

func (m *GetSubOrgIdsResponse) Validate(formats strfmt.Registry) error

Validate validates this get sub org ids response

type GetUserRequest ¶

type GetUserRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

GetUserRequest get user request

swagger:model GetUserRequest

func (*GetUserRequest) ContextValidate ¶

func (m *GetUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get user request based on context it is used

func (*GetUserRequest) MarshalBinary ¶

func (m *GetUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserRequest) UnmarshalBinary ¶

func (m *GetUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserRequest) Validate ¶

func (m *GetUserRequest) Validate(formats strfmt.Registry) error

Validate validates this get user request

type GetUserResponse ¶

type GetUserResponse struct {

	// Web and/or API user within your Organization.
	// Required: true
	User *User `json:"user"`
}

GetUserResponse get user response

swagger:model GetUserResponse

func (*GetUserResponse) ContextValidate ¶

func (m *GetUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get user response based on the context it is used

func (*GetUserResponse) MarshalBinary ¶

func (m *GetUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserResponse) UnmarshalBinary ¶

func (m *GetUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserResponse) Validate ¶

func (m *GetUserResponse) Validate(formats strfmt.Registry) error

Validate validates this get user response

type GetUsersRequest ¶

type GetUsersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetUsersRequest get users request

swagger:model GetUsersRequest

func (*GetUsersRequest) ContextValidate ¶

func (m *GetUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get users request based on context it is used

func (*GetUsersRequest) MarshalBinary ¶

func (m *GetUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUsersRequest) UnmarshalBinary ¶

func (m *GetUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUsersRequest) Validate ¶

func (m *GetUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this get users request

type GetUsersResponse ¶

type GetUsersResponse struct {

	// A list of Users.
	// Required: true
	Users []*User `json:"users"`
}

GetUsersResponse get users response

swagger:model GetUsersResponse

func (*GetUsersResponse) ContextValidate ¶

func (m *GetUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get users response based on the context it is used

func (*GetUsersResponse) MarshalBinary ¶

func (m *GetUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUsersResponse) UnmarshalBinary ¶

func (m *GetUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUsersResponse) Validate ¶

func (m *GetUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this get users response

type GetWalletAccountsRequest ¶

type GetWalletAccountsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

GetWalletAccountsRequest get wallet accounts request

swagger:model GetWalletAccountsRequest

func (*GetWalletAccountsRequest) ContextValidate ¶

func (m *GetWalletAccountsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet accounts request based on the context it is used

func (*GetWalletAccountsRequest) MarshalBinary ¶

func (m *GetWalletAccountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountsRequest) UnmarshalBinary ¶

func (m *GetWalletAccountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountsRequest) Validate ¶

func (m *GetWalletAccountsRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallet accounts request

type GetWalletAccountsResponse ¶

type GetWalletAccountsResponse struct {

	// A list of Accounts generated from a Wallet that share a common seed
	// Required: true
	Accounts []*WalletAccount `json:"accounts"`
}

GetWalletAccountsResponse get wallet accounts response

swagger:model GetWalletAccountsResponse

func (*GetWalletAccountsResponse) ContextValidate ¶

func (m *GetWalletAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet accounts response based on the context it is used

func (*GetWalletAccountsResponse) MarshalBinary ¶

func (m *GetWalletAccountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountsResponse) UnmarshalBinary ¶

func (m *GetWalletAccountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountsResponse) Validate ¶

func (m *GetWalletAccountsResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallet accounts response

type GetWalletRequest ¶

type GetWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

GetWalletRequest get wallet request

swagger:model GetWalletRequest

func (*GetWalletRequest) ContextValidate ¶

func (m *GetWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get wallet request based on context it is used

func (*GetWalletRequest) MarshalBinary ¶

func (m *GetWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletRequest) UnmarshalBinary ¶

func (m *GetWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletRequest) Validate ¶

func (m *GetWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallet request

type GetWalletResponse ¶

type GetWalletResponse struct {

	// A collection of deterministically generated cryptographic public / private key pairs that share a common seed
	// Required: true
	Wallet *Wallet `json:"wallet"`
}

GetWalletResponse get wallet response

swagger:model GetWalletResponse

func (*GetWalletResponse) ContextValidate ¶

func (m *GetWalletResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet response based on the context it is used

func (*GetWalletResponse) MarshalBinary ¶

func (m *GetWalletResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletResponse) UnmarshalBinary ¶

func (m *GetWalletResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletResponse) Validate ¶

func (m *GetWalletResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallet response

type GetWalletsRequest ¶

type GetWalletsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetWalletsRequest get wallets request

swagger:model GetWalletsRequest

func (*GetWalletsRequest) ContextValidate ¶

func (m *GetWalletsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get wallets request based on context it is used

func (*GetWalletsRequest) MarshalBinary ¶

func (m *GetWalletsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletsRequest) UnmarshalBinary ¶

func (m *GetWalletsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletsRequest) Validate ¶

func (m *GetWalletsRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallets request

type GetWalletsResponse ¶

type GetWalletsResponse struct {

	// A list of Wallets.
	// Required: true
	Wallets []*Wallet `json:"wallets"`
}

GetWalletsResponse get wallets response

swagger:model GetWalletsResponse

func (*GetWalletsResponse) ContextValidate ¶

func (m *GetWalletsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallets response based on the context it is used

func (*GetWalletsResponse) MarshalBinary ¶

func (m *GetWalletsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletsResponse) UnmarshalBinary ¶

func (m *GetWalletsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletsResponse) Validate ¶

func (m *GetWalletsResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallets response

type GetWhoamiRequest ¶

type GetWhoamiRequest struct {

	// Unique identifier for a given Organization. If the request is being made by a WebAuthN user and their Sub-Organization ID is unknown, this can be the Parent Organization ID; using the Sub-Organization ID when possible is preferred due to performance reasons.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetWhoamiRequest get whoami request

swagger:model GetWhoamiRequest

func (*GetWhoamiRequest) ContextValidate ¶

func (m *GetWhoamiRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get whoami request based on context it is used

func (*GetWhoamiRequest) MarshalBinary ¶

func (m *GetWhoamiRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWhoamiRequest) UnmarshalBinary ¶

func (m *GetWhoamiRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWhoamiRequest) Validate ¶

func (m *GetWhoamiRequest) Validate(formats strfmt.Registry) error

Validate validates this get whoami request

type GetWhoamiResponse ¶

type GetWhoamiResponse struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	Username *string `json:"username"`
}

GetWhoamiResponse get whoami response

swagger:model GetWhoamiResponse

func (*GetWhoamiResponse) ContextValidate ¶

func (m *GetWhoamiResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get whoami response based on context it is used

func (*GetWhoamiResponse) MarshalBinary ¶

func (m *GetWhoamiResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWhoamiResponse) UnmarshalBinary ¶

func (m *GetWhoamiResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWhoamiResponse) Validate ¶

func (m *GetWhoamiResponse) Validate(formats strfmt.Registry) error

Validate validates this get whoami response

type HashFunction ¶

type HashFunction string

HashFunction hash function

swagger:model HashFunction

const (

	// HashFunctionNoOp captures enum value "HASH_FUNCTION_NO_OP"
	HashFunctionNoOp HashFunction = "HASH_FUNCTION_NO_OP"

	// HashFunctionSha256 captures enum value "HASH_FUNCTION_SHA256"
	HashFunctionSha256 HashFunction = "HASH_FUNCTION_SHA256"

	// HashFunctionKeccak256 captures enum value "HASH_FUNCTION_KECCAK256"
	HashFunctionKeccak256 HashFunction = "HASH_FUNCTION_KECCAK256"

	// HashFunctionNotApplicable captures enum value "HASH_FUNCTION_NOT_APPLICABLE"
	HashFunctionNotApplicable HashFunction = "HASH_FUNCTION_NOT_APPLICABLE"
)

func NewHashFunction ¶

func NewHashFunction(value HashFunction) *HashFunction

func (HashFunction) ContextValidate ¶

func (m HashFunction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hash function based on context it is used

func (HashFunction) Pointer ¶

func (m HashFunction) Pointer() *HashFunction

Pointer returns a pointer to a freshly-allocated HashFunction.

func (HashFunction) Validate ¶

func (m HashFunction) Validate(formats strfmt.Registry) error

Validate validates this hash function

type ImportPrivateKeyIntent ¶

type ImportPrivateKeyIntent struct {

	// Cryptocurrency-specific formats for a derived address (e.g., Ethereum).
	// Required: true
	AddressFormats []AddressFormat `json:"addressFormats"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// Bundle containing a raw private key encrypted to the enclave's target public key.
	// Required: true
	EncryptedBundle *string `json:"encryptedBundle"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// The ID of the User importing a Private Key.
	// Required: true
	UserID *string `json:"userId"`
}

ImportPrivateKeyIntent import private key intent

swagger:model ImportPrivateKeyIntent

func (*ImportPrivateKeyIntent) ContextValidate ¶

func (m *ImportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key intent based on the context it is used

func (*ImportPrivateKeyIntent) MarshalBinary ¶

func (m *ImportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyIntent) UnmarshalBinary ¶

func (m *ImportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyIntent) Validate ¶

func (m *ImportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this import private key intent

type ImportPrivateKeyRequest ¶

type ImportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ImportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_IMPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

ImportPrivateKeyRequest import private key request

swagger:model ImportPrivateKeyRequest

func (*ImportPrivateKeyRequest) ContextValidate ¶

func (m *ImportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key request based on the context it is used

func (*ImportPrivateKeyRequest) MarshalBinary ¶

func (m *ImportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyRequest) UnmarshalBinary ¶

func (m *ImportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyRequest) Validate ¶

func (m *ImportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this import private key request

type ImportPrivateKeyResult ¶

type ImportPrivateKeyResult struct {

	// A list of addresses.
	// Required: true
	Addresses []*ActivityV1Address `json:"addresses"`

	// Unique identifier for a Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

ImportPrivateKeyResult import private key result

swagger:model ImportPrivateKeyResult

func (*ImportPrivateKeyResult) ContextValidate ¶

func (m *ImportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key result based on the context it is used

func (*ImportPrivateKeyResult) MarshalBinary ¶

func (m *ImportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyResult) UnmarshalBinary ¶

func (m *ImportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyResult) Validate ¶

func (m *ImportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this import private key result

type ImportWalletIntent ¶

type ImportWalletIntent struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Bundle containing a wallet mnemonic encrypted to the enclave's target public key.
	// Required: true
	EncryptedBundle *string `json:"encryptedBundle"`

	// The ID of the User importing a Wallet.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

ImportWalletIntent import wallet intent

swagger:model ImportWalletIntent

func (*ImportWalletIntent) ContextValidate ¶

func (m *ImportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import wallet intent based on the context it is used

func (*ImportWalletIntent) MarshalBinary ¶

func (m *ImportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletIntent) UnmarshalBinary ¶

func (m *ImportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletIntent) Validate ¶

func (m *ImportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this import wallet intent

type ImportWalletRequest ¶

type ImportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ImportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_IMPORT_WALLET]
	Type *string `json:"type"`
}

ImportWalletRequest import wallet request

swagger:model ImportWalletRequest

func (*ImportWalletRequest) ContextValidate ¶

func (m *ImportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import wallet request based on the context it is used

func (*ImportWalletRequest) MarshalBinary ¶

func (m *ImportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletRequest) UnmarshalBinary ¶

func (m *ImportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletRequest) Validate ¶

func (m *ImportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this import wallet request

type ImportWalletResult ¶

type ImportWalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// Unique identifier for a Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ImportWalletResult import wallet result

swagger:model ImportWalletResult

func (*ImportWalletResult) ContextValidate ¶

func (m *ImportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this import wallet result based on context it is used

func (*ImportWalletResult) MarshalBinary ¶

func (m *ImportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletResult) UnmarshalBinary ¶

func (m *ImportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletResult) Validate ¶

func (m *ImportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this import wallet result

type InitImportPrivateKeyIntent ¶

type InitImportPrivateKeyIntent struct {

	// The ID of the User importing a Private Key.
	// Required: true
	UserID *string `json:"userId"`
}

InitImportPrivateKeyIntent init import private key intent

swagger:model InitImportPrivateKeyIntent

func (*InitImportPrivateKeyIntent) ContextValidate ¶

func (m *InitImportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import private key intent based on context it is used

func (*InitImportPrivateKeyIntent) MarshalBinary ¶

func (m *InitImportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyIntent) UnmarshalBinary ¶

func (m *InitImportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyIntent) Validate ¶

func (m *InitImportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this init import private key intent

type InitImportPrivateKeyRequest ¶

type InitImportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitImportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

InitImportPrivateKeyRequest init import private key request

swagger:model InitImportPrivateKeyRequest

func (*InitImportPrivateKeyRequest) ContextValidate ¶

func (m *InitImportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init import private key request based on the context it is used

func (*InitImportPrivateKeyRequest) MarshalBinary ¶

func (m *InitImportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyRequest) UnmarshalBinary ¶

func (m *InitImportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyRequest) Validate ¶

func (m *InitImportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this init import private key request

type InitImportPrivateKeyResult ¶

type InitImportPrivateKeyResult struct {

	// Import bundle containing a public key and signature to use for importing client data.
	// Required: true
	ImportBundle *string `json:"importBundle"`
}

InitImportPrivateKeyResult init import private key result

swagger:model InitImportPrivateKeyResult

func (*InitImportPrivateKeyResult) ContextValidate ¶

func (m *InitImportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import private key result based on context it is used

func (*InitImportPrivateKeyResult) MarshalBinary ¶

func (m *InitImportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyResult) UnmarshalBinary ¶

func (m *InitImportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyResult) Validate ¶

func (m *InitImportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this init import private key result

type InitImportWalletIntent ¶

type InitImportWalletIntent struct {

	// The ID of the User importing a Wallet.
	// Required: true
	UserID *string `json:"userId"`
}

InitImportWalletIntent init import wallet intent

swagger:model InitImportWalletIntent

func (*InitImportWalletIntent) ContextValidate ¶

func (m *InitImportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import wallet intent based on context it is used

func (*InitImportWalletIntent) MarshalBinary ¶

func (m *InitImportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletIntent) UnmarshalBinary ¶

func (m *InitImportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletIntent) Validate ¶

func (m *InitImportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this init import wallet intent

type InitImportWalletRequest ¶

type InitImportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitImportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_IMPORT_WALLET]
	Type *string `json:"type"`
}

InitImportWalletRequest init import wallet request

swagger:model InitImportWalletRequest

func (*InitImportWalletRequest) ContextValidate ¶

func (m *InitImportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init import wallet request based on the context it is used

func (*InitImportWalletRequest) MarshalBinary ¶

func (m *InitImportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletRequest) UnmarshalBinary ¶

func (m *InitImportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletRequest) Validate ¶

func (m *InitImportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this init import wallet request

type InitImportWalletResult ¶

type InitImportWalletResult struct {

	// Import bundle containing a public key and signature to use for importing client data.
	// Required: true
	ImportBundle *string `json:"importBundle"`
}

InitImportWalletResult init import wallet result

swagger:model InitImportWalletResult

func (*InitImportWalletResult) ContextValidate ¶

func (m *InitImportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import wallet result based on context it is used

func (*InitImportWalletResult) MarshalBinary ¶

func (m *InitImportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletResult) UnmarshalBinary ¶

func (m *InitImportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletResult) Validate ¶

func (m *InitImportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this init import wallet result

type InitUserEmailRecoveryIntent ¶

type InitUserEmailRecoveryIntent struct {

	// Email of the user starting recovery
	// Required: true
	Email *string `json:"email"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the recovery credential is valid. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds string `json:"expirationSeconds,omitempty"`

	// Client-side public key generated by the user, to which the recovery bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

InitUserEmailRecoveryIntent init user email recovery intent

swagger:model InitUserEmailRecoveryIntent

func (*InitUserEmailRecoveryIntent) ContextValidate ¶

func (m *InitUserEmailRecoveryIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init user email recovery intent based on the context it is used

func (*InitUserEmailRecoveryIntent) MarshalBinary ¶

func (m *InitUserEmailRecoveryIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryIntent) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryIntent) Validate ¶

func (m *InitUserEmailRecoveryIntent) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery intent

type InitUserEmailRecoveryRequest ¶

type InitUserEmailRecoveryRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitUserEmailRecoveryIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY]
	Type *string `json:"type"`
}

InitUserEmailRecoveryRequest init user email recovery request

swagger:model InitUserEmailRecoveryRequest

func (*InitUserEmailRecoveryRequest) ContextValidate ¶

func (m *InitUserEmailRecoveryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init user email recovery request based on the context it is used

func (*InitUserEmailRecoveryRequest) MarshalBinary ¶

func (m *InitUserEmailRecoveryRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryRequest) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryRequest) Validate ¶

func (m *InitUserEmailRecoveryRequest) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery request

type InitUserEmailRecoveryResult ¶

type InitUserEmailRecoveryResult struct {

	// Unique identifier for the user being recovered.
	// Required: true
	UserID *string `json:"userId"`
}

InitUserEmailRecoveryResult init user email recovery result

swagger:model InitUserEmailRecoveryResult

func (*InitUserEmailRecoveryResult) ContextValidate ¶

func (m *InitUserEmailRecoveryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init user email recovery result based on context it is used

func (*InitUserEmailRecoveryResult) MarshalBinary ¶

func (m *InitUserEmailRecoveryResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryResult) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryResult) Validate ¶

func (m *InitUserEmailRecoveryResult) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery result

type Intent ¶

type Intent struct {

	// accept invitation intent
	AcceptInvitationIntent *AcceptInvitationIntent `json:"acceptInvitationIntent,omitempty"`

	// accept invitation intent v2
	AcceptInvitationIntentV2 *AcceptInvitationIntentV2 `json:"acceptInvitationIntentV2,omitempty"`

	// activate billing tier intent
	ActivateBillingTierIntent *ActivateBillingTierIntent `json:"activateBillingTierIntent,omitempty"`

	// approve activity intent
	ApproveActivityIntent *ApproveActivityIntent `json:"approveActivityIntent,omitempty"`

	// create Api keys intent
	CreateAPIKeysIntent *CreateAPIKeysIntent `json:"createApiKeysIntent,omitempty"`

	// create Api only users intent
	CreateAPIOnlyUsersIntent *CreateAPIOnlyUsersIntent `json:"createApiOnlyUsersIntent,omitempty"`

	// create authenticators intent
	CreateAuthenticatorsIntent *CreateAuthenticatorsIntent `json:"createAuthenticatorsIntent,omitempty"`

	// create authenticators intent v2
	CreateAuthenticatorsIntentV2 *CreateAuthenticatorsIntentV2 `json:"createAuthenticatorsIntentV2,omitempty"`

	// create invitations intent
	CreateInvitationsIntent *CreateInvitationsIntent `json:"createInvitationsIntent,omitempty"`

	// create organization intent
	// Required: true
	CreateOrganizationIntent *CreateOrganizationIntent `json:"createOrganizationIntent"`

	// create organization intent v2
	CreateOrganizationIntentV2 *CreateOrganizationIntentV2 `json:"createOrganizationIntentV2,omitempty"`

	// create policies intent
	CreatePoliciesIntent *CreatePoliciesIntent `json:"createPoliciesIntent,omitempty"`

	// create policy intent
	CreatePolicyIntent *CreatePolicyIntent `json:"createPolicyIntent,omitempty"`

	// create policy intent v2
	CreatePolicyIntentV2 *CreatePolicyIntentV2 `json:"createPolicyIntentV2,omitempty"`

	// create policy intent v3
	CreatePolicyIntentV3 *CreatePolicyIntentV3 `json:"createPolicyIntentV3,omitempty"`

	// create private key tag intent
	CreatePrivateKeyTagIntent *CreatePrivateKeyTagIntent `json:"createPrivateKeyTagIntent,omitempty"`

	// create private keys intent
	CreatePrivateKeysIntent *CreatePrivateKeysIntent `json:"createPrivateKeysIntent,omitempty"`

	// create private keys intent v2
	CreatePrivateKeysIntentV2 *CreatePrivateKeysIntentV2 `json:"createPrivateKeysIntentV2,omitempty"`

	// create sub organization intent
	CreateSubOrganizationIntent *CreateSubOrganizationIntent `json:"createSubOrganizationIntent,omitempty"`

	// create sub organization intent v2
	CreateSubOrganizationIntentV2 *CreateSubOrganizationIntentV2 `json:"createSubOrganizationIntentV2,omitempty"`

	// create sub organization intent v3
	CreateSubOrganizationIntentV3 *CreateSubOrganizationIntentV3 `json:"createSubOrganizationIntentV3,omitempty"`

	// create sub organization intent v4
	CreateSubOrganizationIntentV4 *CreateSubOrganizationIntentV4 `json:"createSubOrganizationIntentV4,omitempty"`

	// create user tag intent
	CreateUserTagIntent *CreateUserTagIntent `json:"createUserTagIntent,omitempty"`

	// create users intent
	CreateUsersIntent *CreateUsersIntent `json:"createUsersIntent,omitempty"`

	// create users intent v2
	CreateUsersIntentV2 *CreateUsersIntentV2 `json:"createUsersIntentV2,omitempty"`

	// create wallet accounts intent
	CreateWalletAccountsIntent *CreateWalletAccountsIntent `json:"createWalletAccountsIntent,omitempty"`

	// create wallet intent
	CreateWalletIntent *CreateWalletIntent `json:"createWalletIntent,omitempty"`

	// delete Api keys intent
	DeleteAPIKeysIntent *DeleteAPIKeysIntent `json:"deleteApiKeysIntent,omitempty"`

	// delete authenticators intent
	DeleteAuthenticatorsIntent *DeleteAuthenticatorsIntent `json:"deleteAuthenticatorsIntent,omitempty"`

	// delete invitation intent
	DeleteInvitationIntent *DeleteInvitationIntent `json:"deleteInvitationIntent,omitempty"`

	// delete organization intent
	DeleteOrganizationIntent *DeleteOrganizationIntent `json:"deleteOrganizationIntent,omitempty"`

	// delete payment method intent
	DeletePaymentMethodIntent *DeletePaymentMethodIntent `json:"deletePaymentMethodIntent,omitempty"`

	// delete policy intent
	DeletePolicyIntent *DeletePolicyIntent `json:"deletePolicyIntent,omitempty"`

	// delete private key tags intent
	DeletePrivateKeyTagsIntent *DeletePrivateKeyTagsIntent `json:"deletePrivateKeyTagsIntent,omitempty"`

	// delete user tags intent
	DeleteUserTagsIntent *DeleteUserTagsIntent `json:"deleteUserTagsIntent,omitempty"`

	// delete users intent
	DeleteUsersIntent *DeleteUsersIntent `json:"deleteUsersIntent,omitempty"`

	// disable private key intent
	DisablePrivateKeyIntent *DisablePrivateKeyIntent `json:"disablePrivateKeyIntent,omitempty"`

	// email auth intent
	EmailAuthIntent *EmailAuthIntent `json:"emailAuthIntent,omitempty"`

	// export private key intent
	ExportPrivateKeyIntent *ExportPrivateKeyIntent `json:"exportPrivateKeyIntent,omitempty"`

	// export wallet account intent
	ExportWalletAccountIntent *ExportWalletAccountIntent `json:"exportWalletAccountIntent,omitempty"`

	// export wallet intent
	ExportWalletIntent *ExportWalletIntent `json:"exportWalletIntent,omitempty"`

	// import private key intent
	ImportPrivateKeyIntent *ImportPrivateKeyIntent `json:"importPrivateKeyIntent,omitempty"`

	// import wallet intent
	ImportWalletIntent *ImportWalletIntent `json:"importWalletIntent,omitempty"`

	// init import private key intent
	InitImportPrivateKeyIntent *InitImportPrivateKeyIntent `json:"initImportPrivateKeyIntent,omitempty"`

	// init import wallet intent
	InitImportWalletIntent *InitImportWalletIntent `json:"initImportWalletIntent,omitempty"`

	// init user email recovery intent
	InitUserEmailRecoveryIntent *InitUserEmailRecoveryIntent `json:"initUserEmailRecoveryIntent,omitempty"`

	// recover user intent
	RecoverUserIntent *RecoverUserIntent `json:"recoverUserIntent,omitempty"`

	// reject activity intent
	RejectActivityIntent *RejectActivityIntent `json:"rejectActivityIntent,omitempty"`

	// remove organization feature intent
	RemoveOrganizationFeatureIntent *RemoveOrganizationFeatureIntent `json:"removeOrganizationFeatureIntent,omitempty"`

	// set organization feature intent
	SetOrganizationFeatureIntent *SetOrganizationFeatureIntent `json:"setOrganizationFeatureIntent,omitempty"`

	// set payment method intent
	SetPaymentMethodIntent *SetPaymentMethodIntent `json:"setPaymentMethodIntent,omitempty"`

	// set payment method intent v2
	SetPaymentMethodIntentV2 *SetPaymentMethodIntentV2 `json:"setPaymentMethodIntentV2,omitempty"`

	// sign raw payload intent
	SignRawPayloadIntent *SignRawPayloadIntent `json:"signRawPayloadIntent,omitempty"`

	// sign raw payload intent v2
	SignRawPayloadIntentV2 *SignRawPayloadIntentV2 `json:"signRawPayloadIntentV2,omitempty"`

	// sign raw payloads intent
	SignRawPayloadsIntent *SignRawPayloadsIntent `json:"signRawPayloadsIntent,omitempty"`

	// sign transaction intent
	SignTransactionIntent *SignTransactionIntent `json:"signTransactionIntent,omitempty"`

	// sign transaction intent v2
	SignTransactionIntentV2 *SignTransactionIntentV2 `json:"signTransactionIntentV2,omitempty"`

	// update allowed origins intent
	UpdateAllowedOriginsIntent *UpdateAllowedOriginsIntent `json:"updateAllowedOriginsIntent,omitempty"`

	// update policy intent
	UpdatePolicyIntent *UpdatePolicyIntent `json:"updatePolicyIntent,omitempty"`

	// update private key tag intent
	UpdatePrivateKeyTagIntent *UpdatePrivateKeyTagIntent `json:"updatePrivateKeyTagIntent,omitempty"`

	// update root quorum intent
	UpdateRootQuorumIntent *UpdateRootQuorumIntent `json:"updateRootQuorumIntent,omitempty"`

	// update user intent
	UpdateUserIntent *UpdateUserIntent `json:"updateUserIntent,omitempty"`

	// update user tag intent
	UpdateUserTagIntent *UpdateUserTagIntent `json:"updateUserTagIntent,omitempty"`
}

Intent intent

swagger:model Intent

func (*Intent) ContextValidate ¶

func (m *Intent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intent based on the context it is used

func (*Intent) MarshalBinary ¶

func (m *Intent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Intent) UnmarshalBinary ¶

func (m *Intent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intent) Validate ¶

func (m *Intent) Validate(formats strfmt.Registry) error

Validate validates this intent

type InvitationParams ¶

type InvitationParams struct {

	// The User's permissible access method(s).
	// Required: true
	AccessType *AccessType `json:"accessType"`

	// The email address of the intended Invitation recipient.
	// Required: true
	ReceiverUserEmail *string `json:"receiverUserEmail"`

	// The name of the intended Invitation recipient.
	// Required: true
	ReceiverUserName *string `json:"receiverUserName"`

	// A list of tags assigned to the Invitation recipient.
	// Required: true
	ReceiverUserTags []string `json:"receiverUserTags"`

	// Unique identifier for the Sender of an Invitation.
	// Required: true
	SenderUserID *string `json:"senderUserId"`
}

InvitationParams invitation params

swagger:model InvitationParams

func (*InvitationParams) ContextValidate ¶

func (m *InvitationParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this invitation params based on the context it is used

func (*InvitationParams) MarshalBinary ¶

func (m *InvitationParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InvitationParams) UnmarshalBinary ¶

func (m *InvitationParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InvitationParams) Validate ¶

func (m *InvitationParams) Validate(formats strfmt.Registry) error

Validate validates this invitation params

type ListPrivateKeyTagsRequest ¶

type ListPrivateKeyTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

ListPrivateKeyTagsRequest list private key tags request

swagger:model ListPrivateKeyTagsRequest

func (*ListPrivateKeyTagsRequest) ContextValidate ¶

func (m *ListPrivateKeyTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list private key tags request based on context it is used

func (*ListPrivateKeyTagsRequest) MarshalBinary ¶

func (m *ListPrivateKeyTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateKeyTagsRequest) UnmarshalBinary ¶

func (m *ListPrivateKeyTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateKeyTagsRequest) Validate ¶

func (m *ListPrivateKeyTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this list private key tags request

type ListPrivateKeyTagsResponse ¶

type ListPrivateKeyTagsResponse struct {

	// A list of Private Key Tags
	// Required: true
	PrivateKeyTags []*V1Tag `json:"privateKeyTags"`
}

ListPrivateKeyTagsResponse list private key tags response

swagger:model ListPrivateKeyTagsResponse

func (*ListPrivateKeyTagsResponse) ContextValidate ¶

func (m *ListPrivateKeyTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list private key tags response based on the context it is used

func (*ListPrivateKeyTagsResponse) MarshalBinary ¶

func (m *ListPrivateKeyTagsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateKeyTagsResponse) UnmarshalBinary ¶

func (m *ListPrivateKeyTagsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateKeyTagsResponse) Validate ¶

func (m *ListPrivateKeyTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this list private key tags response

type ListUserTagsRequest ¶

type ListUserTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

ListUserTagsRequest list user tags request

swagger:model ListUserTagsRequest

func (*ListUserTagsRequest) ContextValidate ¶

func (m *ListUserTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list user tags request based on context it is used

func (*ListUserTagsRequest) MarshalBinary ¶

func (m *ListUserTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserTagsRequest) UnmarshalBinary ¶

func (m *ListUserTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserTagsRequest) Validate ¶

func (m *ListUserTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this list user tags request

type ListUserTagsResponse ¶

type ListUserTagsResponse struct {

	// A list of User Tags
	// Required: true
	UserTags []*V1Tag `json:"userTags"`
}

ListUserTagsResponse list user tags response

swagger:model ListUserTagsResponse

func (*ListUserTagsResponse) ContextValidate ¶

func (m *ListUserTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list user tags response based on the context it is used

func (*ListUserTagsResponse) MarshalBinary ¶

func (m *ListUserTagsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserTagsResponse) UnmarshalBinary ¶

func (m *ListUserTagsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserTagsResponse) Validate ¶

func (m *ListUserTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this list user tags response

type MnemonicLanguage ¶

type MnemonicLanguage string

MnemonicLanguage mnemonic language

swagger:model MnemonicLanguage

const (

	// MnemonicLanguageEnglish captures enum value "MNEMONIC_LANGUAGE_ENGLISH"
	MnemonicLanguageEnglish MnemonicLanguage = "MNEMONIC_LANGUAGE_ENGLISH"

	// MnemonicLanguageSimplifiedChinese captures enum value "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE"
	MnemonicLanguageSimplifiedChinese MnemonicLanguage = "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE"

	// MnemonicLanguageTraditionalChinese captures enum value "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE"
	MnemonicLanguageTraditionalChinese MnemonicLanguage = "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE"

	// MnemonicLanguageCzech captures enum value "MNEMONIC_LANGUAGE_CZECH"
	MnemonicLanguageCzech MnemonicLanguage = "MNEMONIC_LANGUAGE_CZECH"

	// MnemonicLanguageFrench captures enum value "MNEMONIC_LANGUAGE_FRENCH"
	MnemonicLanguageFrench MnemonicLanguage = "MNEMONIC_LANGUAGE_FRENCH"

	// MnemonicLanguageItalian captures enum value "MNEMONIC_LANGUAGE_ITALIAN"
	MnemonicLanguageItalian MnemonicLanguage = "MNEMONIC_LANGUAGE_ITALIAN"

	// MnemonicLanguageJapanese captures enum value "MNEMONIC_LANGUAGE_JAPANESE"
	MnemonicLanguageJapanese MnemonicLanguage = "MNEMONIC_LANGUAGE_JAPANESE"

	// MnemonicLanguageKorean captures enum value "MNEMONIC_LANGUAGE_KOREAN"
	MnemonicLanguageKorean MnemonicLanguage = "MNEMONIC_LANGUAGE_KOREAN"

	// MnemonicLanguageSpanish captures enum value "MNEMONIC_LANGUAGE_SPANISH"
	MnemonicLanguageSpanish MnemonicLanguage = "MNEMONIC_LANGUAGE_SPANISH"
)

func NewMnemonicLanguage ¶

func NewMnemonicLanguage(value MnemonicLanguage) *MnemonicLanguage

func (MnemonicLanguage) ContextValidate ¶

func (m MnemonicLanguage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mnemonic language based on context it is used

func (MnemonicLanguage) Pointer ¶

func (m MnemonicLanguage) Pointer() *MnemonicLanguage

Pointer returns a pointer to a freshly-allocated MnemonicLanguage.

func (MnemonicLanguage) Validate ¶

func (m MnemonicLanguage) Validate(formats strfmt.Registry) error

Validate validates this mnemonic language

type Operator ¶

type Operator string

Operator operator

swagger:model Operator

const (

	// OperatorEqual captures enum value "OPERATOR_EQUAL"
	OperatorEqual Operator = "OPERATOR_EQUAL"

	// OperatorMoreThan captures enum value "OPERATOR_MORE_THAN"
	OperatorMoreThan Operator = "OPERATOR_MORE_THAN"

	// OperatorMoreThanOrEqual captures enum value "OPERATOR_MORE_THAN_OR_EQUAL"
	OperatorMoreThanOrEqual Operator = "OPERATOR_MORE_THAN_OR_EQUAL"

	// OperatorLessThan captures enum value "OPERATOR_LESS_THAN"
	OperatorLessThan Operator = "OPERATOR_LESS_THAN"

	// OperatorLessThanOrEqual captures enum value "OPERATOR_LESS_THAN_OR_EQUAL"
	OperatorLessThanOrEqual Operator = "OPERATOR_LESS_THAN_OR_EQUAL"

	// OperatorContains captures enum value "OPERATOR_CONTAINS"
	OperatorContains Operator = "OPERATOR_CONTAINS"

	// OperatorNotEqual captures enum value "OPERATOR_NOT_EQUAL"
	OperatorNotEqual Operator = "OPERATOR_NOT_EQUAL"

	// OperatorIn captures enum value "OPERATOR_IN"
	OperatorIn Operator = "OPERATOR_IN"

	// OperatorNotIn captures enum value "OPERATOR_NOT_IN"
	OperatorNotIn Operator = "OPERATOR_NOT_IN"

	// OperatorContainsOne captures enum value "OPERATOR_CONTAINS_ONE"
	OperatorContainsOne Operator = "OPERATOR_CONTAINS_ONE"

	// OperatorContainsAll captures enum value "OPERATOR_CONTAINS_ALL"
	OperatorContainsAll Operator = "OPERATOR_CONTAINS_ALL"
)

func NewOperator ¶

func NewOperator(value Operator) *Operator

func (Operator) ContextValidate ¶

func (m Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operator based on context it is used

func (Operator) Pointer ¶

func (m Operator) Pointer() *Operator

Pointer returns a pointer to a freshly-allocated Operator.

func (Operator) Validate ¶

func (m Operator) Validate(formats strfmt.Registry) error

Validate validates this operator

type Pagination ¶

type Pagination struct {

	// A pagination cursor. This is an object ID that enables you to fetch all objects after this ID.
	After string `json:"after,omitempty"`

	// A pagination cursor. This is an object ID that enables you to fetch all objects before this ID.
	Before string `json:"before,omitempty"`

	// A limit of the number of object to be returned, between 1 and 100. Defaults to 10.
	Limit string `json:"limit,omitempty"`
}

Pagination pagination

swagger:model Pagination

func (*Pagination) ContextValidate ¶

func (m *Pagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagination based on context it is used

func (*Pagination) MarshalBinary ¶

func (m *Pagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary ¶

func (m *Pagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pagination) Validate ¶

func (m *Pagination) Validate(formats strfmt.Registry) error

Validate validates this pagination

type PathFormat ¶

type PathFormat string

PathFormat path format

swagger:model PathFormat

const (

	// PathFormatBip32 captures enum value "PATH_FORMAT_BIP32"
	PathFormatBip32 PathFormat = "PATH_FORMAT_BIP32"
)

func NewPathFormat ¶

func NewPathFormat(value PathFormat) *PathFormat

func (PathFormat) ContextValidate ¶

func (m PathFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this path format based on context it is used

func (PathFormat) Pointer ¶

func (m PathFormat) Pointer() *PathFormat

Pointer returns a pointer to a freshly-allocated PathFormat.

func (PathFormat) Validate ¶

func (m PathFormat) Validate(formats strfmt.Registry) error

Validate validates this path format

type PayloadEncoding ¶

type PayloadEncoding string

PayloadEncoding payload encoding

swagger:model PayloadEncoding

const (

	// PayloadEncodingHexadecimal captures enum value "PAYLOAD_ENCODING_HEXADECIMAL"
	PayloadEncodingHexadecimal PayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL"

	// PayloadEncodingTextUTF8 captures enum value "PAYLOAD_ENCODING_TEXT_UTF8"
	PayloadEncodingTextUTF8 PayloadEncoding = "PAYLOAD_ENCODING_TEXT_UTF8"
)

func NewPayloadEncoding ¶

func NewPayloadEncoding(value PayloadEncoding) *PayloadEncoding

func (PayloadEncoding) ContextValidate ¶

func (m PayloadEncoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this payload encoding based on context it is used

func (PayloadEncoding) Pointer ¶

func (m PayloadEncoding) Pointer() *PayloadEncoding

Pointer returns a pointer to a freshly-allocated PayloadEncoding.

func (PayloadEncoding) Validate ¶

func (m PayloadEncoding) Validate(formats strfmt.Registry) error

Validate validates this payload encoding

type Policy ¶

type Policy struct {

	// A condition expression that evalutes to true or false.
	// Required: true
	Condition *string `json:"condition"`

	// A consensus expression that evalutes to true or false.
	// Required: true
	Consensus *string `json:"consensus"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The instruction to DENY or ALLOW a particular activity following policy selector(s).
	// Required: true
	Effect *Effect `json:"effect"`

	// Human-readable notes added by a User to describe a particular policy.
	// Required: true
	Notes *string `json:"notes"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

Policy policy

swagger:model Policy

func (*Policy) ContextValidate ¶

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary ¶

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PrivateKey ¶

type PrivateKey struct {

	// Derived cryptocurrency addresses for a given Private Key.
	// Required: true
	Addresses []*DataV1Address `json:"addresses"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// True when a given Private Key is exported, false otherwise.
	// Required: true
	Exported *bool `json:"exported"`

	// True when a given Private Key is imported, false otherwise.
	// Required: true
	Imported *bool `json:"imported"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTags []string `json:"privateKeyTags"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

PrivateKey private key

swagger:model PrivateKey

func (*PrivateKey) ContextValidate ¶

func (m *PrivateKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key based on the context it is used

func (*PrivateKey) MarshalBinary ¶

func (m *PrivateKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKey) UnmarshalBinary ¶

func (m *PrivateKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKey) Validate ¶

func (m *PrivateKey) Validate(formats strfmt.Registry) error

Validate validates this private key

type PrivateKeyParams ¶

type PrivateKeyParams struct {

	// Cryptocurrency-specific formats for a derived address (e.g., Ethereum).
	// Required: true
	AddressFormats []AddressFormat `json:"addressFormats"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTags []string `json:"privateKeyTags"`
}

PrivateKeyParams private key params

swagger:model PrivateKeyParams

func (*PrivateKeyParams) ContextValidate ¶

func (m *PrivateKeyParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key params based on the context it is used

func (*PrivateKeyParams) MarshalBinary ¶

func (m *PrivateKeyParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKeyParams) UnmarshalBinary ¶

func (m *PrivateKeyParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKeyParams) Validate ¶

func (m *PrivateKeyParams) Validate(formats strfmt.Registry) error

Validate validates this private key params

type PrivateKeyResult ¶

type PrivateKeyResult struct {

	// addresses
	Addresses []*ActivityV1Address `json:"addresses"`

	// private key Id
	PrivateKeyID string `json:"privateKeyId,omitempty"`
}

PrivateKeyResult private key result

swagger:model PrivateKeyResult

func (*PrivateKeyResult) ContextValidate ¶

func (m *PrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key result based on the context it is used

func (*PrivateKeyResult) MarshalBinary ¶

func (m *PrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKeyResult) UnmarshalBinary ¶

func (m *PrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKeyResult) Validate ¶

func (m *PrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this private key result

type PublicKeyCredentialWithAttestation ¶

type PublicKeyCredentialWithAttestation struct {

	// authenticator attachment
	// Enum: [cross-platform platform]
	AuthenticatorAttachment *string `json:"authenticatorAttachment,omitempty"`

	// client extension results
	// Required: true
	ClientExtensionResults *SimpleClientExtensionResults `json:"clientExtensionResults"`

	// id
	// Required: true
	ID *string `json:"id"`

	// raw Id
	// Required: true
	RawID *string `json:"rawId"`

	// response
	// Required: true
	Response *AuthenticatorAttestationResponse `json:"response"`

	// type
	// Required: true
	// Enum: [public-key]
	Type *string `json:"type"`
}

PublicKeyCredentialWithAttestation public key credential with attestation

swagger:model PublicKeyCredentialWithAttestation

func (*PublicKeyCredentialWithAttestation) ContextValidate ¶

func (m *PublicKeyCredentialWithAttestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public key credential with attestation based on the context it is used

func (*PublicKeyCredentialWithAttestation) MarshalBinary ¶

func (m *PublicKeyCredentialWithAttestation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicKeyCredentialWithAttestation) UnmarshalBinary ¶

func (m *PublicKeyCredentialWithAttestation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicKeyCredentialWithAttestation) Validate ¶

Validate validates this public key credential with attestation

type RecoverUserIntent ¶

type RecoverUserIntent struct {

	// The new authenticator to register.
	// Required: true
	Authenticator *AuthenticatorParamsV2 `json:"authenticator"`

	// Unique identifier for the user performing recovery.
	// Required: true
	UserID *string `json:"userId"`
}

RecoverUserIntent recover user intent

swagger:model RecoverUserIntent

func (*RecoverUserIntent) ContextValidate ¶

func (m *RecoverUserIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover user intent based on the context it is used

func (*RecoverUserIntent) MarshalBinary ¶

func (m *RecoverUserIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserIntent) UnmarshalBinary ¶

func (m *RecoverUserIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserIntent) Validate ¶

func (m *RecoverUserIntent) Validate(formats strfmt.Registry) error

Validate validates this recover user intent

type RecoverUserRequest ¶

type RecoverUserRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RecoverUserIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_RECOVER_USER]
	Type *string `json:"type"`
}

RecoverUserRequest recover user request

swagger:model RecoverUserRequest

func (*RecoverUserRequest) ContextValidate ¶

func (m *RecoverUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover user request based on the context it is used

func (*RecoverUserRequest) MarshalBinary ¶

func (m *RecoverUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserRequest) UnmarshalBinary ¶

func (m *RecoverUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserRequest) Validate ¶

func (m *RecoverUserRequest) Validate(formats strfmt.Registry) error

Validate validates this recover user request

type RecoverUserResult ¶

type RecoverUserResult struct {

	// ID of the authenticator created.
	// Required: true
	AuthenticatorID []string `json:"authenticatorId"`
}

RecoverUserResult recover user result

swagger:model RecoverUserResult

func (*RecoverUserResult) ContextValidate ¶

func (m *RecoverUserResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recover user result based on context it is used

func (*RecoverUserResult) MarshalBinary ¶

func (m *RecoverUserResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserResult) UnmarshalBinary ¶

func (m *RecoverUserResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserResult) Validate ¶

func (m *RecoverUserResult) Validate(formats strfmt.Registry) error

Validate validates this recover user result

type RejectActivityIntent ¶

type RejectActivityIntent struct {

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`
}

RejectActivityIntent reject activity intent

swagger:model RejectActivityIntent

func (*RejectActivityIntent) ContextValidate ¶

func (m *RejectActivityIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reject activity intent based on context it is used

func (*RejectActivityIntent) MarshalBinary ¶

func (m *RejectActivityIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RejectActivityIntent) UnmarshalBinary ¶

func (m *RejectActivityIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RejectActivityIntent) Validate ¶

func (m *RejectActivityIntent) Validate(formats strfmt.Registry) error

Validate validates this reject activity intent

type RejectActivityRequest ¶

type RejectActivityRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RejectActivityIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_REJECT_ACTIVITY]
	Type *string `json:"type"`
}

RejectActivityRequest reject activity request

swagger:model RejectActivityRequest

func (*RejectActivityRequest) ContextValidate ¶

func (m *RejectActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reject activity request based on the context it is used

func (*RejectActivityRequest) MarshalBinary ¶

func (m *RejectActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RejectActivityRequest) UnmarshalBinary ¶

func (m *RejectActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RejectActivityRequest) Validate ¶

func (m *RejectActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this reject activity request

type RemoveOrganizationFeatureIntent ¶

type RemoveOrganizationFeatureIntent struct {

	// Name of the feature to remove
	// Required: true
	Name *FeatureName `json:"name"`
}

RemoveOrganizationFeatureIntent remove organization feature intent

swagger:model RemoveOrganizationFeatureIntent

func (*RemoveOrganizationFeatureIntent) ContextValidate ¶

func (m *RemoveOrganizationFeatureIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature intent based on the context it is used

func (*RemoveOrganizationFeatureIntent) MarshalBinary ¶

func (m *RemoveOrganizationFeatureIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureIntent) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureIntent) Validate ¶

Validate validates this remove organization feature intent

type RemoveOrganizationFeatureRequest ¶

type RemoveOrganizationFeatureRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RemoveOrganizationFeatureIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE]
	Type *string `json:"type"`
}

RemoveOrganizationFeatureRequest remove organization feature request

swagger:model RemoveOrganizationFeatureRequest

func (*RemoveOrganizationFeatureRequest) ContextValidate ¶

func (m *RemoveOrganizationFeatureRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature request based on the context it is used

func (*RemoveOrganizationFeatureRequest) MarshalBinary ¶

func (m *RemoveOrganizationFeatureRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureRequest) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureRequest) Validate ¶

Validate validates this remove organization feature request

type RemoveOrganizationFeatureResult ¶

type RemoveOrganizationFeatureResult struct {

	// Resulting list of organization features.
	// Required: true
	Features []*Feature `json:"features"`
}

RemoveOrganizationFeatureResult remove organization feature result

swagger:model RemoveOrganizationFeatureResult

func (*RemoveOrganizationFeatureResult) ContextValidate ¶

func (m *RemoveOrganizationFeatureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature result based on the context it is used

func (*RemoveOrganizationFeatureResult) MarshalBinary ¶

func (m *RemoveOrganizationFeatureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureResult) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureResult) Validate ¶

Validate validates this remove organization feature result

type Result ¶

type Result struct {

	// accept invitation result
	AcceptInvitationResult *AcceptInvitationResult `json:"acceptInvitationResult,omitempty"`

	// activate billing tier result
	ActivateBillingTierResult *ActivateBillingTierResult `json:"activateBillingTierResult,omitempty"`

	// create Api keys result
	CreateAPIKeysResult *CreateAPIKeysResult `json:"createApiKeysResult,omitempty"`

	// create Api only users result
	CreateAPIOnlyUsersResult *CreateAPIOnlyUsersResult `json:"createApiOnlyUsersResult,omitempty"`

	// create authenticators result
	CreateAuthenticatorsResult *CreateAuthenticatorsResult `json:"createAuthenticatorsResult,omitempty"`

	// create invitations result
	CreateInvitationsResult *CreateInvitationsResult `json:"createInvitationsResult,omitempty"`

	// create organization result
	CreateOrganizationResult *CreateOrganizationResult `json:"createOrganizationResult,omitempty"`

	// create policies result
	CreatePoliciesResult *CreatePoliciesResult `json:"createPoliciesResult,omitempty"`

	// create policy result
	CreatePolicyResult *CreatePolicyResult `json:"createPolicyResult,omitempty"`

	// create private key tag result
	CreatePrivateKeyTagResult *CreatePrivateKeyTagResult `json:"createPrivateKeyTagResult,omitempty"`

	// create private keys result
	CreatePrivateKeysResult *CreatePrivateKeysResult `json:"createPrivateKeysResult,omitempty"`

	// create private keys result v2
	CreatePrivateKeysResultV2 *CreatePrivateKeysResultV2 `json:"createPrivateKeysResultV2,omitempty"`

	// create sub organization result
	CreateSubOrganizationResult *CreateSubOrganizationResult `json:"createSubOrganizationResult,omitempty"`

	// create sub organization result v3
	CreateSubOrganizationResultV3 *CreateSubOrganizationResultV3 `json:"createSubOrganizationResultV3,omitempty"`

	// create sub organization result v4
	CreateSubOrganizationResultV4 *CreateSubOrganizationResultV4 `json:"createSubOrganizationResultV4,omitempty"`

	// create user tag result
	CreateUserTagResult *CreateUserTagResult `json:"createUserTagResult,omitempty"`

	// create users result
	CreateUsersResult *CreateUsersResult `json:"createUsersResult,omitempty"`

	// create wallet accounts result
	CreateWalletAccountsResult *CreateWalletAccountsResult `json:"createWalletAccountsResult,omitempty"`

	// create wallet result
	CreateWalletResult *CreateWalletResult `json:"createWalletResult,omitempty"`

	// delete Api keys result
	DeleteAPIKeysResult *DeleteAPIKeysResult `json:"deleteApiKeysResult,omitempty"`

	// delete authenticators result
	DeleteAuthenticatorsResult *DeleteAuthenticatorsResult `json:"deleteAuthenticatorsResult,omitempty"`

	// delete invitation result
	DeleteInvitationResult *DeleteInvitationResult `json:"deleteInvitationResult,omitempty"`

	// delete organization result
	DeleteOrganizationResult *DeleteOrganizationResult `json:"deleteOrganizationResult,omitempty"`

	// delete payment method result
	DeletePaymentMethodResult *DeletePaymentMethodResult `json:"deletePaymentMethodResult,omitempty"`

	// delete policy result
	DeletePolicyResult *DeletePolicyResult `json:"deletePolicyResult,omitempty"`

	// delete private key tags result
	DeletePrivateKeyTagsResult *DeletePrivateKeyTagsResult `json:"deletePrivateKeyTagsResult,omitempty"`

	// delete user tags result
	DeleteUserTagsResult *DeleteUserTagsResult `json:"deleteUserTagsResult,omitempty"`

	// delete users result
	DeleteUsersResult *DeleteUsersResult `json:"deleteUsersResult,omitempty"`

	// disable private key result
	DisablePrivateKeyResult *DisablePrivateKeyResult `json:"disablePrivateKeyResult,omitempty"`

	// email auth result
	EmailAuthResult *EmailAuthResult `json:"emailAuthResult,omitempty"`

	// export private key result
	ExportPrivateKeyResult *ExportPrivateKeyResult `json:"exportPrivateKeyResult,omitempty"`

	// export wallet account result
	ExportWalletAccountResult *ExportWalletAccountResult `json:"exportWalletAccountResult,omitempty"`

	// export wallet result
	ExportWalletResult *ExportWalletResult `json:"exportWalletResult,omitempty"`

	// import private key result
	ImportPrivateKeyResult *ImportPrivateKeyResult `json:"importPrivateKeyResult,omitempty"`

	// import wallet result
	ImportWalletResult *ImportWalletResult `json:"importWalletResult,omitempty"`

	// init import private key result
	InitImportPrivateKeyResult *InitImportPrivateKeyResult `json:"initImportPrivateKeyResult,omitempty"`

	// init import wallet result
	InitImportWalletResult *InitImportWalletResult `json:"initImportWalletResult,omitempty"`

	// init user email recovery result
	InitUserEmailRecoveryResult *InitUserEmailRecoveryResult `json:"initUserEmailRecoveryResult,omitempty"`

	// recover user result
	RecoverUserResult *RecoverUserResult `json:"recoverUserResult,omitempty"`

	// remove organization feature result
	RemoveOrganizationFeatureResult *RemoveOrganizationFeatureResult `json:"removeOrganizationFeatureResult,omitempty"`

	// set organization feature result
	SetOrganizationFeatureResult *SetOrganizationFeatureResult `json:"setOrganizationFeatureResult,omitempty"`

	// set payment method result
	SetPaymentMethodResult *SetPaymentMethodResult `json:"setPaymentMethodResult,omitempty"`

	// sign raw payload result
	SignRawPayloadResult *SignRawPayloadResult `json:"signRawPayloadResult,omitempty"`

	// sign raw payloads result
	SignRawPayloadsResult *SignRawPayloadsResult `json:"signRawPayloadsResult,omitempty"`

	// sign transaction result
	SignTransactionResult *SignTransactionResult `json:"signTransactionResult,omitempty"`

	// update allowed origins result
	UpdateAllowedOriginsResult UpdateAllowedOriginsResult `json:"updateAllowedOriginsResult,omitempty"`

	// update policy result
	UpdatePolicyResult *UpdatePolicyResult `json:"updatePolicyResult,omitempty"`

	// update private key tag result
	UpdatePrivateKeyTagResult *UpdatePrivateKeyTagResult `json:"updatePrivateKeyTagResult,omitempty"`

	// update root quorum result
	UpdateRootQuorumResult UpdateRootQuorumResult `json:"updateRootQuorumResult,omitempty"`

	// update user result
	UpdateUserResult *UpdateUserResult `json:"updateUserResult,omitempty"`

	// update user tag result
	UpdateUserTagResult *UpdateUserTagResult `json:"updateUserTagResult,omitempty"`
}

Result result

swagger:model Result

func (*Result) ContextValidate ¶

func (m *Result) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this result based on the context it is used

func (*Result) MarshalBinary ¶

func (m *Result) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Result) UnmarshalBinary ¶

func (m *Result) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Result) Validate ¶

func (m *Result) Validate(formats strfmt.Registry) error

Validate validates this result

type RootUserParams ¶

type RootUserParams struct {

	// A list of API Key parameters.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// The user's email address.
	UserEmail string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`
}

RootUserParams root user params

swagger:model RootUserParams

func (*RootUserParams) ContextValidate ¶

func (m *RootUserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this root user params based on the context it is used

func (*RootUserParams) MarshalBinary ¶

func (m *RootUserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootUserParams) UnmarshalBinary ¶

func (m *RootUserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootUserParams) Validate ¶

func (m *RootUserParams) Validate(formats strfmt.Registry) error

Validate validates this root user params

type Selector ¶

type Selector struct {

	// operator
	Operator Operator `json:"operator,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// target
	Target string `json:"target,omitempty"`
}

Selector selector

swagger:model Selector

func (*Selector) ContextValidate ¶

func (m *Selector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this selector based on the context it is used

func (*Selector) MarshalBinary ¶

func (m *Selector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Selector) UnmarshalBinary ¶

func (m *Selector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Selector) Validate ¶

func (m *Selector) Validate(formats strfmt.Registry) error

Validate validates this selector

type SelectorV2 ¶

type SelectorV2 struct {

	// operator
	Operator Operator `json:"operator,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// targets
	Targets []string `json:"targets"`
}

SelectorV2 selector v2

swagger:model SelectorV2

func (*SelectorV2) ContextValidate ¶

func (m *SelectorV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this selector v2 based on the context it is used

func (*SelectorV2) MarshalBinary ¶

func (m *SelectorV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SelectorV2) UnmarshalBinary ¶

func (m *SelectorV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SelectorV2) Validate ¶

func (m *SelectorV2) Validate(formats strfmt.Registry) error

Validate validates this selector v2

type SetOrganizationFeatureIntent ¶

type SetOrganizationFeatureIntent struct {

	// Name of the feature to set
	// Required: true
	Name *FeatureName `json:"name"`

	// Optional value for the feature. Will override existing values if feature is already set.
	// Required: true
	Value *string `json:"value"`
}

SetOrganizationFeatureIntent set organization feature intent

swagger:model SetOrganizationFeatureIntent

func (*SetOrganizationFeatureIntent) ContextValidate ¶

func (m *SetOrganizationFeatureIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature intent based on the context it is used

func (*SetOrganizationFeatureIntent) MarshalBinary ¶

func (m *SetOrganizationFeatureIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureIntent) UnmarshalBinary ¶

func (m *SetOrganizationFeatureIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureIntent) Validate ¶

func (m *SetOrganizationFeatureIntent) Validate(formats strfmt.Registry) error

Validate validates this set organization feature intent

type SetOrganizationFeatureRequest ¶

type SetOrganizationFeatureRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SetOrganizationFeatureIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE]
	Type *string `json:"type"`
}

SetOrganizationFeatureRequest set organization feature request

swagger:model SetOrganizationFeatureRequest

func (*SetOrganizationFeatureRequest) ContextValidate ¶

func (m *SetOrganizationFeatureRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature request based on the context it is used

func (*SetOrganizationFeatureRequest) MarshalBinary ¶

func (m *SetOrganizationFeatureRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureRequest) UnmarshalBinary ¶

func (m *SetOrganizationFeatureRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureRequest) Validate ¶

func (m *SetOrganizationFeatureRequest) Validate(formats strfmt.Registry) error

Validate validates this set organization feature request

type SetOrganizationFeatureResult ¶

type SetOrganizationFeatureResult struct {

	// Resulting list of organization features.
	// Required: true
	Features []*Feature `json:"features"`
}

SetOrganizationFeatureResult set organization feature result

swagger:model SetOrganizationFeatureResult

func (*SetOrganizationFeatureResult) ContextValidate ¶

func (m *SetOrganizationFeatureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature result based on the context it is used

func (*SetOrganizationFeatureResult) MarshalBinary ¶

func (m *SetOrganizationFeatureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureResult) UnmarshalBinary ¶

func (m *SetOrganizationFeatureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureResult) Validate ¶

func (m *SetOrganizationFeatureResult) Validate(formats strfmt.Registry) error

Validate validates this set organization feature result

type SetPaymentMethodIntent ¶

type SetPaymentMethodIntent struct {

	// The email that will receive invoices for the credit card.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the credit card.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The verification digits of the customer's credit card.
	// Required: true
	Cvv *string `json:"cvv"`

	// The month that the credit card expires.
	// Required: true
	ExpiryMonth *string `json:"expiryMonth"`

	// The year that the credit card expires.
	// Required: true
	ExpiryYear *string `json:"expiryYear"`

	// The account number of the customer's credit card.
	// Required: true
	Number *string `json:"number"`
}

SetPaymentMethodIntent set payment method intent

swagger:model SetPaymentMethodIntent

func (*SetPaymentMethodIntent) ContextValidate ¶

func (m *SetPaymentMethodIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method intent based on context it is used

func (*SetPaymentMethodIntent) MarshalBinary ¶

func (m *SetPaymentMethodIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodIntent) UnmarshalBinary ¶

func (m *SetPaymentMethodIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodIntent) Validate ¶

func (m *SetPaymentMethodIntent) Validate(formats strfmt.Registry) error

Validate validates this set payment method intent

type SetPaymentMethodIntentV2 ¶

type SetPaymentMethodIntentV2 struct {

	// The email that will receive invoices for the credit card.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the credit card.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The id of the payment method that was created clientside.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

SetPaymentMethodIntentV2 set payment method intent v2

swagger:model SetPaymentMethodIntentV2

func (*SetPaymentMethodIntentV2) ContextValidate ¶

func (m *SetPaymentMethodIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method intent v2 based on context it is used

func (*SetPaymentMethodIntentV2) MarshalBinary ¶

func (m *SetPaymentMethodIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodIntentV2) UnmarshalBinary ¶

func (m *SetPaymentMethodIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodIntentV2) Validate ¶

func (m *SetPaymentMethodIntentV2) Validate(formats strfmt.Registry) error

Validate validates this set payment method intent v2

type SetPaymentMethodResult ¶

type SetPaymentMethodResult struct {

	// The email address associated with the payment method.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the payment method.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The last four digits of the credit card added.
	// Required: true
	LastFour *string `json:"lastFour"`
}

SetPaymentMethodResult set payment method result

swagger:model SetPaymentMethodResult

func (*SetPaymentMethodResult) ContextValidate ¶

func (m *SetPaymentMethodResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method result based on context it is used

func (*SetPaymentMethodResult) MarshalBinary ¶

func (m *SetPaymentMethodResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodResult) UnmarshalBinary ¶

func (m *SetPaymentMethodResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodResult) Validate ¶

func (m *SetPaymentMethodResult) Validate(formats strfmt.Registry) error

Validate validates this set payment method result

type SignRawPayloadIntent ¶

type SignRawPayloadIntent struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// Raw unsigned payload to be signed.
	// Required: true
	Payload *string `json:"payload"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

SignRawPayloadIntent sign raw payload intent

swagger:model SignRawPayloadIntent

func (*SignRawPayloadIntent) ContextValidate ¶

func (m *SignRawPayloadIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload intent based on the context it is used

func (*SignRawPayloadIntent) MarshalBinary ¶

func (m *SignRawPayloadIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadIntent) UnmarshalBinary ¶

func (m *SignRawPayloadIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadIntent) Validate ¶

func (m *SignRawPayloadIntent) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload intent

type SignRawPayloadIntentV2 ¶

type SignRawPayloadIntentV2 struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// Raw unsigned payload to be signed.
	// Required: true
	Payload *string `json:"payload"`

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`
}

SignRawPayloadIntentV2 sign raw payload intent v2

swagger:model SignRawPayloadIntentV2

func (*SignRawPayloadIntentV2) ContextValidate ¶

func (m *SignRawPayloadIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload intent v2 based on the context it is used

func (*SignRawPayloadIntentV2) MarshalBinary ¶

func (m *SignRawPayloadIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadIntentV2) UnmarshalBinary ¶

func (m *SignRawPayloadIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadIntentV2) Validate ¶

func (m *SignRawPayloadIntentV2) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload intent v2

type SignRawPayloadRequest ¶

type SignRawPayloadRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignRawPayloadIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2]
	Type *string `json:"type"`
}

SignRawPayloadRequest sign raw payload request

swagger:model SignRawPayloadRequest

func (*SignRawPayloadRequest) ContextValidate ¶

func (m *SignRawPayloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload request based on the context it is used

func (*SignRawPayloadRequest) MarshalBinary ¶

func (m *SignRawPayloadRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadRequest) UnmarshalBinary ¶

func (m *SignRawPayloadRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadRequest) Validate ¶

func (m *SignRawPayloadRequest) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload request

type SignRawPayloadResult ¶

type SignRawPayloadResult struct {

	// Component of an ECSDA signature.
	// Required: true
	R *string `json:"r"`

	// Component of an ECSDA signature.
	// Required: true
	S *string `json:"s"`

	// Component of an ECSDA signature.
	// Required: true
	V *string `json:"v"`
}

SignRawPayloadResult sign raw payload result

swagger:model SignRawPayloadResult

func (*SignRawPayloadResult) ContextValidate ¶

func (m *SignRawPayloadResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sign raw payload result based on context it is used

func (*SignRawPayloadResult) MarshalBinary ¶

func (m *SignRawPayloadResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadResult) UnmarshalBinary ¶

func (m *SignRawPayloadResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadResult) Validate ¶

func (m *SignRawPayloadResult) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload result

type SignRawPayloadsIntent ¶

type SignRawPayloadsIntent struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// An array of raw unsigned payloads to be signed.
	// Required: true
	Payloads []string `json:"payloads"`

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`
}

SignRawPayloadsIntent sign raw payloads intent

swagger:model SignRawPayloadsIntent

func (*SignRawPayloadsIntent) ContextValidate ¶

func (m *SignRawPayloadsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads intent based on the context it is used

func (*SignRawPayloadsIntent) MarshalBinary ¶

func (m *SignRawPayloadsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsIntent) UnmarshalBinary ¶

func (m *SignRawPayloadsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsIntent) Validate ¶

func (m *SignRawPayloadsIntent) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads intent

type SignRawPayloadsRequest ¶

type SignRawPayloadsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignRawPayloadsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_RAW_PAYLOADS]
	Type *string `json:"type"`
}

SignRawPayloadsRequest sign raw payloads request

swagger:model SignRawPayloadsRequest

func (*SignRawPayloadsRequest) ContextValidate ¶

func (m *SignRawPayloadsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads request based on the context it is used

func (*SignRawPayloadsRequest) MarshalBinary ¶

func (m *SignRawPayloadsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsRequest) UnmarshalBinary ¶

func (m *SignRawPayloadsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsRequest) Validate ¶

func (m *SignRawPayloadsRequest) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads request

type SignRawPayloadsResult ¶

type SignRawPayloadsResult struct {

	// signatures
	Signatures []*SignRawPayloadResult `json:"signatures"`
}

SignRawPayloadsResult sign raw payloads result

swagger:model SignRawPayloadsResult

func (*SignRawPayloadsResult) ContextValidate ¶

func (m *SignRawPayloadsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads result based on the context it is used

func (*SignRawPayloadsResult) MarshalBinary ¶

func (m *SignRawPayloadsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsResult) UnmarshalBinary ¶

func (m *SignRawPayloadsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsResult) Validate ¶

func (m *SignRawPayloadsResult) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads result

type SignTransactionIntent ¶

type SignTransactionIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// type
	// Required: true
	Type *TransactionType `json:"type"`

	// Raw unsigned transaction to be signed by a particular Private Key.
	// Required: true
	UnsignedTransaction *string `json:"unsignedTransaction"`
}

SignTransactionIntent sign transaction intent

swagger:model SignTransactionIntent

func (*SignTransactionIntent) ContextValidate ¶

func (m *SignTransactionIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction intent based on the context it is used

func (*SignTransactionIntent) MarshalBinary ¶

func (m *SignTransactionIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionIntent) UnmarshalBinary ¶

func (m *SignTransactionIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionIntent) Validate ¶

func (m *SignTransactionIntent) Validate(formats strfmt.Registry) error

Validate validates this sign transaction intent

type SignTransactionIntentV2 ¶

type SignTransactionIntentV2 struct {

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`

	// type
	// Required: true
	Type *TransactionType `json:"type"`

	// Raw unsigned transaction to be signed
	// Required: true
	UnsignedTransaction *string `json:"unsignedTransaction"`
}

SignTransactionIntentV2 sign transaction intent v2

swagger:model SignTransactionIntentV2

func (*SignTransactionIntentV2) ContextValidate ¶

func (m *SignTransactionIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction intent v2 based on the context it is used

func (*SignTransactionIntentV2) MarshalBinary ¶

func (m *SignTransactionIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionIntentV2) UnmarshalBinary ¶

func (m *SignTransactionIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionIntentV2) Validate ¶

func (m *SignTransactionIntentV2) Validate(formats strfmt.Registry) error

Validate validates this sign transaction intent v2

type SignTransactionRequest ¶

type SignTransactionRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignTransactionIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_TRANSACTION_V2]
	Type *string `json:"type"`
}

SignTransactionRequest sign transaction request

swagger:model SignTransactionRequest

func (*SignTransactionRequest) ContextValidate ¶

func (m *SignTransactionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction request based on the context it is used

func (*SignTransactionRequest) MarshalBinary ¶

func (m *SignTransactionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionRequest) UnmarshalBinary ¶

func (m *SignTransactionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionRequest) Validate ¶

func (m *SignTransactionRequest) Validate(formats strfmt.Registry) error

Validate validates this sign transaction request

type SignTransactionResult ¶

type SignTransactionResult struct {

	// signed transaction
	// Required: true
	SignedTransaction *string `json:"signedTransaction"`
}

SignTransactionResult sign transaction result

swagger:model SignTransactionResult

func (*SignTransactionResult) ContextValidate ¶

func (m *SignTransactionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sign transaction result based on context it is used

func (*SignTransactionResult) MarshalBinary ¶

func (m *SignTransactionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionResult) UnmarshalBinary ¶

func (m *SignTransactionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionResult) Validate ¶

func (m *SignTransactionResult) Validate(formats strfmt.Registry) error

Validate validates this sign transaction result

type SimpleClientExtensionResults ¶

type SimpleClientExtensionResults struct {

	// appid
	Appid bool `json:"appid,omitempty"`

	// appid exclude
	AppidExclude bool `json:"appidExclude,omitempty"`

	// cred props
	CredProps *CredPropsAuthenticationExtensionsClientOutputs `json:"credProps,omitempty"`
}

SimpleClientExtensionResults simple client extension results

swagger:model SimpleClientExtensionResults

func (*SimpleClientExtensionResults) ContextValidate ¶

func (m *SimpleClientExtensionResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple client extension results based on the context it is used

func (*SimpleClientExtensionResults) MarshalBinary ¶

func (m *SimpleClientExtensionResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleClientExtensionResults) UnmarshalBinary ¶

func (m *SimpleClientExtensionResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleClientExtensionResults) Validate ¶

func (m *SimpleClientExtensionResults) Validate(formats strfmt.Registry) error

Validate validates this simple client extension results

type TagType ¶

type TagType string

TagType tag type

swagger:model TagType

const (

	// TagTypeUser captures enum value "TAG_TYPE_USER"
	TagTypeUser TagType = "TAG_TYPE_USER"

	// TagTypePrivateKey captures enum value "TAG_TYPE_PRIVATE_KEY"
	TagTypePrivateKey TagType = "TAG_TYPE_PRIVATE_KEY"
)

func NewTagType ¶

func NewTagType(value TagType) *TagType

func (TagType) ContextValidate ¶

func (m TagType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag type based on context it is used

func (TagType) Pointer ¶

func (m TagType) Pointer() *TagType

Pointer returns a pointer to a freshly-allocated TagType.

func (TagType) Validate ¶

func (m TagType) Validate(formats strfmt.Registry) error

Validate validates this tag type

type TransactionType ¶

type TransactionType string

TransactionType transaction type

swagger:model TransactionType

const (

	// TransactionTypeEthereum captures enum value "TRANSACTION_TYPE_ETHEREUM"
	TransactionTypeEthereum TransactionType = "TRANSACTION_TYPE_ETHEREUM"
)

func NewTransactionType ¶

func NewTransactionType(value TransactionType) *TransactionType

func (TransactionType) ContextValidate ¶

func (m TransactionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this transaction type based on context it is used

func (TransactionType) Pointer ¶

func (m TransactionType) Pointer() *TransactionType

Pointer returns a pointer to a freshly-allocated TransactionType.

func (TransactionType) Validate ¶

func (m TransactionType) Validate(formats strfmt.Registry) error

Validate validates this transaction type

type UpdateAllowedOriginsIntent ¶

type UpdateAllowedOriginsIntent struct {

	// Additional origins requests are allowed from besides Turnkey origins
	// Required: true
	AllowedOrigins []string `json:"allowedOrigins"`
}

UpdateAllowedOriginsIntent update allowed origins intent

swagger:model UpdateAllowedOriginsIntent

func (*UpdateAllowedOriginsIntent) ContextValidate ¶

func (m *UpdateAllowedOriginsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update allowed origins intent based on context it is used

func (*UpdateAllowedOriginsIntent) MarshalBinary ¶

func (m *UpdateAllowedOriginsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAllowedOriginsIntent) UnmarshalBinary ¶

func (m *UpdateAllowedOriginsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAllowedOriginsIntent) Validate ¶

func (m *UpdateAllowedOriginsIntent) Validate(formats strfmt.Registry) error

Validate validates this update allowed origins intent

type UpdateAllowedOriginsResult ¶

type UpdateAllowedOriginsResult interface{}

UpdateAllowedOriginsResult update allowed origins result

swagger:model UpdateAllowedOriginsResult

type UpdatePolicyIntent ¶

type UpdatePolicyIntent struct {

	// The condition expression that triggers the Effect (optional).
	PolicyCondition string `json:"policyCondition,omitempty"`

	// The consensus expression that triggers the Effect (optional).
	PolicyConsensus string `json:"policyConsensus,omitempty"`

	// The instruction to DENY or ALLOW an activity (optional).
	PolicyEffect Effect `json:"policyEffect,omitempty"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`

	// Human-readable name for a Policy.
	PolicyName string `json:"policyName,omitempty"`

	// Accompanying notes for a Policy (optional).
	PolicyNotes string `json:"policyNotes,omitempty"`
}

UpdatePolicyIntent update policy intent

swagger:model UpdatePolicyIntent

func (*UpdatePolicyIntent) ContextValidate ¶

func (m *UpdatePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update policy intent based on the context it is used

func (*UpdatePolicyIntent) MarshalBinary ¶

func (m *UpdatePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyIntent) UnmarshalBinary ¶

func (m *UpdatePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyIntent) Validate ¶

func (m *UpdatePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this update policy intent

type UpdatePolicyRequest ¶

type UpdatePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdatePolicyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_POLICY]
	Type *string `json:"type"`
}

UpdatePolicyRequest update policy request

swagger:model UpdatePolicyRequest

func (*UpdatePolicyRequest) ContextValidate ¶

func (m *UpdatePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update policy request based on the context it is used

func (*UpdatePolicyRequest) MarshalBinary ¶

func (m *UpdatePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyRequest) UnmarshalBinary ¶

func (m *UpdatePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyRequest) Validate ¶

func (m *UpdatePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this update policy request

type UpdatePolicyResult ¶

type UpdatePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

UpdatePolicyResult update policy result

swagger:model UpdatePolicyResult

func (*UpdatePolicyResult) ContextValidate ¶

func (m *UpdatePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update policy result based on context it is used

func (*UpdatePolicyResult) MarshalBinary ¶

func (m *UpdatePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyResult) UnmarshalBinary ¶

func (m *UpdatePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyResult) Validate ¶

func (m *UpdatePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this update policy result

type UpdatePrivateKeyTagIntent ¶

type UpdatePrivateKeyTagIntent struct {

	// A list of Private Keys IDs to add this tag to.
	// Required: true
	AddPrivateKeyIds []string `json:"addPrivateKeyIds"`

	// The new, human-readable name for the tag with the given ID.
	NewPrivateKeyTagName string `json:"newPrivateKeyTagName,omitempty"`

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`

	// A list of Private Key IDs to remove this tag from.
	// Required: true
	RemovePrivateKeyIds []string `json:"removePrivateKeyIds"`
}

UpdatePrivateKeyTagIntent update private key tag intent

swagger:model UpdatePrivateKeyTagIntent

func (*UpdatePrivateKeyTagIntent) ContextValidate ¶

func (m *UpdatePrivateKeyTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update private key tag intent based on context it is used

func (*UpdatePrivateKeyTagIntent) MarshalBinary ¶

func (m *UpdatePrivateKeyTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagIntent) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagIntent) Validate ¶

func (m *UpdatePrivateKeyTagIntent) Validate(formats strfmt.Registry) error

Validate validates this update private key tag intent

type UpdatePrivateKeyTagRequest ¶

type UpdatePrivateKeyTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdatePrivateKeyTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG]
	Type *string `json:"type"`
}

UpdatePrivateKeyTagRequest update private key tag request

swagger:model UpdatePrivateKeyTagRequest

func (*UpdatePrivateKeyTagRequest) ContextValidate ¶

func (m *UpdatePrivateKeyTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update private key tag request based on the context it is used

func (*UpdatePrivateKeyTagRequest) MarshalBinary ¶

func (m *UpdatePrivateKeyTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagRequest) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagRequest) Validate ¶

func (m *UpdatePrivateKeyTagRequest) Validate(formats strfmt.Registry) error

Validate validates this update private key tag request

type UpdatePrivateKeyTagResult ¶

type UpdatePrivateKeyTagResult struct {

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`
}

UpdatePrivateKeyTagResult update private key tag result

swagger:model UpdatePrivateKeyTagResult

func (*UpdatePrivateKeyTagResult) ContextValidate ¶

func (m *UpdatePrivateKeyTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update private key tag result based on context it is used

func (*UpdatePrivateKeyTagResult) MarshalBinary ¶

func (m *UpdatePrivateKeyTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagResult) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagResult) Validate ¶

func (m *UpdatePrivateKeyTagResult) Validate(formats strfmt.Registry) error

Validate validates this update private key tag result

type UpdateRootQuorumIntent ¶

type UpdateRootQuorumIntent struct {

	// The threshold of unique approvals to reach quorum.
	// Required: true
	Threshold *int32 `json:"threshold"`

	// The unique identifiers of users who comprise the quorum set.
	// Required: true
	UserIds []string `json:"userIds"`
}

UpdateRootQuorumIntent update root quorum intent

swagger:model UpdateRootQuorumIntent

func (*UpdateRootQuorumIntent) ContextValidate ¶

func (m *UpdateRootQuorumIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update root quorum intent based on context it is used

func (*UpdateRootQuorumIntent) MarshalBinary ¶

func (m *UpdateRootQuorumIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRootQuorumIntent) UnmarshalBinary ¶

func (m *UpdateRootQuorumIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRootQuorumIntent) Validate ¶

func (m *UpdateRootQuorumIntent) Validate(formats strfmt.Registry) error

Validate validates this update root quorum intent

type UpdateRootQuorumRequest ¶

type UpdateRootQuorumRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateRootQuorumIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_ROOT_QUORUM]
	Type *string `json:"type"`
}

UpdateRootQuorumRequest update root quorum request

swagger:model UpdateRootQuorumRequest

func (*UpdateRootQuorumRequest) ContextValidate ¶

func (m *UpdateRootQuorumRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update root quorum request based on the context it is used

func (*UpdateRootQuorumRequest) MarshalBinary ¶

func (m *UpdateRootQuorumRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRootQuorumRequest) UnmarshalBinary ¶

func (m *UpdateRootQuorumRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRootQuorumRequest) Validate ¶

func (m *UpdateRootQuorumRequest) Validate(formats strfmt.Registry) error

Validate validates this update root quorum request

type UpdateRootQuorumResult ¶

type UpdateRootQuorumResult interface{}

UpdateRootQuorumResult update root quorum result

swagger:model UpdateRootQuorumResult

type UpdateUserIntent ¶

type UpdateUserIntent struct {

	// The user's email address.
	UserEmail string `json:"userEmail,omitempty"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	UserName string `json:"userName,omitempty"`

	// An updated list of User Tags to apply to this User.
	UserTagIds []string `json:"userTagIds"`
}

UpdateUserIntent update user intent

swagger:model UpdateUserIntent

func (*UpdateUserIntent) ContextValidate ¶

func (m *UpdateUserIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user intent based on context it is used

func (*UpdateUserIntent) MarshalBinary ¶

func (m *UpdateUserIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserIntent) UnmarshalBinary ¶

func (m *UpdateUserIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserIntent) Validate ¶

func (m *UpdateUserIntent) Validate(formats strfmt.Registry) error

Validate validates this update user intent

type UpdateUserRequest ¶

type UpdateUserRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER]
	Type *string `json:"type"`
}

UpdateUserRequest update user request

swagger:model UpdateUserRequest

func (*UpdateUserRequest) ContextValidate ¶

func (m *UpdateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user request based on the context it is used

func (*UpdateUserRequest) MarshalBinary ¶

func (m *UpdateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserRequest) UnmarshalBinary ¶

func (m *UpdateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserRequest) Validate ¶

func (m *UpdateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this update user request

type UpdateUserResult ¶

type UpdateUserResult struct {

	// A User ID.
	// Required: true
	UserID *string `json:"userId"`
}

UpdateUserResult update user result

swagger:model UpdateUserResult

func (*UpdateUserResult) ContextValidate ¶

func (m *UpdateUserResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user result based on context it is used

func (*UpdateUserResult) MarshalBinary ¶

func (m *UpdateUserResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserResult) UnmarshalBinary ¶

func (m *UpdateUserResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserResult) Validate ¶

func (m *UpdateUserResult) Validate(formats strfmt.Registry) error

Validate validates this update user result

type UpdateUserTagIntent ¶

type UpdateUserTagIntent struct {

	// A list of User IDs to add this tag to.
	// Required: true
	AddUserIds []string `json:"addUserIds"`

	// The new, human-readable name for the tag with the given ID.
	NewUserTagName string `json:"newUserTagName,omitempty"`

	// A list of User IDs to remove this tag from.
	// Required: true
	RemoveUserIds []string `json:"removeUserIds"`

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

UpdateUserTagIntent update user tag intent

swagger:model UpdateUserTagIntent

func (*UpdateUserTagIntent) ContextValidate ¶

func (m *UpdateUserTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user tag intent based on context it is used

func (*UpdateUserTagIntent) MarshalBinary ¶

func (m *UpdateUserTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagIntent) UnmarshalBinary ¶

func (m *UpdateUserTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagIntent) Validate ¶

func (m *UpdateUserTagIntent) Validate(formats strfmt.Registry) error

Validate validates this update user tag intent

type UpdateUserTagRequest ¶

type UpdateUserTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER_TAG]
	Type *string `json:"type"`
}

UpdateUserTagRequest update user tag request

swagger:model UpdateUserTagRequest

func (*UpdateUserTagRequest) ContextValidate ¶

func (m *UpdateUserTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user tag request based on the context it is used

func (*UpdateUserTagRequest) MarshalBinary ¶

func (m *UpdateUserTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagRequest) UnmarshalBinary ¶

func (m *UpdateUserTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagRequest) Validate ¶

func (m *UpdateUserTagRequest) Validate(formats strfmt.Registry) error

Validate validates this update user tag request

type UpdateUserTagResult ¶

type UpdateUserTagResult struct {

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

UpdateUserTagResult update user tag result

swagger:model UpdateUserTagResult

func (*UpdateUserTagResult) ContextValidate ¶

func (m *UpdateUserTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user tag result based on context it is used

func (*UpdateUserTagResult) MarshalBinary ¶

func (m *UpdateUserTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagResult) UnmarshalBinary ¶

func (m *UpdateUserTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagResult) Validate ¶

func (m *UpdateUserTagResult) Validate(formats strfmt.Registry) error

Validate validates this update user tag result

type User ¶

type User struct {

	// A list of API Key parameters.
	// Required: true
	APIKeys []*APIKey `json:"apiKeys"`

	// A list of Authenticator parameters.
	// Required: true
	Authenticators []*Authenticator `json:"authenticators"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// The user's email address.
	UserEmail string `json:"userEmail,omitempty"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of User Tag IDs.
	// Required: true
	UserTags []string `json:"userTags"`
}

User user

swagger:model User

func (*User) ContextValidate ¶

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary ¶

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary ¶

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate ¶

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserParams ¶

type UserParams struct {

	// The User's permissible access method(s).
	// Required: true
	AccessType *AccessType `json:"accessType"`

	// A list of API Key parameters.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters.
	// Required: true
	Authenticators []*AuthenticatorParams `json:"authenticators"`

	// The user's email address.
	UserEmail string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of User Tag IDs.
	// Required: true
	UserTags []string `json:"userTags"`
}

UserParams user params

swagger:model UserParams

func (*UserParams) ContextValidate ¶

func (m *UserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user params based on the context it is used

func (*UserParams) MarshalBinary ¶

func (m *UserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserParams) UnmarshalBinary ¶

func (m *UserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserParams) Validate ¶

func (m *UserParams) Validate(formats strfmt.Registry) error

Validate validates this user params

type UserParamsV2 ¶

type UserParamsV2 struct {

	// A list of API Key parameters.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// The user's email address.
	UserEmail string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of User Tag IDs.
	// Required: true
	UserTags []string `json:"userTags"`
}

UserParamsV2 user params v2

swagger:model UserParamsV2

func (*UserParamsV2) ContextValidate ¶

func (m *UserParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user params v2 based on the context it is used

func (*UserParamsV2) MarshalBinary ¶

func (m *UserParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserParamsV2) UnmarshalBinary ¶

func (m *UserParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserParamsV2) Validate ¶

func (m *UserParamsV2) Validate(formats strfmt.Registry) error

Validate validates this user params v2

type V1Tag ¶

type V1Tag struct {

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Unique identifier for a given Tag.
	// Required: true
	TagID *string `json:"tagId"`

	// Human-readable name for a Tag.
	// Required: true
	TagName *string `json:"tagName"`

	// tag type
	// Required: true
	TagType *TagType `json:"tagType"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

V1Tag v1 tag

swagger:model v1.Tag

func (*V1Tag) ContextValidate ¶

func (m *V1Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 tag based on the context it is used

func (*V1Tag) MarshalBinary ¶

func (m *V1Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Tag) UnmarshalBinary ¶

func (m *V1Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Tag) Validate ¶

func (m *V1Tag) Validate(formats strfmt.Registry) error

Validate validates this v1 tag

type Vote ¶

type Vote struct {

	// Unique identifier for a given Activity object.
	// Required: true
	ActivityID *string `json:"activityId"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Unique identifier for a given Vote object.
	// Required: true
	ID *string `json:"id"`

	// The raw message being signed within a Vote.
	// Required: true
	Message *string `json:"message"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// Method used to produce a signature.
	// Required: true
	Scheme *string `json:"scheme"`

	// selection
	// Required: true
	// Enum: [VOTE_SELECTION_APPROVED VOTE_SELECTION_REJECTED]
	Selection *string `json:"selection"`

	// The signature applied to a particular vote.
	// Required: true
	Signature *string `json:"signature"`

	// Web and/or API user within your Organization.
	// Required: true
	User *User `json:"user"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

Vote vote

swagger:model Vote

func (*Vote) ContextValidate ¶

func (m *Vote) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vote based on the context it is used

func (*Vote) MarshalBinary ¶

func (m *Vote) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Vote) UnmarshalBinary ¶

func (m *Vote) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Vote) Validate ¶

func (m *Vote) Validate(formats strfmt.Registry) error

Validate validates this vote

type Wallet ¶

type Wallet struct {

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// True when a given Wallet is exported, false otherwise.
	// Required: true
	Exported *bool `json:"exported"`

	// True when a given Wallet is imported, false otherwise.
	// Required: true
	Imported *bool `json:"imported"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

Wallet wallet

swagger:model Wallet

func (*Wallet) ContextValidate ¶

func (m *Wallet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet based on the context it is used

func (*Wallet) MarshalBinary ¶

func (m *Wallet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Wallet) UnmarshalBinary ¶

func (m *Wallet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Wallet) Validate ¶

func (m *Wallet) Validate(formats strfmt.Registry) error

Validate validates this wallet

type WalletAccount ¶

type WalletAccount struct {

	// Address generated using the Wallet seed and Account parameters.
	// Required: true
	Address *string `json:"address"`

	// Address format used to generate the Acccount.
	// Required: true
	AddressFormat *AddressFormat `json:"addressFormat"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Cryptographic curve used to generate the Account.
	// Required: true
	Curve *Curve `json:"curve"`

	// The Organization the Account belongs to.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Path used to generate the Account.
	// Required: true
	Path *string `json:"path"`

	// Path format used to generate the Account.
	// Required: true
	PathFormat *PathFormat `json:"pathFormat"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// The Wallet the Account was derived from.
	// Required: true
	WalletID *string `json:"walletId"`
}

WalletAccount wallet account

swagger:model WalletAccount

func (*WalletAccount) ContextValidate ¶

func (m *WalletAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet account based on the context it is used

func (*WalletAccount) MarshalBinary ¶

func (m *WalletAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletAccount) UnmarshalBinary ¶

func (m *WalletAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletAccount) Validate ¶

func (m *WalletAccount) Validate(formats strfmt.Registry) error

Validate validates this wallet account

type WalletAccountParams ¶

type WalletAccountParams struct {

	// Address format used to generate a wallet Acccount.
	// Required: true
	AddressFormat *AddressFormat `json:"addressFormat"`

	// Cryptographic curve used to generate a wallet Account.
	// Required: true
	Curve *Curve `json:"curve"`

	// Path used to generate a wallet Account.
	// Required: true
	Path *string `json:"path"`

	// Path format used to generate a wallet Account.
	// Required: true
	PathFormat *PathFormat `json:"pathFormat"`
}

WalletAccountParams wallet account params

swagger:model WalletAccountParams

func (*WalletAccountParams) ContextValidate ¶

func (m *WalletAccountParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet account params based on the context it is used

func (*WalletAccountParams) MarshalBinary ¶

func (m *WalletAccountParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletAccountParams) UnmarshalBinary ¶

func (m *WalletAccountParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletAccountParams) Validate ¶

func (m *WalletAccountParams) Validate(formats strfmt.Registry) error

Validate validates this wallet account params

type WalletParams ¶

type WalletParams struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
	MnemonicLength int32 `json:"mnemonicLength,omitempty"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

WalletParams wallet params

swagger:model WalletParams

func (*WalletParams) ContextValidate ¶

func (m *WalletParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet params based on the context it is used

func (*WalletParams) MarshalBinary ¶

func (m *WalletParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletParams) UnmarshalBinary ¶

func (m *WalletParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletParams) Validate ¶

func (m *WalletParams) Validate(formats strfmt.Registry) error

Validate validates this wallet params

type WalletResult ¶

type WalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// wallet Id
	// Required: true
	WalletID *string `json:"walletId"`
}

WalletResult wallet result

swagger:model WalletResult

func (*WalletResult) ContextValidate ¶

func (m *WalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this wallet result based on context it is used

func (*WalletResult) MarshalBinary ¶

func (m *WalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletResult) UnmarshalBinary ¶

func (m *WalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletResult) Validate ¶

func (m *WalletResult) Validate(formats strfmt.Registry) error

Validate validates this wallet result

Source Files ¶

Jump to

Keyboard shortcuts

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