@Validated
@Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
date="2022-09-21T05:34:26.783Z[Etc/UTC]")
public class Cost
extends java.lang.Object
implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfMLModelSnapshotAspectsItems
| Constructor and Description |
|---|
Cost() |
| Modifier and Type | Method and Description |
|---|---|
Cost |
cost(CostCost cost) |
Cost |
costType(CostType costType) |
boolean |
equals(java.lang.Object o) |
@NotNull java.lang.String |
get__type()
Name of this subclass in SimpleClassName format
|
@NotNull @Valid CostCost |
getCost()
Get cost
|
@NotNull @Valid CostType |
getCostType()
Get costType
|
int |
hashCode() |
void |
setCost(CostCost cost) |
void |
setCostType(CostType costType) |
java.lang.String |
toString() |
@NotNull public @NotNull java.lang.String get__type()
@NotNull @Valid public @NotNull @Valid CostType getCostType()
public void setCostType(CostType costType)
@NotNull @Valid public @NotNull @Valid CostCost getCost()
public void setCost(CostCost cost)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object