public class CustomHeaders extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
CustomHeaders() |
| Modifier and Type | Method and Description |
|---|---|
CustomHeaders |
clone() |
boolean |
equals(Object obj) |
List<OriginCustomHeader> |
getItems()
A complex type that contains the custom headers for this Origin.
|
Integer |
getQuantity()
The number of custom headers for this origin.
|
int |
hashCode() |
void |
setItems(Collection<OriginCustomHeader> items)
A complex type that contains the custom headers for this Origin.
|
void |
setQuantity(Integer quantity)
The number of custom headers for this origin.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CustomHeaders |
withItems(Collection<OriginCustomHeader> items)
A complex type that contains the custom headers for this Origin.
|
CustomHeaders |
withItems(OriginCustomHeader... items)
A complex type that contains the custom headers for this Origin.
|
CustomHeaders |
withQuantity(Integer quantity)
The number of custom headers for this origin.
|
public void setQuantity(Integer quantity)
quantity - The number of custom headers for this origin.public Integer getQuantity()
public CustomHeaders withQuantity(Integer quantity)
quantity - The number of custom headers for this origin.public List<OriginCustomHeader> getItems()
public void setItems(Collection<OriginCustomHeader> items)
items - A complex type that contains the custom headers for this Origin.public CustomHeaders withItems(OriginCustomHeader... items)
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - A complex type that contains the custom headers for this Origin.public CustomHeaders withItems(Collection<OriginCustomHeader> items)
items - A complex type that contains the custom headers for this Origin.public String toString()
toString in class ObjectObject.toString()public CustomHeaders clone()
Copyright © 2016. All rights reserved.