Package com.veeroute.lss.monitor.model
Class Crew
java.lang.Object
com.veeroute.lss.monitor.model.Crew
@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 Crew
extends Object
Crew.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountUsername(String accountUsername) addDevicesItem(CrewDevice devicesItem) composition(CrewComposition composition) devices(List<CrewDevice> devices) editDate(OffsetDateTime editDate) booleanstatic CrewCreate an instance of Crew given an JSON stringUnique username for login.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get compositionList of device.Last edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.getKey()A unique (within a single company) identifier for a crew.Unique company key.Unique username for login.Get statusinthashCode()ownerCompanyKey(String ownerCompanyKey) ownerUsername(String ownerUsername) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountUsername(String accountUsername) voidsetComposition(CrewComposition composition) voidsetDevices(List<CrewDevice> devices) voidsetEditDate(OffsetDateTime editDate) voidvoidsetOwnerCompanyKey(String ownerCompanyKey) voidsetOwnerUsername(String ownerUsername) voidsetStatus(CrewStatus status) status(CrewStatus status) toJson()Convert an instance of Crew to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_ACCOUNT_USERNAME
- See Also:
-
SERIALIZED_NAME_OWNER_COMPANY_KEY
- See Also:
-
SERIALIZED_NAME_OWNER_USERNAME
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_COMPOSITION
- See Also:
-
SERIALIZED_NAME_DEVICES
- See Also:
-
SERIALIZED_NAME_EDIT_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Crew
public Crew()
-
-
Method Details
-
key
-
getKey
A unique (within a single company) identifier for a crew. It is assigned upon creation and cannot be changed.- Returns:
- key
-
setKey
-
accountUsername
-
getAccountUsername
Unique username for login.- Returns:
- accountUsername
-
setAccountUsername
-
ownerCompanyKey
-
getOwnerCompanyKey
Unique company key.- Returns:
- ownerCompanyKey
-
setOwnerCompanyKey
-
ownerUsername
-
getOwnerUsername
Unique username for login.- Returns:
- ownerUsername
-
setOwnerUsername
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
composition
-
getComposition
Get composition- Returns:
- composition
-
setComposition
-
devices
-
addDevicesItem
-
getDevices
List of device.- Returns:
- devices
-
setDevices
-
editDate
-
getEditDate
Last edit date and time in the [ISO 8601](https://tools.ietf.org/html/rfc3339#section-5.6) format.- Returns:
- editDate
-
setEditDate
-
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 Crew 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 Crew
-
fromJson
Create an instance of Crew given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Crew
- Throws:
IOException- if the JSON string is invalid with respect to Crew
-
toJson
Convert an instance of Crew to an JSON string- Returns:
- JSON string
-