Documentation
¶
Index ¶
- type AcceptAgreementRequest
- type AcceptAgreementResponse
- type CreateBasePolicyRequest
- type CreateBasePolicyResponse
- type CreateLocalizedPolicyVersionRequest
- type CreateLocalizedPolicyVersionResponse
- type CreatePolicyVersionRequest
- type CreatePolicyVersionResponse
- type ErrorEntity
- type FieldValidationError
- type LegalReadinessStatusResponse
- type LocalizedPolicyVersionObject
- type PagedRetrieveUserAcceptedAgreementResponse
- type Paging
- type PolicyObject
- type PolicyVersionObject
- type PolicyVersionWithLocalizedVersionObject
- type RetrieveAcceptedAgreementResponse
- type RetrieveBasePolicyResponse
- type RetrieveLocalizedPolicyVersionPublicResponse
- type RetrieveLocalizedPolicyVersionResponse
- type RetrievePolicyPublicResponse
- type RetrievePolicyResponse
- type RetrievePolicyTypeResponse
- type RetrievePolicyVersionResponse
- type RetrieveUserAcceptedAgreementResponse
- type RetrieveUserEligibilitiesIndirectResponse
- type RetrieveUserEligibilitiesResponse
- type RetrieveUserInfoCacheStatusResponse
- type UpdateBasePolicyRequest
- type UpdateBasePolicyResponse
- type UpdateLocalizedPolicyVersionRequest
- type UpdateLocalizedPolicyVersionResponse
- type UpdatePolicyRequest
- type UpdatePolicyVersionRequest
- type UpdatePolicyVersionResponse
- type UploadLocalizedPolicyVersionAttachmentResponse
- type UploadPolicyVersionAttachmentRequest
- type ValidationErrorEntity
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"` // 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
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
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
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
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
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
type CreatePolicyVersionRequest ¶
type CreatePolicyVersionRequest struct { // description Description string `json:"description,omitempty"` // display version DisplayVersion string `json:"displayVersion,omitempty"` // is committed IsCommitted bool `json:"isCommitted,omitempty"` }
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
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,omitempty"` // 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
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
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
type LegalReadinessStatusResponse ¶
type LegalReadinessStatusResponse struct { // is ready IsReady bool `json:"isReady,omitempty"` }
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
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
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
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 ¶
MarshalBinary interface implementation
func (*Paging) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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,omitempty"` // 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"` // 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
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
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 ¶
func (m *RetrieveLocalizedPolicyVersionPublicResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RetrieveLocalizedPolicyVersionPublicResponse) UnmarshalBinary ¶
func (m *RetrieveLocalizedPolicyVersionPublicResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 // Required: true Policy *PolicyObject `json:"policy"` // 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
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
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
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
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 // Required: true PolicyID *string `json:"policyId"` // 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
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,omitempty"` // 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
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
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
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
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
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
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
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
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
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
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,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"` }
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
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 ¶
func (m *UploadLocalizedPolicyVersionAttachmentResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UploadLocalizedPolicyVersionAttachmentResponse) UnmarshalBinary ¶
func (m *UploadLocalizedPolicyVersionAttachmentResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
Source Files
¶
- accept_agreement_request.go
- accept_agreement_response.go
- create_base_policy_request.go
- create_base_policy_response.go
- create_localized_policy_version_request.go
- create_localized_policy_version_response.go
- create_policy_version_request.go
- create_policy_version_response.go
- error_entity.go
- field_validation_error.go
- legal_readiness_status_response.go
- localized_policy_version_object.go
- paged_retrieve_user_accepted_agreement_response.go
- paging.go
- policy_object.go
- policy_version_object.go
- policy_version_with_localized_version_object.go
- retrieve_accepted_agreement_response.go
- retrieve_base_policy_response.go
- retrieve_localized_policy_version_public_response.go
- retrieve_localized_policy_version_response.go
- retrieve_policy_public_response.go
- retrieve_policy_response.go
- retrieve_policy_type_response.go
- retrieve_policy_version_response.go
- retrieve_user_accepted_agreement_response.go
- retrieve_user_eligibilities_indirect_response.go
- retrieve_user_eligibilities_response.go
- retrieve_user_info_cache_status_response.go
- update_base_policy_request.go
- update_base_policy_response.go
- update_localized_policy_version_request.go
- update_localized_policy_version_response.go
- update_policy_request.go
- update_policy_version_request.go
- update_policy_version_response.go
- upload_localized_policy_version_attachment_response.go
- upload_policy_version_attachment_request.go
- validation_error_entity.go