Package com.veeroute.lss.monitor.model
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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBlocksItem(TrackerBlockType blocksItem) addTranslationsItem(TrackerTranslation translationsItem) backgroundColor(String backgroundColor) blocks(Set<TrackerBlockType> blocks) cornerRounding(Integer cornerRounding) booleanstatic TrackerSettingsCreate an instance of TrackerSettings given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Page background color, in CSS format.List of blocks displayed on the tracking page.Rounding the corners of elements.Text color, in CSS format.Font weight of the headers, in CSS `font-weight` format - numeric (`700`) or keyword (`bold`).getLogo()Logo - image link or data URI.Primary theme color, in CSS format.Font weight of the body text, in CSS `font-weight` format - numeric (`400`) or keyword (`normal`).Translations.inthashCode()headerWeight(String headerWeight) primaryColor(String primaryColor) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetBackgroundColor(String backgroundColor) voidsetBlocks(Set<TrackerBlockType> blocks) voidsetCornerRounding(Integer cornerRounding) voidsetFontColor(String fontColor) voidsetHeaderWeight(String headerWeight) voidvoidsetPrimaryColor(String primaryColor) voidsetTextWeight(String textWeight) voidsetTranslations(Set<TrackerTranslation> translations) textWeight(String textWeight) toJson()Convert an instance of TrackerSettings to an JSON stringtoString()translations(Set<TrackerTranslation> translations) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_PRIMARY_COLOR
- See Also:
-
SERIALIZED_NAME_BACKGROUND_COLOR
- See Also:
-
SERIALIZED_NAME_FONT_COLOR
- See Also:
-
SERIALIZED_NAME_CORNER_ROUNDING
- See Also:
-
SERIALIZED_NAME_TEXT_WEIGHT
- See Also:
-
SERIALIZED_NAME_HEADER_WEIGHT
- See Also:
-
SERIALIZED_NAME_LOGO
- See Also:
-
SERIALIZED_NAME_BLOCKS
- See Also:
-
SERIALIZED_NAME_TRANSLATIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TrackerSettings
public TrackerSettings()
-
-
Method Details
-
-
getPrimaryColor
Primary theme color, in CSS format.- Returns:
- primaryColor
-
setPrimaryColor
-
backgroundColor
-
getBackgroundColor
Page background color, in CSS format.- Returns:
- backgroundColor
-
setBackgroundColor
-
fontColor
-
getFontColor
Text color, in CSS format.- Returns:
- fontColor
-
setFontColor
-
cornerRounding
-
getCornerRounding
Rounding the corners of elements. minimum: 0 maximum: 100- Returns:
- cornerRounding
-
setCornerRounding
-
textWeight
-
getTextWeight
Font weight of the body text, in CSS `font-weight` format - numeric (`400`) or keyword (`normal`).- Returns:
- textWeight
-
setTextWeight
-
headerWeight
-
getHeaderWeight
Font weight of the headers, in CSS `font-weight` format - numeric (`700`) or keyword (`bold`).- Returns:
- headerWeight
-
setHeaderWeight
-
logo
-
getLogo
Logo - image link or data URI.- Returns:
- logo
-
setLogo
-
blocks
-
addBlocksItem
-
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
-
translations
-
addTranslationsItem
-
getTranslations
Translations.- Returns:
- translations
-
setTranslations
-
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 TrackerSettings 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 TrackerSettings
-
fromJson
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
Convert an instance of TrackerSettings to an JSON string- Returns:
- JSON string
-