legalclientmodels

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptAgreementRequest

type AcceptAgreementRequest struct {

	// is accepted
	// Required: true
	IsAccepted *bool `json:"isAccepted"`

	// is need to send event marketing
	IsNeedToSendEventMarketing bool `json:"isNeedToSendEventMarketing"`

	// localized policy version Id
	// Required: true
	LocalizedPolicyVersionID *string `json:"localizedPolicyVersionId"`

	// policy Id
	// Required: true
	PolicyID *string `json:"policyId"`

	// policy version Id
	// Required: true
	PolicyVersionID *string `json:"policyVersionId"`
}

AcceptAgreementRequest accept agreement request

swagger:model AcceptAgreementRequest

func (*AcceptAgreementRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AcceptAgreementRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AcceptAgreementRequest) Validate

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

Validate validates this accept agreement request

type AcceptAgreementResponse

type AcceptAgreementResponse struct {

	// Eligibility Status after Accept Agreement
	// Required: true
	Comply *bool `json:"comply"`

	// extra information
	Ext map[string]interface{} `json:"ext,omitempty"`

	// DEPRECATED the name is not clear, changed with comply
	// Required: true
	Proceed *bool `json:"proceed"`
}

AcceptAgreementResponse accept agreement response

swagger:model AcceptAgreementResponse

func (*AcceptAgreementResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AcceptAgreementResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AcceptAgreementResponse) Validate

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

Validate validates this accept agreement response

type CreateBasePolicyRequest

type CreateBasePolicyRequest struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	AffectedCountries []string `json:"affectedCountries"`

	// base policy name
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// type Id
	TypeID string `json:"typeId,omitempty"`
}

CreateBasePolicyRequest create base policy request

swagger:model CreateBasePolicyRequest

func (*CreateBasePolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateBasePolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateBasePolicyRequest) Validate

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

Validate validates this create base policy request

type CreateBasePolicyRequestV2 added in v0.38.0

type CreateBasePolicyRequestV2 struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	// Unique: true
	AffectedCountries []string `json:"affectedCountries"`

	// base policy name
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// type Id
	TypeID string `json:"typeId,omitempty"`
}

CreateBasePolicyRequestV2 create base policy request v2

swagger:model CreateBasePolicyRequestV2

func (*CreateBasePolicyRequestV2) MarshalBinary added in v0.38.0

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

MarshalBinary interface implementation

func (*CreateBasePolicyRequestV2) UnmarshalBinary added in v0.38.0

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

UnmarshalBinary interface implementation

func (*CreateBasePolicyRequestV2) Validate added in v0.38.0

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

Validate validates this create base policy request v2

type CreateBasePolicyResponse

type CreateBasePolicyResponse struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	AffectedCountries []string `json:"affectedCountries"`

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

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

	// global policy name
	GlobalPolicyName string `json:"globalPolicyName,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// policy Id
	PolicyID string `json:"policyId,omitempty"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// type Id
	TypeID string `json:"typeId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

CreateBasePolicyResponse create base policy response

swagger:model CreateBasePolicyResponse

func (*CreateBasePolicyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateBasePolicyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateBasePolicyResponse) Validate

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

Validate validates this create base policy response

type CreateLocalizedPolicyVersionRequest

type CreateLocalizedPolicyVersionRequest struct {

	// content type
	ContentType string `json:"contentType,omitempty"`

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

	// locale code
	LocaleCode string `json:"localeCode,omitempty"`
}

CreateLocalizedPolicyVersionRequest create localized policy version request

swagger:model CreateLocalizedPolicyVersionRequest

func (*CreateLocalizedPolicyVersionRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateLocalizedPolicyVersionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateLocalizedPolicyVersionRequest) Validate

Validate validates this create localized policy version request

type CreateLocalizedPolicyVersionResponse

type CreateLocalizedPolicyVersionResponse struct {

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// locale code
	LocaleCode string `json:"localeCode,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

CreateLocalizedPolicyVersionResponse create localized policy version response

swagger:model CreateLocalizedPolicyVersionResponse

func (*CreateLocalizedPolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateLocalizedPolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateLocalizedPolicyVersionResponse) Validate

Validate validates this create localized policy version response

type CreatePolicyVersionRequest

type CreatePolicyVersionRequest struct {

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

	// display version
	DisplayVersion string `json:"displayVersion,omitempty"`

	// is committed
	IsCommitted bool `json:"isCommitted"`
}

CreatePolicyVersionRequest create policy version request

swagger:model CreatePolicyVersionRequest

func (*CreatePolicyVersionRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreatePolicyVersionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreatePolicyVersionRequest) Validate

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

Validate validates this create policy version request

type CreatePolicyVersionResponse

type CreatePolicyVersionResponse struct {

	// base policy Id
	// Read Only: true
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// display version
	DisplayVersion string `json:"displayVersion,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is committed
	IsCommitted bool `json:"isCommitted"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

CreatePolicyVersionResponse create policy version response

swagger:model CreatePolicyVersionResponse

func (*CreatePolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreatePolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreatePolicyVersionResponse) Validate

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

Validate validates this create policy version response

type ErrorEntity

type ErrorEntity struct {

	// internal server error stack trace in configured environment
	DevStackTrace string `json:"devStackTrace,omitempty"`

	// numeric error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// message variables
	MessageVariables map[string]string `json:"messageVariables,omitempty"`
}

ErrorEntity error entity

swagger:model ErrorEntity

func (*ErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorEntity) Validate

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

Validate validates this error entity

type FieldValidationError

type FieldValidationError struct {

	// error code
	ErrorCode string `json:"errorCode,omitempty"`

	// error field
	ErrorField string `json:"errorField,omitempty"`

	// error message
	ErrorMessage string `json:"errorMessage,omitempty"`

	// error value
	ErrorValue string `json:"errorValue,omitempty"`

	// message variables
	MessageVariables map[string]string `json:"messageVariables,omitempty"`
}

FieldValidationError field validation error

swagger:model FieldValidationError

func (*FieldValidationError) MarshalBinary

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

MarshalBinary interface implementation

func (*FieldValidationError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FieldValidationError) Validate

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

Validate validates this field validation error

type LegalReadinessStatusResponse

type LegalReadinessStatusResponse struct {

	// is ready
	IsReady bool `json:"isReady"`
}

LegalReadinessStatusResponse legal readiness status response

swagger:model LegalReadinessStatusResponse

func (*LegalReadinessStatusResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*LegalReadinessStatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LegalReadinessStatusResponse) Validate

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

Validate validates this legal readiness status response

type LocalizedPolicyVersionObject

type LocalizedPolicyVersionObject struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment version identifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// is default selection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// locale code
	// Required: true
	LocaleCode *string `json:"localeCode"`

	// published date
	// Format: date-time
	PublishedDate *strfmt.DateTime `json:"publishedDate,omitempty"`

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

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

LocalizedPolicyVersionObject localized policy version object

swagger:model LocalizedPolicyVersionObject

func (*LocalizedPolicyVersionObject) MarshalBinary

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

MarshalBinary interface implementation

func (*LocalizedPolicyVersionObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LocalizedPolicyVersionObject) Validate

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

Validate validates this localized policy version object

type PagedRetrieveUserAcceptedAgreementResponse

type PagedRetrieveUserAcceptedAgreementResponse struct {

	// data
	Data []*RetrieveUserAcceptedAgreementResponse `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

PagedRetrieveUserAcceptedAgreementResponse paged retrieve user accepted agreement response

swagger:model PagedRetrieveUserAcceptedAgreementResponse

func (*PagedRetrieveUserAcceptedAgreementResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*PagedRetrieveUserAcceptedAgreementResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PagedRetrieveUserAcceptedAgreementResponse) Validate

Validate validates this paged retrieve user accepted agreement response

type Paging

type Paging struct {

	// next
	Next string `json:"next,omitempty"`

	// previous
	Previous string `json:"previous,omitempty"`
}

Paging paging

swagger:model Paging

func (*Paging) MarshalBinary

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

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Paging) Validate

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

Validate validates this paging

type PolicyObject

type PolicyObject struct {

	// country code
	// Required: true
	CountryCode *string `json:"countryCode"`

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// is default opted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// is default selection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// is mandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policy name
	// Required: true
	PolicyName *string `json:"policyName"`

	// readable Id
	ReadableID string `json:"readableId,omitempty"`

	// should notify on update
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

PolicyObject policy object

swagger:model PolicyObject

func (*PolicyObject) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyObject) Validate

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

Validate validates this policy object

type PolicyVersionObject

type PolicyVersionObject struct {

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

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

	// display version
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is committed
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// is in effect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

	// published date
	// Format: date-time
	PublishedDate *strfmt.DateTime `json:"publishedDate,omitempty"`

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

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

PolicyVersionObject policy version object

swagger:model PolicyVersionObject

func (*PolicyVersionObject) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyVersionObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyVersionObject) Validate

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

Validate validates this policy version object

type PolicyVersionWithLocalizedVersionObject

type PolicyVersionWithLocalizedVersionObject struct {

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

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

	// display version
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is committed
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// is in effect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

	// localized policy versions
	LocalizedPolicyVersions []*LocalizedPolicyVersionObject `json:"localizedPolicyVersions"`

	// published date
	// Format: date-time
	PublishedDate *strfmt.DateTime `json:"publishedDate,omitempty"`

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

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

PolicyVersionWithLocalizedVersionObject policy version with localized version object

swagger:model PolicyVersionWithLocalizedVersionObject

func (*PolicyVersionWithLocalizedVersionObject) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyVersionWithLocalizedVersionObject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyVersionWithLocalizedVersionObject) Validate

Validate validates this policy version with localized version object

type RetrieveAcceptedAgreementResponse

type RetrieveAcceptedAgreementResponse struct {

	// country code
	CountryCode string `json:"countryCode,omitempty"`

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

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

	// display version
	DisplayVersion string `json:"displayVersion,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is accepted
	IsAccepted bool `json:"isAccepted"`

	// localized policy version
	LocalizedPolicyVersion *LocalizedPolicyVersionObject `json:"localizedPolicyVersion,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// policy Id
	PolicyID string `json:"policyId,omitempty"`

	// policy name
	PolicyName string `json:"policyName,omitempty"`

	// policy type
	PolicyType string `json:"policyType,omitempty"`

	// signing date
	// Format: date-time
	SigningDate *strfmt.DateTime `json:"signingDate,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

RetrieveAcceptedAgreementResponse retrieve accepted agreement response

swagger:model RetrieveAcceptedAgreementResponse

func (*RetrieveAcceptedAgreementResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveAcceptedAgreementResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveAcceptedAgreementResponse) Validate

Validate validates this retrieve accepted agreement response

type RetrieveBasePolicyResponse

type RetrieveBasePolicyResponse struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// base policy name
	// Required: true
	BasePolicyName *string `json:"basePolicyName"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// policies
	Policies []*PolicyObject `json:"policies"`

	// policy type Id
	// Read Only: true
	PolicyTypeID string `json:"policyTypeId,omitempty"`

	// policy type name
	// Read Only: true
	PolicyTypeName string `json:"policyTypeName,omitempty"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrieveBasePolicyResponse retrieve base policy response

swagger:model RetrieveBasePolicyResponse

func (*RetrieveBasePolicyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveBasePolicyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveBasePolicyResponse) Validate

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

Validate validates this retrieve base policy response

type RetrieveLocalizedPolicyVersionPublicResponse

type RetrieveLocalizedPolicyVersionPublicResponse struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment version identifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// base policy Id
	BasePolicyID string `json:"basePolicyId,omitempty"`

	// base urls
	BaseUrls []string `json:"baseUrls"`

	// content type
	ContentType string `json:"contentType,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// locale code
	// Required: true
	LocaleCode *string `json:"localeCode"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// policy
	// Required: true
	Policy *PolicyObject `json:"policy"`

	// policy version
	// Required: true
	PolicyVersion *PolicyVersionObject `json:"policyVersion"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrieveLocalizedPolicyVersionPublicResponse retrieve localized policy version public response

swagger:model RetrieveLocalizedPolicyVersionPublicResponse

func (*RetrieveLocalizedPolicyVersionPublicResponse) MarshalBinary

MarshalBinary interface implementation

func (*RetrieveLocalizedPolicyVersionPublicResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*RetrieveLocalizedPolicyVersionPublicResponse) Validate

Validate validates this retrieve localized policy version public response

type RetrieveLocalizedPolicyVersionResponse

type RetrieveLocalizedPolicyVersionResponse struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment version identifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// base urls
	BaseUrls []string `json:"baseUrls"`

	// content type
	ContentType string `json:"contentType,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// locale code
	// Required: true
	LocaleCode *string `json:"localeCode"`

	// policy
	Policy *PolicyObject `json:"policy,omitempty"`

	// policy version
	// Required: true
	PolicyVersion *PolicyVersionObject `json:"policyVersion"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrieveLocalizedPolicyVersionResponse retrieve localized policy version response

swagger:model RetrieveLocalizedPolicyVersionResponse

func (*RetrieveLocalizedPolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveLocalizedPolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveLocalizedPolicyVersionResponse) Validate

Validate validates this retrieve localized policy version response

type RetrievePolicyPublicResponse

type RetrievePolicyPublicResponse struct {

	// base policy Id
	// Required: true
	BasePolicyID *string `json:"basePolicyId"`

	// base urls
	BaseUrls []string `json:"baseUrls"`

	// country code
	// Required: true
	CountryCode *string `json:"countryCode"`

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// is default opted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// is default selection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// is mandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// policy name
	// Required: true
	PolicyName *string `json:"policyName"`

	// policy type
	// Required: true
	PolicyType *string `json:"policyType"`

	// policy versions
	PolicyVersions []*PolicyVersionWithLocalizedVersionObject `json:"policyVersions"`

	// readable Id
	ReadableID string `json:"readableId,omitempty"`

	// should notify on update
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrievePolicyPublicResponse retrieve policy public response

swagger:model RetrievePolicyPublicResponse

func (*RetrievePolicyPublicResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrievePolicyPublicResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrievePolicyPublicResponse) Validate

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

Validate validates this retrieve policy public response

type RetrievePolicyResponse

type RetrievePolicyResponse struct {

	// country code
	// Required: true
	CountryCode *string `json:"countryCode"`

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// is default opted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// is default selection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// is mandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policy name
	// Required: true
	PolicyName *string `json:"policyName"`

	// policy versions
	PolicyVersions []*PolicyVersionObject `json:"policyVersions"`

	// readable Id
	ReadableID string `json:"readableId,omitempty"`

	// should notify on update
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrievePolicyResponse retrieve policy response

swagger:model RetrievePolicyResponse

func (*RetrievePolicyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrievePolicyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrievePolicyResponse) Validate

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

Validate validates this retrieve policy response

type RetrievePolicyTypeResponse

type RetrievePolicyTypeResponse struct {

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// is need document
	// Required: true
	IsNeedDocument *bool `json:"isNeedDocument"`

	// policy type name
	// Required: true
	PolicyTypeName *string `json:"policyTypeName"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrievePolicyTypeResponse retrieve policy type response

swagger:model RetrievePolicyTypeResponse

func (*RetrievePolicyTypeResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrievePolicyTypeResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrievePolicyTypeResponse) Validate

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

Validate validates this retrieve policy type response

type RetrievePolicyVersionResponse

type RetrievePolicyVersionResponse struct {

	// base policy Id
	// Read Only: true
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// display version
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is committed
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// is in effect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

	// localized policy versions
	LocalizedPolicyVersions []*LocalizedPolicyVersionObject `json:"localizedPolicyVersions"`

	// policy Id
	PolicyID string `json:"policyId,omitempty"`

	// published date
	// Format: date-time
	PublishedDate *strfmt.DateTime `json:"publishedDate,omitempty"`

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

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

RetrievePolicyVersionResponse retrieve policy version response

swagger:model RetrievePolicyVersionResponse

func (*RetrievePolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrievePolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrievePolicyVersionResponse) Validate

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

Validate validates this retrieve policy version response

type RetrieveUserAcceptedAgreementResponse

type RetrieveUserAcceptedAgreementResponse struct {

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

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// email
	Email string `json:"email,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is accepted
	IsAccepted bool `json:"isAccepted"`

	// localized policy version
	LocalizedPolicyVersion *LocalizedPolicyVersionObject `json:"localizedPolicyVersion,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// policy name
	PolicyName string `json:"policyName,omitempty"`

	// policy type
	PolicyType string `json:"policyType,omitempty"`

	// publisher user Id
	PublisherUserID string `json:"publisherUserId,omitempty"`

	// signing date
	// Format: date-time
	SigningDate *strfmt.DateTime `json:"signingDate,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

RetrieveUserAcceptedAgreementResponse retrieve user accepted agreement response

swagger:model RetrieveUserAcceptedAgreementResponse

func (*RetrieveUserAcceptedAgreementResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveUserAcceptedAgreementResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveUserAcceptedAgreementResponse) Validate

Validate validates this retrieve user accepted agreement response

type RetrieveUserEligibilitiesIndirectResponse

type RetrieveUserEligibilitiesIndirectResponse struct {

	// is comply
	// Required: true
	IsComply *bool `json:"isComply"`
}

RetrieveUserEligibilitiesIndirectResponse retrieve user eligibilities indirect response

swagger:model RetrieveUserEligibilitiesIndirectResponse

func (*RetrieveUserEligibilitiesIndirectResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveUserEligibilitiesIndirectResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveUserEligibilitiesIndirectResponse) Validate

Validate validates this retrieve user eligibilities indirect response

type RetrieveUserEligibilitiesResponse

type RetrieveUserEligibilitiesResponse struct {

	// base urls
	BaseUrls []string `json:"baseUrls"`

	// country code
	// Required: true
	CountryCode *string `json:"countryCode"`

	// country group code
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

	// is accepted
	// Required: true
	IsAccepted *bool `json:"isAccepted"`

	// is mandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// policy Id
	// Required: true
	PolicyID *string `json:"policyId"`

	// policy name
	// Required: true
	PolicyName *string `json:"policyName"`

	// policy type
	// Required: true
	PolicyType *string `json:"policyType"`

	// policy versions
	PolicyVersions []*PolicyVersionWithLocalizedVersionObject `json:"policyVersions"`

	// readable Id
	ReadableID string `json:"readableId,omitempty"`
}

RetrieveUserEligibilitiesResponse retrieve user eligibilities response

swagger:model RetrieveUserEligibilitiesResponse

func (*RetrieveUserEligibilitiesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveUserEligibilitiesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveUserEligibilitiesResponse) Validate

Validate validates this retrieve user eligibilities response

type RetrieveUserInfoCacheStatusResponse

type RetrieveUserInfoCacheStatusResponse struct {

	// last updated at
	// Required: true
	// Format: date-time
	LastUpdatedAt strfmt.DateTime `json:"lastUpdatedAt"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`
}

RetrieveUserInfoCacheStatusResponse retrieve user info cache status response

swagger:model RetrieveUserInfoCacheStatusResponse

func (*RetrieveUserInfoCacheStatusResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrieveUserInfoCacheStatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrieveUserInfoCacheStatusResponse) Validate

Validate validates this retrieve user info cache status response

type UpdateBasePolicyRequest

type UpdateBasePolicyRequest struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	AffectedCountries []string `json:"affectedCountries"`

	// base policy name
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`
}

UpdateBasePolicyRequest update base policy request

swagger:model UpdateBasePolicyRequest

func (*UpdateBasePolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateBasePolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateBasePolicyRequest) Validate

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

Validate validates this update base policy request

type UpdateBasePolicyRequestV2 added in v0.38.0

type UpdateBasePolicyRequestV2 struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	// Unique: true
	AffectedCountries []string `json:"affectedCountries"`

	// base policy name
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

	// tags
	// Unique: true
	Tags []string `json:"tags"`
}

UpdateBasePolicyRequestV2 update base policy request v2

swagger:model UpdateBasePolicyRequestV2

func (*UpdateBasePolicyRequestV2) MarshalBinary added in v0.38.0

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

MarshalBinary interface implementation

func (*UpdateBasePolicyRequestV2) UnmarshalBinary added in v0.38.0

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

UnmarshalBinary interface implementation

func (*UpdateBasePolicyRequestV2) Validate added in v0.38.0

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

Validate validates this update base policy request v2

type UpdateBasePolicyResponse

type UpdateBasePolicyResponse struct {

	// affected client ids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affected countries
	AffectedCountries []string `json:"affectedCountries"`

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

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

	// global policy name
	GlobalPolicyName string `json:"globalPolicyName,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// policy Id
	PolicyID string `json:"policyId,omitempty"`

	// tags
	// Unique: true
	Tags []string `json:"tags"`

	// type Id
	TypeID string `json:"typeId,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

UpdateBasePolicyResponse update base policy response

swagger:model UpdateBasePolicyResponse

func (*UpdateBasePolicyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateBasePolicyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateBasePolicyResponse) Validate

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

Validate validates this update base policy response

type UpdateLocalizedPolicyVersionRequest

type UpdateLocalizedPolicyVersionRequest struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment version identifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`

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

UpdateLocalizedPolicyVersionRequest update localized policy version request

swagger:model UpdateLocalizedPolicyVersionRequest

func (*UpdateLocalizedPolicyVersionRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateLocalizedPolicyVersionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateLocalizedPolicyVersionRequest) Validate

Validate validates this update localized policy version request

type UpdateLocalizedPolicyVersionResponse

type UpdateLocalizedPolicyVersionResponse struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment version identifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`

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

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

	// id
	// Required: true
	ID *string `json:"id"`

	// locale code
	LocaleCode string `json:"localeCode,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

UpdateLocalizedPolicyVersionResponse update localized policy version response

swagger:model UpdateLocalizedPolicyVersionResponse

func (*UpdateLocalizedPolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateLocalizedPolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateLocalizedPolicyVersionResponse) Validate

Validate validates this update localized policy version response

type UpdatePolicyRequest

type UpdatePolicyRequest struct {

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

	// is default opted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// is mandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policy name
	// Required: true
	PolicyName *string `json:"policyName"`

	// readable Id
	ReadableID string `json:"readableId,omitempty"`

	// should notify on update
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`
}

UpdatePolicyRequest update policy request

swagger:model UpdatePolicyRequest

func (*UpdatePolicyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdatePolicyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdatePolicyRequest) Validate

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

Validate validates this update policy request

type UpdatePolicyVersionRequest

type UpdatePolicyVersionRequest struct {

	// description
	// Required: true
	Description *string `json:"description"`

	// display version
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

	// is committed
	// Required: true
	IsCommitted *bool `json:"isCommitted"`
}

UpdatePolicyVersionRequest update policy version request

swagger:model UpdatePolicyVersionRequest

func (*UpdatePolicyVersionRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdatePolicyVersionRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdatePolicyVersionRequest) Validate

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

Validate validates this update policy version request

type UpdatePolicyVersionResponse

type UpdatePolicyVersionResponse struct {

	// base policy Id
	// Read Only: true
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// display version
	DisplayVersion string `json:"displayVersion,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// is committed
	IsCommitted bool `json:"isCommitted"`

	// published date
	// Format: date-time
	PublishedDate *strfmt.DateTime `json:"publishedDate,omitempty"`

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

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

UpdatePolicyVersionResponse update policy version response

swagger:model UpdatePolicyVersionResponse

func (*UpdatePolicyVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdatePolicyVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdatePolicyVersionResponse) Validate

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

Validate validates this update policy version response

type UploadLocalizedPolicyVersionAttachmentResponse

type UploadLocalizedPolicyVersionAttachmentResponse struct {

	// attachment checksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachment location
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachment upload Url
	AttachmentUploadURL string `json:"attachmentUploadUrl,omitempty"`
}

UploadLocalizedPolicyVersionAttachmentResponse upload localized policy version attachment response

swagger:model UploadLocalizedPolicyVersionAttachmentResponse

func (*UploadLocalizedPolicyVersionAttachmentResponse) MarshalBinary

MarshalBinary interface implementation

func (*UploadLocalizedPolicyVersionAttachmentResponse) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UploadLocalizedPolicyVersionAttachmentResponse) Validate

Validate validates this upload localized policy version attachment response

type UploadPolicyVersionAttachmentRequest

type UploadPolicyVersionAttachmentRequest struct {

	// content m d5
	ContentMD5 string `json:"contentMD5,omitempty"`

	// content type
	ContentType string `json:"contentType,omitempty"`
}

UploadPolicyVersionAttachmentRequest upload policy version attachment request

swagger:model UploadPolicyVersionAttachmentRequest

func (*UploadPolicyVersionAttachmentRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UploadPolicyVersionAttachmentRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UploadPolicyVersionAttachmentRequest) Validate

Validate validates this upload policy version attachment request

type UserAgreementsResponse added in v0.40.0

type UserAgreementsResponse struct {

	// agreement records
	Agreements []*RetrieveAcceptedAgreementResponse `json:"agreements"`

	// user id
	UserID string `json:"userId,omitempty"`
}

UserAgreementsResponse A DTO object for user agreements response

swagger:model UserAgreementsResponse

func (*UserAgreementsResponse) MarshalBinary added in v0.40.0

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

MarshalBinary interface implementation

func (*UserAgreementsResponse) UnmarshalBinary added in v0.40.0

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

UnmarshalBinary interface implementation

func (*UserAgreementsResponse) Validate added in v0.40.0

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

Validate validates this user agreements response

type UsersAgreementsRequest added in v0.40.0

type UsersAgreementsRequest struct {

	// if true, the result will only include the status of current published policies, default: false
	CurrentPublishedOnly bool `json:"currentPublishedOnly"`

	// user ids, min size: 1, max size: 100
	// Required: true
	// Unique: true
	UserIds []string `json:"userIds"`
}

UsersAgreementsRequest A DTO object for retrieving agreements of multi users

swagger:model UsersAgreementsRequest

func (*UsersAgreementsRequest) MarshalBinary added in v0.40.0

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

MarshalBinary interface implementation

func (*UsersAgreementsRequest) UnmarshalBinary added in v0.40.0

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

UnmarshalBinary interface implementation

func (*UsersAgreementsRequest) Validate added in v0.40.0

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

Validate validates this users agreements request

type ValidationErrorEntity

type ValidationErrorEntity struct {

	// numeric error code
	// Required: true
	ErrorCode *int32 `json:"errorCode"`

	// error message
	// Required: true
	ErrorMessage *string `json:"errorMessage"`

	// errors
	Errors []*FieldValidationError `json:"errors"`
}

ValidationErrorEntity validation error entity

swagger:model ValidationErrorEntity

func (*ValidationErrorEntity) MarshalBinary

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

MarshalBinary interface implementation

func (*ValidationErrorEntity) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ValidationErrorEntity) Validate

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

Validate validates this validation error entity

Source Files

Jump to

Keyboard shortcuts

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