Class SpecialistWorkflowSettings

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

@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 SpecialistWorkflowSettings extends Object
Specialist application workflow settings - data reload and sending periods.
  • Field Details

    • SERIALIZED_NAME_FACTS_SEND_PERIOD_SECONDS

      public static final String SERIALIZED_NAME_FACTS_SEND_PERIOD_SECONDS
      See Also:
    • SERIALIZED_NAME_FACTS_SEND_LIMIT

      public static final String SERIALIZED_NAME_FACTS_SEND_LIMIT
      See Also:
    • SERIALIZED_NAME_FACTS_TTL_SECONDS

      public static final String SERIALIZED_NAME_FACTS_TTL_SECONDS
      See Also:
    • SERIALIZED_NAME_TRIPS_RELOAD_PERIOD_SECONDS

      public static final String SERIALIZED_NAME_TRIPS_RELOAD_PERIOD_SECONDS
      See Also:
    • SERIALIZED_NAME_SETTINGS_RELOAD_PERIOD_SECONDS

      public static final String SERIALIZED_NAME_SETTINGS_RELOAD_PERIOD_SECONDS
      See Also:
    • SERIALIZED_NAME_GEOLOCATION_INTERVAL_SECONDS

      public static final String SERIALIZED_NAME_GEOLOCATION_INTERVAL_SECONDS
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • SpecialistWorkflowSettings

      public SpecialistWorkflowSettings()
  • Method Details

    • factsSendPeriodSeconds

      public SpecialistWorkflowSettings factsSendPeriodSeconds(@Nullable Integer factsSendPeriodSeconds)
    • getFactsSendPeriodSeconds

      @Nullable public Integer getFactsSendPeriodSeconds()
      Period for sending facts to the server, in seconds. minimum: 10 maximum: 3600
      Returns:
      factsSendPeriodSeconds
    • setFactsSendPeriodSeconds

      public void setFactsSendPeriodSeconds(@Nullable Integer factsSendPeriodSeconds)
    • factsSendLimit

      public SpecialistWorkflowSettings factsSendLimit(@Nullable Integer factsSendLimit)
    • getFactsSendLimit

      @Nullable public Integer getFactsSendLimit()
      Maximum number of facts sent in one batch per `facts_send_period_seconds`. minimum: 1 maximum: 1000
      Returns:
      factsSendLimit
    • setFactsSendLimit

      public void setFactsSendLimit(@Nullable Integer factsSendLimit)
    • factsTtlSeconds

      public SpecialistWorkflowSettings factsTtlSeconds(@Nullable Integer factsTtlSeconds)
    • getFactsTtlSeconds

      @Nullable public Integer getFactsTtlSeconds()
      Lifetime of unsent facts on the device, in seconds. minimum: 60 maximum: 2592000
      Returns:
      factsTtlSeconds
    • setFactsTtlSeconds

      public void setFactsTtlSeconds(@Nullable Integer factsTtlSeconds)
    • tripsReloadPeriodSeconds

      public SpecialistWorkflowSettings tripsReloadPeriodSeconds(@Nullable Integer tripsReloadPeriodSeconds)
    • getTripsReloadPeriodSeconds

      @Nullable public Integer getTripsReloadPeriodSeconds()
      Period for automatic reloading of trip data (manual reload is also available), in seconds. minimum: 60 maximum: 3600
      Returns:
      tripsReloadPeriodSeconds
    • setTripsReloadPeriodSeconds

      public void setTripsReloadPeriodSeconds(@Nullable Integer tripsReloadPeriodSeconds)
    • settingsReloadPeriodSeconds

      public SpecialistWorkflowSettings settingsReloadPeriodSeconds(@Nullable Integer settingsReloadPeriodSeconds)
    • getSettingsReloadPeriodSeconds

      @Nullable public Integer getSettingsReloadPeriodSeconds()
      Period for reloading the application settings, in seconds. minimum: 60 maximum: 86400
      Returns:
      settingsReloadPeriodSeconds
    • setSettingsReloadPeriodSeconds

      public void setSettingsReloadPeriodSeconds(@Nullable Integer settingsReloadPeriodSeconds)
    • geolocationIntervalSeconds

      public SpecialistWorkflowSettings geolocationIntervalSeconds(@Nullable Integer geolocationIntervalSeconds)
    • getGeolocationIntervalSeconds

      @Nullable public Integer getGeolocationIntervalSeconds()
      Geolocation collection interval, in seconds. Applied when geolocation collection starts and remains in effect until it is restarted. minimum: 10 maximum: 600
      Returns:
      geolocationIntervalSeconds
    • setGeolocationIntervalSeconds

      public void setGeolocationIntervalSeconds(@Nullable Integer geolocationIntervalSeconds)
    • putAdditionalProperty

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

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

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