Class CrewComposition

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

@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 CrewComposition extends Object
Detailed description of the crew composition — used by the automatic process of assigning crews to trips.
  • Field Details

  • Constructor Details

    • CrewComposition

      public CrewComposition()
  • Method Details

    • personName

      public CrewComposition personName(@Nonnull PersonName personName)
    • getPersonName

      @Nonnull public PersonName getPersonName()
      Get personName
      Returns:
      personName
    • setPersonName

      public void setPersonName(@Nonnull PersonName personName)
    • phone

      public CrewComposition phone(@Nullable String phone)
    • getPhone

      @Nullable public String getPhone()
      User phone.
      Returns:
      phone
    • setPhone

      public void setPhone(@Nullable String phone)
    • zoneName

      public CrewComposition zoneName(@Nullable String zoneName)
    • getZoneName

      @Nullable public String getZoneName()
      Name, information field.
      Returns:
      zoneName
    • setZoneName

      public void setZoneName(@Nullable String zoneName)
    • operatorName

      public CrewComposition operatorName(@Nullable String operatorName)
    • getOperatorName

      @Nullable public String getOperatorName()
      Name, information field.
      Returns:
      operatorName
    • setOperatorName

      public void setOperatorName(@Nullable String operatorName)
    • attributes

      public CrewComposition attributes(@Nullable Set<Attribute> attributes)
    • addAttributesItem

      public CrewComposition addAttributesItem(Attribute attributesItem)
    • getAttributes

      @Nullable public Set<Attribute> getAttributes()
      Attributes. Used to add service information.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(@Nullable Set<Attribute> attributes)
    • performerCompatibilities

      public CrewComposition performerCompatibilities(@Nullable PerformerCompatibilities performerCompatibilities)
    • getPerformerCompatibilities

      @Nullable public PerformerCompatibilities getPerformerCompatibilities()
      Get performerCompatibilities
      Returns:
      performerCompatibilities
    • setPerformerCompatibilities

      public void setPerformerCompatibilities(@Nullable PerformerCompatibilities performerCompatibilities)
    • performerLimits

      public CrewComposition performerLimits(@Nullable PerformerLimits performerLimits)
    • getPerformerLimits

      @Nullable public PerformerLimits getPerformerLimits()
      Get performerLimits
      Returns:
      performerLimits
    • setPerformerLimits

      public void setPerformerLimits(@Nullable PerformerLimits performerLimits)
    • transportType

      public CrewComposition transportType(@Nullable TransportType transportType)
    • getTransportType

      @Nullable public TransportType getTransportType()
      Get transportType
      Returns:
      transportType
    • setTransportType

      public void setTransportType(@Nullable TransportType transportType)
    • transportBoxes

      public CrewComposition transportBoxes(@Nullable List<Box> transportBoxes)
    • addTransportBoxesItem

      public CrewComposition addTransportBoxesItem(Box transportBoxesItem)
    • getTransportBoxes

      @Nullable public List<Box> getTransportBoxes()
      A list of transport boxes that can accommodate the cargo.
      Returns:
      transportBoxes
    • setTransportBoxes

      public void setTransportBoxes(@Nullable List<Box> transportBoxes)
    • transportCompatibilities

      public CrewComposition transportCompatibilities(@Nullable TransportCompatibilities transportCompatibilities)
    • getTransportCompatibilities

      @Nullable public TransportCompatibilities getTransportCompatibilities()
      Get transportCompatibilities
      Returns:
      transportCompatibilities
    • setTransportCompatibilities

      public void setTransportCompatibilities(@Nullable TransportCompatibilities transportCompatibilities)
    • transportLimits

      public CrewComposition transportLimits(@Nullable TransportLimits transportLimits)
    • getTransportLimits

      @Nullable public TransportLimits getTransportLimits()
      Get transportLimits
      Returns:
      transportLimits
    • setTransportLimits

      public void setTransportLimits(@Nullable TransportLimits transportLimits)
    • putAdditionalProperty

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

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

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