Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.verisec.frejaeid.client.beans.general.RequestedAttributes Maven / Gradle / Ivy
package com.verisec.frejaeid.client.beans.general;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.verisec.frejaeid.client.beans.covidcertificate.CovidCertificates;
import com.verisec.frejaeid.client.enums.RegistrationLevel;
import sun.nio.ch.Net;
import java.util.List;
import java.util.Objects;
/**
* When retrieving results, additional information about the user can be
* returned based on the type of attributes required through request. If
* attribute is not required it will be {@code null}.
*/
public class RequestedAttributes {
private final BasicUserInfo basicUserInfo;
private final String customIdentifier;
private final SsnUserInfo ssn;
private final String integratorSpecificUserId;
private final String dateOfBirth;
private final String relyingPartyUserId;
private final String emailAddress;
private final String organisationIdIdentifier;
private final OrganisationIdInfo organisationId;
private final List addresses;
private final List allEmailAddresses;
private final List allPhoneNumbers;
private final RegistrationLevel registrationLevel;
private final Integer age;
private final String photo;
private final DocumentInfo document;
private final String documentPhoto;
private final CovidCertificates covidCertificates;
private final DocumentInfoWithPdf documentInfoWithPdf;
private final List childrenDocumentInfoWithPdf;
private final NetworkInfo networkInfo;
@JsonCreator
public RequestedAttributes(@JsonProperty(value = "basicUserInfo") BasicUserInfo basicUserInfo,
@JsonProperty(value = "customIdentifier") String customIdentifier,
@JsonProperty(value = "ssn") SsnUserInfo ssn,
@JsonProperty(value = "integratorSpecificUserId") String integratorSpecificUserId,
@JsonProperty(value = "dateOfBirth") String dateOfBirth,
@JsonProperty(value = "relyingPartyUserId") String relyingPartyUserId,
@JsonProperty(value = "emailAddress") String emailAddress,
@JsonProperty(value = "organisationIdIdentifier") String organisationIdIdentifier,
@JsonProperty(value = "addresses") List addresses,
@JsonProperty(value = "allEmailAddresses") List allEmailAddresses,
@JsonProperty(value = "allPhoneNumbers") List allPhoneNumbers,
@JsonProperty(value = "registrationLevel") RegistrationLevel registrationLevel,
@JsonProperty(value = "age") Integer age,
@JsonProperty(value = "photo") String photo,
@JsonProperty(value = "document") DocumentInfo document,
@JsonProperty(value = "documentPhoto") String documentPhoto,
@JsonProperty(value = "covidCertificates") CovidCertificates covidCertificates,
@JsonProperty(value = "organisationId") OrganisationIdInfo organisationId,
@JsonProperty(value = "documentInfoWithPdf") DocumentInfoWithPdf documentInfoWithPdf,
@JsonProperty(value = "childrenDocumentInfoWithPdf") List childrenDocumentInfoWithPdf,
@JsonProperty(value = "networkInfo") NetworkInfo networkInfo) {
this.basicUserInfo = basicUserInfo;
this.customIdentifier = customIdentifier;
this.ssn = ssn;
this.integratorSpecificUserId = integratorSpecificUserId;
this.dateOfBirth = dateOfBirth;
this.relyingPartyUserId = relyingPartyUserId;
this.emailAddress = emailAddress;
this.organisationIdIdentifier = organisationIdIdentifier;
this.organisationId = organisationId;
this.addresses = addresses;
this.allEmailAddresses = allEmailAddresses;
this.allPhoneNumbers = allPhoneNumbers;
this.registrationLevel = registrationLevel;
this.age = age;
this.photo = photo;
this.document = document;
this.documentPhoto = documentPhoto;
this.covidCertificates = covidCertificates;
this.documentInfoWithPdf = documentInfoWithPdf;
this.childrenDocumentInfoWithPdf = childrenDocumentInfoWithPdf;
this.networkInfo = networkInfo;
}
public BasicUserInfo getBasicUserInfo() {
return basicUserInfo;
}
public String getCustomIdentifier() {
return customIdentifier;
}
public SsnUserInfo getSsn() {
return ssn;
}
public String getIntegratorSpecificUserId() {
return integratorSpecificUserId;
}
public String getDateOfBirth() {
return dateOfBirth;
}
public String getRelyingPartyUserId() {
return relyingPartyUserId;
}
public String getEmailAddress() {
return emailAddress;
}
public String getOrganisationIdIdentifier() {
return organisationIdIdentifier;
}
public OrganisationIdInfo getOrganisationId() {
return organisationId;
}
public List getAddresses() {
return addresses;
}
public List getAllEmailAddresses() {
return allEmailAddresses;
}
public List getAllPhoneNumbers() {
return allPhoneNumbers;
}
public RegistrationLevel getRegistrationLevel() {
return registrationLevel;
}
public Integer getAge() {
return age;
}
public String getPhoto() {
return photo;
}
public DocumentInfo getDocument() {
return document;
}
public String getDocumentPhoto() {
return documentPhoto;
}
public CovidCertificates getCovidCertificates() {
return covidCertificates;
}
public DocumentInfoWithPdf getDocumentInfoWithPdf() {
return documentInfoWithPdf;
}
public List getChildrenDocumentInfoWithPdf() {
return childrenDocumentInfoWithPdf;
}
public NetworkInfo getNetworkInfo() {
return networkInfo;
}
@Override
public int hashCode() {
return Objects.hash(basicUserInfo, customIdentifier, ssn, integratorSpecificUserId,
dateOfBirth, relyingPartyUserId, emailAddress, organisationIdIdentifier,
organisationId, addresses, allEmailAddresses, allPhoneNumbers, registrationLevel, age,
photo, document, documentPhoto, covidCertificates, documentInfoWithPdf,
childrenDocumentInfoWithPdf, networkInfo);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final RequestedAttributes other = (RequestedAttributes) obj;
if (!Objects.equals(this.customIdentifier, other.customIdentifier)) {
return false;
}
if (!Objects.equals(this.integratorSpecificUserId, other.integratorSpecificUserId)) {
return false;
}
if (!Objects.equals(this.dateOfBirth, other.dateOfBirth)) {
return false;
}
if (!Objects.equals(this.relyingPartyUserId, other.relyingPartyUserId)) {
return false;
}
if (!Objects.equals(this.emailAddress, other.emailAddress)) {
return false;
}
if (!Objects.equals(this.organisationIdIdentifier, other.organisationIdIdentifier)) {
return false;
}
if (!Objects.equals(this.organisationId, other.organisationId)) {
return false;
}
if (!Objects.equals(this.basicUserInfo, other.basicUserInfo)) {
return false;
}
if (!Objects.equals(this.ssn, other.ssn)) {
return false;
}
if (!Objects.equals(this.addresses, other.addresses)) {
return false;
}
if (!Objects.equals(this.allEmailAddresses, other.allEmailAddresses)) {
return false;
}
if (!Objects.equals(this.allPhoneNumbers, other.allPhoneNumbers)) {
return false;
}
if (!Objects.equals(this.registrationLevel, other.registrationLevel)) {
return false;
}
if (!Objects.equals(this.age, other.age)) {
return false;
}
if (!Objects.equals(this.photo, other.photo)) {
return false;
}
if (!Objects.equals(this.document, other.document)) {
return false;
}
if (!Objects.equals(this.documentPhoto, other.documentPhoto)) {
return false;
}
if (!Objects.equals(this.covidCertificates, other.covidCertificates)) {
return false;
}
if (!Objects.equals(this.documentInfoWithPdf, other.documentInfoWithPdf)) {
return false;
}
if (!Objects.equals(this.childrenDocumentInfoWithPdf, other.childrenDocumentInfoWithPdf)) {
return false;
}
if (!Objects.equals(this.networkInfo, other.networkInfo)) {
return false;
}
return true;
}
@Override
public java.lang.String toString() {
return "RequestedAttributes{" +
"basicUserInfo=" + basicUserInfo +
", customIdentifier='" + customIdentifier + '\'' +
", ssn=" + ssn +
", integratorSpecificUserId='" + integratorSpecificUserId + '\'' +
", dateOfBirth='" + dateOfBirth + '\'' +
", relyingPartyUserId='" + relyingPartyUserId + '\'' +
", emailAddress='" + emailAddress + '\'' +
", organisationIdIdentifier='" + organisationIdIdentifier + '\'' +
", organisationId='" + organisationId + '\'' +
", addresses=" + addresses +
", allEmailAddresses=" + allEmailAddresses +
", allPhoneNumbers=" + allPhoneNumbers +
", registrationLevel=" + registrationLevel +
", age=" + age +
", photo=" + photo +
", documentInfo=" + document +
", documentPhoto=" + documentPhoto +
", covidCertificates=" + covidCertificates +
", documentInfoWithPdf=" + documentInfoWithPdf +
", childrenDocumentInfoWithPdf=" + childrenDocumentInfoWithPdf +
", networkInfo=" + networkInfo +
'}';
}
}