models

package
v0.0.0-...-cfedc03 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// PolicyCreateSerializationJSON captures enum value "json"
	PolicyCreateSerializationJSON string = "json"

	// PolicyCreateSerializationYaml captures enum value "yaml"
	PolicyCreateSerializationYaml string = "yaml"

	// PolicyCreateSerializationYml captures enum value "yml"
	PolicyCreateSerializationYml string = "yml"
)
View Source
const (

	// PolicyUpdateSerializationJSON captures enum value "json"
	PolicyUpdateSerializationJSON string = "json"

	// PolicyUpdateSerializationYaml captures enum value "yaml"
	PolicyUpdateSerializationYaml string = "yaml"

	// PolicyUpdateSerializationYml captures enum value "yml"
	PolicyUpdateSerializationYml string = "yml"
)
View Source
const (

	// PostConfigModelSerializationJSON captures enum value "json"
	PostConfigModelSerializationJSON string = "json"

	// PostConfigModelSerializationYaml captures enum value "yaml"
	PostConfigModelSerializationYaml string = "yaml"

	// PostConfigModelSerializationYml captures enum value "yml"
	PostConfigModelSerializationYml string = "yml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessTokenResponse

type AccessTokenResponse struct {

	// Seconds until access token expires
	ExpiresIn int64 `json:"expiresIn,omitempty"`

	// Refresh token that can be used to get a new access token
	RefreshToken string `json:"refreshToken,omitempty"`

	// JWT access token for authorized requests
	Token string `json:"accessToken,omitempty"`

	// Token type
	TokenType string `json:"tokenType,omitempty"`
}

AccessTokenResponse AccessTokenResponse contains the bearer access token for accessing authorized endpoints

swagger:model AccessTokenResponse

func (*AccessTokenResponse) ContextValidate

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

ContextValidate validates this access token response based on context it is used

func (*AccessTokenResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AccessTokenResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccessTokenResponse) Validate

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

Validate validates this access token response

type AddMemberResponse

type AddMemberResponse struct {

	// errors
	Errors map[string]string `json:"errors,omitempty"`

	// names
	Names []string `json:"addedMemberNames"`
}

AddMemberResponse AddMemberResponse for Add members response

swagger:model AddMemberResponse

func (*AddMemberResponse) ContextValidate

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

ContextValidate validates this add member response based on context it is used

func (*AddMemberResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddMemberResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddMemberResponse) Validate

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

Validate validates this add member response

type AddToGroupsRequest

type AddToGroupsRequest struct {

	// List of group names
	Names []string `json:"groupNames"`
}

AddToGroupsRequest AddToGroupsRequest to add user to a list of groups

swagger:model AddToGroupsRequest

func (*AddToGroupsRequest) ContextValidate

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

ContextValidate validates this add to groups request based on context it is used

func (*AddToGroupsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddToGroupsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddToGroupsRequest) Validate

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

Validate validates this add to groups request

type AddToGroupsResponse

type AddToGroupsResponse struct {

	// errors
	Errors map[string]string `json:"errors,omitempty"`
}

AddToGroupsResponse AddToGroupsResponse to add user to a list of groups

swagger:model AddToGroupsResponse

func (*AddToGroupsResponse) ContextValidate

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

ContextValidate validates this add to groups response based on context it is used

func (*AddToGroupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddToGroupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddToGroupsResponse) Validate

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

Validate validates this add to groups response

type ApplyResponse

type ApplyResponse struct {

	// status
	Status string `json:"status,omitempty"`
}

ApplyResponse apply response

swagger:model ApplyResponse

func (*ApplyResponse) ContextValidate

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

ContextValidate validates this apply response based on context it is used

func (*ApplyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ApplyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApplyResponse) Validate

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

Validate validates this apply response

type Audit

type Audit struct {

	// Action performed
	Action string `json:"action,omitempty"`

	// Audit created date
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// Audit id
	ID string `json:"id,omitempty"`

	// IP Address logged from client
	IPAddress string `json:"ipaddress,omitempty"`

	// Message additional details
	Message string `json:"message,omitempty"`

	// Resource path action performed on
	Path string `json:"path,omitempty"`

	// Security principal that performed action
	Principal string `json:"principal,omitempty"`

	// Principal item ID
	PrincipalItemID string `json:"principalItemId,omitempty"`

	// Http status code
	Status int64 `json:"status,omitempty"`

	// Tenant ID
	Tenant string `json:"tenant,omitempty"`

	// Tenant Name
	TenantName string `json:"tenantName,omitempty"`
}

Audit Audit model

swagger:model Audit

func (*Audit) ContextValidate

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

ContextValidate validates this audit based on context it is used

func (*Audit) MarshalBinary

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

MarshalBinary interface implementation

func (*Audit) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Audit) Validate

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

Validate validates this audit

type AuthProperties

type AuthProperties struct {

	// account ID
	AccountID string `json:"accountId,omitempty"`

	// base URI
	BaseURI string `json:"baseUri,omitempty"`

	// client email
	ClientEmail string `json:"clientEmail,omitempty"`

	// client ID
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// private key ID
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// project ID
	ProjectID string `json:"projectId,omitempty"`

	// send welcome email
	SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"`

	// tenant ID
	TenantID string `json:"tenantId,omitempty"`

	// token URI
	TokenURI string `json:"tokenUri,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username claim
	UsernameClaim string `json:"usernameClaim,omitempty"`
}

AuthProperties auth properties

swagger:model AuthProperties

func (*AuthProperties) ContextValidate

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

ContextValidate validates this auth properties based on context it is used

func (*AuthProperties) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthProperties) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthProperties) Validate

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

Validate validates this auth properties

type Authentication

type Authentication struct {

	// ID
	ID string `json:"ID,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// properties
	Properties *AuthProperties `json:"properties,omitempty"`
}

Authentication Authentication is the 3rd party authentication providers

swagger:model Authentication

func (*Authentication) ContextValidate

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

ContextValidate validate this authentication based on the context it is used

func (*Authentication) MarshalBinary

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

MarshalBinary interface implementation

func (*Authentication) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Authentication) Validate

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

Validate validates this authentication

type AuthenticationCreateModel

type AuthenticationCreateModel struct {

	// AuthenticationSettings provider system type.
	AuthType string `json:"type,omitempty"`

	// Name of authentication provider.
	// Required: true
	// Max Length: 50
	// Min Length: 3
	Name *string `json:"name"`

	// properties
	Properties *ProviderProperties `json:"properties,omitempty"`
}

AuthenticationCreateModel AuthenticationCreateModel defines the post parameters.

swagger:model AuthenticationCreateModel

func (*AuthenticationCreateModel) ContextValidate

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

ContextValidate validate this authentication create model based on the context it is used

func (*AuthenticationCreateModel) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthenticationCreateModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthenticationCreateModel) Validate

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

Validate validates this authentication create model

type AuthenticationSettings

type AuthenticationSettings struct {

	// AuthenticationSettings provider system type.
	AuthType string `json:"type,omitempty"`

	// created
	Created string `json:"created,omitempty"`

	// created by
	CreatedBy string `json:"createdBy,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// last modified
	LastModified string `json:"lastModified,omitempty"`

	// last modified by
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// properties
	Properties *ProviderProperties `json:"properties,omitempty"`
}

AuthenticationSettings AuthenticationSettings is the 3rd party authentication providers.

swagger:model AuthenticationSettings

func (*AuthenticationSettings) ContextValidate

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

ContextValidate validate this authentication settings based on the context it is used

func (*AuthenticationSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthenticationSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthenticationSettings) Validate

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

Validate validates this authentication settings

type AuthenticationSettingsVersionResponse

type AuthenticationSettingsVersionResponse struct {

	// AuthenticationSettingsVersionResponse that match the version.
	Data []*AuthenticationSettings `json:"data"`
}

AuthenticationSettingsVersionResponse Version results response.

swagger:model AuthenticationSettingsVersionResponse

func (*AuthenticationSettingsVersionResponse) ContextValidate

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

ContextValidate validate this authentication settings version response based on the context it is used

func (*AuthenticationSettingsVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthenticationSettingsVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthenticationSettingsVersionResponse) Validate

Validate validates this authentication settings version response

type AutoKey

type AutoKey struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

AutoKey auto key

swagger:model AutoKey

func (*AutoKey) ContextValidate

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

ContextValidate validates this auto key based on context it is used

func (*AutoKey) MarshalBinary

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

MarshalBinary interface implementation

func (*AutoKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AutoKey) Validate

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

Validate validates this auto key

type AutoKeyResponse

type AutoKeyResponse struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// A path to a data-key managed by DSV
	Path string `json:"path,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

AutoKeyResponse AutoKeyResponse contains the metadata of a data key

swagger:model AutoKeyResponse

func (*AutoKeyResponse) ContextValidate

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

ContextValidate validates this auto key response based on context it is used

func (*AutoKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AutoKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AutoKeyResponse) Validate

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

Validate validates this auto key response

type ClientCreate

type ClientCreate struct {

	// Client description
	Description string `json:"description,omitempty"`

	// Name of role to assign to client
	// Required: true
	Role *string `json:"role"`

	// TTL expiration in seconds
	TTL int64 `json:"ttl,omitempty"`

	// Url
	URL bool `json:"url,omitempty"`

	// Url TTL
	URLTTL int64 `json:"urlTTL,omitempty"`

	// Uses the number of times the client credential can be read. if set to 0, it can be used infinitely. default is 0.
	UsesLimit int64 `json:"usesLimit,omitempty"`
}

ClientCreate client create

swagger:model ClientCreate

func (*ClientCreate) ContextValidate

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

ContextValidate validates this client create based on context it is used

func (*ClientCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*ClientCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClientCreate) Validate

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

Validate validates this client create

type ClientCredentials

type ClientCredentials struct {

	// Url already used or not
	Accessed string `json:"accessed,omitempty"`

	// Unique uuid of client credentials
	ClientID string `json:"clientId,omitempty"`

	// Secret key returned on create
	ClientSecret string `json:"clientSecret,omitempty"`

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// ExpiredAt expiration time
	ExpiredAt string `json:"expiredAt,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Assigned role for determining access
	Role string `json:"role,omitempty"`

	// status
	Status string `json:"status,omitempty"`

	// TTL expiration in seconds
	TTL int64 `json:"TTL,omitempty"`

	// If Url requested
	URL bool `json:"url,omitempty"`

	// Url expiration time
	URLExpires string `json:"urlExpires,omitempty"`

	// URL Path
	URLPath string `json:"urlPath,omitempty"`

	// Url expiration in seconds
	URLTTL int64 `json:"urlTTL,omitempty"`

	// used count
	UsedCount int64 `json:"usedCount,omitempty"`

	// Uses  the number of times the client credential can be read.  if set to 0, it can be used infinitely.  default is 0.
	UsesLimit int64 `json:"usesLimit,omitempty"`
}

ClientCredentials ClientCredentials are used in the client_credentials authentication flow

swagger:model ClientCredentials

func (*ClientCredentials) ContextValidate

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

ContextValidate validates this client credentials based on context it is used

func (*ClientCredentials) MarshalBinary

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

MarshalBinary interface implementation

func (*ClientCredentials) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClientCredentials) Validate

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

Validate validates this client credentials

type Condition

type Condition struct {

	// GetName returns the condition's name.
	GetName string `json:"GetName,omitempty"`
}

Condition Condition either do or do not fulfill an access request.

swagger:model Condition

func (*Condition) ContextValidate

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

ContextValidate validates this condition based on context it is used

func (*Condition) MarshalBinary

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

MarshalBinary interface implementation

func (*Condition) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Condition) Validate

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

Validate validates this condition

type Conditions

type Conditions map[string]Condition

Conditions Conditions is a collection of conditions.

swagger:model Conditions

func (Conditions) ContextValidate

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

ContextValidate validate this conditions based on the context it is used

func (Conditions) Validate

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

Validate validates this conditions

type CreateGroup

type CreateGroup struct {

	// Members
	Members []string `json:"members"`

	// MetaData
	MetaData []map[string]string `json:"metaData"`

	// Group name
	// Required: true
	Name *string `json:"groupName"`
}

CreateGroup create group

swagger:model CreateGroup

func (*CreateGroup) ContextValidate

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

ContextValidate validates this create group based on context it is used

func (*CreateGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateGroup) Validate

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

Validate validates this create group

type CreateResponse

type CreateResponse struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// last heartbeat
	LastHeartbeat string `json:"lastHeartbeat,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

CreateResponse Initialized engine and corresponding public / private key pair for signing engine tokens

swagger:model CreateResponse

func (*CreateResponse) ContextValidate

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

ContextValidate validates this create response based on context it is used

func (*CreateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateResponse) Validate

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

Validate validates this create response

type DecryptionResponse

type DecryptionResponse struct {

	// data
	Data string `json:"data,omitempty"`

	// Path of the key with which decryption was performed
	Path string `json:"path,omitempty"`

	// Version of the key with which decryption was performed
	Version string `json:"version,omitempty"`
}

DecryptionResponse DecryptionResponse contains data decrypted from ciphertext

swagger:model DecryptionResponse

func (*DecryptionResponse) ContextValidate

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

ContextValidate validates this decryption response based on context it is used

func (*DecryptionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DecryptionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DecryptionResponse) Validate

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

Validate validates this decryption response

type DefaultPolicy

type DefaultPolicy struct {

	// actions
	Actions []string `json:"actions"`

	// description
	Description string `json:"description,omitempty"`

	// effect
	Effect string `json:"effect,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// meta
	Meta []uint8 `json:"meta"`

	// resources
	Resources []string `json:"resources"`

	// subjects
	Subjects []string `json:"subjects"`

	// conditions
	Conditions Conditions `json:"conditions,omitempty"`
}

DefaultPolicy DefaultPolicy is the default implementation of the policy interface.

swagger:model DefaultPolicy

func (*DefaultPolicy) ContextValidate

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

ContextValidate validate this default policy based on the context it is used

func (*DefaultPolicy) MarshalBinary

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

MarshalBinary interface implementation

func (*DefaultPolicy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DefaultPolicy) Validate

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

Validate validates this default policy

type Details

type Details struct {

	// AuthenticationSettings provider system type.
	AuthType string `json:"type,omitempty"`

	// properties
	Properties *ProviderProperties `json:"properties,omitempty"`
}

Details Details defines the editable properties of a Role.

swagger:model Details

func (*Details) ContextValidate

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

ContextValidate validate this details based on the context it is used

func (*Details) MarshalBinary

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

MarshalBinary interface implementation

func (*Details) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Details) Validate

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

Validate validates this details

type Document

type Document struct {

	// created
	Created string `json:"created,omitempty"`

	// created by
	CreatedBy string `json:"createdBy,omitempty"`

	// last modified
	LastModified string `json:"lastModified,omitempty"`

	// last modified by
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// permission document
	PermissionDocument []*DefaultPolicy `json:"permissionDocument"`

	// refresh token TTL hours
	RefreshTokenTTLHours int64 `json:"refreshTokenTTLHours,omitempty"`

	// tenant name
	TenantName string `json:"tenantName,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// settings
	Settings *Settings `json:"settings,omitempty"`
}

Document Document is the per-tenant configuration store

swagger:model Document

func (*Document) ContextValidate

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

ContextValidate validate this document based on the context it is used

func (*Document) MarshalBinary

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

MarshalBinary interface implementation

func (*Document) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Document) Validate

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

Validate validates this document

type DocumentVersion

type DocumentVersion struct {

	// data
	Data []*Document `json:"data"`
}

DocumentVersion document version

swagger:model DocumentVersion

func (*DocumentVersion) ContextValidate

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

ContextValidate validate this document version based on the context it is used

func (*DocumentVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*DocumentVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DocumentVersion) Validate

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

Validate validates this document version

type EncryptionResponse

type EncryptionResponse struct {

	// ciphertext
	Ciphertext []uint8 `json:"ciphertext"`

	// Path of the key with which encryption was performed
	Path string `json:"path,omitempty"`

	// Version of the key with which encryption was performed
	Version string `json:"version,omitempty"`
}

EncryptionResponse EncryptionResponse contains ciphertext produced from encrypting a plaintext string with a key

swagger:model EncryptionResponse

func (*EncryptionResponse) ContextValidate

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

ContextValidate validates this encryption response based on context it is used

func (*EncryptionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EncryptionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EncryptionResponse) Validate

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

Validate validates this encryption response

type Engine

type Engine struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// last heartbeat
	LastHeartbeat string `json:"lastHeartbeat,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

Engine Engine is the stored record

swagger:model Engine

func (*Engine) ContextValidate

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

ContextValidate validates this engine based on context it is used

func (*Engine) MarshalBinary

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

MarshalBinary interface implementation

func (*Engine) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Engine) Validate

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

Validate validates this engine

type EngineCreate

type EngineCreate struct {

	// Name of engine
	// Required: true
	Name *string `json:"name"`

	// Name of pool to assign engine to
	// Required: true
	PoolName *string `json:"poolName"`
}

EngineCreate engine create

swagger:model EngineCreate

func (*EngineCreate) ContextValidate

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

ContextValidate validates this engine create based on context it is used

func (*EngineCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*EngineCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EngineCreate) Validate

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

Validate validates this engine create

type EngineListResult

type EngineListResult struct {

	// name
	Name string `json:"name,omitempty"`

	// pool name
	PoolName string `json:"poolName,omitempty"`
}

EngineListResult engine list result

swagger:model EngineListResult

func (*EngineListResult) ContextValidate

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

ContextValidate validates this engine list result based on context it is used

func (*EngineListResult) MarshalBinary

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

MarshalBinary interface implementation

func (*EngineListResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EngineListResult) Validate

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

Validate validates this engine list result

type EngineSearchResponse

type EngineSearchResponse struct {

	// Cursor to next batch of results
	Cursor string `json:"cursor,omitempty"`

	// Policies that match the search term
	Data []*Engine `json:"data"`

	// The number of results in this response
	Length int64 `json:"length,omitempty"`

	// The maximum number of results per cursor
	Limit int64 `json:"limit,omitempty"`

	// Sort order
	Sort string `json:"sort,omitempty"`
}

EngineSearchResponse Search results response

swagger:model EngineSearchResponse

func (*EngineSearchResponse) ContextValidate

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

ContextValidate validate this engine search response based on the context it is used

func (*EngineSearchResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EngineSearchResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EngineSearchResponse) Validate

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

Validate validates this engine search response

type GenerateResponse

type GenerateResponse struct {

	// min number of shares
	MinNumberOfShares int64 `json:"minNumberOfShares,omitempty"`

	// new admins
	NewAdmins []string `json:"newAdmins"`

	// status
	Status string `json:"status,omitempty"`

	// total number of shares
	TotalNumberOfShares int64 `json:"totalNumberOfShares,omitempty"`
}

GenerateResponse generate response

swagger:model GenerateResponse

func (*GenerateResponse) ContextValidate

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

ContextValidate validates this generate response based on context it is used

func (*GenerateResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GenerateResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GenerateResponse) Validate

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

Validate validates this generate response

type Group

type Group struct {

	// the id for this item
	ID string `json:"id,omitempty"`

	// Members
	Members []string `json:"members"`

	// MetaData
	MetaData []map[string]string `json:"metaData"`

	// Name
	Name string `json:"groupName,omitempty"`

	// Total number of members
	Total int64 `json:"total,omitempty"`
}

Group group

swagger:model Group

func (*Group) ContextValidate

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

ContextValidate validates this group based on context it is used

func (*Group) MarshalBinary

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

MarshalBinary interface implementation

func (*Group) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Group) Validate

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

Validate validates this group

type GroupMemberInfo

type GroupMemberInfo struct {

	// Created at
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// GroupName
	GroupName string `json:"groupName,omitempty"`
}

GroupMemberInfo group member info

swagger:model GroupMemberInfo

func (*GroupMemberInfo) ContextValidate

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

ContextValidate validates this group member info based on context it is used

func (*GroupMemberInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*GroupMemberInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GroupMemberInfo) Validate

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

Validate validates this group member info

type GroupResponse

type GroupResponse struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// Members
	Members []string `json:"members"`

	// MetaData
	MetaData []map[string]string `json:"metaData"`

	// Name
	Name string `json:"groupName,omitempty"`

	// Total number of members
	Total int64 `json:"total,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

GroupResponse GroupResponse response with metadata

swagger:model GroupResponse

func (*GroupResponse) ContextValidate

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

ContextValidate validates this group response based on context it is used

func (*GroupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GroupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GroupResponse) Validate

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

Validate validates this group response

type HTTPError

type HTTPError struct {

	// HTTP status code
	Code int64 `json:"code,omitempty"`

	// errors
	Errors map[string][]string `json:"errors,omitempty"`

	// Detailed error message
	Message string `json:"message,omitempty"`
}

HTTPError HTTPError contains the status code and a detailed error message

swagger:model HTTPError

func (*HTTPError) ContextValidate

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

ContextValidate validates this HTTP error based on context it is used

func (*HTTPError) MarshalBinary

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

MarshalBinary interface implementation

func (*HTTPError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HTTPError) Validate

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

Validate validates this HTTP error

type History

type History interface{}

History History struct common to most responses

swagger:model History

type InitiateCertAuthResponse

type InitiateCertAuthResponse struct {

	// Encrypted and base64 encoded challenge
	Encrypted string `json:"encrypted,omitempty"`

	// Challenge id
	ID string `json:"cert_challenge_id,omitempty"`
}

InitiateCertAuthResponse InitiateCertAuthResponse contains challenge to decrypt and challenge id

swagger:model InitiateCertAuthResponse

func (*InitiateCertAuthResponse) ContextValidate

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

ContextValidate validates this initiate cert auth response based on context it is used

func (*InitiateCertAuthResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*InitiateCertAuthResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InitiateCertAuthResponse) Validate

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

Validate validates this initiate cert auth response

type Key

type Key interface{}

Key Key struct

swagger:model Key

type ManualKeyData

type ManualKeyData struct {

	// metadata
	Metadata interface{} `json:"metadata,omitempty"`

	// Base64 encoded nonce to be used with key. If not provided, DSV generates it for the user.
	Nonce string `json:"nonce,omitempty"`

	// Base64 encoded private key
	// Required: true
	PrivateKey *string `json:"privateKey"`

	// Encryption scheme to be used.
	// Required: true
	Scheme *string `json:"scheme"`
}

ManualKeyData manual key data

swagger:model ManualKeyData

func (*ManualKeyData) ContextValidate

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

ContextValidate validates this manual key data based on context it is used

func (*ManualKeyData) MarshalBinary

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

MarshalBinary interface implementation

func (*ManualKeyData) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ManualKeyData) Validate

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

Validate validates this manual key data

type MemberRequest

type MemberRequest struct {

	// Names
	Names []string `json:"memberNames"`
}

MemberRequest MemberRequest to add users to or delete from a group

swagger:model MemberRequest

func (*MemberRequest) ContextValidate

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

ContextValidate validates this member request based on context it is used

func (*MemberRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberRequest) Validate

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

Validate validates this member request

type MemberResponse

type MemberResponse struct {

	// Groups information
	GroupMemberInfo []*GroupMemberInfo `json:"groups"`

	// Name
	Name string `json:"name,omitempty"`

	// Total number of items
	Total int64 `json:"total,omitempty"`
}

MemberResponse MemberResponse for member response

swagger:model MemberResponse

func (*MemberResponse) ContextValidate

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

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

func (*MemberResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*MemberResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MemberResponse) Validate

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

Validate validates this member response

type MessageResponse

type MessageResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

MessageResponse MessageResponse is a generic response that includes a message for the user

swagger:model MessageResponse

func (*MessageResponse) ContextValidate

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

ContextValidate validates this message response based on context it is used

func (*MessageResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*MessageResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MessageResponse) Validate

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

Validate validates this message response

type PageInfo

type PageInfo interface{}

PageInfo Paging struct common to all search results

swagger:model PageInfo

type PasswordChange

type PasswordChange struct {

	// The user's current password
	// Required: true
	CurrentPassword *string `json:"currentPassword"`

	// The new password to use
	// Required: true
	// Max Length: 100
	// Min Length: 8
	NewPassword *string `json:"newPassword"`
}

PasswordChange PasswordChange model for submitting password change requests

swagger:model PasswordChange

func (*PasswordChange) ContextValidate

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

ContextValidate validates this password change based on context it is used

func (*PasswordChange) MarshalBinary

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

MarshalBinary interface implementation

func (*PasswordChange) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PasswordChange) Validate

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

Validate validates this password change

type PingResponse

type PingResponse struct {

	// message
	Message string `json:"message,omitempty"`
}

PingResponse ping response

swagger:model PingResponse

func (*PingResponse) ContextValidate

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

ContextValidate validates this ping response based on context it is used

func (*PingResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PingResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PingResponse) Validate

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

Validate validates this ping response

type Policy

type Policy struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// path
	Path string `json:"path,omitempty"`

	// permission document
	PermissionDocument []*DefaultPolicy `json:"permissionDocument"`

	// Current version
	Version string `json:"version,omitempty"`
}

Policy Policy is a named set of permissions

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 PolicyCreate

type PolicyCreate struct {

	// path
	// Required: true
	// Max Length: 500
	// Min Length: 3
	Path *string `json:"path"`

	// policy
	// Required: true
	// Max Length: 2000
	// Min Length: 10
	Policy *string `json:"policy"`

	// serialization
	// Enum: [json yaml yml]
	Serialization *string `json:"serialization,omitempty"`
}

PolicyCreate PolicyCreate struct

swagger:model PolicyCreate

func (*PolicyCreate) ContextValidate

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

ContextValidate validates this policy create based on context it is used

func (*PolicyCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyCreate) Validate

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

Validate validates this policy create

type PolicySearchResponse

type PolicySearchResponse struct {

	// Cursor to next batch of results
	Cursor string `json:"cursor,omitempty"`

	// Policies that match the search term
	Data []*Policy `json:"data"`

	// The number of results in this response
	Length int64 `json:"length,omitempty"`

	// The maximum number of results per cursor
	Limit int64 `json:"limit,omitempty"`

	// Sort order
	Sort string `json:"sort,omitempty"`
}

PolicySearchResponse Search results response

swagger:model PolicySearchResponse

func (*PolicySearchResponse) ContextValidate

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

ContextValidate validate this policy search response based on the context it is used

func (*PolicySearchResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicySearchResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicySearchResponse) Validate

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

Validate validates this policy search response

type PolicyUpdate

type PolicyUpdate struct {

	// policy
	// Required: true
	// Max Length: 2000
	// Min Length: 10
	Policy *string `json:"policy"`

	// serialization
	// Enum: [json yaml yml]
	Serialization *string `json:"serialization,omitempty"`
}

PolicyUpdate PolicyUpdate struct

swagger:model PolicyUpdate

func (*PolicyUpdate) ContextValidate

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

ContextValidate validates this policy update based on context it is used

func (*PolicyUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyUpdate) Validate

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

Validate validates this policy update

type PolicyVersionResponse

type PolicyVersionResponse struct {

	// Policies that match the version
	Data []*Policy `json:"data"`
}

PolicyVersionResponse Version results response

swagger:model PolicyVersionResponse

func (*PolicyVersionResponse) ContextValidate

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

ContextValidate validate this policy version response based on the context it is used

func (*PolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyVersionResponse) Validate

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

Validate validates this policy version response

type Pool

type Pool struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created the item
	CreatedBy string `json:"createdBy,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

Pool Created Engine Pool

swagger:model Pool

func (*Pool) ContextValidate

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

ContextValidate validates this pool based on context it is used

func (*Pool) MarshalBinary

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

MarshalBinary interface implementation

func (*Pool) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Pool) Validate

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

Validate validates this pool

type PoolCreate

type PoolCreate struct {

	// Name of engine pool
	// Required: true
	Name *string `json:"name"`
}

PoolCreate pool create

swagger:model PoolCreate

func (*PoolCreate) ContextValidate

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

ContextValidate validates this pool create based on context it is used

func (*PoolCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolCreate) Validate

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

Validate validates this pool create

type PoolListResult

type PoolListResult struct {

	// name
	Name string `json:"name,omitempty"`
}

PoolListResult pool list result

swagger:model PoolListResult

func (*PoolListResult) ContextValidate

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

ContextValidate validates this pool list result based on context it is used

func (*PoolListResult) MarshalBinary

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

MarshalBinary interface implementation

func (*PoolListResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PoolListResult) Validate

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

Validate validates this pool list result

type PostConfigModel

type PostConfigModel struct {

	// Encoded config string
	// Required: true
	Config *string `json:"Config"`

	// overwrite
	Overwrite bool `json:"Overwrite,omitempty"`

	// Json or yaml encoding type
	// Enum: [json yaml yml]
	Serialization *string `json:"Serialization,omitempty"`
}

PostConfigModel post config model

swagger:model PostConfigModel

func (*PostConfigModel) ContextValidate

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

ContextValidate validates this post config model based on context it is used

func (*PostConfigModel) MarshalBinary

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

MarshalBinary interface implementation

func (*PostConfigModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PostConfigModel) Validate

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

Validate validates this post config model

type ProviderProperties

type ProviderProperties struct {

	// account ID
	AccountID string `json:"accountId,omitempty"`

	// base URI
	BaseURI string `json:"baseUri,omitempty"`

	// client email
	ClientEmail string `json:"clientEmail,omitempty"`

	// client ID
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// default
	Default bool `json:"default,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// private key ID
	PrivateKeyID string `json:"privateKeyId,omitempty"`

	// project ID
	ProjectID string `json:"projectId,omitempty"`

	// send welcome email
	SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"`

	// tenant ID
	TenantID string `json:"tenantId,omitempty"`

	// token URI
	TokenURI string `json:"tokenUri,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// username claim
	UsernameClaim string `json:"usernameClaim,omitempty"`
}

ProviderProperties AuthenticationSettings is the 3rd party authentication providers.

swagger:model ProviderProperties

func (*ProviderProperties) ContextValidate

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

ContextValidate validates this provider properties based on context it is used

func (*ProviderProperties) MarshalBinary

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

MarshalBinary interface implementation

func (*ProviderProperties) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProviderProperties) Validate

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

Validate validates this provider properties

type RequestModelCreate

type RequestModelCreate struct {

	// The user defined metadata
	Attributes interface{} `json:"attributes,omitempty"`

	// The secret data
	Data interface{} `json:"data,omitempty"`

	// The secret's description
	Description string `json:"description,omitempty"`
}

RequestModelCreate request model create

swagger:model RequestModelCreate

func (*RequestModelCreate) ContextValidate

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

ContextValidate validates this request model create based on context it is used

func (*RequestModelCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*RequestModelCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RequestModelCreate) Validate

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

Validate validates this request model create

type RequestModelUpdate

type RequestModelUpdate struct {

	// The user defined metadata
	Attributes interface{} `json:"attributes,omitempty"`

	// The secret data
	Data interface{} `json:"data,omitempty"`

	// The secret's description
	Description string `json:"description,omitempty"`

	// Overwrite data and description on update
	Overwrite bool `json:"overwrite,omitempty"`
}

RequestModelUpdate request model update

swagger:model RequestModelUpdate

func (*RequestModelUpdate) ContextValidate

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

ContextValidate validates this request model update based on context it is used

func (*RequestModelUpdate) MarshalBinary

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

MarshalBinary interface implementation

func (*RequestModelUpdate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RequestModelUpdate) Validate

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

Validate validates this request model update

type ResponseAuditSearch

type ResponseAuditSearch struct {

	// Cursor to next batch of results
	Cursor string `json:"cursor,omitempty"`

	// List of matching records
	Data []*Audit `json:"data"`

	// The number of results in this response
	Length int64 `json:"length,omitempty"`

	// The maximum number of results per cursor
	Limit int64 `json:"limit,omitempty"`

	// Number of all items that match the criteria.
	TotalItems int64 `json:"totalItems,omitempty"`
}

ResponseAuditSearch response audit search

swagger:model ResponseAuditSearch

func (*ResponseAuditSearch) ContextValidate

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

ContextValidate validate this response audit search based on the context it is used

func (*ResponseAuditSearch) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseAuditSearch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseAuditSearch) Validate

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

Validate validates this response audit search

type ResponseCertificate

type ResponseCertificate struct {

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// root certificate
	RootCertificate string `json:"rootCertificate,omitempty"`

	// SSH public key
	SSHPublicKey string `json:"sshPublicKey,omitempty"`
}

ResponseCertificate ResponseCertificate contains the signed certificate and private key.

swagger:model ResponseCertificate

func (*ResponseCertificate) ContextValidate

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

ContextValidate validates this response certificate based on context it is used

func (*ResponseCertificate) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseCertificate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseCertificate) Validate

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

Validate validates this response certificate

type ResponseModelDescription

type ResponseModelDescription struct {

	// The user defined metadata
	Attributes interface{} `json:"attributes,omitempty"`

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// Description of secret
	Description string `json:"description,omitempty"`

	// The unique id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// The path the secret is located at
	Path string `json:"path,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ResponseModelDescription ResponseModelDescription contains metadata but not the sensitive secret data

swagger:model ResponseModelDescription

func (*ResponseModelDescription) ContextValidate

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

ContextValidate validates this response model description based on context it is used

func (*ResponseModelDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseModelDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseModelDescription) Validate

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

Validate validates this response model description

type ResponseModelFull

type ResponseModelFull struct {

	// The user defined metadata
	Attributes interface{} `json:"attributes,omitempty"`

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// The sensitive secret info, such as a password or key
	Data interface{} `json:"data,omitempty"`

	// Description of secret
	Description string `json:"description,omitempty"`

	// The unique id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// The path the secret is located at
	Path string `json:"path,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ResponseModelFull ResponseModelFull contains the sensitive secret data along with secret metadata

swagger:model ResponseModelFull

func (*ResponseModelFull) ContextValidate

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

ContextValidate validates this response model full based on context it is used

func (*ResponseModelFull) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseModelFull) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseModelFull) Validate

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

Validate validates this response model full

type ResponseModelSearch

type ResponseModelSearch struct {

	// Cursor to next batch of results
	Cursor string `json:"cursor,omitempty"`

	// Groups that match the search term
	Data []*GroupResponse `json:"data"`

	// The number of results in this response
	Length int64 `json:"length,omitempty"`

	// The maximum number of results per cursor
	Limit int64 `json:"limit,omitempty"`

	// Sort order
	Sort string `json:"sort,omitempty"`

	// Total number of items
	Total int64 `json:"total,omitempty"`
}

ResponseModelSearch Group search response with metadata

swagger:model ResponseModelSearch

func (*ResponseModelSearch) ContextValidate

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

ContextValidate validate this response model search based on the context it is used

func (*ResponseModelSearch) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseModelSearch) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseModelSearch) Validate

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

Validate validates this response model search

type ResponseRootCertificate

type ResponseRootCertificate struct {

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// private key
	PrivateKey string `json:"privateKey,omitempty"`

	// SSH public key
	SSHPublicKey string `json:"sshPublicKey,omitempty"`
}

ResponseRootCertificate ResponseRootCertificate contains a root certificate.

swagger:model ResponseRootCertificate

func (*ResponseRootCertificate) ContextValidate

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

ContextValidate validates this response root certificate based on context it is used

func (*ResponseRootCertificate) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseRootCertificate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseRootCertificate) Validate

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

Validate validates this response root certificate

type ResponseSSHCertificate

type ResponseSSHCertificate struct {

	// SSH certificate
	SSHCertificate string `json:"sshCertificate,omitempty"`
}

ResponseSSHCertificate ResponseSSHCertificate contains an SSH certificate.

swagger:model ResponseSSHCertificate

func (*ResponseSSHCertificate) ContextValidate

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

ContextValidate validates this response SSH certificate based on context it is used

func (*ResponseSSHCertificate) MarshalBinary

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

MarshalBinary interface implementation

func (*ResponseSSHCertificate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResponseSSHCertificate) Validate

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

Validate validates this response SSH certificate

type Role

type Role struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// Role description
	Description string `json:"description,omitempty"`

	// External identifier, such as an AWS arn for 3rd party authentication
	ExternalID string `json:"externalId,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// Name of role
	// Required: true
	Name *string `json:"name"`

	// Provider name defined in the authentication settings section of configuration
	Provider string `json:"provider,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

Role Role defines the role security principal and any mappings to 3rd party providers

swagger:model Role

func (*Role) ContextValidate

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

ContextValidate validates this role based on context it is used

func (*Role) MarshalBinary

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

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Role) Validate

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

Validate validates this role

type RoleCreate

type RoleCreate struct {

	// Role description
	Description string `json:"description,omitempty"`

	// External identifier, such as an AWS arn for 3rd party authentication
	ExternalID string `json:"externalId,omitempty"`

	// Name of role
	// Required: true
	Name *string `json:"name"`

	// Provider name defined in the authentication settings section of configuration
	Provider string `json:"provider,omitempty"`
}

RoleCreate role create

swagger:model RoleCreate

func (*RoleCreate) ContextValidate

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

ContextValidate validates this role create based on context it is used

func (*RoleCreate) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleCreate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleCreate) Validate

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

Validate validates this role create

type RoleDetails

type RoleDetails struct {

	// Role description
	Description string `json:"description,omitempty"`

	// External identifier, such as an AWS arn for 3rd party authentication
	ExternalID string `json:"externalId,omitempty"`

	// Provider name defined in the authentication settings section of configuration
	Provider string `json:"provider,omitempty"`
}

RoleDetails RoleDetails defines the editable properties of a Role

swagger:model RoleDetails

func (*RoleDetails) ContextValidate

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

ContextValidate validates this role details based on context it is used

func (*RoleDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleDetails) Validate

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

Validate validates this role details

type RoleVersionResponse

type RoleVersionResponse struct {

	// data
	Data Roles `json:"data,omitempty"`
}

RoleVersionResponse role version response

swagger:model RoleVersionResponse

func (*RoleVersionResponse) ContextValidate

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

ContextValidate validate this role version response based on the context it is used

func (*RoleVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleVersionResponse) Validate

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

Validate validates this role version response

type Roles

type Roles []*Role

Roles roles

swagger:model Roles

func (Roles) ContextValidate

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

ContextValidate validate this roles based on the context it is used

func (Roles) Validate

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

Validate validates this roles

type RootCARegistration

type RootCARegistration struct {

	// URL of the CRL from which the revocation of leaf certificates can be checked
	CRL string `json:"crl,omitempty"`

	// common name
	// Required: true
	CommonName *string `json:"commonName"`

	// country
	Country string `json:"country,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// List of domains for which certificate signing is allowed
	// Required: true
	Domains []string `json:"domains"`

	// email address
	EmailAddress string `json:"emailAddress,omitempty"`

	// locality
	Locality string `json:"locality,omitempty"`

	// Maximum TTL of a signed certificate issued from a given root CA (in hours)
	// Required: true
	MaxTTL *int64 `json:"maxTTL"`

	// organization
	Organization string `json:"organization,omitempty"`

	// organizational unit
	OrganizationalUnit string `json:"organizationalUnit,omitempty"`

	// The name of the secret containing the root CA certificate
	// Required: true
	RootCAPath *string `json:"rootCAPath"`

	// state
	State string `json:"state,omitempty"`

	// The name of the secret in which to store the generated certificate and private key
	StorePath string `json:"storePath,omitempty"`
}

RootCARegistration root c a registration

swagger:model RootCARegistration

func (*RootCARegistration) ContextValidate

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

ContextValidate validates this root c a registration based on context it is used

func (*RootCARegistration) MarshalBinary

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

MarshalBinary interface implementation

func (*RootCARegistration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RootCARegistration) Validate

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

Validate validates this root c a registration

type RootCASecret

type RootCASecret struct {

	// URL of the CRL from which the revocation of leaf certificates can be checked
	CRL string `json:"crl,omitempty"`

	// Certificate of the root CA that contains information about it and public key
	// Required: true
	Certificate *string `json:"certificate"`

	// List of domains for which certificate signing is allowed
	// Required: true
	Domains []string `json:"domains"`

	// Maximum TTL of a signed certificate issued from a given root CA (in hours)
	// Required: true
	MaxTTL *int64 `json:"maxTTL"`

	// Private key of the root CA
	// Required: true
	PrivateKey *string `json:"privateKey"`

	// RootCAPath to secret, which also serves as an identifier of the root CA
	// Required: true
	RootCAPath *string `json:"rootCAPath"`
}

RootCASecret root c a secret

swagger:model RootCASecret

func (*RootCASecret) ContextValidate

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

ContextValidate validates this root c a secret based on context it is used

func (*RootCASecret) MarshalBinary

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

MarshalBinary interface implementation

func (*RootCASecret) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RootCASecret) Validate

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

Validate validates this root c a secret

type SSHCertInformation

type SSHCertInformation struct {

	// Path to secret containing leaf certificate
	// Required: true
	LeafCAPath *string `json:"leafCAPath"`

	// A list of principals on a certificate (user or host names)
	// Required: true
	Principals []string `json:"principals"`

	// Path to secret containing root certificate
	// Required: true
	RootCAPath *string `json:"rootCAPath"`

	// TTL for a generated certificate (in hours)
	// Required: true
	TTL *int64 `json:"ttl"`
}

SSHCertInformation SSH cert information

swagger:model SSHCertInformation

func (*SSHCertInformation) ContextValidate

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

ContextValidate validates this SSH cert information based on context it is used

func (*SSHCertInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*SSHCertInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SSHCertInformation) Validate

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

Validate validates this SSH cert information

type SearchResponse

type SearchResponse struct {

	// Cursor to next batch of results.
	Cursor string `json:"cursor,omitempty"`

	// AuthenticationSettings settings that match the search term.
	Data []*AuthenticationSettings `json:"data"`

	// The number of results in this response.
	Length int64 `json:"length,omitempty"`

	// The maximum number of results per cursor.
	Limit int64 `json:"limit,omitempty"`
}

SearchResponse AuthenticationSettings settings search response with metadata.

swagger:model SearchResponse

func (*SearchResponse) ContextValidate

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

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

func (*SearchResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SearchResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SearchResponse) Validate

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

Validate validates this search response

type SecretListPathsResponse

type SecretListPathsResponse struct {

	// Matching secret paths
	Data []string `json:"data"`
}

SecretListPathsResponse secret list paths response

swagger:model SecretListPathsResponse

func (*SecretListPathsResponse) ContextValidate

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

ContextValidate validates this secret list paths response based on context it is used

func (*SecretListPathsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretListPathsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretListPathsResponse) Validate

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

Validate validates this secret list paths response

type SecretVersionResponse

type SecretVersionResponse struct {

	// data
	Data []*ResponseModelFull `json:"data"`
}

SecretVersionResponse secret version response

swagger:model SecretVersionResponse

func (*SecretVersionResponse) ContextValidate

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

ContextValidate validate this secret version response based on the context it is used

func (*SecretVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SecretVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SecretVersionResponse) Validate

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

Validate validates this secret version response

type Settings

type Settings struct {

	// authentication
	Authentication []*Authentication `json:"authentication"`
}

Settings Settings is the per tenant app config settings

swagger:model Settings

func (*Settings) ContextValidate

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

ContextValidate validate this settings based on the context it is used

func (*Settings) MarshalBinary

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

MarshalBinary interface implementation

func (*Settings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Settings) Validate

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

Validate validates this settings

type SiemCreateUpdateRequestModel

type SiemCreateUpdateRequestModel struct {

	// Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol)
	AllowSelfSigned bool `json:"allowSelfSigned,omitempty"`

	// Authentication token
	// Required: true
	Auth *string `json:"auth"`

	// Authentication method (token)
	// Required: true
	AuthMethod *string `json:"authMethod"`

	// Endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// Collect Server IP/FQDN
	// Required: true
	Host *string `json:"host"`

	// Logging Format (i.e. syslog (RFC 5424))
	// Required: true
	LoggingFormat *string `json:"loggingFormat"`

	// Name of registered SIEM endpoint, similar to path
	// Required: true
	Name *string `json:"name"`

	// Engine pool name, used when sending request to a DSV engine instance
	Pool string `json:"pool,omitempty"`

	// Port
	// Required: true
	Port *int64 `json:"port"`

	// Type of protocol (i.e. TCP, UDP)
	// Required: true
	Protocol *string `json:"protocol"`

	// Denotes whether the endpoint should be accessed through a DSV engine instance
	SendToEngine bool `json:"sendToEngine,omitempty"`

	// Type of endpoint ("syslog", "cef", "json", "splunk")
	// Required: true
	SiemType *string `json:"siemType"`
}

SiemCreateUpdateRequestModel siem create update request model

swagger:model SiemCreateUpdateRequestModel

func (*SiemCreateUpdateRequestModel) ContextValidate

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

ContextValidate validates this siem create update request model based on context it is used

func (*SiemCreateUpdateRequestModel) MarshalBinary

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

MarshalBinary interface implementation

func (*SiemCreateUpdateRequestModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SiemCreateUpdateRequestModel) Validate

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

Validate validates this siem create update request model

type SiemNoSensitiveResponseModel

type SiemNoSensitiveResponseModel struct {

	// Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol)
	AllowSelfSigned bool `json:"allowSelfSigned,omitempty"`

	// Authentication method (token)
	AuthMethod string `json:"authMethod,omitempty"`

	// Endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// Failed is true if send has failed too many times, false otherwise
	Failed bool `json:"failed,omitempty"`

	// Number of failed send events
	FailedEvents int64 `json:"failedEvents,omitempty"`

	// Collect Server IP/FQDN
	Host string `json:"host,omitempty"`

	// The unique id for this item
	ID string `json:"id,omitempty"`

	// Logging format (e.g. "rfc5424" for syslog)
	LoggingFormat string `json:"loggingFormat,omitempty"`

	// Name of registered SIEM endpoint, similar to path
	Name string `json:"name,omitempty"`

	// Engine pool name, used when sending request to a DSV engine instance
	Pool string `json:"pool,omitempty"`

	// Collect Server Port
	Port int64 `json:"port,omitempty"`

	// Type of protocol ("tcp", "udp", "http", "https", "tls")
	Protocol string `json:"protocol,omitempty"`

	// Denotes whether the endpoint should be accessed through a DSV engine instance
	SendToEngine bool `json:"sendToEngine,omitempty"`

	// Type of endpoint ("syslog", "cef", "json", "splunk")
	SiemType string `json:"siemType,omitempty"`
}

SiemNoSensitiveResponseModel siem no sensitive response model

swagger:model SiemNoSensitiveResponseModel

func (*SiemNoSensitiveResponseModel) ContextValidate

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

ContextValidate validates this siem no sensitive response model based on context it is used

func (*SiemNoSensitiveResponseModel) MarshalBinary

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

MarshalBinary interface implementation

func (*SiemNoSensitiveResponseModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SiemNoSensitiveResponseModel) Validate

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

Validate validates this siem no sensitive response model

type SiemResponseModel

type SiemResponseModel struct {

	// Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol)
	AllowSelfSigned bool `json:"allowSelfSigned,omitempty"`

	// Authentication token
	Auth string `json:"auth,omitempty"`

	// Authentication method (token)
	AuthMethod string `json:"authMethod,omitempty"`

	// Endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// Failed is true if send has failed too many times, false otherwise
	Failed bool `json:"failed,omitempty"`

	// Number of failed send events
	FailedEvents int64 `json:"failedEvents,omitempty"`

	// Collect Server IP/FQDN
	Host string `json:"host,omitempty"`

	// The unique id for this item
	ID string `json:"id,omitempty"`

	// Logging format (e.g. "rfc5424" for syslog)
	LoggingFormat string `json:"loggingFormat,omitempty"`

	// Name of registered SIEM endpoint, similar to path
	Name string `json:"name,omitempty"`

	// Engine pool name, used when sending request to a DSV engine instance
	Pool string `json:"pool,omitempty"`

	// Collect Server Port
	Port int64 `json:"port,omitempty"`

	// Type of protocol ("tcp", "udp", "http", "https", "tls")
	Protocol string `json:"protocol,omitempty"`

	// Denotes whether the endpoint should be accessed through a DSV engine instance
	SendToEngine bool `json:"sendToEngine,omitempty"`

	// Type of endpoint ("syslog", "cef", "json", "splunk")
	SiemType string `json:"siemType,omitempty"`
}

SiemResponseModel siem response model

swagger:model SiemResponseModel

func (*SiemResponseModel) ContextValidate

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

ContextValidate validates this siem response model based on context it is used

func (*SiemResponseModel) MarshalBinary

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

MarshalBinary interface implementation

func (*SiemResponseModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SiemResponseModel) Validate

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

Validate validates this siem response model

type SignedLeafCertificate

type SignedLeafCertificate struct {

	// certificate
	Certificate string `json:"certificate,omitempty"`

	// root certificate
	RootCertificate string `json:"rootCertificate,omitempty"`
}

SignedLeafCertificate SignedLeafCertificate contains the signed certificate and optionally root certificate.

swagger:model SignedLeafCertificate

func (*SignedLeafCertificate) ContextValidate

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

ContextValidate validates this signed leaf certificate based on context it is used

func (*SignedLeafCertificate) MarshalBinary

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

MarshalBinary interface implementation

func (*SignedLeafCertificate) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SignedLeafCertificate) Validate

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

Validate validates this signed leaf certificate

type SigningRequest

type SigningRequest struct {

	// Certificate Signing Request
	// Required: true
	CSR *string `json:"csr"`

	// Boolean indicating whether to return a root certificate
	Chain bool `json:"chain,omitempty"`

	// Path to secret - registered root CA
	// Required: true
	RootCAPath *string `json:"rootCAPath"`

	// A list of Subject Alternative Names for a certificate (each domain must be present in the list of allowed domains)
	SubjectAltNames []string `json:"subjectAltNames"`

	// TTL for a generated certificate (in hours, cannot exceed the maximum TTL specified in root CA secret)
	TTL int64 `json:"ttl,omitempty"`
}

SigningRequest signing request

swagger:model SigningRequest

func (*SigningRequest) ContextValidate

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

ContextValidate validates this signing request based on context it is used

func (*SigningRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SigningRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SigningRequest) Validate

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

Validate validates this signing request

type SigningRequestInformation

type SigningRequestInformation struct {

	// Boolean indicating whether to return a root certificate
	Chain bool `json:"chain,omitempty"`

	// common name
	// Required: true
	CommonName *string `json:"commonName"`

	// country
	Country string `json:"country,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// email address
	EmailAddress string `json:"emailAddress,omitempty"`

	// locality
	Locality string `json:"locality,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// organizational unit
	OrganizationalUnit string `json:"organizationalUnit,omitempty"`

	// The name of the secret containing the root CA certificate
	// Required: true
	RootCAPath *string `json:"rootCAPath"`

	// state
	State string `json:"state,omitempty"`

	// The name of the secret in which to store the generated certificate and private key
	StorePath string `json:"storePath,omitempty"`

	// TTL for a generated certificate (in hours, cannot exceed the maximum TTL specified in root CA secret)
	TTL int64 `json:"ttl,omitempty"`
}

SigningRequestInformation signing request information

swagger:model SigningRequestInformation

func (*SigningRequestInformation) ContextValidate

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

ContextValidate validates this signing request information based on context it is used

func (*SigningRequestInformation) MarshalBinary

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

MarshalBinary interface implementation

func (*SigningRequestInformation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SigningRequestInformation) Validate

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

Validate validates this signing request information

type StatusResponse

type StatusResponse struct {

	// status
	Status string `json:"status,omitempty"`
}

StatusResponse status response

swagger:model StatusResponse

func (*StatusResponse) ContextValidate

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

ContextValidate validates this status response based on context it is used

func (*StatusResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate

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

Validate validates this status response

type TaskResult

type TaskResult struct {

	// type
	Type string `json:"type,omitempty"`

	// value
	Value interface{} `json:"value,omitempty"`
}

TaskResult Any metadata values

swagger:model TaskResult

func (*TaskResult) ContextValidate

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

ContextValidate validates this task result based on context it is used

func (*TaskResult) MarshalBinary

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

MarshalBinary interface implementation

func (*TaskResult) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaskResult) Validate

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

Validate validates this task result

type TaskState

type TaskState struct {

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// results
	Results []*TaskResult `json:"results"`

	// state
	State string `json:"state,omitempty"`

	// task name
	TaskName string `json:"taskName,omitempty"`
}

TaskState TaskState represents a state of a task

swagger:model TaskState

func (*TaskState) ContextValidate

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

ContextValidate validate this task state based on the context it is used

func (*TaskState) MarshalBinary

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

MarshalBinary interface implementation

func (*TaskState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaskState) Validate

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

Validate validates this task state

type UpdateKeyRequest

type UpdateKeyRequest struct {

	// metadata
	Metadata interface{} `json:"metadata,omitempty"`

	// Base64 encoded nonce to be used with key. If not provided, DSV generates it for the user.
	Nonce string `json:"nonce,omitempty"`

	// Base64 encoded private key
	// Required: true
	PrivateKey *string `json:"privateKey"`
}

UpdateKeyRequest update key request

swagger:model UpdateKeyRequest

func (*UpdateKeyRequest) ContextValidate

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

ContextValidate validates this update key request based on context it is used

func (*UpdateKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateKeyRequest) Validate

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

Validate validates this update key request

type UsageResponseGeneral

type UsageResponseGeneral struct {

	// end date
	EndDate string `json:"endDate,omitempty"`

	// Keys are days, values are numbers of API requests made that day.
	RequestsUsed map[string]int64 `json:"requestsUsed,omitempty"`

	// start date
	StartDate string `json:"startDate,omitempty"`

	// total keys
	TotalKeys int64 `json:"totalKeys,omitempty"`

	// total requests used
	TotalRequestsUsed int64 `json:"totalRequestsUsed,omitempty"`

	// total secrets
	TotalSecrets int64 `json:"totalSecrets,omitempty"`
}

UsageResponseGeneral UsageResponseGeneral defines the properties that represent a usage response for the general API.

swagger:model UsageResponseGeneral

func (*UsageResponseGeneral) ContextValidate

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

ContextValidate validates this usage response general based on context it is used

func (*UsageResponseGeneral) MarshalBinary

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

MarshalBinary interface implementation

func (*UsageResponseGeneral) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UsageResponseGeneral) Validate

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

Validate validates this usage response general

type User

type User struct {

	// Created date
	Created string `json:"created,omitempty"`

	// Who created
	CreatedBy string `json:"createdBy,omitempty"`

	// The display name of the user
	DisplayName string `json:"displayName,omitempty"`

	// External identifier, such as an AWS arn for 3rd party authentication
	ExternalID string `json:"externalId,omitempty"`

	// the id for this item
	ID string `json:"id,omitempty"`

	// Last updated date
	LastModified string `json:"lastModified,omitempty"`

	// Who performed the last modification
	LastModifiedBy string `json:"lastModifiedBy,omitempty"`

	// Provider name defined in the authentication settings section of configuration
	Provider string `json:"provider,omitempty"`

	// The name of the user
	UserName string `json:"userName,omitempty"`

	// Current version
	Version string `json:"version,omitempty"`
}

User User contains user data along with user metadata

swagger:model User

func (*User) ContextValidate

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

ContextValidate validates this user based on 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 UserCreateModel

type UserCreateModel struct {

	// The display name of the user
	DisplayName string `json:"displayName,omitempty"`

	// External identifier, such as an AWS arn for 3rd party authentication
	ExternalID string `json:"externalId,omitempty"`

	// User's password (not required if using 3rd party auth)
	Password string `json:"password,omitempty"`

	// Provider name defined in the authentication settings section of configuration
	Provider string `json:"provider,omitempty"`

	// The name of the user
	// Required: true
	// Max Length: 100
	// Min Length: 3
	UserName *string `json:"userName"`
}

UserCreateModel Creation properties of a user

swagger:model UserCreateModel

func (*UserCreateModel) ContextValidate

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

ContextValidate validates this user create model based on context it is used

func (*UserCreateModel) MarshalBinary

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

MarshalBinary interface implementation

func (*UserCreateModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserCreateModel) Validate

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

Validate validates this user create model

type UserUpdateModel

type UserUpdateModel struct {

	// The display name of the user
	DisplayName string `json:"displayName,omitempty"`

	// User's password (not required if using 3rd party auth)
	Password string `json:"password,omitempty"`
}

UserUpdateModel Editable properties of a user

swagger:model UserUpdateModel

func (*UserUpdateModel) ContextValidate

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

ContextValidate validates this user update model based on context it is used

func (*UserUpdateModel) MarshalBinary

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

MarshalBinary interface implementation

func (*UserUpdateModel) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserUpdateModel) Validate

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

Validate validates this user update model

type UserVersionResponse

type UserVersionResponse struct {

	// data
	Data []*User `json:"data"`
}

UserVersionResponse user version response

swagger:model UserVersionResponse

func (*UserVersionResponse) ContextValidate

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

ContextValidate validate this user version response based on the context it is used

func (*UserVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UserVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserVersionResponse) Validate

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

Validate validates this user version response

Source Files

Jump to

Keyboard shortcuts

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