org.jclouds.vcloud.director.v1_5.domain
Class VmQuestionAnswerChoice
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.VmQuestionAnswerChoice
public class VmQuestionAnswerChoice
- extends Object
Represents a pair of ID and text of an answer choice of a VM question.
<complexType name="VmQuestionAnswerChoice">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Id" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
VmQuestionAnswerChoice
protected VmQuestionAnswerChoice()
VmQuestionAnswerChoice
public VmQuestionAnswerChoice(int id,
String text)
builder
public static VmQuestionAnswerChoice.Builder builder()
toBuilder
public VmQuestionAnswerChoice.Builder toBuilder()
getId
public int getId()
- Gets the value of the id property.
getText
public String getText()
- Gets the value of the text property.
- Returns:
- possible object is
String
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.