com.amazonaws.mturk.requester
Class CreateHITRequest

java.lang.Object
  extended by com.amazonaws.mturk.requester.CreateHITRequest
All Implemented Interfaces:
java.io.Serializable

public class CreateHITRequest
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CreateHITRequest()
           
CreateHITRequest(java.lang.String HITTypeId, java.lang.Integer maxAssignments, java.lang.Long autoApprovalDelayInSeconds, long lifetimeInSeconds, java.lang.Long assignmentDurationInSeconds, Price reward, java.lang.String title, java.lang.String keywords, java.lang.String description, java.lang.String question, java.lang.String requesterAnnotation, QualificationRequirement[] qualificationRequirement, java.lang.String[] responseGroup)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Long getAssignmentDurationInSeconds()
          Gets the assignmentDurationInSeconds value for this CreateHITRequest.
 java.lang.Long getAutoApprovalDelayInSeconds()
          Gets the autoApprovalDelayInSeconds value for this CreateHITRequest.
 java.lang.String getDescription()
          Gets the description value for this CreateHITRequest.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getHITTypeId()
          Gets the HITTypeId value for this CreateHITRequest.
 java.lang.String getKeywords()
          Gets the keywords value for this CreateHITRequest.
 long getLifetimeInSeconds()
          Gets the lifetimeInSeconds value for this CreateHITRequest.
 java.lang.Integer getMaxAssignments()
          Gets the maxAssignments value for this CreateHITRequest.
 QualificationRequirement[] getQualificationRequirement()
          Gets the qualificationRequirement value for this CreateHITRequest.
 QualificationRequirement getQualificationRequirement(int i)
           
 java.lang.String getQuestion()
          Gets the question value for this CreateHITRequest.
 java.lang.String getRequesterAnnotation()
          Gets the requesterAnnotation value for this CreateHITRequest.
 java.lang.String[] getResponseGroup()
          Gets the responseGroup value for this CreateHITRequest.
 java.lang.String getResponseGroup(int i)
           
 Price getReward()
          Gets the reward value for this CreateHITRequest.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.lang.String getTitle()
          Gets the title value for this CreateHITRequest.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAssignmentDurationInSeconds(java.lang.Long assignmentDurationInSeconds)
          Sets the assignmentDurationInSeconds value for this CreateHITRequest.
 void setAutoApprovalDelayInSeconds(java.lang.Long autoApprovalDelayInSeconds)
          Sets the autoApprovalDelayInSeconds value for this CreateHITRequest.
 void setDescription(java.lang.String description)
          Sets the description value for this CreateHITRequest.
 void setHITTypeId(java.lang.String HITTypeId)
          Sets the HITTypeId value for this CreateHITRequest.
 void setKeywords(java.lang.String keywords)
          Sets the keywords value for this CreateHITRequest.
 void setLifetimeInSeconds(long lifetimeInSeconds)
          Sets the lifetimeInSeconds value for this CreateHITRequest.
 void setMaxAssignments(java.lang.Integer maxAssignments)
          Sets the maxAssignments value for this CreateHITRequest.
 void setQualificationRequirement(int i, QualificationRequirement _value)
           
 void setQualificationRequirement(QualificationRequirement[] qualificationRequirement)
          Sets the qualificationRequirement value for this CreateHITRequest.
 void setQuestion(java.lang.String question)
          Sets the question value for this CreateHITRequest.
 void setRequesterAnnotation(java.lang.String requesterAnnotation)
          Sets the requesterAnnotation value for this CreateHITRequest.
 void setResponseGroup(int i, java.lang.String _value)
           
 void setResponseGroup(java.lang.String[] responseGroup)
          Sets the responseGroup value for this CreateHITRequest.
 void setReward(Price reward)
          Sets the reward value for this CreateHITRequest.
 void setTitle(java.lang.String title)
          Sets the title value for this CreateHITRequest.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateHITRequest

public CreateHITRequest()

CreateHITRequest

public CreateHITRequest(java.lang.String HITTypeId,
                        java.lang.Integer maxAssignments,
                        java.lang.Long autoApprovalDelayInSeconds,
                        long lifetimeInSeconds,
                        java.lang.Long assignmentDurationInSeconds,
                        Price reward,
                        java.lang.String title,
                        java.lang.String keywords,
                        java.lang.String description,
                        java.lang.String question,
                        java.lang.String requesterAnnotation,
                        QualificationRequirement[] qualificationRequirement,
                        java.lang.String[] responseGroup)
Method Detail

getHITTypeId

public java.lang.String getHITTypeId()
Gets the HITTypeId value for this CreateHITRequest.

Returns:
HITTypeId

setHITTypeId

public void setHITTypeId(java.lang.String HITTypeId)
Sets the HITTypeId value for this CreateHITRequest.

Parameters:
HITTypeId -

getMaxAssignments

public java.lang.Integer getMaxAssignments()
Gets the maxAssignments value for this CreateHITRequest.

Returns:
maxAssignments

setMaxAssignments

public void setMaxAssignments(java.lang.Integer maxAssignments)
Sets the maxAssignments value for this CreateHITRequest.

Parameters:
maxAssignments -

getAutoApprovalDelayInSeconds

public java.lang.Long getAutoApprovalDelayInSeconds()
Gets the autoApprovalDelayInSeconds value for this CreateHITRequest.

Returns:
autoApprovalDelayInSeconds

setAutoApprovalDelayInSeconds

public void setAutoApprovalDelayInSeconds(java.lang.Long autoApprovalDelayInSeconds)
Sets the autoApprovalDelayInSeconds value for this CreateHITRequest.

Parameters:
autoApprovalDelayInSeconds -

getLifetimeInSeconds

public long getLifetimeInSeconds()
Gets the lifetimeInSeconds value for this CreateHITRequest.

Returns:
lifetimeInSeconds

setLifetimeInSeconds

public void setLifetimeInSeconds(long lifetimeInSeconds)
Sets the lifetimeInSeconds value for this CreateHITRequest.

Parameters:
lifetimeInSeconds -

getAssignmentDurationInSeconds

public java.lang.Long getAssignmentDurationInSeconds()
Gets the assignmentDurationInSeconds value for this CreateHITRequest.

Returns:
assignmentDurationInSeconds

setAssignmentDurationInSeconds

public void setAssignmentDurationInSeconds(java.lang.Long assignmentDurationInSeconds)
Sets the assignmentDurationInSeconds value for this CreateHITRequest.

Parameters:
assignmentDurationInSeconds -

getReward

public Price getReward()
Gets the reward value for this CreateHITRequest.

Returns:
reward

setReward

public void setReward(Price reward)
Sets the reward value for this CreateHITRequest.

Parameters:
reward -

getTitle

public java.lang.String getTitle()
Gets the title value for this CreateHITRequest.

Returns:
title

setTitle

public void setTitle(java.lang.String title)
Sets the title value for this CreateHITRequest.

Parameters:
title -

getKeywords

public java.lang.String getKeywords()
Gets the keywords value for this CreateHITRequest.

Returns:
keywords

setKeywords

public void setKeywords(java.lang.String keywords)
Sets the keywords value for this CreateHITRequest.

Parameters:
keywords -

getDescription

public java.lang.String getDescription()
Gets the description value for this CreateHITRequest.

Returns:
description

setDescription

public void setDescription(java.lang.String description)
Sets the description value for this CreateHITRequest.

Parameters:
description -

getQuestion

public java.lang.String getQuestion()
Gets the question value for this CreateHITRequest.

Returns:
question

setQuestion

public void setQuestion(java.lang.String question)
Sets the question value for this CreateHITRequest.

Parameters:
question -

getRequesterAnnotation

public java.lang.String getRequesterAnnotation()
Gets the requesterAnnotation value for this CreateHITRequest.

Returns:
requesterAnnotation

setRequesterAnnotation

public void setRequesterAnnotation(java.lang.String requesterAnnotation)
Sets the requesterAnnotation value for this CreateHITRequest.

Parameters:
requesterAnnotation -

getQualificationRequirement

public QualificationRequirement[] getQualificationRequirement()
Gets the qualificationRequirement value for this CreateHITRequest.

Returns:
qualificationRequirement

setQualificationRequirement

public void setQualificationRequirement(QualificationRequirement[] qualificationRequirement)
Sets the qualificationRequirement value for this CreateHITRequest.

Parameters:
qualificationRequirement -

getQualificationRequirement

public QualificationRequirement getQualificationRequirement(int i)

setQualificationRequirement

public void setQualificationRequirement(int i,
                                        QualificationRequirement _value)

getResponseGroup

public java.lang.String[] getResponseGroup()
Gets the responseGroup value for this CreateHITRequest.

Returns:
responseGroup

setResponseGroup

public void setResponseGroup(java.lang.String[] responseGroup)
Sets the responseGroup value for this CreateHITRequest.

Parameters:
responseGroup -

getResponseGroup

public java.lang.String getResponseGroup(int i)

setResponseGroup

public void setResponseGroup(int i,
                             java.lang.String _value)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer