org.certificateservices.messages.credmanagement.jaxb.IssueTokenCredentialsResponse 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: 2016.04.27 at 11:55:56 AM CEST
//
package org.certificateservices.messages.credmanagement.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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.certificateservices.messages.csmessages.jaxb.CSResponse;
import org.certificateservices.messages.csmessages.jaxb.Credential;
import org.certificateservices.messages.csmessages.jaxb.TokenRequest;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <extension base="{http://certificateservices.org/xsd/csmessages2_0}CSResponse">
* <sequence>
* <element name="tokenRequest" type="{http://certificateservices.org/xsd/csmessages2_0}TokenRequest"/>
* <element name="credentials">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="revokedCredentials" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tokenRequest",
"credentials",
"revokedCredentials"
})
@XmlRootElement(name = "IssueTokenCredentialsResponse")
public class IssueTokenCredentialsResponse
extends CSResponse
{
@XmlElement(required = true)
protected TokenRequest tokenRequest;
@XmlElement(required = true)
protected IssueTokenCredentialsResponse.Credentials credentials;
protected IssueTokenCredentialsResponse.RevokedCredentials revokedCredentials;
/**
* Gets the value of the tokenRequest property.
*
* @return
* possible object is
* {@link TokenRequest }
*
*/
public TokenRequest getTokenRequest() {
return tokenRequest;
}
/**
* Sets the value of the tokenRequest property.
*
* @param value
* allowed object is
* {@link TokenRequest }
*
*/
public void setTokenRequest(TokenRequest value) {
this.tokenRequest = value;
}
/**
* Gets the value of the credentials property.
*
* @return
* possible object is
* {@link IssueTokenCredentialsResponse.Credentials }
*
*/
public IssueTokenCredentialsResponse.Credentials getCredentials() {
return credentials;
}
/**
* Sets the value of the credentials property.
*
* @param value
* allowed object is
* {@link IssueTokenCredentialsResponse.Credentials }
*
*/
public void setCredentials(IssueTokenCredentialsResponse.Credentials value) {
this.credentials = value;
}
/**
* Gets the value of the revokedCredentials property.
*
* @return
* possible object is
* {@link IssueTokenCredentialsResponse.RevokedCredentials }
*
*/
public IssueTokenCredentialsResponse.RevokedCredentials getRevokedCredentials() {
return revokedCredentials;
}
/**
* Sets the value of the revokedCredentials property.
*
* @param value
* allowed object is
* {@link IssueTokenCredentialsResponse.RevokedCredentials }
*
*/
public void setRevokedCredentials(IssueTokenCredentialsResponse.RevokedCredentials value) {
this.revokedCredentials = 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="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"credential"
})
public static class Credentials {
@XmlElement(required = true)
protected List credential;
/**
* Gets the value of the credential 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 credential property.
*
*
* For example, to add a new item, do as follows:
*
* getCredential().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Credential }
*
*
*/
public List getCredential() {
if (credential == null) {
credential = new ArrayList();
}
return this.credential;
}
}
/**
* 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="credential" type="{http://certificateservices.org/xsd/csmessages2_0}Credential" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"credential"
})
public static class RevokedCredentials {
@XmlElement(required = true)
protected List credential;
/**
* Gets the value of the credential 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 credential property.
*
*
* For example, to add a new item, do as follows:
*
* getCredential().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Credential }
*
*
*/
public List getCredential() {
if (credential == null) {
credential = new ArrayList();
}
return this.credential;
}
}
}