Class CapacityLimit

java.lang.Object
com.veeroute.lss.universal.model.CapacityLimit

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:48:07.156941043+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class CapacityLimit extends Object
Capacity limits.
  • Field Details

  • Constructor Details

    • CapacityLimit

      public CapacityLimit()
  • Method Details

    • mass

      public CapacityLimit mass(@Nonnull Double mass)
    • getMass

      @Nonnull public Double getMass()
      Weight in kilograms. minimum: 0 maximum: 1000000000
      Returns:
      mass
    • setMass

      public void setMass(@Nonnull Double mass)
    • volume

      public CapacityLimit volume(@Nonnull Double volume)
    • getVolume

      @Nonnull public Double getVolume()
      Volume in cubic meters. minimum: 0 maximum: 1000000000
      Returns:
      volume
    • setVolume

      public void setVolume(@Nonnull Double volume)
    • capacityA

      public CapacityLimit capacityA(@Nonnull Double capacityA)
    • getCapacityA

      @Nonnull public Double getCapacityA()
      Additional parameter (A) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000
      Returns:
      capacityA
    • setCapacityA

      public void setCapacityA(@Nonnull Double capacityA)
    • capacityB

      public CapacityLimit capacityB(@Nonnull Double capacityB)
    • getCapacityB

      @Nonnull public Double getCapacityB()
      Additional parameter (B) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000
      Returns:
      capacityB
    • setCapacityB

      public void setCapacityB(@Nonnull Double capacityB)
    • capacityC

      public CapacityLimit capacityC(@Nonnull Double capacityC)
    • getCapacityC

      @Nonnull public Double getCapacityC()
      Additional parameter (C) for measuring cargoes and boxes in alternative units. minimum: 0 maximum: 1000000000
      Returns:
      capacityC
    • setCapacityC

      public void setCapacityC(@Nonnull Double capacityC)
    • putAdditionalProperty

      public CapacityLimit 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 CapacityLimit 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 CapacityLimit
    • fromJson

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

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