io.getlime.powerauth.soap.v3.CreateRecoveryCodeResponse Maven / Gradle / Ivy
Show all versions of powerauth-java-client-spring Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.04.30 at 04:16:21 PM CEST
//
package io.getlime.powerauth.soap.v3;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nonce" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="recoveryCodeId" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="recoveryCodeMasked" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="status" type="{http://getlime.io/security/powerauth/v3}RecoveryCodeStatus"/>
* <element name="puks" maxOccurs="unbounded">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pukIndex" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="pukDerivationIndex" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="status" type="{http://getlime.io/security/powerauth/v3}RecoveryPukStatus"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"nonce",
"userId",
"recoveryCodeId",
"recoveryCodeMasked",
"status",
"puks"
})
@XmlRootElement(name = "CreateRecoveryCodeResponse")
public class CreateRecoveryCodeResponse {
@XmlElement(required = true)
protected String nonce;
@XmlElement(required = true)
protected String userId;
protected long recoveryCodeId;
@XmlElement(required = true)
protected String recoveryCodeMasked;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected RecoveryCodeStatus status;
@XmlElement(required = true)
protected List puks;
/**
* Gets the value of the nonce property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNonce() {
return nonce;
}
/**
* Sets the value of the nonce property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNonce(String value) {
this.nonce = value;
}
/**
* Gets the value of the userId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserId() {
return userId;
}
/**
* Sets the value of the userId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserId(String value) {
this.userId = value;
}
/**
* Gets the value of the recoveryCodeId property.
*
*/
public long getRecoveryCodeId() {
return recoveryCodeId;
}
/**
* Sets the value of the recoveryCodeId property.
*
*/
public void setRecoveryCodeId(long value) {
this.recoveryCodeId = value;
}
/**
* Gets the value of the recoveryCodeMasked property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRecoveryCodeMasked() {
return recoveryCodeMasked;
}
/**
* Sets the value of the recoveryCodeMasked property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRecoveryCodeMasked(String value) {
this.recoveryCodeMasked = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link RecoveryCodeStatus }
*
*/
public RecoveryCodeStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link RecoveryCodeStatus }
*
*/
public void setStatus(RecoveryCodeStatus value) {
this.status = value;
}
/**
* Gets the value of the puks property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the puks property.
*
*
* For example, to add a new item, do as follows:
*
* getPuks().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CreateRecoveryCodeResponse.Puks }
*
*
*/
public List getPuks() {
if (puks == null) {
puks = new ArrayList();
}
return this.puks;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pukIndex" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="pukDerivationIndex" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="status" type="{http://getlime.io/security/powerauth/v3}RecoveryPukStatus"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pukIndex",
"pukDerivationIndex",
"status"
})
public static class Puks {
protected long pukIndex;
protected long pukDerivationIndex;
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected RecoveryPukStatus status;
/**
* Gets the value of the pukIndex property.
*
*/
public long getPukIndex() {
return pukIndex;
}
/**
* Sets the value of the pukIndex property.
*
*/
public void setPukIndex(long value) {
this.pukIndex = value;
}
/**
* Gets the value of the pukDerivationIndex property.
*
*/
public long getPukDerivationIndex() {
return pukDerivationIndex;
}
/**
* Sets the value of the pukDerivationIndex property.
*
*/
public void setPukDerivationIndex(long value) {
this.pukDerivationIndex = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link RecoveryPukStatus }
*
*/
public RecoveryPukStatus getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link RecoveryPukStatus }
*
*/
public void setStatus(RecoveryPukStatus value) {
this.status = value;
}
}
}