Class Cost
- java.lang.Object
-
- io.datahubproject.openapi.generated.Cost
-
- All Implemented Interfaces:
OneOfEnvelopedAspectValue,OneOfGenericAspectValue,OneOfMLModelSnapshotAspectsItems
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2022-10-18T12:49:45.903581Z[Etc/UTC]") public class Cost extends java.lang.Object implements OneOfEnvelopedAspectValue, OneOfGenericAspectValue, OneOfMLModelSnapshotAspectsItemsCost
-
-
Constructor Summary
Constructors Constructor Description Cost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Costcost(CostCost cost)CostcostType(CostType costType)booleanequals(java.lang.Object o)@NotNull java.lang.Stringget__type()Name of this subclass in SimpleClassName format@NotNull @Valid CostCostgetCost()Get cost@NotNull @Valid CostTypegetCostType()Get costTypeinthashCode()voidsetCost(CostCost cost)voidsetCostType(CostType costType)java.lang.StringtoString()
-
-
-
Method Detail
-
get__type
@NotNull public @NotNull java.lang.String get__type()
Name of this subclass in SimpleClassName format- Returns:
- __type
-
getCostType
@NotNull @Valid public @NotNull @Valid CostType getCostType()
Get costType- Returns:
- costType
-
setCostType
public void setCostType(CostType costType)
-
getCost
@NotNull @Valid public @NotNull @Valid CostCost getCost()
Get cost- Returns:
- cost
-
setCost
public void setCost(CostCost cost)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-