Class DateStatistics

java.lang.Object
com.veeroute.lss.account.model.DateStatistics

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-11-23T13:47:28.176551651+03:00[Europe/Moscow]", comments="Generator version: 7.17.0") public class DateStatistics extends Object
Statistics for the specific date.
  • Field Details

  • Constructor Details

    • DateStatistics

      public DateStatistics()
  • Method Details

    • date

      public DateStatistics date(@Nonnull LocalDate date)
    • getDate

      @Nonnull public LocalDate getDate()
      Date in the YYYY-MM-DD format.
      Returns:
      date
    • setDate

      public void setDate(@Nonnull LocalDate date)
    • services

      public DateStatistics services(@Nonnull List<ServiceStatistics> services)
    • addServicesItem

      public DateStatistics addServicesItem(ServiceStatistics servicesItem)
    • getServices

      @Nonnull public List<ServiceStatistics> getServices()
      Statistics list for each service on the specified date.
      Returns:
      services
    • setServices

      public void setServices(@Nonnull List<ServiceStatistics> services)
    • putAdditionalProperty

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

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

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