更新Relationship实体

This commit is contained in:
sanmao 2021-01-28 18:49:01 +08:00
parent 28a708ce29
commit a620ca071f
1 changed files with 139 additions and 1 deletions

View File

@ -2,12 +2,13 @@
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的 // 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.2.8-b130911.1802 生成的
// 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // 请访问 <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// 在重新编译源模式时, 对此文件的所有修改都将丢失。 // 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2021.01.19 时间 06:09:39 PM CST // 生成时间: 2021.01.28 时间 06:41:59 PM CST
// //
package com.amazon.SellingPartnerAPI.model.feeds; package com.amazon.SellingPartnerAPI.model.feeds;
import java.math.BigInteger;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessType;
@ -37,6 +38,17 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence> * &lt;sequence>
* &lt;element ref="{}SKU"/> * &lt;element ref="{}SKU"/>
* &lt;element name="SortHeuristic" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="ComponentNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="ChildDetailPageDisplay" minOccurs="0">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="independently_displayable"/>
* &lt;enumeration value="display_only_on_parent"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Type"> * &lt;element name="Type">
* &lt;simpleType> * &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
@ -53,6 +65,8 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
* &lt;enumeration value="Similar"/> * &lt;enumeration value="Similar"/>
* &lt;enumeration value="Episode"/> * &lt;enumeration value="Episode"/>
* &lt;enumeration value="Season"/> * &lt;enumeration value="Season"/>
* &lt;enumeration value="MerchantTitleAuthority"/>
* &lt;enumeration value="Component"/>
* &lt;/restriction> * &lt;/restriction>
* &lt;/simpleType> * &lt;/simpleType>
* &lt;/element> * &lt;/element>
@ -149,6 +163,17 @@ public class Relationship {
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence> * &lt;sequence>
* &lt;element ref="{}SKU"/> * &lt;element ref="{}SKU"/>
* &lt;element name="SortHeuristic" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="ComponentNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* &lt;element name="ChildDetailPageDisplay" minOccurs="0">
* &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="independently_displayable"/>
* &lt;enumeration value="display_only_on_parent"/>
* &lt;/restriction>
* &lt;/simpleType>
* &lt;/element>
* &lt;element name="Type"> * &lt;element name="Type">
* &lt;simpleType> * &lt;simpleType>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"> * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
@ -165,6 +190,8 @@ public class Relationship {
* &lt;enumeration value="Similar"/> * &lt;enumeration value="Similar"/>
* &lt;enumeration value="Episode"/> * &lt;enumeration value="Episode"/>
* &lt;enumeration value="Season"/> * &lt;enumeration value="Season"/>
* &lt;enumeration value="MerchantTitleAuthority"/>
* &lt;enumeration value="Component"/>
* &lt;/restriction> * &lt;/restriction>
* &lt;/simpleType> * &lt;/simpleType>
* &lt;/element> * &lt;/element>
@ -179,6 +206,10 @@ public class Relationship {
@XmlAccessorType(XmlAccessType.FIELD) @XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { @XmlType(name = "", propOrder = {
"sku", "sku",
"sortHeuristic",
"quantity",
"componentNumber",
"childDetailPageDisplay",
"type" "type"
}) })
public static class Relation { public static class Relation {
@ -187,6 +218,17 @@ public class Relationship {
@XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString") @XmlSchemaType(name = "normalizedString")
protected String sku; protected String sku;
@XmlElement(name = "SortHeuristic")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger sortHeuristic;
@XmlElement(name = "Quantity")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger quantity;
@XmlElement(name = "ComponentNumber")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger componentNumber;
@XmlElement(name = "ChildDetailPageDisplay")
protected String childDetailPageDisplay;
@XmlElement(name = "Type", required = true) @XmlElement(name = "Type", required = true)
protected String type; protected String type;
@ -214,6 +256,102 @@ public class Relationship {
this.sku = value; this.sku = value;
} }
/**
* 获取sortHeuristic属性的值
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSortHeuristic() {
return sortHeuristic;
}
/**
* 设置sortHeuristic属性的值
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSortHeuristic(BigInteger value) {
this.sortHeuristic = value;
}
/**
* 获取quantity属性的值
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getQuantity() {
return quantity;
}
/**
* 设置quantity属性的值
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setQuantity(BigInteger value) {
this.quantity = value;
}
/**
* 获取componentNumber属性的值
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getComponentNumber() {
return componentNumber;
}
/**
* 设置componentNumber属性的值
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setComponentNumber(BigInteger value) {
this.componentNumber = value;
}
/**
* 获取childDetailPageDisplay属性的值
*
* @return
* possible object is
* {@link String }
*
*/
public String getChildDetailPageDisplay() {
return childDetailPageDisplay;
}
/**
* 设置childDetailPageDisplay属性的值
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setChildDetailPageDisplay(String value) {
this.childDetailPageDisplay = value;
}
/** /**
* 获取type属性的值 * 获取type属性的值
* *