Package com.veeroute.lss.monitor.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addTransportBoxesItem(Box transportBoxesItem) attributes(Set<Attribute> attributes) booleanstatic CrewCompositionCreate an instance of CrewComposition given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes.Name, information field.Get performerCompatibilitiesGet performerLimitsGet personNamegetPhone()User phone.A list of transport boxes that can accommodate the cargo.Get transportCompatibilitiesGet transportLimitsGet transportTypeName, information field.inthashCode()operatorName(String operatorName) performerCompatibilities(PerformerCompatibilities performerCompatibilities) performerLimits(PerformerLimits performerLimits) personName(PersonName personName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAttributes(Set<Attribute> attributes) voidsetOperatorName(String operatorName) voidsetPerformerCompatibilities(PerformerCompatibilities performerCompatibilities) voidsetPerformerLimits(PerformerLimits performerLimits) voidsetPersonName(PersonName personName) voidvoidsetTransportBoxes(List<Box> transportBoxes) voidsetTransportCompatibilities(TransportCompatibilities transportCompatibilities) voidsetTransportLimits(TransportLimits transportLimits) voidsetTransportType(TransportType transportType) voidsetZoneName(String zoneName) toJson()Convert an instance of CrewComposition to an JSON stringtoString()transportBoxes(List<Box> transportBoxes) transportCompatibilities(TransportCompatibilities transportCompatibilities) transportLimits(TransportLimits transportLimits) transportType(TransportType transportType) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PERSON_NAME
- See Also:
-
SERIALIZED_NAME_PHONE
- See Also:
-
SERIALIZED_NAME_ZONE_NAME
- See Also:
-
SERIALIZED_NAME_OPERATOR_NAME
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
SERIALIZED_NAME_PERFORMER_COMPATIBILITIES
- See Also:
-
SERIALIZED_NAME_PERFORMER_LIMITS
- See Also:
-
SERIALIZED_NAME_TRANSPORT_TYPE
- See Also:
-
SERIALIZED_NAME_TRANSPORT_BOXES
- See Also:
-
SERIALIZED_NAME_TRANSPORT_COMPATIBILITIES
- See Also:
-
SERIALIZED_NAME_TRANSPORT_LIMITS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CrewComposition
public CrewComposition()
-
-
Method Details
-
personName
-
getPersonName
Get personName- Returns:
- personName
-
setPersonName
-
phone
-
getPhone
User phone.- Returns:
- phone
-
setPhone
-
zoneName
-
getZoneName
Name, information field.- Returns:
- zoneName
-
setZoneName
-
operatorName
-
getOperatorName
Name, information field.- Returns:
- operatorName
-
setOperatorName
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
performerCompatibilities
public CrewComposition performerCompatibilities(@Nullable PerformerCompatibilities performerCompatibilities) -
getPerformerCompatibilities
Get performerCompatibilities- Returns:
- performerCompatibilities
-
setPerformerCompatibilities
public void setPerformerCompatibilities(@Nullable PerformerCompatibilities performerCompatibilities) -
performerLimits
-
getPerformerLimits
Get performerLimits- Returns:
- performerLimits
-
setPerformerLimits
-
transportType
-
getTransportType
Get transportType- Returns:
- transportType
-
setTransportType
-
transportBoxes
-
addTransportBoxesItem
-
getTransportBoxes
A list of transport boxes that can accommodate the cargo.- Returns:
- transportBoxes
-
setTransportBoxes
-
transportCompatibilities
public CrewComposition transportCompatibilities(@Nullable TransportCompatibilities transportCompatibilities) -
getTransportCompatibilities
Get transportCompatibilities- Returns:
- transportCompatibilities
-
setTransportCompatibilities
public void setTransportCompatibilities(@Nullable TransportCompatibilities transportCompatibilities) -
transportLimits
-
getTransportLimits
Get transportLimits- Returns:
- transportLimits
-
setTransportLimits
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the CrewComposition instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of CrewComposition to an JSON string- Returns:
- JSON string
-