legalclientmodels

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 4 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 {

	// isaccepted
	// Required: true
	IsAccepted *bool `json:"isAccepted"`

	// isneedtosendeventmarketing
	IsNeedToSendEventMarketing bool `json:"isNeedToSendEventMarketing"`

	// localizedpolicyversionid
	// Required: true
	LocalizedPolicyVersionID *string `json:"localizedPolicyVersionId"`

	// policyid
	// Required: true
	PolicyID *string `json:"policyId"`

	// policyversionid
	// Required: true
	PolicyVersionID *string `json:"policyVersionId"`
}

AcceptAgreementRequest Accept agreement request

swagger:model Accept agreement request.

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 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 Accept agreement response.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affectedcountries
	AffectedCountries []string `json:"affectedCountries,omitempty"`

	// basepolicyname
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

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

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

	// typeid
	TypeID string `json:"typeId,omitempty"`
}

CreateBasePolicyRequest Create base policy request

swagger:model Create base policy request.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

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

	// basepolicyname
	BasePolicyName string `json:"basePolicyName,omitempty"`

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

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

	// typeid
	TypeID string `json:"typeId,omitempty"`
}

CreateBasePolicyRequestV2 Create base policy request V2

swagger:model Create base policy request V2.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affectedcountries
	AffectedCountries []string `json:"affectedCountries,omitempty"`

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

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

	// globalpolicyname
	GlobalPolicyName string `json:"globalPolicyName,omitempty"`

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

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

	// policyid
	PolicyID string `json:"policyId,omitempty"`

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

	// typeid
	TypeID string `json:"typeId,omitempty"`

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

CreateBasePolicyResponse Create base policy response

swagger:model Create base policy response.

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 {

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

	// localecode
	LocaleCode string `json:"localeCode,omitempty"`
}

CreateLocalizedPolicyVersionRequest Create localized policy version request

swagger:model Create localized policy version request.

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 {

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

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

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

	// localecode
	LocaleCode string `json:"localeCode,omitempty"`

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

CreateLocalizedPolicyVersionResponse Create localized policy version response

swagger:model Create localized policy version response.

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"`

	// displayversion
	DisplayVersion string `json:"displayVersion,omitempty"`

	// iscommitted
	IsCommitted bool `json:"isCommitted"`
}

CreatePolicyVersionRequest Create policy version request

swagger:model Create policy version request.

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 {

	// basepolicyid
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// displayversion
	DisplayVersion string `json:"displayVersion,omitempty"`

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

	// iscommitted
	IsCommitted bool `json:"isCommitted"`

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

CreatePolicyVersionResponse Create policy version response

swagger:model Create policy version response.

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
	// Format: int32
	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 Error entity.

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 {

	// errorcode
	ErrorCode string `json:"errorCode,omitempty"`

	// errorfield
	ErrorField string `json:"errorField,omitempty"`

	// errormessage
	ErrorMessage string `json:"errorMessage,omitempty"`

	// errorvalue
	ErrorValue string `json:"errorValue,omitempty"`

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

FieldValidationError Field validation error

swagger:model Field validation error.

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 {

	// isready
	IsReady bool `json:"isReady"`
}

LegalReadinessStatusResponse Legal readiness status response

swagger:model Legal readiness status response.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentversionidentifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

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

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

	// isdefaultselection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// localecode
	// Required: true
	LocaleCode *string `json:"localeCode"`

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

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

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

LocalizedPolicyVersionObject Localized policy version object

swagger:model Localized policy version object.

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,omitempty"`

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

PagedRetrieveUserAcceptedAgreementResponse Paged retrieve user accepted agreement response

swagger:model Paged retrieve user accepted agreement response.

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 {

	// countrycode
	// Required: true
	CountryCode *string `json:"countryCode"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

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

	// isdefaultopted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// isdefaultselection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// ismandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policyname
	// Required: true
	PolicyName *string `json:"policyName"`

	// readableid
	ReadableID string `json:"readableId,omitempty"`

	// shouldnotifyonupdate
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

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

PolicyObject Policy object

swagger:model Policy object.

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 {

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

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

	// displayversion
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

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

	// iscommitted
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// isineffect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

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

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

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

PolicyVersionObject Policy version object

swagger:model Policy version object.

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 {

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

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

	// displayversion
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

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

	// iscommitted
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// isineffect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

	// localizedpolicyversions
	LocalizedPolicyVersions []*LocalizedPolicyVersionObject `json:"localizedPolicyVersions,omitempty"`

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

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

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

PolicyVersionWithLocalizedVersionObject Policy version with localized version object

swagger:model Policy version with localized version object.

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 {

	// countrycode
	CountryCode string `json:"countryCode,omitempty"`

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

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

	// displayversion
	DisplayVersion string `json:"displayVersion,omitempty"`

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

	// isaccepted
	IsAccepted bool `json:"isAccepted"`

	// localizedpolicyversion
	LocalizedPolicyVersion *LocalizedPolicyVersionObject `json:"localizedPolicyVersion,omitempty"`

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

	// policyid
	PolicyID string `json:"policyId,omitempty"`

	// policyname
	PolicyName string `json:"policyName,omitempty"`

	// policytype
	PolicyType string `json:"policyType,omitempty"`

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

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

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

	// userid
	UserID string `json:"userId,omitempty"`
}

RetrieveAcceptedAgreementResponse Retrieve accepted agreement response

swagger:model Retrieve accepted agreement response.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// basepolicyname
	// Required: true
	BasePolicyName *string `json:"basePolicyName"`

	// createdat
	// 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,omitempty"`

	// policytypeid
	PolicyTypeID string `json:"policyTypeId,omitempty"`

	// policytypename
	PolicyTypeName string `json:"policyTypeName,omitempty"`

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

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

RetrieveBasePolicyResponse Retrieve base policy response

swagger:model Retrieve base policy response.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentversionidentifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// basepolicyid
	BasePolicyID string `json:"basePolicyId,omitempty"`

	// baseurls
	BaseUrls []string `json:"baseUrls,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

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

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

	// localecode
	// Required: true
	LocaleCode *string `json:"localeCode"`

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

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

	// policyversion
	// Required: true
	PolicyVersion *PolicyVersionObject `json:"policyVersion"`

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

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

RetrieveLocalizedPolicyVersionPublicResponse Retrieve localized policy version public response

swagger:model Retrieve localized policy version public response.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentversionidentifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// baseurls
	BaseUrls []string `json:"baseUrls,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

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

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

	// localecode
	// Required: true
	LocaleCode *string `json:"localeCode"`

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

	// policyversion
	// Required: true
	PolicyVersion *PolicyVersionObject `json:"policyVersion"`

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

RetrieveLocalizedPolicyVersionResponse Retrieve localized policy version response

swagger:model Retrieve localized policy version response.

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 {

	// basepolicyid
	// Required: true
	BasePolicyID *string `json:"basePolicyId"`

	// baseurls
	BaseUrls []string `json:"baseUrls,omitempty"`

	// countrycode
	// Required: true
	CountryCode *string `json:"countryCode"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

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

	// isdefaultopted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// isdefaultselection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// ismandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

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

	// policyname
	// Required: true
	PolicyName *string `json:"policyName"`

	// policytype
	// Required: true
	PolicyType *string `json:"policyType"`

	// policyversions
	PolicyVersions []*PolicyVersionWithLocalizedVersionObject `json:"policyVersions,omitempty"`

	// readableid
	ReadableID string `json:"readableId,omitempty"`

	// shouldnotifyonupdate
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

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

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

RetrievePolicyPublicResponse Retrieve policy public response

swagger:model Retrieve policy public response.

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 {

	// countrycode
	// Required: true
	CountryCode *string `json:"countryCode"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

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

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

	// isdefaultopted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// isdefaultselection
	// Required: true
	IsDefaultSelection *bool `json:"isDefaultSelection"`

	// ismandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policyname
	// Required: true
	PolicyName *string `json:"policyName"`

	// policyversions
	PolicyVersions []*PolicyVersionObject `json:"policyVersions,omitempty"`

	// readableid
	ReadableID string `json:"readableId,omitempty"`

	// shouldnotifyonupdate
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`

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

RetrievePolicyResponse Retrieve policy response

swagger:model Retrieve policy response.

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 {

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

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

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

	// isneeddocument
	// Required: true
	IsNeedDocument *bool `json:"isNeedDocument"`

	// policytypename
	// Required: true
	PolicyTypeName *string `json:"policyTypeName"`

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

RetrievePolicyTypeResponse Retrieve policy type response

swagger:model Retrieve policy type response.

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 {

	// basepolicyid
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// displayversion
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

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

	// iscommitted
	// Required: true
	IsCommitted *bool `json:"isCommitted"`

	// isineffect
	// Required: true
	IsInEffect *bool `json:"isInEffect"`

	// localizedpolicyversions
	LocalizedPolicyVersions []*LocalizedPolicyVersionObject `json:"localizedPolicyVersions,omitempty"`

	// policyid
	PolicyID string `json:"policyId,omitempty"`

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

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

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

RetrievePolicyVersionResponse Retrieve policy version response

swagger:model Retrieve policy version response.

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 {

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

	// displayname
	DisplayName string `json:"displayName,omitempty"`

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

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

	// isaccepted
	IsAccepted bool `json:"isAccepted"`

	// localizedpolicyversion
	LocalizedPolicyVersion *LocalizedPolicyVersionObject `json:"localizedPolicyVersion,omitempty"`

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

	// policyname
	PolicyName string `json:"policyName,omitempty"`

	// policytype
	PolicyType string `json:"policyType,omitempty"`

	// publisheruserid
	PublisherUserID string `json:"publisherUserId,omitempty"`

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

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

	// userid
	UserID string `json:"userId,omitempty"`

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

RetrieveUserAcceptedAgreementResponse Retrieve user accepted agreement response

swagger:model Retrieve user accepted agreement response.

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 {

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

RetrieveUserEligibilitiesIndirectResponse Retrieve user eligibilities indirect response

swagger:model Retrieve user eligibilities indirect response.

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 {

	// baseurls
	BaseUrls []string `json:"baseUrls,omitempty"`

	// countrycode
	// Required: true
	CountryCode *string `json:"countryCode"`

	// countrygroupcode
	CountryGroupCode string `json:"countryGroupCode,omitempty"`

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

	// isaccepted
	// Required: true
	IsAccepted *bool `json:"isAccepted"`

	// ismandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

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

	// policyid
	// Required: true
	PolicyID *string `json:"policyId"`

	// policyname
	// Required: true
	PolicyName *string `json:"policyName"`

	// policytype
	// Required: true
	PolicyType *string `json:"policyType"`

	// policyversions
	PolicyVersions []*PolicyVersionWithLocalizedVersionObject `json:"policyVersions,omitempty"`

	// readableid
	ReadableID string `json:"readableId,omitempty"`
}

RetrieveUserEligibilitiesResponse Retrieve user eligibilities response

swagger:model Retrieve user eligibilities response.

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 {

	// lastupdatedat
	// 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 Retrieve user info cache status response.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affectedcountries
	AffectedCountries []string `json:"affectedCountries,omitempty"`

	// basepolicyname
	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 Update base policy request.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

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

	// basepolicyname
	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 Update base policy request V2.

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 {

	// affectedclientids
	// Unique: true
	AffectedClientIds []string `json:"affectedClientIds"`

	// affectedcountries
	AffectedCountries []string `json:"affectedCountries,omitempty"`

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

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

	// globalpolicyname
	GlobalPolicyName string `json:"globalPolicyName,omitempty"`

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

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

	// policyid
	PolicyID string `json:"policyId,omitempty"`

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

	// typeid
	TypeID string `json:"typeId,omitempty"`

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

UpdateBasePolicyResponse Update base policy response

swagger:model Update base policy response.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentversionidentifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

UpdateLocalizedPolicyVersionRequest Update localized policy version request

swagger:model Update localized policy version request.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentversionidentifier
	AttachmentVersionIdentifier string `json:"attachmentVersionIdentifier,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`

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

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

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

	// localecode
	LocaleCode string `json:"localeCode,omitempty"`

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

UpdateLocalizedPolicyVersionResponse Update localized policy version response

swagger:model Update localized policy version response.

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"`

	// isdefaultopted
	// Required: true
	IsDefaultOpted *bool `json:"isDefaultOpted"`

	// ismandatory
	// Required: true
	IsMandatory *bool `json:"isMandatory"`

	// policyname
	// Required: true
	PolicyName *string `json:"policyName"`

	// readableid
	ReadableID string `json:"readableId,omitempty"`

	// shouldnotifyonupdate
	// Required: true
	ShouldNotifyOnUpdate *bool `json:"shouldNotifyOnUpdate"`
}

UpdatePolicyRequest Update policy request

swagger:model Update policy request.

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"`

	// displayversion
	// Required: true
	DisplayVersion *string `json:"displayVersion"`

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

UpdatePolicyVersionRequest Update policy version request

swagger:model Update policy version request.

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 {

	// basepolicyid
	BasePolicyID string `json:"basePolicyId,omitempty"`

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

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

	// displayversion
	DisplayVersion string `json:"displayVersion,omitempty"`

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

	// iscommitted
	IsCommitted bool `json:"isCommitted"`

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

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

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

UpdatePolicyVersionResponse Update policy version response

swagger:model Update policy version response.

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 {

	// attachmentchecksum
	AttachmentChecksum string `json:"attachmentChecksum,omitempty"`

	// attachmentlocation
	AttachmentLocation string `json:"attachmentLocation,omitempty"`

	// attachmentuploadurl
	AttachmentUploadURL string `json:"attachmentUploadUrl,omitempty"`
}

UploadLocalizedPolicyVersionAttachmentResponse Upload localized policy version attachment response

swagger:model Upload localized policy version attachment response.

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 {

	// contentmd5
	ContentMD5 string `json:"contentMD5,omitempty"`

	// contenttype
	ContentType string `json:"contentType,omitempty"`
}

UploadPolicyVersionAttachmentRequest Upload policy version attachment request

swagger:model Upload policy version attachment request.

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,omitempty"`

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

UserAgreementsResponse User agreements response

swagger:model User agreements response.

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
	// Unique: true
	// Required: true
	UserIds []string `json:"userIds"`
}

UsersAgreementsRequest Users agreements request

swagger:model Users agreements request.

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
	// Format: int32
	ErrorCode *int32 `json:"errorCode"`

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

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

ValidationErrorEntity Validation error entity

swagger:model Validation error entity.

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