org.opentelecoms.gsm0348.api.model.ResponseSPI Maven / Gradle / Ivy
The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2
// 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.01 at 10:04:03 PM CEST
//
package org.opentelecoms.gsm0348.api.model;
import java.util.Objects;
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 ResponseSPI complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResponseSPI">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <all>
* <element name="PoRProtocol" type="{org.opentelecoms.gsm0348}PoRProtocol"/>
* <element name="PoRMode" type="{org.opentelecoms.gsm0348}PoRMode"/>
* <element name="PoRCertificateMode" type="{org.opentelecoms.gsm0348}CertificationMode"/>
* <element name="Ciphered" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </all>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResponseSPI", propOrder = {
})
public class ResponseSPI {
@XmlElement(name = "PoRProtocol", required = true)
@XmlSchemaType(name = "string")
protected PoRProtocol poRProtocol;
@XmlElement(name = "PoRMode", required = true)
@XmlSchemaType(name = "string")
protected PoRMode poRMode;
@XmlElement(name = "PoRCertificateMode", required = true)
@XmlSchemaType(name = "string")
protected CertificationMode poRCertificateMode;
@XmlElement(name = "Ciphered")
protected boolean ciphered;
/**
* Gets the value of the poRProtocol property.
*
* @return
* possible object is
* {@link PoRProtocol }
*
*/
public PoRProtocol getPoRProtocol() {
return poRProtocol;
}
/**
* Sets the value of the poRProtocol property.
*
* @param value
* allowed object is
* {@link PoRProtocol }
*
*/
public void setPoRProtocol(PoRProtocol value) {
this.poRProtocol = value;
}
/**
* Gets the value of the poRMode property.
*
* @return
* possible object is
* {@link PoRMode }
*
*/
public PoRMode getPoRMode() {
return poRMode;
}
/**
* Sets the value of the poRMode property.
*
* @param value
* allowed object is
* {@link PoRMode }
*
*/
public void setPoRMode(PoRMode value) {
this.poRMode = value;
}
/**
* Gets the value of the poRCertificateMode property.
*
* @return
* possible object is
* {@link CertificationMode }
*
*/
public CertificationMode getPoRCertificateMode() {
return poRCertificateMode;
}
/**
* Sets the value of the poRCertificateMode property.
*
* @param value
* allowed object is
* {@link CertificationMode }
*
*/
public void setPoRCertificateMode(CertificationMode value) {
this.poRCertificateMode = value;
}
/**
* Gets the value of the ciphered property.
*
*/
public boolean isCiphered() {
return ciphered;
}
/**
* Sets the value of the ciphered property.
*
*/
public void setCiphered(boolean value) {
this.ciphered = value;
}
@Override
public boolean equals(final Object o) {
if (this == o) {
return true;
}
if (!(o instanceof ResponseSPI)) {
return false;
}
final ResponseSPI that = (ResponseSPI) o;
return ciphered == that.ciphered &&
poRProtocol == that.poRProtocol &&
poRMode == that.poRMode &&
poRCertificateMode == that.poRCertificateMode;
}
@Override
public int hashCode() {
return Objects.hash(poRProtocol, poRMode, poRCertificateMode, ciphered);
}
@Override
public String toString()
{
StringBuilder builder = new StringBuilder();
builder.append("ResponseSPI [poRProtocol=");
builder.append(poRProtocol);
builder.append(", poRMode=");
builder.append(poRMode);
builder.append(", poRCertificateMode=");
builder.append(poRCertificateMode);
builder.append(", ciphered=");
builder.append(ciphered);
builder.append("]");
return builder.toString();
}
}