Package com.veeroute.lss.monitor.model
Class CrewDevice
java.lang.Object
com.veeroute.lss.monitor.model.CrewDevice
@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 CrewDevice
extends Object
Information about the mobile device.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappVersion(String appVersion) booleanstatic CrewDeviceCreate an instance of CrewDevice given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Application version.getKey()Essence key, unique identifier.Mobile device manufacturer.getModel()Mobile device model.Operation system version.inthashCode()manufacturer(String manufacturer) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAppVersion(String appVersion) voidvoidsetManufacturer(String manufacturer) voidvoidsetOsVersion(String osVersion) toJson()Convert an instance of CrewDevice 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_APP_VERSION
- See Also:
-
SERIALIZED_NAME_OS_VERSION
- See Also:
-
SERIALIZED_NAME_MANUFACTURER
- See Also:
-
SERIALIZED_NAME_MODEL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CrewDevice
public CrewDevice()
-
-
Method Details
-
key
-
getKey
Essence key, unique identifier.- Returns:
- key
-
setKey
-
appVersion
-
getAppVersion
Application version.- Returns:
- appVersion
-
setAppVersion
-
osVersion
-
getOsVersion
Operation system version.- Returns:
- osVersion
-
setOsVersion
-
manufacturer
-
getManufacturer
Mobile device manufacturer.- Returns:
- manufacturer
-
setManufacturer
-
model
-
getModel
Mobile device model.- Returns:
- model
-
setModel
-
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 CrewDevice 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 CrewDevice
-
fromJson
Create an instance of CrewDevice given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CrewDevice
- Throws:
IOException- if the JSON string is invalid with respect to CrewDevice
-
toJson
Convert an instance of CrewDevice to an JSON string- Returns:
- JSON string
-