Class CapacityCost

java.lang.Object
com.veeroute.lss.monitor.model.CapacityCost

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:38.388455705+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class CapacityCost extends Object
Cost per capacity element.
  • Field Details

  • Constructor Details

    • CapacityCost

      public CapacityCost()
  • Method Details

    • mass

      public CapacityCost mass(@Nonnull Double mass)
    • getMass

      @Nonnull public Double getMass()
      Cost per kilogram, in conventional monetary units. minimum: 0 maximum: 1000000
      Returns:
      mass
    • setMass

      public void setMass(@Nonnull Double mass)
    • volume

      public CapacityCost volume(@Nonnull Double volume)
    • getVolume

      @Nonnull public Double getVolume()
      Cost per cubic meter, in conventional monetary units. minimum: 0 maximum: 1000000
      Returns:
      volume
    • setVolume

      public void setVolume(@Nonnull Double volume)
    • capacityA

      public CapacityCost capacityA(@Nonnull Double capacityA)
    • getCapacityA

      @Nonnull public Double getCapacityA()
      Cost per unit of additional parameter (A), in conventional monetary units. minimum: 0 maximum: 1000000
      Returns:
      capacityA
    • setCapacityA

      public void setCapacityA(@Nonnull Double capacityA)
    • capacityB

      public CapacityCost capacityB(@Nonnull Double capacityB)
    • getCapacityB

      @Nonnull public Double getCapacityB()
      Cost per unit of additional parameter (B), in conventional monetary units. minimum: 0 maximum: 1000000
      Returns:
      capacityB
    • setCapacityB

      public void setCapacityB(@Nonnull Double capacityB)
    • capacityC

      public CapacityCost capacityC(@Nonnull Double capacityC)
    • getCapacityC

      @Nonnull public Double getCapacityC()
      Cost per unit of additional parameter (C), in conventional monetary units. minimum: 0 maximum: 1000000
      Returns:
      capacityC
    • setCapacityC

      public void setCapacityC(@Nonnull Double capacityC)
    • putAdditionalProperty

      public CapacityCost putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the CapacityCost instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to CapacityCost
    • fromJson

      public static CapacityCost fromJson(String jsonString) throws IOException
      Create an instance of CapacityCost given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of CapacityCost
      Throws:
      IOException - if the JSON string is invalid with respect to CapacityCost
    • toJson

      public String toJson()
      Convert an instance of CapacityCost to an JSON string
      Returns:
      JSON string