com.vmware.vim25.VirtualMachineQuestionInfo 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 VirtualMachineQuestionInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineQuestionInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="choice" type="{urn:vim25}ChoiceOption"/>
* <element name="message" type="{urn:vim25}VirtualMachineMessage" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineQuestionInfo", propOrder = {
"id",
"text",
"choice",
"message"
})
public class VirtualMachineQuestionInfo
extends DynamicData
{
@XmlElement(required = true)
protected String id;
@XmlElement(required = true)
protected String text;
@XmlElement(required = true)
protected ChoiceOption choice;
protected List message;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the text property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getText() {
return text;
}
/**
* Sets the value of the text property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setText(String value) {
this.text = value;
}
/**
* Gets the value of the choice property.
*
* @return
* possible object is
* {@link ChoiceOption }
*
*/
public ChoiceOption getChoice() {
return choice;
}
/**
* Sets the value of the choice property.
*
* @param value
* allowed object is
* {@link ChoiceOption }
*
*/
public void setChoice(ChoiceOption value) {
this.choice = value;
}
/**
* Gets the value of the message 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 message property.
*
*
* For example, to add a new item, do as follows:
*
* getMessage().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineMessage }
*
*
*/
public List getMessage() {
if (message == null) {
message = new ArrayList();
}
return this.message;
}
}