com.vmware.vim25.OvfConsumerFault Maven / Gradle / Ivy
package com.vmware.vim25;
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.XmlType;
/**
* Java class for OvfConsumerFault complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OvfConsumerFault">
* <complexContent>
* <extension base="{urn:vim25}OvfConsumerCallbackFault">
* <sequence>
* <element name="errorKey" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="params" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OvfConsumerFault", propOrder = {
"errorKey",
"message",
"params"
})
public class OvfConsumerFault
extends OvfConsumerCallbackFault
{
@XmlElement(required = true)
protected String errorKey;
@XmlElement(required = true)
protected String message;
protected List params;
/**
* Gets the value of the errorKey property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorKey() {
return errorKey;
}
/**
* Sets the value of the errorKey property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorKey(String value) {
this.errorKey = value;
}
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
/**
* Gets the value of the params 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 params property.
*
*
* For example, to add a new item, do as follows:
*
* getParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link KeyValue }
*
*
*/
public List getParams() {
if (params == null) {
params = new ArrayList();
}
return this.params;
}
}