com.amazonaws.mturk.requester
Class GrantBonusRequest

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

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

See Also:
Serialized Form

Constructor Summary
GrantBonusRequest()
           
GrantBonusRequest(java.lang.String workerId, Price bonusAmount, java.lang.String assignmentId, java.lang.String reason, java.lang.String[] responseGroup)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAssignmentId()
          Gets the assignmentId value for this GrantBonusRequest.
 Price getBonusAmount()
          Gets the bonusAmount value for this GrantBonusRequest.
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 getReason()
          Gets the reason value for this GrantBonusRequest.
 java.lang.String[] getResponseGroup()
          Gets the responseGroup value for this GrantBonusRequest.
 java.lang.String getResponseGroup(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 java.lang.String getWorkerId()
          Gets the workerId value for this GrantBonusRequest.
 int hashCode()
           
 void setAssignmentId(java.lang.String assignmentId)
          Sets the assignmentId value for this GrantBonusRequest.
 void setBonusAmount(Price bonusAmount)
          Sets the bonusAmount value for this GrantBonusRequest.
 void setReason(java.lang.String reason)
          Sets the reason value for this GrantBonusRequest.
 void setResponseGroup(int i, java.lang.String _value)
           
 void setResponseGroup(java.lang.String[] responseGroup)
          Sets the responseGroup value for this GrantBonusRequest.
 void setWorkerId(java.lang.String workerId)
          Sets the workerId value for this GrantBonusRequest.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrantBonusRequest

public GrantBonusRequest()

GrantBonusRequest

public GrantBonusRequest(java.lang.String workerId,
                         Price bonusAmount,
                         java.lang.String assignmentId,
                         java.lang.String reason,
                         java.lang.String[] responseGroup)
Method Detail

getWorkerId

public java.lang.String getWorkerId()
Gets the workerId value for this GrantBonusRequest.

Returns:
workerId

setWorkerId

public void setWorkerId(java.lang.String workerId)
Sets the workerId value for this GrantBonusRequest.

Parameters:
workerId -

getBonusAmount

public Price getBonusAmount()
Gets the bonusAmount value for this GrantBonusRequest.

Returns:
bonusAmount

setBonusAmount

public void setBonusAmount(Price bonusAmount)
Sets the bonusAmount value for this GrantBonusRequest.

Parameters:
bonusAmount -

getAssignmentId

public java.lang.String getAssignmentId()
Gets the assignmentId value for this GrantBonusRequest.

Returns:
assignmentId

setAssignmentId

public void setAssignmentId(java.lang.String assignmentId)
Sets the assignmentId value for this GrantBonusRequest.

Parameters:
assignmentId -

getReason

public java.lang.String getReason()
Gets the reason value for this GrantBonusRequest.

Returns:
reason

setReason

public void setReason(java.lang.String reason)
Sets the reason value for this GrantBonusRequest.

Parameters:
reason -

getResponseGroup

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

Returns:
responseGroup

setResponseGroup

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

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