Documentation
¶
Index ¶
- Constants
- type AcceptAgreementRequest
- type AcceptAgreementResponse
- type CreateBasePolicyRequest
- type CreateBasePolicyRequestV2
- type CreateBasePolicyResponse
- type CreateLocalizedPolicyVersionRequest
- type CreateLocalizedPolicyVersionResponse
- type CreatePolicyRequest
- type CreatePolicyResponse
- type CreatePolicyVersionRequest
- type CreatePolicyVersionResponse
- type DownloadExportedAgreementsInCSVResponse
- type ErrorEntity
- type FieldValidationError
- type InitiateExportAgreementsToCSVResponse
- type LegalReadinessStatusResponse
- type LocalizedPolicyVersionObject
- type PagedRetrieveUserAcceptedAgreementResponse
- type Paging
- type Permission
- type PolicyObject
- type PolicyVersionObject
- type PolicyVersionWithLocalizedVersionObject
- type RetrieveAcceptedAgreementResponse
- type RetrieveBasePolicyResponse
- type RetrieveLocalizedPolicyVersionPublicResponse
- type RetrieveLocalizedPolicyVersionResponse
- type RetrievePoliciesFromBasePolicyResponse
- type RetrievePolicyPublicResponse
- type RetrievePolicyResponse
- type RetrievePolicyTypeResponse
- type RetrievePolicyVersionResponse
- type RetrieveSimplePolicyPublicResponseV2
- type RetrieveUserAcceptedAgreementResponse
- type RetrieveUserEligibilitiesIndirectResponse
- type RetrieveUserEligibilitiesResponse
- type RetrieveUserInfoCacheStatusResponse
- type SimpleLocalizedPolicyVersionObject
- type SimplePolicyVersionWithLocalizedVersionObject
- type UpdateBasePolicyRequest
- type UpdateBasePolicyRequestV2
- type UpdateBasePolicyResponse
- type UpdateLocalizedPolicyVersionRequest
- type UpdateLocalizedPolicyVersionResponse
- type UpdatePolicyRequest
- type UpdatePolicyVersionRequest
- type UpdatePolicyVersionResponse
- type UploadLocalizedPolicyVersionAttachmentResponse
- type UploadPolicyVersionAttachmentRequest
- type UserAgreementsResponse
- type UsersAgreementsRequest
- type ValidationErrorEntity
Constants ¶
const ( // CreateBasePolicyRequestCountryTypeCOUNTRY captures enum value "COUNTRY" CreateBasePolicyRequestCountryTypeCOUNTRY string = "COUNTRY" // CreateBasePolicyRequestCountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" CreateBasePolicyRequestCountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
const ( // CreateBasePolicyRequestV2CountryTypeCOUNTRY captures enum value "COUNTRY" CreateBasePolicyRequestV2CountryTypeCOUNTRY string = "COUNTRY" // CreateBasePolicyRequestV2CountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" CreateBasePolicyRequestV2CountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
const ( // CreateBasePolicyResponseCountryTypeCOUNTRY captures enum value "COUNTRY" CreateBasePolicyResponseCountryTypeCOUNTRY string = "COUNTRY" // CreateBasePolicyResponseCountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" CreateBasePolicyResponseCountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
const ( // CreatePolicyRequestCountryTypeCOUNTRY captures enum value "COUNTRY" CreatePolicyRequestCountryTypeCOUNTRY string = "COUNTRY" // CreatePolicyRequestCountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" CreatePolicyRequestCountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
const ( // UpdateBasePolicyRequestCountryTypeCOUNTRY captures enum value "COUNTRY" UpdateBasePolicyRequestCountryTypeCOUNTRY string = "COUNTRY" // UpdateBasePolicyRequestCountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" UpdateBasePolicyRequestCountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
const ( // UpdateBasePolicyRequestV2CountryTypeCOUNTRY captures enum value "COUNTRY" UpdateBasePolicyRequestV2CountryTypeCOUNTRY string = "COUNTRY" // UpdateBasePolicyRequestV2CountryTypeCOUNTRYGROUP captures enum value "COUNTRY_GROUP" UpdateBasePolicyRequestV2CountryTypeCOUNTRYGROUP string = "COUNTRY_GROUP" )
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
type AcceptAgreementResponse ¶
type AcceptAgreementResponse struct {
// Eligibility Status after Accept Agreement
// Required: true
Comply *bool `json:"comply"`
// 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
type CreateBasePolicyRequest ¶
type CreateBasePolicyRequest struct {
// affectedclientids
// Unique: true
AffectedClientIds []string `json:"affectedClientIds"`
// affectedcountries
AffectedCountries []string `json:"affectedCountries,omitempty"`
// basepolicyname
BasePolicyName string `json:"basePolicyName,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// country type, only accept COUNTRY or COUNTRY_GROUP
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,omitempty"`
// description
Description string `json:"description,omitempty"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// country type, only accept COUNTRY or COUNTRY_GROUP
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,omitempty"`
// description
Description string `json:"description,omitempty"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
type CreateBasePolicyResponse ¶
type CreateBasePolicyResponse struct {
// affectedclientids
// Unique: true
AffectedClientIds []string `json:"affectedClientIds"`
// affectedcountries
AffectedCountries []string `json:"affectedCountries,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,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"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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
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
type CreatePolicyRequest ¶ added in v0.75.0
type CreatePolicyRequest struct {
// countries
// Unique: true
Countries []string `json:"countries"`
// countrycode
CountryCode string `json:"countryCode,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// country type, only accept COUNTRY or COUNTRY_GROUP
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,omitempty"`
// description
Description string `json:"description,omitempty"`
// isdefaultselection
IsDefaultSelection bool `json:"isDefaultSelection"`
// ismandatory
IsMandatory bool `json:"isMandatory"`
// policyname
PolicyName string `json:"policyName,omitempty"`
// shouldnotifyonupdate
ShouldNotifyOnUpdate bool `json:"shouldNotifyOnUpdate"`
}
CreatePolicyRequest Create policy request
swagger:model Create policy request.
func (*CreatePolicyRequest) MarshalBinary ¶ added in v0.75.0
func (m *CreatePolicyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePolicyRequest) UnmarshalBinary ¶ added in v0.75.0
func (m *CreatePolicyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreatePolicyResponse ¶ added in v0.75.0
type CreatePolicyResponse struct {
// countries
// Unique: true
Countries []string `json:"countries"`
// countrycode
// Required: true
CountryCode *string `json:"countryCode"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
CountryType string `json:"countryType,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"`
// 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"`
}
CreatePolicyResponse Create policy response
swagger:model Create policy response.
func (*CreatePolicyResponse) MarshalBinary ¶ added in v0.75.0
func (m *CreatePolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreatePolicyResponse) UnmarshalBinary ¶ added in v0.75.0
func (m *CreatePolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
type DownloadExportedAgreementsInCSVResponse ¶ added in v0.68.0
type DownloadExportedAgreementsInCSVResponse struct {
// Flag indicating whether the export process has been completed.
// Required: true
Done *bool `json:"done"`
// Download url for CSV file, only available once the export process has been completed.
DownloadURL string `json:"downloadUrl,omitempty"`
}
DownloadExportedAgreementsInCSVResponse Download exported agreements in CSV response
swagger:model Download exported agreements in CSV response.
func (*DownloadExportedAgreementsInCSVResponse) MarshalBinary ¶ added in v0.68.0
func (m *DownloadExportedAgreementsInCSVResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DownloadExportedAgreementsInCSVResponse) UnmarshalBinary ¶ added in v0.68.0
func (m *DownloadExportedAgreementsInCSVResponse) 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
// Format: int32
ErrorCode *int32 `json:"errorCode"`
// error message
// Required: true
ErrorMessage *string `json:"errorMessage"`
// message variables
MessageVariables map[string]string `json:"messageVariables,omitempty"`
// requiredpermission
RequiredPermission *Permission `json:"requiredPermission,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
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
type InitiateExportAgreementsToCSVResponse ¶ added in v0.68.0
type InitiateExportAgreementsToCSVResponse struct {
// Export Id is a combination of request timestamp, start time and end time.
// Required: true
ExportID *string `json:"exportId"`
// Processing the export
// Required: true
Processing *bool `json:"processing"`
}
InitiateExportAgreementsToCSVResponse Initiate export agreements to CSV response
swagger:model Initiate export agreements to CSV response.
func (*InitiateExportAgreementsToCSVResponse) MarshalBinary ¶ added in v0.68.0
func (m *InitiateExportAgreementsToCSVResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InitiateExportAgreementsToCSVResponse) UnmarshalBinary ¶ added in v0.68.0
func (m *InitiateExportAgreementsToCSVResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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 Permission ¶ added in v0.69.0
type Permission struct {
// action
// Format: int32
Action int32 `json:"action,omitempty"`
// resource
Resource string `json:"resource,omitempty"`
}
Permission Permission
swagger:model Permission.
func (*Permission) MarshalBinary ¶ added in v0.69.0
func (m *Permission) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Permission) UnmarshalBinary ¶ added in v0.69.0
func (m *Permission) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyObject ¶
type PolicyObject struct {
// countries
// Unique: true
Countries []string `json:"countries"`
// countrycode
// Required: true
CountryCode *string `json:"countryCode"`
// countrygroupcode
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
CountryType string `json:"countryType,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
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
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
type RetrieveAcceptedAgreementResponse ¶
type RetrieveAcceptedAgreementResponse struct {
// countrycode
CountryCode string `json:"countryCode,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
CountryType string `json:"countryType,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
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"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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"`
// ishidden
IsHidden bool `json:"isHidden"`
// 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 ¶
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 {
// 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
type RetrievePoliciesFromBasePolicyResponse ¶ added in v0.75.0
type RetrievePoliciesFromBasePolicyResponse struct {
// activeversion
ActiveVersion string `json:"activeVersion,omitempty"`
// countries
// Unique: true
Countries []string `json:"countries"`
// countrycode
// Required: true
CountryCode *string `json:"countryCode"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
CountryType string `json:"countryType,omitempty"`
// createdat
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// isactive
// Unique: true
IsActive []string `json:"isActive"`
// lastpublished
LastPublished string `json:"lastPublished,omitempty"`
// policyname
// Required: true
PolicyName *string `json:"policyName"`
// policyversions
PolicyVersions []*PolicyVersionObject `json:"policyVersions,omitempty"`
// updatedat
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}
RetrievePoliciesFromBasePolicyResponse Retrieve policies from base policy response
swagger:model Retrieve policies from base policy response.
func (*RetrievePoliciesFromBasePolicyResponse) MarshalBinary ¶ added in v0.75.0
func (m *RetrievePoliciesFromBasePolicyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RetrievePoliciesFromBasePolicyResponse) UnmarshalBinary ¶ added in v0.75.0
func (m *RetrievePoliciesFromBasePolicyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type RetrievePolicyResponse ¶
type RetrievePolicyResponse struct {
// countries
// Unique: true
Countries []string `json:"countries"`
// countrycode
// Required: true
CountryCode *string `json:"countryCode"`
// countrygroupcode
CountryGroupCode string `json:"countryGroupCode,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// countrytype
CountryType string `json:"countryType,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
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
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
type RetrieveSimplePolicyPublicResponseV2 ¶ added in v0.77.0
type RetrieveSimplePolicyPublicResponseV2 struct {
// basepolicyid
// Required: true
BasePolicyID *string `json:"basePolicyId"`
// 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"`
// 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 []*SimplePolicyVersionWithLocalizedVersionObject `json:"policyVersions,omitempty"`
// tags
// Unique: true
Tags []string `json:"tags"`
// updatedat
// Format: date-time
UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}
RetrieveSimplePolicyPublicResponseV2 Retrieve simple policy public response V2
swagger:model Retrieve simple policy public response V2.
func (*RetrieveSimplePolicyPublicResponseV2) MarshalBinary ¶ added in v0.77.0
func (m *RetrieveSimplePolicyPublicResponseV2) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RetrieveSimplePolicyPublicResponseV2) UnmarshalBinary ¶ added in v0.77.0
func (m *RetrieveSimplePolicyPublicResponseV2) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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
type SimpleLocalizedPolicyVersionObject ¶ added in v0.77.0
type SimpleLocalizedPolicyVersionObject struct {
// 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"`
}
SimpleLocalizedPolicyVersionObject Simple localized policy version object
swagger:model Simple localized policy version object.
func (*SimpleLocalizedPolicyVersionObject) MarshalBinary ¶ added in v0.77.0
func (m *SimpleLocalizedPolicyVersionObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SimpleLocalizedPolicyVersionObject) UnmarshalBinary ¶ added in v0.77.0
func (m *SimpleLocalizedPolicyVersionObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SimplePolicyVersionWithLocalizedVersionObject ¶ added in v0.77.0
type SimplePolicyVersionWithLocalizedVersionObject struct {
// createdat
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`
// description
Description string `json:"description,omitempty"`
// id
// Required: true
ID *string `json:"id"`
// localizedpolicyversions
LocalizedPolicyVersions []*SimpleLocalizedPolicyVersionObject `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"`
}
SimplePolicyVersionWithLocalizedVersionObject Simple policy version with localized version object
swagger:model Simple policy version with localized version object.
func (*SimplePolicyVersionWithLocalizedVersionObject) MarshalBinary ¶ added in v0.77.0
func (m *SimplePolicyVersionWithLocalizedVersionObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SimplePolicyVersionWithLocalizedVersionObject) UnmarshalBinary ¶ added in v0.77.0
func (m *SimplePolicyVersionWithLocalizedVersionObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateBasePolicyRequest ¶
type UpdateBasePolicyRequest struct {
// affectedclientids
// Unique: true
AffectedClientIds []string `json:"affectedClientIds"`
// affectedcountries
AffectedCountries []string `json:"affectedCountries,omitempty"`
// basepolicyname
BasePolicyName string `json:"basePolicyName,omitempty"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// country type, only accept COUNTRY or COUNTRY_GROUP
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,omitempty"`
// description
Description string `json:"description,omitempty"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// country type, only accept COUNTRY or COUNTRY_GROUP
// Enum: ['COUNTRY', 'COUNTRY_GROUP']
CountryType string `json:"countryType,omitempty"`
// description
Description string `json:"description,omitempty"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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"`
// active status of this policy, it will affect user's eligibility status check
IsHidden bool `json:"isHidden"`
// hide the policy from public(e.g. legal website), it will NOT affect user's eligibility status check
IsHiddenPublic bool `json:"isHiddenPublic"`
// 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
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
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
type UpdatePolicyRequest ¶
type UpdatePolicyRequest struct {
// countries
// Unique: true
Countries []string `json:"countries"`
// countrygroupname
CountryGroupName string `json:"countryGroupName,omitempty"`
// 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
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
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
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 ¶
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 {
// 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
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
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
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
Source Files
¶
- accept_agreement_request.go
- accept_agreement_response.go
- create_base_policy_request.go
- create_base_policy_request_v2.go
- create_base_policy_response.go
- create_localized_policy_version_request.go
- create_localized_policy_version_response.go
- create_policy_request.go
- create_policy_response.go
- create_policy_version_request.go
- create_policy_version_response.go
- download_exported_agreements_in_c_s_v_response.go
- error_entity.go
- field_validation_error.go
- initiate_export_agreements_to_c_s_v_response.go
- legal_readiness_status_response.go
- localized_policy_version_object.go
- paged_retrieve_user_accepted_agreement_response.go
- paging.go
- permission.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_policies_from_base_policy_response.go
- retrieve_policy_public_response.go
- retrieve_policy_response.go
- retrieve_policy_type_response.go
- retrieve_policy_version_response.go
- retrieve_simple_policy_public_response_v2.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
- simple_localized_policy_version_object.go
- simple_policy_version_with_localized_version_object.go
- update_base_policy_request.go
- update_base_policy_request_v2.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
- user_agreements_response.go
- users_agreements_request.go
- validation_error_entity.go