/* Options: Date: 2025-03-15 04:24:39 Version: 8.30 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: AddPepSearch.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/peps/add", Verbs="POST") @DataContract public static class AddPepSearch extends BaseRequest implements IReturn { @DataMember public AddPepSearchRequest request = null; public AddPepSearchRequest getRequest() { return request; } public AddPepSearch setRequest(AddPepSearchRequest value) { this.request = value; return this; } private static Object responseType = AddPepSearchResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class AddPepSearchResponse { @DataMember public AddPepSearchData data = null; public AddPepSearchData getData() { return data; } public AddPepSearchResponse setData(AddPepSearchData 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 */ @DataMember @ApiMember(Description="The API User ID provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body") public String apiUserId = null; /** * The API User Key provided by us when you signed up to use our API */ @DataMember @ApiMember(Description="The API User Key provided by us when you signed up to use our API", IsRequired=true, ParameterType="header, body") public String apiUserKey = 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; } } @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 AddPepSearchRequest implements IAddSearchRequest { /** * If the search should be saved against a single Sub User account, specify their username here */ @ApiMember(Description="If the search should be saved against a single Sub User account, specify their username here") public String subUserName = null; public String type = null; public String name = null; public String country = null; public String address = null; public String dateOfBirth = null; public String nationality = null; public String reference = null; public Boolean excludeResults = null; public Boolean performSanctionsSearch = null; public Boolean dayOneSearch = null; public ArrayOfLists selectedLists = null; /** * If the search should be linked to other searches, specify the them here */ @ApiMember(Description="If the search should be linked to other searches, specify the them here") public ArrayOfLinkedTo linkedTo = null; public String getSubUserName() { return subUserName; } public AddPepSearchRequest setSubUserName(String value) { this.subUserName = value; return this; } public String getType() { return type; } public AddPepSearchRequest setType(String value) { this.type = value; return this; } public String getName() { return name; } public AddPepSearchRequest setName(String value) { this.name = value; return this; } public String getCountry() { return country; } public AddPepSearchRequest setCountry(String value) { this.country = value; return this; } public String getAddress() { return address; } public AddPepSearchRequest setAddress(String value) { this.address = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public AddPepSearchRequest setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getNationality() { return nationality; } public AddPepSearchRequest setNationality(String value) { this.nationality = value; return this; } public String getReference() { return reference; } public AddPepSearchRequest setReference(String value) { this.reference = value; return this; } public Boolean isExcludeResults() { return excludeResults; } public AddPepSearchRequest setExcludeResults(Boolean value) { this.excludeResults = value; return this; } public Boolean isPerformSanctionsSearch() { return performSanctionsSearch; } public AddPepSearchRequest setPerformSanctionsSearch(Boolean value) { this.performSanctionsSearch = value; return this; } public Boolean isDayOneSearch() { return dayOneSearch; } public AddPepSearchRequest setDayOneSearch(Boolean value) { this.dayOneSearch = value; return this; } public ArrayOfLists getSelectedLists() { return selectedLists; } public AddPepSearchRequest setSelectedLists(ArrayOfLists value) { this.selectedLists = value; return this; } public ArrayOfLinkedTo getLinkedTo() { return linkedTo; } public AddPepSearchRequest setLinkedTo(ArrayOfLinkedTo value) { this.linkedTo = value; return this; } } public static class AddPepSearchData extends BaseResponse implements IBaseSearchResponse { public ArrayOfLinkedTo linkedTo = null; public PepSearchRecord searchRecord = null; public Boolean includesSanctionsSearchRecord = null; public SearchRecord sanctionsSearchRecord = null; public ArrayOfLinkedTo getLinkedTo() { return linkedTo; } public AddPepSearchData setLinkedTo(ArrayOfLinkedTo value) { this.linkedTo = value; return this; } public PepSearchRecord getSearchRecord() { return searchRecord; } public AddPepSearchData setSearchRecord(PepSearchRecord value) { this.searchRecord = value; return this; } public Boolean isIncludesSanctionsSearchRecord() { return includesSanctionsSearchRecord; } public AddPepSearchData setIncludesSanctionsSearchRecord(Boolean value) { this.includesSanctionsSearchRecord = value; return this; } public SearchRecord getSanctionsSearchRecord() { return sanctionsSearchRecord; } public AddPepSearchData setSanctionsSearchRecord(SearchRecord value) { this.sanctionsSearchRecord = value; return this; } } public static class ArrayOfLinkedTo extends ArrayList { } public static class ArrayOfLists extends ArrayList { } public static interface IAddSearchRequest { public String address = null; public String country = null; public String dateOfBirth = null; public String name = null; public String nationality = null; public String reference = null; public ArrayOfLists selectedLists = null; public String subUserName = null; public String type = null; public ArrayOfLinkedTo linkedTo = null; } 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 interface IBaseSearchResponse implements IBaseDataResponse { public ArrayOfLinkedTo linkedTo = null; } public static class PepSearchRecord { public Long id = null; public String searchType = null; public Date dateSearched = null; public Date dateUpdated = null; public Date dateRenewal = null; public Date dateArchived = null; public Boolean isArchived = null; public Integer numOfResults = null; public Boolean clientInResults = null; public Boolean clientNotInResults = null; public Boolean affectedByUpdate = null; public Boolean isDayOneSearch = null; public SearchCriteria searchCriteria = null; public PepSearchResults searchResults = null; public Long getId() { return id; } public PepSearchRecord setId(Long value) { this.id = value; return this; } public String getSearchType() { return searchType; } public PepSearchRecord setSearchType(String value) { this.searchType = value; return this; } public Date getDateSearched() { return dateSearched; } public PepSearchRecord setDateSearched(Date value) { this.dateSearched = value; return this; } public Date getDateUpdated() { return dateUpdated; } public PepSearchRecord setDateUpdated(Date value) { this.dateUpdated = value; return this; } public Date getDateRenewal() { return dateRenewal; } public PepSearchRecord setDateRenewal(Date value) { this.dateRenewal = value; return this; } public Date getDateArchived() { return dateArchived; } public PepSearchRecord setDateArchived(Date value) { this.dateArchived = value; return this; } public Boolean getIsArchived() { return isArchived; } public PepSearchRecord setIsArchived(Boolean value) { this.isArchived = value; return this; } public Integer getNumOfResults() { return numOfResults; } public PepSearchRecord setNumOfResults(Integer value) { this.numOfResults = value; return this; } public Boolean isClientInResults() { return clientInResults; } public PepSearchRecord setClientInResults(Boolean value) { this.clientInResults = value; return this; } public Boolean isClientNotInResults() { return clientNotInResults; } public PepSearchRecord setClientNotInResults(Boolean value) { this.clientNotInResults = value; return this; } public Boolean isAffectedByUpdate() { return affectedByUpdate; } public PepSearchRecord setAffectedByUpdate(Boolean value) { this.affectedByUpdate = value; return this; } public Boolean getIsDayOneSearch() { return isDayOneSearch; } public PepSearchRecord setIsDayOneSearch(Boolean value) { this.isDayOneSearch = value; return this; } public SearchCriteria getSearchCriteria() { return searchCriteria; } public PepSearchRecord setSearchCriteria(SearchCriteria value) { this.searchCriteria = value; return this; } public PepSearchResults getSearchResults() { return searchResults; } public PepSearchRecord setSearchResults(PepSearchResults value) { this.searchResults = value; return this; } } public static class SearchRecord { public Long id = null; public String searchType = null; public Date dateSearched = null; public Date dateUpdated = null; public Date dateArchived = null; public Boolean isArchived = null; public Integer numOfResults = null; public Boolean clientInResults = null; public Boolean clientNotInResults = null; public Boolean affectedByUpdate = null; public SearchCriteria searchCriteria = null; public SearchResults searchResults = null; public ArrayList searchSources = null; public ArrayOfSearchResultEntries listSearchResults = null; public Long getId() { return id; } public SearchRecord setId(Long value) { this.id = value; return this; } public String getSearchType() { return searchType; } public SearchRecord setSearchType(String value) { this.searchType = value; return this; } public Date getDateSearched() { return dateSearched; } public SearchRecord setDateSearched(Date value) { this.dateSearched = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchRecord setDateUpdated(Date value) { this.dateUpdated = value; return this; } public Date getDateArchived() { return dateArchived; } public SearchRecord setDateArchived(Date value) { this.dateArchived = value; return this; } public Boolean getIsArchived() { return isArchived; } public SearchRecord setIsArchived(Boolean value) { this.isArchived = value; return this; } public Integer getNumOfResults() { return numOfResults; } public SearchRecord setNumOfResults(Integer value) { this.numOfResults = value; return this; } public Boolean isClientInResults() { return clientInResults; } public SearchRecord setClientInResults(Boolean value) { this.clientInResults = value; return this; } public Boolean isClientNotInResults() { return clientNotInResults; } public SearchRecord setClientNotInResults(Boolean value) { this.clientNotInResults = value; return this; } public Boolean isAffectedByUpdate() { return affectedByUpdate; } public SearchRecord setAffectedByUpdate(Boolean value) { this.affectedByUpdate = value; return this; } public SearchCriteria getSearchCriteria() { return searchCriteria; } public SearchRecord setSearchCriteria(SearchCriteria value) { this.searchCriteria = value; return this; } public SearchResults getSearchResults() { return searchResults; } public SearchRecord setSearchResults(SearchResults value) { this.searchResults = value; return this; } public ArrayList getSearchSources() { return searchSources; } public SearchRecord setSearchSources(ArrayList value) { this.searchSources = value; return this; } public ArrayOfSearchResultEntries getListSearchResults() { return listSearchResults; } public SearchRecord setListSearchResults(ArrayOfSearchResultEntries value) { this.listSearchResults = value; return this; } } public static class LinkedTo { public Integer clientId = null; public Long id = null; public String type = null; public String subtype = null; public String status = null; public String description = null; public Boolean isArchived = null; public String name = null; public Date date = null; public Integer getClientId() { return clientId; } public LinkedTo setClientId(Integer value) { this.clientId = value; return this; } public Long getId() { return id; } public LinkedTo setId(Long value) { this.id = value; return this; } public String getType() { return type; } public LinkedTo setType(String value) { this.type = value; return this; } public String getSubtype() { return subtype; } public LinkedTo setSubtype(String value) { this.subtype = value; return this; } public String getStatus() { return status; } public LinkedTo setStatus(String value) { this.status = value; return this; } public String getDescription() { return description; } public LinkedTo setDescription(String value) { this.description = value; return this; } public Boolean getIsArchived() { return isArchived; } public LinkedTo setIsArchived(Boolean value) { this.isArchived = value; return this; } public String getName() { return name; } public LinkedTo setName(String value) { this.name = value; return this; } public Date getDate() { return date; } public LinkedTo setDate(Date value) { this.date = value; return this; } } public static class ArrayOfResponseError extends ArrayList { } public static class SearchCriteria { public String name = null; public String address = null; public String country = null; public String dateOfBirth = null; public String nationality = null; public String reference = null; public String getName() { return name; } public SearchCriteria setName(String value) { this.name = value; return this; } public String getAddress() { return address; } public SearchCriteria setAddress(String value) { this.address = value; return this; } public String getCountry() { return country; } public SearchCriteria setCountry(String value) { this.country = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchCriteria setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getNationality() { return nationality; } public SearchCriteria setNationality(String value) { this.nationality = value; return this; } public String getReference() { return reference; } public SearchCriteria setReference(String value) { this.reference = value; return this; } } public static class PepSearchResults { public ArrayList results = null; public ArrayList getResults() { return results; } public PepSearchResults setResults(ArrayList value) { this.results = value; return this; } } public static class SearchResults { public ArrayList euResults = null; public ArrayList hmtResults = null; public ArrayList hmtUkraineResults = null; public ArrayList ofacResults = null; public ArrayList ofacConsolidatedResults = null; public ArrayList dfatResults = null; public ArrayList osfiResults = null; public ArrayList canadianJusticeResults = null; public ArrayList canadianSemaResults = null; public ArrayList swissSecoResults = null; public ArrayList getEuResults() { return euResults; } public SearchResults setEuResults(ArrayList value) { this.euResults = value; return this; } public ArrayList getHmtResults() { return hmtResults; } public SearchResults setHmtResults(ArrayList value) { this.hmtResults = value; return this; } public ArrayList getHmtUkraineResults() { return hmtUkraineResults; } public SearchResults setHmtUkraineResults(ArrayList value) { this.hmtUkraineResults = value; return this; } public ArrayList getOfacResults() { return ofacResults; } public SearchResults setOfacResults(ArrayList value) { this.ofacResults = value; return this; } public ArrayList getOfacConsolidatedResults() { return ofacConsolidatedResults; } public SearchResults setOfacConsolidatedResults(ArrayList value) { this.ofacConsolidatedResults = value; return this; } public ArrayList getDfatResults() { return dfatResults; } public SearchResults setDfatResults(ArrayList value) { this.dfatResults = value; return this; } public ArrayList getOsfiResults() { return osfiResults; } public SearchResults setOsfiResults(ArrayList value) { this.osfiResults = value; return this; } public ArrayList getCanadianJusticeResults() { return canadianJusticeResults; } public SearchResults setCanadianJusticeResults(ArrayList value) { this.canadianJusticeResults = value; return this; } public ArrayList getCanadianSemaResults() { return canadianSemaResults; } public SearchResults setCanadianSemaResults(ArrayList value) { this.canadianSemaResults = value; return this; } public ArrayList getSwissSecoResults() { return swissSecoResults; } public SearchResults setSwissSecoResults(ArrayList value) { this.swissSecoResults = value; return this; } } public static class SearchSource { public String listId = null; public String listName = null; public String listShortName = null; public Boolean isAffectedByListUpdate = null; public String getListId() { return listId; } public SearchSource setListId(String value) { this.listId = value; return this; } public String getListName() { return listName; } public SearchSource setListName(String value) { this.listName = value; return this; } public String getListShortName() { return listShortName; } public SearchSource setListShortName(String value) { this.listShortName = value; return this; } public Boolean getIsAffectedByListUpdate() { return isAffectedByListUpdate; } public SearchSource setIsAffectedByListUpdate(Boolean value) { this.isAffectedByListUpdate = value; return this; } } public static class ArrayOfSearchResultEntries extends ArrayList { } public static class PepSearchResult { public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public Date dateLastUpdated = null; public Boolean resultIsClient = null; public Long id = null; public String type = null; public String title = null; public String forename = null; public String middlename = null; public String surname = null; public Boolean softDelete = null; public Date dateOfSoftDelete = null; public Date dateOfCapture = null; public Date dateOfBirth = null; public Date dateOfDeath = null; public Integer yearOfBirth = null; public Integer yearOfDeath = null; public String gender = null; public String homeTelephone = null; public String businessTelephone = null; public String mobileTelephone = null; public String fax = null; public String email = null; public String nationality = null; public String source = null; public String category = null; public String picture = null; public String alternateTitle = null; public String businessName = null; public String description = null; public String telephone = null; public String website = null; public Integer pepTier = null; public ArrayList addresses = null; public ArrayList aliases = null; public ArrayList articles = null; public ArrayList associations = null; public ArrayList businessAssociations = null; public ArrayList notes = null; public ArrayList politicalPositions = null; public BigDecimal getResultSimilarity() { return resultSimilarity; } public PepSearchResult setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public PepSearchResult setResultResolved(Boolean value) { this.resultResolved = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResult setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } public Boolean isResultIsClient() { return resultIsClient; } public PepSearchResult setResultIsClient(Boolean value) { this.resultIsClient = value; return this; } public Long getId() { return id; } public PepSearchResult setId(Long value) { this.id = value; return this; } public String getType() { return type; } public PepSearchResult setType(String value) { this.type = value; return this; } public String getTitle() { return title; } public PepSearchResult setTitle(String value) { this.title = value; return this; } public String getForename() { return forename; } public PepSearchResult setForename(String value) { this.forename = value; return this; } public String getMiddlename() { return middlename; } public PepSearchResult setMiddlename(String value) { this.middlename = value; return this; } public String getSurname() { return surname; } public PepSearchResult setSurname(String value) { this.surname = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResult setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateOfSoftDelete() { return dateOfSoftDelete; } public PepSearchResult setDateOfSoftDelete(Date value) { this.dateOfSoftDelete = value; return this; } public Date getDateOfCapture() { return dateOfCapture; } public PepSearchResult setDateOfCapture(Date value) { this.dateOfCapture = value; return this; } public Date getDateOfBirth() { return dateOfBirth; } public PepSearchResult setDateOfBirth(Date value) { this.dateOfBirth = value; return this; } public Date getDateOfDeath() { return dateOfDeath; } public PepSearchResult setDateOfDeath(Date value) { this.dateOfDeath = value; return this; } public Integer getYearOfBirth() { return yearOfBirth; } public PepSearchResult setYearOfBirth(Integer value) { this.yearOfBirth = value; return this; } public Integer getYearOfDeath() { return yearOfDeath; } public PepSearchResult setYearOfDeath(Integer value) { this.yearOfDeath = value; return this; } public String getGender() { return gender; } public PepSearchResult setGender(String value) { this.gender = value; return this; } public String getHomeTelephone() { return homeTelephone; } public PepSearchResult setHomeTelephone(String value) { this.homeTelephone = value; return this; } public String getBusinessTelephone() { return businessTelephone; } public PepSearchResult setBusinessTelephone(String value) { this.businessTelephone = value; return this; } public String getMobileTelephone() { return mobileTelephone; } public PepSearchResult setMobileTelephone(String value) { this.mobileTelephone = value; return this; } public String getFax() { return fax; } public PepSearchResult setFax(String value) { this.fax = value; return this; } public String getEmail() { return email; } public PepSearchResult setEmail(String value) { this.email = value; return this; } public String getNationality() { return nationality; } public PepSearchResult setNationality(String value) { this.nationality = value; return this; } public String getSource() { return source; } public PepSearchResult setSource(String value) { this.source = value; return this; } public String getCategory() { return category; } public PepSearchResult setCategory(String value) { this.category = value; return this; } public String getPicture() { return picture; } public PepSearchResult setPicture(String value) { this.picture = value; return this; } public String getAlternateTitle() { return alternateTitle; } public PepSearchResult setAlternateTitle(String value) { this.alternateTitle = value; return this; } public String getBusinessName() { return businessName; } public PepSearchResult setBusinessName(String value) { this.businessName = value; return this; } public String getDescription() { return description; } public PepSearchResult setDescription(String value) { this.description = value; return this; } public String getTelephone() { return telephone; } public PepSearchResult setTelephone(String value) { this.telephone = value; return this; } public String getWebsite() { return website; } public PepSearchResult setWebsite(String value) { this.website = value; return this; } public Integer getPepTier() { return pepTier; } public PepSearchResult setPepTier(Integer value) { this.pepTier = value; return this; } public ArrayList getAddresses() { return addresses; } public PepSearchResult setAddresses(ArrayList value) { this.addresses = value; return this; } public ArrayList getAliases() { return aliases; } public PepSearchResult setAliases(ArrayList value) { this.aliases = value; return this; } public ArrayList getArticles() { return articles; } public PepSearchResult setArticles(ArrayList value) { this.articles = value; return this; } public ArrayList getAssociations() { return associations; } public PepSearchResult setAssociations(ArrayList value) { this.associations = value; return this; } public ArrayList getBusinessAssociations() { return businessAssociations; } public PepSearchResult setBusinessAssociations(ArrayList value) { this.businessAssociations = value; return this; } public ArrayList getNotes() { return notes; } public PepSearchResult setNotes(ArrayList value) { this.notes = value; return this; } public ArrayList getPoliticalPositions() { return politicalPositions; } public PepSearchResult setPoliticalPositions(ArrayList value) { this.politicalPositions = value; return this; } } public static class SearchResultEu { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public ArrayList addresses = null; public ArrayList births = null; public ArrayList citizenships = null; public ArrayList names = null; public ArrayList passports = null; public Integer getResultStrength() { return resultStrength; } public SearchResultEu setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultEu setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultEu setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultEu setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultEu setDateUpdated(Date value) { this.dateUpdated = value; return this; } public ArrayList getAddresses() { return addresses; } public SearchResultEu setAddresses(ArrayList value) { this.addresses = value; return this; } public ArrayList getBirths() { return births; } public SearchResultEu setBirths(ArrayList value) { this.births = value; return this; } public ArrayList getCitizenships() { return citizenships; } public SearchResultEu setCitizenships(ArrayList value) { this.citizenships = value; return this; } public ArrayList getNames() { return names; } public SearchResultEu setNames(ArrayList value) { this.names = value; return this; } public ArrayList getPassports() { return passports; } public SearchResultEu setPassports(ArrayList value) { this.passports = value; return this; } } public static class SearchResultHmTreasury { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateListed = null; public Date dateUpdated = null; public String name1 = null; public String name2 = null; public String name3 = null; public String name4 = null; public String name5 = null; public String name6 = null; public String dateOfBirth = null; public String countryOfBirth = null; public String nationality = null; public String address1 = null; public String address2 = null; public String address3 = null; public String address4 = null; public String address5 = null; public String address6 = null; public String postCode = null; public String country = null; public Integer getResultStrength() { return resultStrength; } public SearchResultHmTreasury setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultHmTreasury setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultHmTreasury setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultHmTreasury setResultType(String value) { this.resultType = value; return this; } public Date getDateListed() { return dateListed; } public SearchResultHmTreasury setDateListed(Date value) { this.dateListed = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultHmTreasury setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getName1() { return name1; } public SearchResultHmTreasury setName1(String value) { this.name1 = value; return this; } public String getName2() { return name2; } public SearchResultHmTreasury setName2(String value) { this.name2 = value; return this; } public String getName3() { return name3; } public SearchResultHmTreasury setName3(String value) { this.name3 = value; return this; } public String getName4() { return name4; } public SearchResultHmTreasury setName4(String value) { this.name4 = value; return this; } public String getName5() { return name5; } public SearchResultHmTreasury setName5(String value) { this.name5 = value; return this; } public String getName6() { return name6; } public SearchResultHmTreasury setName6(String value) { this.name6 = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultHmTreasury setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getCountryOfBirth() { return countryOfBirth; } public SearchResultHmTreasury setCountryOfBirth(String value) { this.countryOfBirth = value; return this; } public String getNationality() { return nationality; } public SearchResultHmTreasury setNationality(String value) { this.nationality = value; return this; } public String getAddress1() { return address1; } public SearchResultHmTreasury setAddress1(String value) { this.address1 = value; return this; } public String getAddress2() { return address2; } public SearchResultHmTreasury setAddress2(String value) { this.address2 = value; return this; } public String getAddress3() { return address3; } public SearchResultHmTreasury setAddress3(String value) { this.address3 = value; return this; } public String getAddress4() { return address4; } public SearchResultHmTreasury setAddress4(String value) { this.address4 = value; return this; } public String getAddress5() { return address5; } public SearchResultHmTreasury setAddress5(String value) { this.address5 = value; return this; } public String getAddress6() { return address6; } public SearchResultHmTreasury setAddress6(String value) { this.address6 = value; return this; } public String getPostCode() { return postCode; } public SearchResultHmTreasury setPostCode(String value) { this.postCode = value; return this; } public String getCountry() { return country; } public SearchResultHmTreasury setCountry(String value) { this.country = value; return this; } } public static class SearchResultOfac { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String firstName = null; public String lastName = null; public ArrayList addresses = null; public ArrayList akas = null; public ArrayList dateOfBirths = null; public ArrayList nationalities = null; public ArrayList placeOfBirths = null; public Integer getResultStrength() { return resultStrength; } public SearchResultOfac setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultOfac setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultOfac setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultOfac setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultOfac setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getFirstName() { return firstName; } public SearchResultOfac setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public SearchResultOfac setLastName(String value) { this.lastName = value; return this; } public ArrayList getAddresses() { return addresses; } public SearchResultOfac setAddresses(ArrayList value) { this.addresses = value; return this; } public ArrayList getAkas() { return akas; } public SearchResultOfac setAkas(ArrayList value) { this.akas = value; return this; } public ArrayList getDateOfBirths() { return dateOfBirths; } public SearchResultOfac setDateOfBirths(ArrayList value) { this.dateOfBirths = value; return this; } public ArrayList getNationalities() { return nationalities; } public SearchResultOfac setNationalities(ArrayList value) { this.nationalities = value; return this; } public ArrayList getPlaceOfBirths() { return placeOfBirths; } public SearchResultOfac setPlaceOfBirths(ArrayList value) { this.placeOfBirths = value; return this; } } public static class SearchResultDfat { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String fullName = null; public String address = null; public String dateOfBirth = null; public String placeOfBirth = null; public String nationality = null; public Integer getResultStrength() { return resultStrength; } public SearchResultDfat setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultDfat setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultDfat setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultDfat setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultDfat setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getFullName() { return fullName; } public SearchResultDfat setFullName(String value) { this.fullName = value; return this; } public String getAddress() { return address; } public SearchResultDfat setAddress(String value) { this.address = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultDfat setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getPlaceOfBirth() { return placeOfBirth; } public SearchResultDfat setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; } public String getNationality() { return nationality; } public SearchResultDfat setNationality(String value) { this.nationality = value; return this; } } public static class SearchResultOsfi { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String fullName = null; public String address = null; public String dateOfBirth = null; public String placeOfBirth = null; public String nationality = null; public Integer getResultStrength() { return resultStrength; } public SearchResultOsfi setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultOsfi setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultOsfi setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultOsfi setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultOsfi setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getFullName() { return fullName; } public SearchResultOsfi setFullName(String value) { this.fullName = value; return this; } public String getAddress() { return address; } public SearchResultOsfi setAddress(String value) { this.address = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultOsfi setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getPlaceOfBirth() { return placeOfBirth; } public SearchResultOsfi setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; } public String getNationality() { return nationality; } public SearchResultOsfi setNationality(String value) { this.nationality = value; return this; } } public static class SearchResultCanadianJustice { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String name = null; public String dateOfBirth = null; public String country = null; public Integer refId = null; public Integer getResultStrength() { return resultStrength; } public SearchResultCanadianJustice setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultCanadianJustice setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultCanadianJustice setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultCanadianJustice setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultCanadianJustice setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getName() { return name; } public SearchResultCanadianJustice setName(String value) { this.name = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultCanadianJustice setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getCountry() { return country; } public SearchResultCanadianJustice setCountry(String value) { this.country = value; return this; } public Integer getRefId() { return refId; } public SearchResultCanadianJustice setRefId(Integer value) { this.refId = value; return this; } } public static class SearchResultCanadianSema { public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String name = null; public String dateOfBirth = null; public String country = null; public String schedule = null; public String item = null; public Integer getResultStrength() { return resultStrength; } public SearchResultCanadianSema setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultCanadianSema setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultCanadianSema setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultCanadianSema setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultCanadianSema setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getName() { return name; } public SearchResultCanadianSema setName(String value) { this.name = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultCanadianSema setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public String getCountry() { return country; } public SearchResultCanadianSema setCountry(String value) { this.country = value; return this; } public String getSchedule() { return schedule; } public SearchResultCanadianSema setSchedule(String value) { this.schedule = value; return this; } public String getItem() { return item; } public SearchResultCanadianSema setItem(String value) { this.item = value; return this; } } public static class SearchResultEntry { public Long searchResultId = null; public Integer resultStrength = null; public BigDecimal resultSimilarity = null; public Boolean resultResolved = null; public String resultType = null; public Date dateUpdated = null; public String sanctionsListId = null; public String sanctionsListName = null; public ArrayList addresses = null; public ArrayList datesOfBirth = null; public ArrayList names = null; public ArrayList nationalities = null; public ArrayList placesOfBirth = null; public ArrayList remarks = null; public Long getSearchResultId() { return searchResultId; } public SearchResultEntry setSearchResultId(Long value) { this.searchResultId = value; return this; } public Integer getResultStrength() { return resultStrength; } public SearchResultEntry setResultStrength(Integer value) { this.resultStrength = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultEntry setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } public Boolean isResultResolved() { return resultResolved; } public SearchResultEntry setResultResolved(Boolean value) { this.resultResolved = value; return this; } public String getResultType() { return resultType; } public SearchResultEntry setResultType(String value) { this.resultType = value; return this; } public Date getDateUpdated() { return dateUpdated; } public SearchResultEntry setDateUpdated(Date value) { this.dateUpdated = value; return this; } public String getSanctionsListId() { return sanctionsListId; } public SearchResultEntry setSanctionsListId(String value) { this.sanctionsListId = value; return this; } public String getSanctionsListName() { return sanctionsListName; } public SearchResultEntry setSanctionsListName(String value) { this.sanctionsListName = value; return this; } public ArrayList getAddresses() { return addresses; } public SearchResultEntry setAddresses(ArrayList value) { this.addresses = value; return this; } public ArrayList getDatesOfBirth() { return datesOfBirth; } public SearchResultEntry setDatesOfBirth(ArrayList value) { this.datesOfBirth = value; return this; } public ArrayList getNames() { return names; } public SearchResultEntry setNames(ArrayList value) { this.names = value; return this; } public ArrayList getNationalities() { return nationalities; } public SearchResultEntry setNationalities(ArrayList value) { this.nationalities = value; return this; } public ArrayList getPlacesOfBirth() { return placesOfBirth; } public SearchResultEntry setPlacesOfBirth(ArrayList value) { this.placesOfBirth = value; return this; } public ArrayList getRemarks() { return remarks; } public SearchResultEntry setRemarks(ArrayList value) { this.remarks = value; return this; } } public static class PepSearchResultAddress { public String addressLine1 = null; public String addressLine2 = null; public String addressLine3 = null; public String addressLine4 = null; public String town = null; public String county = null; public String postCode = null; public String country = null; public String isoCountry = null; public Boolean softDelete = null; public Date dateLastUpdated = null; public String getAddressLine1() { return addressLine1; } public PepSearchResultAddress setAddressLine1(String value) { this.addressLine1 = value; return this; } public String getAddressLine2() { return addressLine2; } public PepSearchResultAddress setAddressLine2(String value) { this.addressLine2 = value; return this; } public String getAddressLine3() { return addressLine3; } public PepSearchResultAddress setAddressLine3(String value) { this.addressLine3 = value; return this; } public String getAddressLine4() { return addressLine4; } public PepSearchResultAddress setAddressLine4(String value) { this.addressLine4 = value; return this; } public String getTown() { return town; } public PepSearchResultAddress setTown(String value) { this.town = value; return this; } public String getCounty() { return county; } public PepSearchResultAddress setCounty(String value) { this.county = value; return this; } public String getPostCode() { return postCode; } public PepSearchResultAddress setPostCode(String value) { this.postCode = value; return this; } public String getCountry() { return country; } public PepSearchResultAddress setCountry(String value) { this.country = value; return this; } public String getIsoCountry() { return isoCountry; } public PepSearchResultAddress setIsoCountry(String value) { this.isoCountry = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultAddress setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultAddress setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } } public static class PepSearchResultAlias { public String forename = null; public String middleName = null; public String surname = null; public Boolean softDelete = null; public Date dateOfSoftDelete = null; public Date dateLastUpdated = null; public String title = null; public String alternateTitle = null; public String businessName = null; public String getForename() { return forename; } public PepSearchResultAlias setForename(String value) { this.forename = value; return this; } public String getMiddleName() { return middleName; } public PepSearchResultAlias setMiddleName(String value) { this.middleName = value; return this; } public String getSurname() { return surname; } public PepSearchResultAlias setSurname(String value) { this.surname = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultAlias setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateOfSoftDelete() { return dateOfSoftDelete; } public PepSearchResultAlias setDateOfSoftDelete(Date value) { this.dateOfSoftDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultAlias setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } public String getTitle() { return title; } public PepSearchResultAlias setTitle(String value) { this.title = value; return this; } public String getAlternateTitle() { return alternateTitle; } public PepSearchResultAlias setAlternateTitle(String value) { this.alternateTitle = value; return this; } public String getBusinessName() { return businessName; } public PepSearchResultAlias setBusinessName(String value) { this.businessName = value; return this; } } public static class PepSearchResultArticle { public String url = null; public String originalUrl = null; public String source = null; public Date dateOfCapture = null; public Date dateLastUpdated = null; public ArrayList snippets = null; public String getUrl() { return url; } public PepSearchResultArticle setUrl(String value) { this.url = value; return this; } public String getOriginalUrl() { return originalUrl; } public PepSearchResultArticle setOriginalUrl(String value) { this.originalUrl = value; return this; } public String getSource() { return source; } public PepSearchResultArticle setSource(String value) { this.source = value; return this; } public Date getDateOfCapture() { return dateOfCapture; } public PepSearchResultArticle setDateOfCapture(Date value) { this.dateOfCapture = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultArticle setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } public ArrayList getSnippets() { return snippets; } public PepSearchResultArticle setSnippets(ArrayList value) { this.snippets = value; return this; } } public static class PepSearchResultIndividualAssociation { public String linkDescription = null; public Boolean softDelete = null; public Date dateLastUpdated = null; public String fullName = null; public String getLinkDescription() { return linkDescription; } public PepSearchResultIndividualAssociation setLinkDescription(String value) { this.linkDescription = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultIndividualAssociation setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultIndividualAssociation setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } public String getFullName() { return fullName; } public PepSearchResultIndividualAssociation setFullName(String value) { this.fullName = value; return this; } } public static class PepSearchResultBusinessAssociation { public String linkDescription = null; public Boolean softDelete = null; public Date dateLastUpdated = null; public String businessName = null; public String getLinkDescription() { return linkDescription; } public PepSearchResultBusinessAssociation setLinkDescription(String value) { this.linkDescription = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultBusinessAssociation setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultBusinessAssociation setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } public String getBusinessName() { return businessName; } public PepSearchResultBusinessAssociation setBusinessName(String value) { this.businessName = value; return this; } } public static class PepSearchResultNote { public String source = null; public String notes = null; public Boolean softDelete = null; public Date dateLastUpdated = null; public String getSource() { return source; } public PepSearchResultNote setSource(String value) { this.source = value; return this; } public String getNotes() { return notes; } public PepSearchResultNote setNotes(String value) { this.notes = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultNote setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultNote setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } } public static class PepSearchResultPoliticalPosition { public String description = null; public String from = null; public String to = null; public String country = null; public Boolean softDelete = null; public Date dateLastUpdated = null; public String getDescription() { return description; } public PepSearchResultPoliticalPosition setDescription(String value) { this.description = value; return this; } public String getFrom() { return from; } public PepSearchResultPoliticalPosition setFrom(String value) { this.from = value; return this; } public String getTo() { return to; } public PepSearchResultPoliticalPosition setTo(String value) { this.to = value; return this; } public String getCountry() { return country; } public PepSearchResultPoliticalPosition setCountry(String value) { this.country = value; return this; } public Boolean isSoftDelete() { return softDelete; } public PepSearchResultPoliticalPosition setSoftDelete(Boolean value) { this.softDelete = value; return this; } public Date getDateLastUpdated() { return dateLastUpdated; } public PepSearchResultPoliticalPosition setDateLastUpdated(Date value) { this.dateLastUpdated = value; return this; } } public static class SearchResultEuAddress { public String street = null; public String city = null; public String country = null; public String postCode = null; public String other = null; public String getStreet() { return street; } public SearchResultEuAddress setStreet(String value) { this.street = value; return this; } public String getCity() { return city; } public SearchResultEuAddress setCity(String value) { this.city = value; return this; } public String getCountry() { return country; } public SearchResultEuAddress setCountry(String value) { this.country = value; return this; } public String getPostCode() { return postCode; } public SearchResultEuAddress setPostCode(String value) { this.postCode = value; return this; } public String getOther() { return other; } public SearchResultEuAddress setOther(String value) { this.other = value; return this; } } public static class SearchResultEuBirth { public String date = null; public String place = null; public String country = null; public String getDate() { return date; } public SearchResultEuBirth setDate(String value) { this.date = value; return this; } public String getPlace() { return place; } public SearchResultEuBirth setPlace(String value) { this.place = value; return this; } public String getCountry() { return country; } public SearchResultEuBirth setCountry(String value) { this.country = value; return this; } } public static class SearchResultOfacEuCitizenship { public String country = null; public String getCountry() { return country; } public SearchResultOfacEuCitizenship setCountry(String value) { this.country = value; return this; } } public static class SearchResultEuName { public String fullName = null; public String gender = null; public String getFullName() { return fullName; } public SearchResultEuName setFullName(String value) { this.fullName = value; return this; } public String getGender() { return gender; } public SearchResultEuName setGender(String value) { this.gender = value; return this; } } public static class SearchResultEuPassport { public String number = null; public String country = null; public String getNumber() { return number; } public SearchResultEuPassport setNumber(String value) { this.number = value; return this; } public String getCountry() { return country; } public SearchResultEuPassport setCountry(String value) { this.country = value; return this; } } public static class SearchResultOfacAddress { public String address1 = null; public String address2 = null; public String address3 = null; public String city = null; public String state = null; public String postCode = null; public String country = null; public String getAddress1() { return address1; } public SearchResultOfacAddress setAddress1(String value) { this.address1 = value; return this; } public String getAddress2() { return address2; } public SearchResultOfacAddress setAddress2(String value) { this.address2 = value; return this; } public String getAddress3() { return address3; } public SearchResultOfacAddress setAddress3(String value) { this.address3 = value; return this; } public String getCity() { return city; } public SearchResultOfacAddress setCity(String value) { this.city = value; return this; } public String getState() { return state; } public SearchResultOfacAddress setState(String value) { this.state = value; return this; } public String getPostCode() { return postCode; } public SearchResultOfacAddress setPostCode(String value) { this.postCode = value; return this; } public String getCountry() { return country; } public SearchResultOfacAddress setCountry(String value) { this.country = value; return this; } } public static class SearchResultOfacAka { public String firstName = null; public String lastName = null; public String type = null; public String strength = null; public String getFirstName() { return firstName; } public SearchResultOfacAka setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public SearchResultOfacAka setLastName(String value) { this.lastName = value; return this; } public String getType() { return type; } public SearchResultOfacAka setType(String value) { this.type = value; return this; } public String getStrength() { return strength; } public SearchResultOfacAka setStrength(String value) { this.strength = value; return this; } } public static class SearchResultOfacDateOfBirth { public String dateOfBirth = null; public String getDateOfBirth() { return dateOfBirth; } public SearchResultOfacDateOfBirth setDateOfBirth(String value) { this.dateOfBirth = value; return this; } } public static class SearchResultOfacNationality { public String country = null; public String getCountry() { return country; } public SearchResultOfacNationality setCountry(String value) { this.country = value; return this; } } public static class SearchResultOfacPlaceOfBirth { public String placeOfBirth = null; public String getPlaceOfBirth() { return placeOfBirth; } public SearchResultOfacPlaceOfBirth setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; } } public static class SearchResultAddress { public Long searchResultAddressId = null; public String type = null; public String address1 = null; public String address2 = null; public String address3 = null; public String city = null; public String county = null; public String postCode = null; public String country = null; public Long getSearchResultAddressId() { return searchResultAddressId; } public SearchResultAddress setSearchResultAddressId(Long value) { this.searchResultAddressId = value; return this; } public String getType() { return type; } public SearchResultAddress setType(String value) { this.type = value; return this; } public String getAddress1() { return address1; } public SearchResultAddress setAddress1(String value) { this.address1 = value; return this; } public String getAddress2() { return address2; } public SearchResultAddress setAddress2(String value) { this.address2 = value; return this; } public String getAddress3() { return address3; } public SearchResultAddress setAddress3(String value) { this.address3 = value; return this; } public String getCity() { return city; } public SearchResultAddress setCity(String value) { this.city = value; return this; } public String getCounty() { return county; } public SearchResultAddress setCounty(String value) { this.county = value; return this; } public String getPostCode() { return postCode; } public SearchResultAddress setPostCode(String value) { this.postCode = value; return this; } public String getCountry() { return country; } public SearchResultAddress setCountry(String value) { this.country = value; return this; } } public static class SearchResultDateOfBirth { public Long searchResultDateOfBirthId = null; public String dateOfBirth = null; public Short year = null; public Short month = null; public Short day = null; public String type = null; public Long getSearchResultDateOfBirthId() { return searchResultDateOfBirthId; } public SearchResultDateOfBirth setSearchResultDateOfBirthId(Long value) { this.searchResultDateOfBirthId = value; return this; } public String getDateOfBirth() { return dateOfBirth; } public SearchResultDateOfBirth setDateOfBirth(String value) { this.dateOfBirth = value; return this; } public Short getYear() { return year; } public SearchResultDateOfBirth setYear(Short value) { this.year = value; return this; } public Short getMonth() { return month; } public SearchResultDateOfBirth setMonth(Short value) { this.month = value; return this; } public Short getDay() { return day; } public SearchResultDateOfBirth setDay(Short value) { this.day = value; return this; } public String getType() { return type; } public SearchResultDateOfBirth setType(String value) { this.type = value; return this; } } public static class SearchResultName { public Long searchResultNameId = null; public String type = null; public String title = null; public String fullName = null; public BigDecimal resultSimilarity = null; public Long getSearchResultNameId() { return searchResultNameId; } public SearchResultName setSearchResultNameId(Long value) { this.searchResultNameId = value; return this; } public String getType() { return type; } public SearchResultName setType(String value) { this.type = value; return this; } public String getTitle() { return title; } public SearchResultName setTitle(String value) { this.title = value; return this; } public String getFullName() { return fullName; } public SearchResultName setFullName(String value) { this.fullName = value; return this; } public BigDecimal getResultSimilarity() { return resultSimilarity; } public SearchResultName setResultSimilarity(BigDecimal value) { this.resultSimilarity = value; return this; } } public static class SearchResultNationality { public Long searchResultNationalityId = null; public String nationality = null; public Long getSearchResultNationalityId() { return searchResultNationalityId; } public SearchResultNationality setSearchResultNationalityId(Long value) { this.searchResultNationalityId = value; return this; } public String getNationality() { return nationality; } public SearchResultNationality setNationality(String value) { this.nationality = value; return this; } } public static class SearchResultPlaceOfBirth { public Long searchResultPlaceOfBirthId = null; public String placeOfBirth = null; public String countryOfBirth = null; public Long getSearchResultPlaceOfBirthId() { return searchResultPlaceOfBirthId; } public SearchResultPlaceOfBirth setSearchResultPlaceOfBirthId(Long value) { this.searchResultPlaceOfBirthId = value; return this; } public String getPlaceOfBirth() { return placeOfBirth; } public SearchResultPlaceOfBirth setPlaceOfBirth(String value) { this.placeOfBirth = value; return this; } public String getCountryOfBirth() { return countryOfBirth; } public SearchResultPlaceOfBirth setCountryOfBirth(String value) { this.countryOfBirth = value; return this; } } public static class SearchResultRemark { public Long searchResultRemarkId = null; public String name = null; public String description = null; public Long getSearchResultRemarkId() { return searchResultRemarkId; } public SearchResultRemark setSearchResultRemarkId(Long value) { this.searchResultRemarkId = value; return this; } public String getName() { return name; } public SearchResultRemark setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public SearchResultRemark setDescription(String value) { this.description = value; return this; } } public static class PepSearchResultArticleSnippet { public String title = null; public String text = null; public String adverseTerms = null; public String getTitle() { return title; } public PepSearchResultArticleSnippet setTitle(String value) { this.title = value; return this; } public String getText() { return text; } public PepSearchResultArticleSnippet setText(String value) { this.text = value; return this; } public String getAdverseTerms() { return adverseTerms; } public PepSearchResultArticleSnippet setAdverseTerms(String value) { this.adverseTerms = value; return this; } } }