org.certificateservices.messages.csmessages.jaxb.TokenRequest Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.03.14 at 10:39:39 AM CET
//
package org.certificateservices.messages.csmessages.jaxb;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TokenRequest complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TokenRequest">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="credentialRequests" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="credentialRequest" type="{http://certificateservices.org/xsd/csmessages2_0}CredentialRequest" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="user" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="userDisplayName" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring" minOccurs="0"/>
* <element name="relatedTokenId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="serialNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="previousSerialNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="tokenContainer" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="tokenType" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="tokenClass" type="{http://certificateservices.org/xsd/csmessages2_0}notemptystring"/>
* <element name="attributes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="revokePreviousTokens" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="userData" type="{http://certificateservices.org/xsd/csmessages2_0}Assertions" minOccurs="0"/>
* <element name="departmentName" type="{http://certificateservices.org/xsd/csmessages2_0}departmentnamestring" minOccurs="0"/>
* <element name="renewAction" type="{http://certificateservices.org/xsd/csmessages2_0}RegenerateActionType" minOccurs="0"/>
* <element name="automationLevel" type="{http://certificateservices.org/xsd/csmessages2_0}AutomationLevel" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TokenRequest", propOrder = {
"credentialRequests",
"user",
"userDisplayName",
"relatedTokenId",
"serialNumber",
"previousSerialNumber",
"tokenContainer",
"tokenType",
"tokenClass",
"attributes",
"description",
"revokePreviousTokens",
"userData",
"departmentName",
"renewAction",
"automationLevel"
})
public class TokenRequest {
protected TokenRequest.CredentialRequests credentialRequests;
@XmlElement(required = true)
protected String user;
protected String userDisplayName;
protected Long relatedTokenId;
protected String serialNumber;
protected String previousSerialNumber;
@XmlElement(required = true)
protected String tokenContainer;
@XmlElement(required = true)
protected String tokenType;
@XmlElement(required = true)
protected String tokenClass;
protected TokenRequest.Attributes attributes;
protected String description;
@XmlElement(defaultValue = "false")
protected Boolean revokePreviousTokens;
protected Assertions userData;
protected String departmentName;
@XmlSchemaType(name = "string")
protected RegenerateActionType renewAction;
@XmlElement(defaultValue = "MANUAL")
@XmlSchemaType(name = "string")
protected AutomationLevel automationLevel;
/**
* Gets the value of the credentialRequests property.
*
* @return
* possible object is
* {@link TokenRequest.CredentialRequests }
*
*/
public TokenRequest.CredentialRequests getCredentialRequests() {
return credentialRequests;
}
/**
* Sets the value of the credentialRequests property.
*
* @param value
* allowed object is
* {@link TokenRequest.CredentialRequests }
*
*/
public void setCredentialRequests(TokenRequest.CredentialRequests value) {
this.credentialRequests = value;
}
/**
* Gets the value of the user property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUser() {
return user;
}
/**
* Sets the value of the user property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUser(String value) {
this.user = value;
}
/**
* Gets the value of the userDisplayName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUserDisplayName() {
return userDisplayName;
}
/**
* Sets the value of the userDisplayName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUserDisplayName(String value) {
this.userDisplayName = value;
}
/**
* Gets the value of the relatedTokenId property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getRelatedTokenId() {
return relatedTokenId;
}
/**
* Sets the value of the relatedTokenId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setRelatedTokenId(Long value) {
this.relatedTokenId = value;
}
/**
* Gets the value of the serialNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerialNumber() {
return serialNumber;
}
/**
* Sets the value of the serialNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerialNumber(String value) {
this.serialNumber = value;
}
/**
* Gets the value of the previousSerialNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPreviousSerialNumber() {
return previousSerialNumber;
}
/**
* Sets the value of the previousSerialNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPreviousSerialNumber(String value) {
this.previousSerialNumber = value;
}
/**
* Gets the value of the tokenContainer property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenContainer() {
return tokenContainer;
}
/**
* Sets the value of the tokenContainer property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenContainer(String value) {
this.tokenContainer = value;
}
/**
* Gets the value of the tokenType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenType() {
return tokenType;
}
/**
* Sets the value of the tokenType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenType(String value) {
this.tokenType = value;
}
/**
* Gets the value of the tokenClass property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTokenClass() {
return tokenClass;
}
/**
* Sets the value of the tokenClass property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTokenClass(String value) {
this.tokenClass = value;
}
/**
* Gets the value of the attributes property.
*
* @return
* possible object is
* {@link TokenRequest.Attributes }
*
*/
public TokenRequest.Attributes getAttributes() {
return attributes;
}
/**
* Sets the value of the attributes property.
*
* @param value
* allowed object is
* {@link TokenRequest.Attributes }
*
*/
public void setAttributes(TokenRequest.Attributes value) {
this.attributes = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the revokePreviousTokens property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isRevokePreviousTokens() {
return revokePreviousTokens;
}
/**
* Sets the value of the revokePreviousTokens property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setRevokePreviousTokens(Boolean value) {
this.revokePreviousTokens = value;
}
/**
* Gets the value of the userData property.
*
* @return
* possible object is
* {@link Assertions }
*
*/
public Assertions getUserData() {
return userData;
}
/**
* Sets the value of the userData property.
*
* @param value
* allowed object is
* {@link Assertions }
*
*/
public void setUserData(Assertions value) {
this.userData = value;
}
/**
* Gets the value of the departmentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDepartmentName() {
return departmentName;
}
/**
* Sets the value of the departmentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDepartmentName(String value) {
this.departmentName = value;
}
/**
* Gets the value of the renewAction property.
*
* @return
* possible object is
* {@link RegenerateActionType }
*
*/
public RegenerateActionType getRenewAction() {
return renewAction;
}
/**
* Sets the value of the renewAction property.
*
* @param value
* allowed object is
* {@link RegenerateActionType }
*
*/
public void setRenewAction(RegenerateActionType value) {
this.renewAction = value;
}
/**
* Gets the value of the automationLevel property.
*
* @return
* possible object is
* {@link AutomationLevel }
*
*/
public AutomationLevel getAutomationLevel() {
return automationLevel;
}
/**
* Sets the value of the automationLevel property.
*
* @param value
* allowed object is
* {@link AutomationLevel }
*
*/
public void setAutomationLevel(AutomationLevel value) {
this.automationLevel = value;
}
/**
* 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="attribute" type="{http://certificateservices.org/xsd/csmessages2_0}Attribute" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"attribute"
})
public static class Attributes {
protected List attribute;
/**
* Gets the value of the attribute 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 attribute property.
*
*
* For example, to add a new item, do as follows:
*
* getAttribute().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Attribute }
*
*
*/
public List getAttribute() {
if (attribute == null) {
attribute = new ArrayList();
}
return this.attribute;
}
}
/**
* 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="credentialRequest" type="{http://certificateservices.org/xsd/csmessages2_0}CredentialRequest" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"credentialRequest"
})
public static class CredentialRequests {
@XmlElement(required = true)
protected List credentialRequest;
/**
* Gets the value of the credentialRequest 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 credentialRequest property.
*
*
* For example, to add a new item, do as follows:
*
* getCredentialRequest().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CredentialRequest }
*
*
*/
public List getCredentialRequest() {
if (credentialRequest == null) {
credentialRequest = new ArrayList();
}
return this.credentialRequest;
}
}
}