Package com.veeroute.lss.monitor.model
Class Location
java.lang.Object
com.veeroute.lss.monitor.model.Location
@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 Location
extends Object
Location - unique geographical location of the object with accessibility parameters.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesItem(Attribute attributesItem) addTimetableItem(LocationTimetableElement timetableItem) arrivalDuration(String arrivalDuration) attributes(Set<Attribute> attributes) compatibilities(LocationCompatibilities compatibilities) departureDuration(String departureDuration) booleanstatic LocationCreate an instance of Location given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Full location address.Time duration according to `P1DT2H12M34.2S`.Attributes.Get compatibilitiesTime duration according to `P1DT2H12M34.2S`.Get geopointgetKey()Location key, unique identifier.getName()Name, information field.Location timetable - time windows of availability and capacity restrictions.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddress(String address) voidsetArrivalDuration(String arrivalDuration) voidsetAttributes(Set<Attribute> attributes) voidsetCompatibilities(LocationCompatibilities compatibilities) voidsetDepartureDuration(String departureDuration) voidsetGeopoint(Geopoint geopoint) voidvoidvoidsetTimetable(List<LocationTimetableElement> timetable) timetable(List<LocationTimetableElement> timetable) toJson()Convert an instance of Location 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_GEOPOINT
- See Also:
-
SERIALIZED_NAME_ARRIVAL_DURATION
- See Also:
-
SERIALIZED_NAME_DEPARTURE_DURATION
- See Also:
-
SERIALIZED_NAME_TIMETABLE
- See Also:
-
SERIALIZED_NAME_COMPATIBILITIES
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_ADDRESS
- See Also:
-
SERIALIZED_NAME_ATTRIBUTES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Location
public Location()
-
-
Method Details
-
key
-
getKey
Location key, unique identifier.- Returns:
- key
-
setKey
-
geopoint
-
getGeopoint
Get geopoint- Returns:
- geopoint
-
setGeopoint
-
arrivalDuration
-
getArrivalDuration
Time duration according to `P1DT2H12M34.2S`.- Returns:
- arrivalDuration
-
setArrivalDuration
-
departureDuration
-
getDepartureDuration
Time duration according to `P1DT2H12M34.2S`.- Returns:
- departureDuration
-
setDepartureDuration
-
timetable
-
addTimetableItem
-
getTimetable
Location timetable - time windows of availability and capacity restrictions. If the list is empty or not specified, the location works without restrictions.- Returns:
- timetable
-
setTimetable
-
compatibilities
-
getCompatibilities
Get compatibilities- Returns:
- compatibilities
-
setCompatibilities
-
name
-
getName
Name, information field.- Returns:
- name
-
setName
-
address
-
getAddress
Full location address.- Returns:
- address
-
setAddress
-
attributes
-
addAttributesItem
-
getAttributes
Attributes. Used to add service information.- Returns:
- attributes
-
setAttributes
-
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 Location 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 Location
-
fromJson
Create an instance of Location given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Location
- Throws:
IOException- if the JSON string is invalid with respect to Location
-
toJson
Convert an instance of Location to an JSON string- Returns:
- JSON string
-