public class Quantity extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Quantity.Deserializer |
static class |
Quantity.Serializer |
Constructor and Description |
---|
Quantity()
No args constructor for use in serialization
|
Quantity(String amount) |
Quantity(String amount,
String format) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
String |
getAmount() |
String |
getFormat() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setAmount(String amount) |
void |
setFormat(String format) |
public Quantity()
public Quantity(String amount)
Format
- Amount
- Copyright © 2011–2017 Red Hat. All rights reserved.