/* Options: Date: 2026-11-27 09:09:31 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sanctionssearch.com/v2 //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetClientGpg45.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/clients/{Id}/gpg45/", Verbs="GET") @DataContract public static class GetClientGpg45 extends BaseRequest implements IReturn { @DataMember @ApiMember(IsRequired=true, ParameterType="path") public Integer id = null; public Integer getId() { return id; } public GetClientGpg45 setId(Integer value) { this.id = value; return this; } private static Object responseType = GetClientGpg45Response.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetClientGpg45Response { @DataMember public GetClientGpg45Data data = null; public GetClientGpg45Data getData() { return data; } public GetClientGpg45Response setData(GetClientGpg45Data value) { this.data = value; return this; } } @DataContract public static class Authentication { /** * The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User) */ @DataMember @ApiMember(Description="The API User ID provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-User)", IsRequired=true, ParameterType="header, body") public String apiUserId = null; /** * The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key) */ @DataMember @ApiMember(Description="The API User Key provided by us when you signed up to use our API. Can be provided in the request body, or as a header parameter (X-Api-Key)", IsRequired=true, ParameterType="header, body") public String apiUserKey = null; /** * The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id). */ @DataMember @ApiMember(Description="The User ID of the user making the request (e.g. a sub user). This is optional but can be used to associate API requests with a specific user, thereby allowing user permissions to be enforced. Can be provided in the body, or as a header parameter (X-User-Id).", ParameterType="header, body") public String userId = null; public String getApiUserId() { return apiUserId; } public Authentication setApiUserId(String value) { this.apiUserId = value; return this; } public String getApiUserKey() { return apiUserKey; } public Authentication setApiUserKey(String value) { this.apiUserKey = value; return this; } public String getUserId() { return userId; } public Authentication setUserId(String value) { this.userId = value; return this; } } @DataContract public static class BaseRequest implements IBaseRequest { /** * The authentication credentials */ @DataMember @ApiMember(Description="The authentication credentials", IsRequired=true, ParameterType="header, body") public Authentication authentication = null; public Authentication getAuthentication() { return authentication; } public BaseRequest setAuthentication(Authentication value) { this.authentication = value; return this; } } public static interface IBaseRequest { public Authentication authentication = null; } public static class GetClientGpg45Data extends BaseResponse { /** * Links related to this client's GPG 45 projection */ @ApiMember(Description="Links related to this client's GPG 45 projection") public Links links = null; /** * The GPG 45 (DVS data schema v1.0) projection: 'claims' and, once Verified, 'verification' */ @ApiMember(Description="The GPG 45 (DVS data schema v1.0) projection: 'claims' and, once Verified, 'verification'") public Gpg45Projection gpg45 = null; public Links getLinks() { return links; } public GetClientGpg45Data setLinks(Links value) { this.links = value; return this; } public Gpg45Projection getGpg45() { return gpg45; } public GetClientGpg45Data setGpg45(Gpg45Projection value) { this.gpg45 = value; return this; } } public static class BaseResponse implements IBaseDataResponse, IHasResponseStatus { /** * The status of the response */ @ApiMember(Description="The status of the response") public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public BaseResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static interface IBaseDataResponse { public ResponseStatus responseStatus = null; } public static interface IHasResponseStatus { public ResponseStatus responseStatus = null; } public static class Links { @ApiMember() public String self = null; public String getSelf() { return self; } public Links setSelf(String value) { this.self = value; return this; } } public static class Gpg45Projection { /** * The claimed identity information (GPG 45 'claims') */ @ApiMember(Description="The claimed identity information (GPG 45 'claims')") public gpg45_claims claims = null; /** * How the claims were proven (GPG 45 'verification'). Null until the client is Verified */ @ApiMember(Description="How the claims were proven (GPG 45 'verification'). Null until the client is Verified") public gpg45_verification verification = null; public gpg45_claims getClaims() { return claims; } public Gpg45Projection setClaims(gpg45_claims value) { this.claims = value; return this; } public gpg45_verification getVerification() { return verification; } public Gpg45Projection setVerification(gpg45_verification value) { this.verification = value; return this; } } public static class ArrayOfResponseError extends ArrayList { } public static class gpg45_claims { /** * The individual's given name(s) */ @ApiMember(Description="The individual's given name(s)") public String given_name = null; /** * The individual's family / surname */ @ApiMember(Description="The individual's family / surname") public String family_name = null; /** * The individual's date of birth (ISO 8601, yyyy-MM-dd) */ @ApiMember(Description="The individual's date of birth (ISO 8601, yyyy-MM-dd)") public String birthdate = null; /** * Countries of citizenship (ISO 3166-1 alpha-3) */ @ApiMember(Description="Countries of citizenship (ISO 3166-1 alpha-3)") public ArrayList nationalities = null; /** * The individual's address */ @ApiMember(Description="The individual's address") public gpg45_address address = null; /** * Biometric characteristics of the person making the claim */ @ApiMember(Description="Biometric characteristics of the person making the claim") public ArrayList biometric_information = null; public String getGivenName() { return given_name; } public gpg45_claims setGivenName(String value) { this.given_name = value; return this; } public String getFamilyName() { return family_name; } public gpg45_claims setFamilyName(String value) { this.family_name = value; return this; } public String getBirthdate() { return birthdate; } public gpg45_claims setBirthdate(String value) { this.birthdate = value; return this; } public ArrayList getNationalities() { return nationalities; } public gpg45_claims setNationalities(ArrayList value) { this.nationalities = value; return this; } public gpg45_address getAddress() { return address; } public gpg45_claims setAddress(gpg45_address value) { this.address = value; return this; } public ArrayList getBiometricInformation() { return biometric_information; } public gpg45_claims setBiometricInformation(ArrayList value) { this.biometric_information = value; return this; } } public static class gpg45_verification { /** * Always 'uk_dvstf' for the UK DVS trust framework */ @ApiMember(Description="Always 'uk_dvstf' for the UK DVS trust framework") public String trust_framework = null; /** * The certified service's entry in the DVS register */ @ApiMember(Description="The certified service's entry in the DVS register") public gpg45_dvs_registration dvs_registration = null; /** * The evidence used to prove the claim */ @ApiMember(Description="The evidence used to prove the claim") public ArrayList evidence = null; /** * The GPG 45 confidence level achieved: low, medium, high or very_high */ @ApiMember(Description="The GPG 45 confidence level achieved: low, medium, high or very_high") public String assurance_level = null; /** * The assurance policy and procedure followed */ @ApiMember(Description="The assurance policy and procedure followed") public gpg45_assurance_process assurance_process = null; public String getTrustFramework() { return trust_framework; } public gpg45_verification setTrustFramework(String value) { this.trust_framework = value; return this; } public gpg45_dvs_registration getDvsRegistration() { return dvs_registration; } public gpg45_verification setDvsRegistration(gpg45_dvs_registration value) { this.dvs_registration = value; return this; } public ArrayList getEvidence() { return evidence; } public gpg45_verification setEvidence(ArrayList value) { this.evidence = value; return this; } public String getAssuranceLevel() { return assurance_level; } public gpg45_verification setAssuranceLevel(String value) { this.assurance_level = value; return this; } public gpg45_assurance_process getAssuranceProcess() { return assurance_process; } public gpg45_verification setAssuranceProcess(gpg45_assurance_process value) { this.assurance_process = value; return this; } } public static class gpg45_address { /** * Street address lines, most specific first */ @ApiMember(Description="Street address lines, most specific first") public ArrayList street = null; /** * City / town / district */ @ApiMember(Description="City / town / district") public String locality = null; /** * Postcode */ @ApiMember(Description="Postcode") public String postal_code = null; /** * Country code (ISO 3166-1 alpha-3) */ @ApiMember(Description="Country code (ISO 3166-1 alpha-3)") public String country_code = null; public ArrayList getStreet() { return street; } public gpg45_address setStreet(ArrayList value) { this.street = value; return this; } public String getLocality() { return locality; } public gpg45_address setLocality(String value) { this.locality = value; return this; } public String getPostalCode() { return postal_code; } public gpg45_address setPostalCode(String value) { this.postal_code = value; return this; } public String getCountryCode() { return country_code; } public gpg45_address setCountryCode(String value) { this.country_code = value; return this; } } public static class gpg45_biometric_information { /** * The biometric modality: face, fingerprint, voice or iris */ @ApiMember(Description="The biometric modality: face, fingerprint, voice or iris") public String biometric_modality = null; /** * The captured biometric data */ @ApiMember(Description="The captured biometric data") public ArrayList attachments = null; public String getBiometricModality() { return biometric_modality; } public gpg45_biometric_information setBiometricModality(String value) { this.biometric_modality = value; return this; } public ArrayList getAttachments() { return attachments; } public gpg45_biometric_information setAttachments(ArrayList value) { this.attachments = value; return this; } } public static class gpg45_dvs_registration { /** * The service's DVS register reference */ @ApiMember(Description="The service's DVS register reference") public String registration_id = null; /** * The registered name of the certified service */ @ApiMember(Description="The registered name of the certified service") public String name = null; /** * Contact email for the certified service */ @ApiMember(Description="Contact email for the certified service") public String contact_email = null; /** * Website of the certified service */ @ApiMember(Description="Website of the certified service") public String website = null; public String getRegistrationId() { return registration_id; } public gpg45_dvs_registration setRegistrationId(String value) { this.registration_id = value; return this; } public String getName() { return name; } public gpg45_dvs_registration setName(String value) { this.name = value; return this; } public String getContactEmail() { return contact_email; } public gpg45_dvs_registration setContactEmail(String value) { this.contact_email = value; return this; } public String getWebsite() { return website; } public gpg45_dvs_registration setWebsite(String value) { this.website = value; return this; } } public static class gpg45_evidence { /** * The document used to prove the claim */ @ApiMember(Description="The document used to prove the claim") public gpg45_document document = null; public gpg45_document getDocument() { return document; } public gpg45_evidence setDocument(gpg45_document value) { this.document = value; return this; } } public static class gpg45_assurance_process { /** * Always 'gpg45' for the DVS trust framework */ @ApiMember(Description="Always 'gpg45' for the DVS trust framework") public String policy = null; /** * The GPG 45 identity profile code that was met (e.g. M1A, H1A). Null if no profile's requirements were fully met */ @ApiMember(Description="The GPG 45 identity profile code that was met (e.g. M1A, H1A). Null if no profile's requirements were fully met") public String procedure = null; /** * How each assurance process was satisfied */ @ApiMember(Description="How each assurance process was satisfied") public ArrayList assurance_details = null; public String getPolicy() { return policy; } public gpg45_assurance_process setPolicy(String value) { this.policy = value; return this; } public String getProcedure() { return procedure; } public gpg45_assurance_process setProcedure(String value) { this.procedure = value; return this; } public ArrayList getAssuranceDetails() { return assurance_details; } public gpg45_assurance_process setAssuranceDetails(ArrayList value) { this.assurance_details = value; return this; } } public static class gpg45_attachment { /** * A description of the attachment */ @ApiMember(Description="A description of the attachment") public String desc = null; /** * The IANA media type of the data (e.g. image/jpeg) */ @ApiMember(Description="The IANA media type of the data (e.g. image/jpeg)") public String content_type = null; /** * The encoding format: base64 or byte_data */ @ApiMember(Description="The encoding format: base64 or byte_data") public String content_format = null; /** * The base64-encoded data */ @ApiMember(Description="The base64-encoded data") public String content = null; public String getDesc() { return desc; } public gpg45_attachment setDesc(String value) { this.desc = value; return this; } public String getContentType() { return content_type; } public gpg45_attachment setContentType(String value) { this.content_type = value; return this; } public String getContentFormat() { return content_format; } public gpg45_attachment setContentFormat(String value) { this.content_format = value; return this; } public String getContent() { return content; } public gpg45_attachment setContent(String value) { this.content = value; return this; } } public static class gpg45_document { /** * Always 'document' */ @ApiMember(Description="Always 'document'") public String type = null; /** * Details about the document itself */ @ApiMember(Description="Details about the document itself") public gpg45_document_details document_details = null; /** * Copies of the document */ @ApiMember(Description="Copies of the document") public ArrayList attachments = null; /** * The checks performed on the document */ @ApiMember(Description="The checks performed on the document") public ArrayList check_details = null; public String getType() { return type; } public gpg45_document setType(String value) { this.type = value; return this; } public gpg45_document_details getDocumentDetails() { return document_details; } public gpg45_document setDocumentDetails(gpg45_document_details value) { this.document_details = value; return this; } public ArrayList getAttachments() { return attachments; } public gpg45_document setAttachments(ArrayList value) { this.attachments = value; return this; } public ArrayList getCheckDetails() { return check_details; } public gpg45_document setCheckDetails(ArrayList value) { this.check_details = value; return this; } } public static class gpg45_assurance_details { /** * The type of check: validation, verification, counter_fraud or activity_history */ @ApiMember(Description="The type of check: validation, verification, counter_fraud or activity_history") public String assurance_type = null; /** * The GPG 45 score achieved for this check: score_1 to score_4 */ @ApiMember(Description="The GPG 45 score achieved for this check: score_1 to score_4") public String assurance_classification = null; /** * The checks that produced this assurance, matched by check_id */ @ApiMember(Description="The checks that produced this assurance, matched by check_id") public ArrayList evidence_ref = null; public String getAssuranceType() { return assurance_type; } public gpg45_assurance_details setAssuranceType(String value) { this.assurance_type = value; return this; } public String getAssuranceClassification() { return assurance_classification; } public gpg45_assurance_details setAssuranceClassification(String value) { this.assurance_classification = value; return this; } public ArrayList getEvidenceRef() { return evidence_ref; } public gpg45_assurance_details setEvidenceRef(ArrayList value) { this.evidence_ref = value; return this; } } public static class gpg45_document_details { /** * The GPG 45 document_type enumeration value */ @ApiMember(Description="The GPG 45 document_type enumeration value") public String type = null; /** * The document's reference / identification number */ @ApiMember(Description="The document's reference / identification number") public String document_number = null; /** * The date the document was issued (ISO 8601) */ @ApiMember(Description="The date the document was issued (ISO 8601)") public String date_of_issuance = null; /** * The date the document expires (ISO 8601) */ @ApiMember(Description="The date the document expires (ISO 8601)") public String date_of_expiry = null; /** * The authority that issued the document */ @ApiMember(Description="The authority that issued the document") public gpg45_authority issuer = null; public String getType() { return type; } public gpg45_document_details setType(String value) { this.type = value; return this; } public String getDocumentNumber() { return document_number; } public gpg45_document_details setDocumentNumber(String value) { this.document_number = value; return this; } public String getDateOfIssuance() { return date_of_issuance; } public gpg45_document_details setDateOfIssuance(String value) { this.date_of_issuance = value; return this; } public String getDateOfExpiry() { return date_of_expiry; } public gpg45_document_details setDateOfExpiry(String value) { this.date_of_expiry = value; return this; } public gpg45_authority getIssuer() { return issuer; } public gpg45_document_details setIssuer(gpg45_authority value) { this.issuer = value; return this; } } public static class gpg45_check_details { /** * The GPG 45 check_method: auth, token, kbv, pvp, pvr, bvp, bvr, vpip, vpiruv, vri, vdig, vcrypt or data */ @ApiMember(Description="The GPG 45 check_method: auth, token, kbv, pvp, pvr, bvp, bvr, vpip, vpiruv, vri, vdig, vcrypt or data") public String check_method = null; /** * A unique reference for this check, matched by assurance_details evidence_ref entries */ @ApiMember(Description="A unique reference for this check, matched by assurance_details evidence_ref entries") public String check_id = null; /** * When the check was performed (ISO 8601 timestamp) */ @ApiMember(Description="When the check was performed (ISO 8601 timestamp)") public String time = null; /** * The organisation that performed the check */ @ApiMember(Description="The organisation that performed the check") public String organisation = null; public String getCheckMethod() { return check_method; } public gpg45_check_details setCheckMethod(String value) { this.check_method = value; return this; } public String getCheckId() { return check_id; } public gpg45_check_details setCheckId(String value) { this.check_id = value; return this; } public String getTime() { return time; } public gpg45_check_details setTime(String value) { this.time = value; return this; } public String getOrganisation() { return organisation; } public gpg45_check_details setOrganisation(String value) { this.organisation = value; return this; } } public static class gpg45_evidence_ref { /** * The check_id of the check that produced this assurance */ @ApiMember(Description="The check_id of the check that produced this assurance") public String check_id = null; /** * Additional metadata about how the evidence supports the assurance */ @ApiMember(Description="Additional metadata about how the evidence supports the assurance") public gpg45_evidence_metadata evidence_ref = null; public String getCheckId() { return check_id; } public gpg45_evidence_ref setCheckId(String value) { this.check_id = value; return this; } public gpg45_evidence_metadata getEvidenceRef() { return evidence_ref; } public gpg45_evidence_ref setEvidenceRef(gpg45_evidence_metadata value) { this.evidence_ref = value; return this; } } public static class gpg45_authority { /** * The name of the authority */ @ApiMember(Description="The name of the authority") public String name = null; /** * The country code where the authority is based (ISO 3166-1 alpha-2) */ @ApiMember(Description="The country code where the authority is based (ISO 3166-1 alpha-2)") public String country_code = null; /** * The authority's jurisdiction */ @ApiMember(Description="The authority's jurisdiction") public String jurisdiction = null; public String getName() { return name; } public gpg45_authority setName(String value) { this.name = value; return this; } public String getCountryCode() { return country_code; } public gpg45_authority setCountryCode(String value) { this.country_code = value; return this; } public String getJurisdiction() { return jurisdiction; } public gpg45_authority setJurisdiction(String value) { this.jurisdiction = value; return this; } } public static class gpg45_evidence_metadata { /** * The evidence classification, where applicable */ @ApiMember(Description="The evidence classification, where applicable") public String evidence_classification = null; public String getEvidenceClassification() { return evidence_classification; } public gpg45_evidence_metadata setEvidenceClassification(String value) { this.evidence_classification = value; return this; } } }