public class QuantityRatio extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QuantityRatio.Builder
Class to build instances of
QuantityRatio. |
| Modifier | Constructor and Description |
|---|---|
|
QuantityRatio(Integer quantity,
Integer quantityDenominator)
Initialization constructor.
|
protected |
QuantityRatio(io.apimatic.core.types.OptionalNullable<Integer> quantity,
io.apimatic.core.types.OptionalNullable<Integer> quantityDenominator)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getQuantity()
Getter for Quantity.
|
Integer |
getQuantityDenominator()
Getter for QuantityDenominator.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetQuantity()
Internal Getter for Quantity.
|
protected io.apimatic.core.types.OptionalNullable<Integer> |
internalGetQuantityDenominator()
Internal Getter for QuantityDenominator.
|
QuantityRatio.Builder |
toBuilder()
Builds a new
QuantityRatio.Builder object. |
String |
toString()
Converts this QuantityRatio into string format.
|
public QuantityRatio(Integer quantity, Integer quantityDenominator)
quantity - Integer value for quantity.quantityDenominator - Integer value for quantityDenominator.protected QuantityRatio(io.apimatic.core.types.OptionalNullable<Integer> quantity, io.apimatic.core.types.OptionalNullable<Integer> quantityDenominator)
quantity - Integer value for quantity.quantityDenominator - Integer value for quantityDenominator.protected io.apimatic.core.types.OptionalNullable<Integer> internalGetQuantity()
public Integer getQuantity()
protected io.apimatic.core.types.OptionalNullable<Integer> internalGetQuantityDenominator()
public Integer getQuantityDenominator()
public String toString()
public QuantityRatio.Builder toBuilder()
QuantityRatio.Builder object.
Creates the instance with the state of the current model.QuantityRatio.Builder objectCopyright © 2024. All rights reserved.