|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.amazonaws.a2s.model.SimilarityLookupRequest
public class SimilarityLookupRequest
Java class for SimilarityLookupRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SimilarityLookupRequest">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Condition" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}Condition" minOccurs="0"/>
<element name="DeliveryMethod" type="{http://webservices.amazon.com/AWSECommerceService/2007-10-29}DeliveryMethod" minOccurs="0"/>
<element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="ISPUPostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="ResponseGroup" maxOccurs="unbounded" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Request"/>
<enumeration value="Small"/>
<enumeration value="Accessories"/>
<enumeration value="BrowseNodes"/>
<enumeration value="EditorialReview"/>
<enumeration value="Images"/>
<enumeration value="Large"/>
<enumeration value="ItemAttributes"/>
<enumeration value="ItemIds"/>
<enumeration value="ListmaniaLists"/>
<enumeration value="Medium"/>
<enumeration value="Offers"/>
<enumeration value="OfferSummary"/>
<enumeration value="PromotionDetails"/>
<enumeration value="PromotionSummary"/>
<enumeration value="Reviews"/>
<enumeration value="SalesRank"/>
<enumeration value="Similarities"/>
<enumeration value="Tracks"/>
<enumeration value="VariationMinimum"/>
<enumeration value="Variations"/>
<enumeration value="VariationSummary"/>
</restriction>
</simpleType>
</element>
<element name="ReviewSort" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="SimilarityType" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Intersection"/>
<enumeration value="Random"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
Generated by AWS Code Generator
Thu Jan 10 05:27:59 PST 2008
| Field Summary | |
|---|---|
protected Condition |
condition
|
protected DeliveryMethod |
deliveryMethod
|
protected java.lang.String |
ispuPostalCode
|
protected java.util.List<java.lang.String> |
itemId
|
protected java.lang.String |
merchantId
|
protected java.util.List<java.lang.String> |
responseGroup
|
protected java.lang.String |
reviewSort
|
protected java.lang.String |
similarityType
|
| Constructor Summary | |
|---|---|
SimilarityLookupRequest()
|
|
| Method Summary | |
|---|---|
Condition |
getCondition()
Gets the value of the condition property. |
DeliveryMethod |
getDeliveryMethod()
Gets the value of the deliveryMethod property. |
java.lang.String |
getISPUPostalCode()
Gets the value of the ispuPostalCode property. |
java.util.List<java.lang.String> |
getItemId()
Gets the value of the itemId property. |
java.lang.String |
getMerchantId()
Gets the value of the merchantId property. |
java.util.List<java.lang.String> |
getResponseGroup()
Gets the value of the responseGroup property. |
java.lang.String |
getReviewSort()
Gets the value of the reviewSort property. |
java.lang.String |
getSimilarityType()
Gets the value of the similarityType property. |
boolean |
isSetCondition()
|
boolean |
isSetDeliveryMethod()
|
boolean |
isSetISPUPostalCode()
|
boolean |
isSetItemId()
|
boolean |
isSetMerchantId()
|
boolean |
isSetResponseGroup()
|
boolean |
isSetReviewSort()
|
boolean |
isSetSimilarityType()
|
void |
setCondition(Condition value)
Sets the value of the condition property. |
void |
setDeliveryMethod(DeliveryMethod value)
Sets the value of the deliveryMethod property. |
void |
setISPUPostalCode(java.lang.String value)
Sets the value of the ispuPostalCode property. |
void |
setItemId(java.util.List<java.lang.String> itemId)
Sets the value of the itemId property. |
void |
setMerchantId(java.lang.String value)
Sets the value of the merchantId property. |
void |
setResponseGroup(java.util.List<java.lang.String> responseGroup)
Sets the value of the responseGroup property. |
void |
setReviewSort(java.lang.String value)
Sets the value of the reviewSort property. |
void |
setSimilarityType(java.lang.String value)
Sets the value of the similarityType property. |
protected java.lang.String |
toXMLFragment()
XML fragment representation of this object |
void |
unsetItemId()
|
void |
unsetResponseGroup()
|
SimilarityLookupRequest |
withCondition(Condition value)
Sets the value of the Condition property. |
SimilarityLookupRequest |
withDeliveryMethod(DeliveryMethod value)
Sets the value of the DeliveryMethod property. |
SimilarityLookupRequest |
withISPUPostalCode(java.lang.String value)
Sets the value of the ISPUPostalCode property. |
SimilarityLookupRequest |
withItemId(java.lang.String... values)
Sets the value of the ItemId property. |
SimilarityLookupRequest |
withMerchantId(java.lang.String value)
Sets the value of the MerchantId property. |
SimilarityLookupRequest |
withResponseGroup(java.lang.String... values)
Sets the value of the ResponseGroup property. |
SimilarityLookupRequest |
withReviewSort(java.lang.String value)
Sets the value of the ReviewSort property. |
SimilarityLookupRequest |
withSimilarityType(java.lang.String value)
Sets the value of the SimilarityType property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Condition condition
protected DeliveryMethod deliveryMethod
protected java.util.List<java.lang.String> itemId
protected java.lang.String ispuPostalCode
protected java.lang.String merchantId
protected java.util.List<java.lang.String> responseGroup
protected java.lang.String reviewSort
protected java.lang.String similarityType
| Constructor Detail |
|---|
public SimilarityLookupRequest()
| Method Detail |
|---|
public Condition getCondition()
Conditionpublic void setCondition(Condition value)
value - allowed object is
Conditionpublic boolean isSetCondition()
public DeliveryMethod getDeliveryMethod()
DeliveryMethodpublic void setDeliveryMethod(DeliveryMethod value)
value - allowed object is
DeliveryMethodpublic boolean isSetDeliveryMethod()
public java.util.List<java.lang.String> getItemId()
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 itemId property.
For example, to add a new item, do as follows:
getItemId().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetItemId()
public void unsetItemId()
public java.lang.String getISPUPostalCode()
Stringpublic void setISPUPostalCode(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetISPUPostalCode()
public java.lang.String getMerchantId()
Stringpublic void setMerchantId(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetMerchantId()
public java.util.List<java.lang.String> getResponseGroup()
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 responseGroup property.
For example, to add a new item, do as follows:
getResponseGroup().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetResponseGroup()
public void unsetResponseGroup()
public java.lang.String getReviewSort()
Stringpublic void setReviewSort(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetReviewSort()
public java.lang.String getSimilarityType()
Stringpublic void setSimilarityType(java.lang.String value)
value - allowed object is
Stringpublic boolean isSetSimilarityType()
public SimilarityLookupRequest withCondition(Condition value)
value -
public SimilarityLookupRequest withDeliveryMethod(DeliveryMethod value)
value -
public SimilarityLookupRequest withItemId(java.lang.String... values)
values -
public SimilarityLookupRequest withISPUPostalCode(java.lang.String value)
value -
public SimilarityLookupRequest withMerchantId(java.lang.String value)
value -
public SimilarityLookupRequest withResponseGroup(java.lang.String... values)
values -
public SimilarityLookupRequest withReviewSort(java.lang.String value)
value -
public SimilarityLookupRequest withSimilarityType(java.lang.String value)
value -
public void setItemId(java.util.List<java.lang.String> itemId)
itemId - allowed object is
Stringpublic void setResponseGroup(java.util.List<java.lang.String> responseGroup)
responseGroup - allowed object is
Stringprotected java.lang.String toXMLFragment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||