Class ManufacturingOperation

java.lang.Object
com.veeroute.lss.agro.model.ManufacturingOperation

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:31.676214391+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class ManufacturingOperation extends Object
Grain processing operation.
  • Field Details

  • Constructor Details

    • ManufacturingOperation

      public ManufacturingOperation()
  • Method Details

    • type

      public ManufacturingOperation type(@Nonnull OperationType type)
    • getType

      @Nonnull public OperationType getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nonnull OperationType type)
    • cropKey

      public ManufacturingOperation cropKey(@Nonnull String cropKey)
    • getCropKey

      @Nonnull public String getCropKey()
      Crop key.
      Returns:
      cropKey
    • setCropKey

      public void setCropKey(@Nonnull String cropKey)
    • source

      public ManufacturingOperation source(@Nonnull OperationTarget source)
    • getSource

      @Nonnull public OperationTarget getSource()
      Source.
      Returns:
      source
    • setSource

      public void setSource(@Nonnull OperationTarget source)
    • destination

      public ManufacturingOperation destination(@Nonnull OperationTarget destination)
    • getDestination

      @Nonnull public OperationTarget getDestination()
      Source.
      Returns:
      destination
    • setDestination

      public void setDestination(@Nonnull OperationTarget destination)
    • measurements

      public ManufacturingOperation measurements(@Nonnull OperationMeasurements measurements)
    • getMeasurements

      @Nonnull public OperationMeasurements getMeasurements()
      Get measurements
      Returns:
      measurements
    • setMeasurements

      public void setMeasurements(@Nonnull OperationMeasurements measurements)
    • putAdditionalProperty

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

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

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