org.jclouds.vcloud.director.v1_5.domain
Class VmQuestionAnswerChoice

java.lang.Object
  extended by 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>
 


Nested Class Summary
static class VmQuestionAnswerChoice.Builder
           
 
Constructor Summary
protected VmQuestionAnswerChoice()
           
  VmQuestionAnswerChoice(int id, String text)
           
 
Method Summary
static VmQuestionAnswerChoice.Builder builder()
           
 boolean equals(Object o)
           
 int getId()
          Gets the value of the id property.
 String getText()
          Gets the value of the text property.
 int hashCode()
           
 VmQuestionAnswerChoice.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmQuestionAnswerChoice

protected VmQuestionAnswerChoice()

VmQuestionAnswerChoice

public VmQuestionAnswerChoice(int id,
                              String text)
Method Detail

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.