public class VirtualMachineQuestionInfo extends DynamicData
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>
| Modifier and Type | Field and Description |
|---|---|
protected ChoiceOption |
choice |
protected String |
id |
protected List<VirtualMachineMessage> |
message |
protected String |
text |
| Constructor and Description |
|---|
VirtualMachineQuestionInfo() |
| Modifier and Type | Method and Description |
|---|---|
ChoiceOption |
getChoice()
Gets the value of the choice property.
|
String |
getId()
Gets the value of the id property.
|
List<VirtualMachineMessage> |
getMessage()
Gets the value of the message property.
|
String |
getText()
Gets the value of the text property.
|
void |
setChoice(ChoiceOption value)
Sets the value of the choice property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setText(String value)
Sets the value of the text property.
|
protected String id
protected String text
protected ChoiceOption choice
protected List<VirtualMachineMessage> message
public void setId(String value)
value - allowed object is
Stringpublic String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic ChoiceOption getChoice()
ChoiceOptionpublic void setChoice(ChoiceOption value)
value - allowed object is
ChoiceOptionpublic List<VirtualMachineMessage> getMessage()
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
VirtualMachineMessage
Copyright © 2018. All rights reserved.