Class TrackerSettings

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

@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 TrackerSettings extends Object
Order tracking page appearance settings.
  • Field Details

  • Constructor Details

    • TrackerSettings

      public TrackerSettings()
  • Method Details

    • primaryColor

      public TrackerSettings primaryColor(@Nullable String primaryColor)
    • getPrimaryColor

      @Nullable public String getPrimaryColor()
      Primary theme color, in CSS format.
      Returns:
      primaryColor
    • setPrimaryColor

      public void setPrimaryColor(@Nullable String primaryColor)
    • backgroundColor

      public TrackerSettings backgroundColor(@Nullable String backgroundColor)
    • getBackgroundColor

      @Nullable public String getBackgroundColor()
      Page background color, in CSS format.
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(@Nullable String backgroundColor)
    • fontColor

      public TrackerSettings fontColor(@Nullable String fontColor)
    • getFontColor

      @Nullable public String getFontColor()
      Text color, in CSS format.
      Returns:
      fontColor
    • setFontColor

      public void setFontColor(@Nullable String fontColor)
    • cornerRounding

      public TrackerSettings cornerRounding(@Nullable Integer cornerRounding)
    • getCornerRounding

      @Nullable public Integer getCornerRounding()
      Rounding the corners of elements. minimum: 0 maximum: 100
      Returns:
      cornerRounding
    • setCornerRounding

      public void setCornerRounding(@Nullable Integer cornerRounding)
    • textWeight

      public TrackerSettings textWeight(@Nullable String textWeight)
    • getTextWeight

      @Nullable public String getTextWeight()
      Font weight of the body text, in CSS `font-weight` format - numeric (`400`) or keyword (`normal`).
      Returns:
      textWeight
    • setTextWeight

      public void setTextWeight(@Nullable String textWeight)
    • headerWeight

      public TrackerSettings headerWeight(@Nullable String headerWeight)
    • getHeaderWeight

      @Nullable public String getHeaderWeight()
      Font weight of the headers, in CSS `font-weight` format - numeric (`700`) or keyword (`bold`).
      Returns:
      headerWeight
    • setHeaderWeight

      public void setHeaderWeight(@Nullable String headerWeight)
    • logo

      public TrackerSettings logo(@Nullable String logo)
    • getLogo

      @Nullable public String getLogo()
      Logo - image link or data URI.
      Returns:
      logo
    • setLogo

      public void setLogo(@Nullable String logo)
    • blocks

      public TrackerSettings blocks(@Nullable Set<TrackerBlockType> blocks)
    • addBlocksItem

      public TrackerSettings addBlocksItem(TrackerBlockType blocksItem)
    • getBlocks

      @Nullable public Set<TrackerBlockType> getBlocks()
      List of blocks displayed on the tracking page. If the list is not specified, only the order name and its status are displayed.
      Returns:
      blocks
    • setBlocks

      public void setBlocks(@Nullable Set<TrackerBlockType> blocks)
    • translations

      public TrackerSettings translations(@Nullable Set<TrackerTranslation> translations)
    • addTranslationsItem

      public TrackerSettings addTranslationsItem(TrackerTranslation translationsItem)
    • getTranslations

      @Nullable public Set<TrackerTranslation> getTranslations()
      Translations.
      Returns:
      translations
    • setTranslations

      public void setTranslations(@Nullable Set<TrackerTranslation> translations)
    • putAdditionalProperty

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

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

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