All Downloads are FREE. Search and download functionalities are using the official Maven repository.

travel.wink.sdk.analytics.model.ChartCategoryAxisNonAuthenticatedEntity Maven / Gradle / Ivy

/*
 * Wink API
 * ## APIs Not every integrator needs every APIs. For that reason, we have separated APIs into context.  - [Affiliate](/affiliate): All APIs related to selling travel inventory as an affiliate. - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics. - [Booking](/booking): All APIs related to creating platform bookings. - [Channel Manager](/channel-manager): All APIs related to channel managers who want to integrate with our platform. - [Extranet](/extranet): All APIs related to managing travel inventory and suppliers. - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API.. - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags. - [Reference](/reference): All APIs related to retrieving platform-supported taxonomies. - [TripPay](/payment): All APIs related to TripPay account management, booking, mapping and integration features.  ## SDKs We are actively working on supporting the most used languages out there. If you don't see your language here, reach out to us with a request to officially add your language. In the meantime, if you want to roll your own SDK, you can do so by downloading the OpenAPI spec and using one of the many available OpenAPI generators available: [https://openapi-generator.tech/docs/generators](https://openapi-generator.tech/docs/generators).  - Java SDK [https://github.com/wink-travel/wink-sdk-java](https://github.com/wink-travel/wink-sdk-java)  ## Usage These features are made available to you via a [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer). This API is language agnostic.  ## Versioning We chose to version our endpoints in a way that we hope affects your integration with us the least. You request the version of our API you wish to work with via the `Wink-Version` header. When it's time for you to upgrade, you only have to change the version number to get access to our updated endpoints.  ## Release history - Follow updates on Github: https://github.com/wink-travel/wink-sdk-java/blob/master/CHANGELOG.md  # Analytics API Welcome to the Affiliate API - A programmer-friendly way to get insight into platform-level activities and bookings.  # Intended Audience Programmers are a requirement to start integrating with wink. You will benefit from an API integration if you are new or existing travel related company that want easy access to great inventory.## Examples: - Hotel brands / chains that want to make their own booking engine - Travel tech companies that want to create the next hot mobile travel app - Destination sites that want to make their own booking engine - Bloggers and influencers who want to sell travel inventory to their audience - OTAs that want access direct relationships with suppliers and better quality hotel inventory
 *
 * The version of the OpenAPI document: 30.2.0
 * Contact: [email protected]
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package travel.wink.sdk.analytics.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import travel.wink.sdk.analytics.model.AutoBaseUnitStepsNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.AxisLineNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.AxisTicksNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.CategoryAxisCrosshairNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.CategoryAxisNotesNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.CategoryAxisSelectNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.CategoryAxisTitleNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.ChartCategoryAxisLabelsNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.ChartCategoryAxisMajorGridLinesNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.GridLinesNonAuthenticatedEntity;
import travel.wink.sdk.analytics.model.PlotBandNonAuthenticatedEntity;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;
import org.hibernate.validator.constraints.*;

/**
 * The configuration options of the category axis.
 */
@JsonPropertyOrder({
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_AUTO_BASE_UNIT_STEPS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_AXIS_CROSSING_VALUE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_BACKGROUND,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_BASE_UNIT,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_BASE_UNIT_STEP,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_CATEGORIES,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_COLOR,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_JUSTIFIED,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_LINE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MAJOR_GRID_LINES,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MAJOR_TICKS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MAX,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MAX_DATE_GROUPS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MAX_DIVISIONS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MIN,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MINOR_GRID_LINES,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_MINOR_TICKS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_NAME,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_PANE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_PLOT_BANDS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_REVERSE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_ROUND_TO_BASE_UNIT,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_START_ANGLE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_TYPE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_VISIBLE,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_WEEK_START_DAY,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_CROSSHAIR,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_LABELS,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_NOTES,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_SELECT,
  ChartCategoryAxisNonAuthenticatedEntity.JSON_PROPERTY_TITLE
})
@JsonTypeName("ChartCategoryAxis_Non_Authenticated_Entity")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-08-01T16:15:40.307886222+07:00[Asia/Bangkok]")
public class ChartCategoryAxisNonAuthenticatedEntity {
  public static final String JSON_PROPERTY_AUTO_BASE_UNIT_STEPS = "autoBaseUnitSteps";
  private AutoBaseUnitStepsNonAuthenticatedEntity autoBaseUnitSteps;

  public static final String JSON_PROPERTY_AXIS_CROSSING_VALUE = "axisCrossingValue";
  private List axisCrossingValue;

  public static final String JSON_PROPERTY_BACKGROUND = "background";
  private String background;

  /**
   * The base time interval for the date axis. The default base unit is automatically determined by the minimum difference between subsequent categories. The supported values are:   - `fit` - `milliseconds` - `seconds` - `minutes` - `hours` - `days` - `weeks` - `months` - `years` Setting `baseUnit` to `fit` sets such a base unit and `categoryAxis.baseUnitStep` that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. Series data is aggregated for the specified base unit by using the `series.aggregate` function.
   */
  public enum BaseUnitEnum {
    MILLISECONDS("milliseconds"),
    
    SECONDS("seconds"),
    
    MINUTES("minutes"),
    
    HOURS("hours"),
    
    DAYS("days"),
    
    WEEKS("weeks"),
    
    MONTHS("months"),
    
    YEARS("years"),
    
    AUTO("auto"),
    
    FIT("fit");

    private String value;

    BaseUnitEnum(String value) {
      this.value = value;
    }

    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    @JsonCreator
    public static BaseUnitEnum fromValue(String value) {
      for (BaseUnitEnum b : BaseUnitEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  }

  public static final String JSON_PROPERTY_BASE_UNIT = "baseUnit";
  private BaseUnitEnum baseUnit;

  public static final String JSON_PROPERTY_BASE_UNIT_STEP = "baseUnitStep";
  private BigDecimal baseUnitStep;

  public static final String JSON_PROPERTY_CATEGORIES = "categories";
  private List categories;

  public static final String JSON_PROPERTY_COLOR = "color";
  private String color;

  public static final String JSON_PROPERTY_JUSTIFIED = "justified";
  private Boolean justified;

  public static final String JSON_PROPERTY_LINE = "line";
  private AxisLineNonAuthenticatedEntity line;

  public static final String JSON_PROPERTY_MAJOR_GRID_LINES = "majorGridLines";
  private ChartCategoryAxisMajorGridLinesNonAuthenticatedEntity majorGridLines;

  public static final String JSON_PROPERTY_MAJOR_TICKS = "majorTicks";
  private AxisTicksNonAuthenticatedEntity majorTicks;

  public static final String JSON_PROPERTY_MAX = "max";
  private java.time.LocalDateTime max;

  public static final String JSON_PROPERTY_MAX_DATE_GROUPS = "maxDateGroups";
  private BigDecimal maxDateGroups;

  public static final String JSON_PROPERTY_MAX_DIVISIONS = "maxDivisions";
  private BigDecimal maxDivisions;

  public static final String JSON_PROPERTY_MIN = "min";
  private java.time.LocalDateTime min;

  public static final String JSON_PROPERTY_MINOR_GRID_LINES = "minorGridLines";
  private GridLinesNonAuthenticatedEntity minorGridLines;

  public static final String JSON_PROPERTY_MINOR_TICKS = "minorTicks";
  private AxisTicksNonAuthenticatedEntity minorTicks;

  public static final String JSON_PROPERTY_NAME = "name";
  private String name;

  public static final String JSON_PROPERTY_PANE = "pane";
  private String pane;

  public static final String JSON_PROPERTY_PLOT_BANDS = "plotBands";
  private List plotBands;

  public static final String JSON_PROPERTY_REVERSE = "reverse";
  private Boolean reverse;

  public static final String JSON_PROPERTY_ROUND_TO_BASE_UNIT = "roundToBaseUnit";
  private Boolean roundToBaseUnit;

  public static final String JSON_PROPERTY_START_ANGLE = "startAngle";
  private BigDecimal startAngle;

  /**
   * The category axis type. The supported values are:  - `category` Discrete category axis.- `date`  Specialized axis for displaying chronological data.
   */
  public enum TypeEnum {
    CATEGORY("category"),
    
    DATE("date");

    private String value;

    TypeEnum(String value) {
      this.value = value;
    }

    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    @JsonCreator
    public static TypeEnum fromValue(String value) {
      for (TypeEnum b : TypeEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  }

  public static final String JSON_PROPERTY_TYPE = "type";
  private TypeEnum type;

  public static final String JSON_PROPERTY_VISIBLE = "visible";
  private Boolean visible;

  /**
   * The week start day when the `baseUnit` is set to `weeks`.
   */
  public enum WeekStartDayEnum {
    SUNDAY("Sunday"),
    
    MONDAY("Monday"),
    
    TUESDAY("Tuesday"),
    
    WEDNESDAY("Wednesday"),
    
    THURSDAY("Thursday"),
    
    FRIDAY("Friday"),
    
    SATURDAY("Saturday");

    private String value;

    WeekStartDayEnum(String value) {
      this.value = value;
    }

    @JsonValue
    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    @JsonCreator
    public static WeekStartDayEnum fromValue(String value) {
      for (WeekStartDayEnum b : WeekStartDayEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  }

  public static final String JSON_PROPERTY_WEEK_START_DAY = "weekStartDay";
  private WeekStartDayEnum weekStartDay;

  public static final String JSON_PROPERTY_CROSSHAIR = "crosshair";
  private CategoryAxisCrosshairNonAuthenticatedEntity crosshair;

  public static final String JSON_PROPERTY_LABELS = "labels";
  private ChartCategoryAxisLabelsNonAuthenticatedEntity labels;

  public static final String JSON_PROPERTY_NOTES = "notes";
  private CategoryAxisNotesNonAuthenticatedEntity notes;

  public static final String JSON_PROPERTY_SELECT = "select";
  private CategoryAxisSelectNonAuthenticatedEntity select;

  public static final String JSON_PROPERTY_TITLE = "title";
  private CategoryAxisTitleNonAuthenticatedEntity title;

  public ChartCategoryAxisNonAuthenticatedEntity() {
  }

  public ChartCategoryAxisNonAuthenticatedEntity autoBaseUnitSteps(AutoBaseUnitStepsNonAuthenticatedEntity autoBaseUnitSteps) {
    
    this.autoBaseUnitSteps = autoBaseUnitSteps;
    return this;
  }

   /**
   * Get autoBaseUnitSteps
   * @return autoBaseUnitSteps
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_AUTO_BASE_UNIT_STEPS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public AutoBaseUnitStepsNonAuthenticatedEntity getAutoBaseUnitSteps() {
    return autoBaseUnitSteps;
  }


  @JsonProperty(JSON_PROPERTY_AUTO_BASE_UNIT_STEPS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAutoBaseUnitSteps(AutoBaseUnitStepsNonAuthenticatedEntity autoBaseUnitSteps) {
    this.autoBaseUnitSteps = autoBaseUnitSteps;
  }


  public ChartCategoryAxisNonAuthenticatedEntity axisCrossingValue(List axisCrossingValue) {
    
    this.axisCrossingValue = axisCrossingValue;
    return this;
  }

  public ChartCategoryAxisNonAuthenticatedEntity addAxisCrossingValueItem(Object axisCrossingValueItem) {
    if (this.axisCrossingValue == null) {
      this.axisCrossingValue = new ArrayList<>();
    }
    this.axisCrossingValue.add(axisCrossingValueItem);
    return this;
  }

   /**
   * The category index or the date (for date category axis) at which the first value axis crosses this axis. The category indices or the date (for date category axis) at which the value axes cross the category axis (when set as an array). To denote the far end of the axis, set an index greater than or equal to the Number of categories.
   * @return axisCrossingValue
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_AXIS_CROSSING_VALUE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getAxisCrossingValue() {
    return axisCrossingValue;
  }


  @JsonProperty(JSON_PROPERTY_AXIS_CROSSING_VALUE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAxisCrossingValue(List axisCrossingValue) {
    this.axisCrossingValue = axisCrossingValue;
  }


  public ChartCategoryAxisNonAuthenticatedEntity background(String background) {
    
    this.background = background;
    return this;
  }

   /**
   * The background color of the axis.
   * @return background
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_BACKGROUND)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getBackground() {
    return background;
  }


  @JsonProperty(JSON_PROPERTY_BACKGROUND)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setBackground(String background) {
    this.background = background;
  }


  public ChartCategoryAxisNonAuthenticatedEntity baseUnit(BaseUnitEnum baseUnit) {
    
    this.baseUnit = baseUnit;
    return this;
  }

   /**
   * The base time interval for the date axis. The default base unit is automatically determined by the minimum difference between subsequent categories. The supported values are:   - `fit` - `milliseconds` - `seconds` - `minutes` - `hours` - `days` - `weeks` - `months` - `years` Setting `baseUnit` to `fit` sets such a base unit and `categoryAxis.baseUnitStep` that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. Series data is aggregated for the specified base unit by using the `series.aggregate` function.
   * @return baseUnit
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_BASE_UNIT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public BaseUnitEnum getBaseUnit() {
    return baseUnit;
  }


  @JsonProperty(JSON_PROPERTY_BASE_UNIT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setBaseUnit(BaseUnitEnum baseUnit) {
    this.baseUnit = baseUnit;
  }


  public ChartCategoryAxisNonAuthenticatedEntity baseUnitStep(BigDecimal baseUnitStep) {
    
    this.baseUnitStep = baseUnitStep;
    return this;
  }

   /**
   * The step (interval) between the categories in base units. Setting it to `auto` sets the step to such a value that the total Number of categories does not exceed `categoryAxis.maxDateGroups`. The option is ignored if `categoryAxis.baseUnit` is set to `fit`.
   * @return baseUnitStep
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_BASE_UNIT_STEP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public BigDecimal getBaseUnitStep() {
    return baseUnitStep;
  }


  @JsonProperty(JSON_PROPERTY_BASE_UNIT_STEP)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setBaseUnitStep(BigDecimal baseUnitStep) {
    this.baseUnitStep = baseUnitStep;
  }


  public ChartCategoryAxisNonAuthenticatedEntity categories(List categories) {
    
    this.categories = categories;
    return this;
  }

  public ChartCategoryAxisNonAuthenticatedEntity addCategoriesItem(String categoriesItem) {
    if (this.categories == null) {
      this.categories = new ArrayList<>();
    }
    this.categories.add(categoriesItem);
    return this;
  }

   /**
   * The category names. The Chart creates a category for every item of the array.
   * @return categories
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_CATEGORIES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getCategories() {
    return categories;
  }


  @JsonProperty(JSON_PROPERTY_CATEGORIES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCategories(List categories) {
    this.categories = categories;
  }


  public ChartCategoryAxisNonAuthenticatedEntity color(String color) {
    
    this.color = color;
    return this;
  }

   /**
   * The color to apply to all axis elements. Accepts a valid CSS color String, including hex and rgb. Can be overridden by `categoryAxis.labels.color` and `categoryAxis.line.color`.
   * @return color
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_COLOR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getColor() {
    return color;
  }


  @JsonProperty(JSON_PROPERTY_COLOR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setColor(String color) {
    this.color = color;
  }


  public ChartCategoryAxisNonAuthenticatedEntity justified(Boolean justified) {
    
    this.justified = justified;
    return this;
  }

   /**
   * If set to `true`, the Chart positions categories and series points on major ticks. This removes the empty space before and after the series. The default value is `false` except for `area`, `verticalArea`, `rangeArea`, and `verticalRangeArea`. The option is ignored if the `series.type` option is set to `bar`, `column`, `boxPlot`, `ohlc`, `candlestick`, or `waterfall`.
   * @return justified
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_JUSTIFIED)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getJustified() {
    return justified;
  }


  @JsonProperty(JSON_PROPERTY_JUSTIFIED)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setJustified(Boolean justified) {
    this.justified = justified;
  }


  public ChartCategoryAxisNonAuthenticatedEntity line(AxisLineNonAuthenticatedEntity line) {
    
    this.line = line;
    return this;
  }

   /**
   * Get line
   * @return line
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_LINE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public AxisLineNonAuthenticatedEntity getLine() {
    return line;
  }


  @JsonProperty(JSON_PROPERTY_LINE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setLine(AxisLineNonAuthenticatedEntity line) {
    this.line = line;
  }


  public ChartCategoryAxisNonAuthenticatedEntity majorGridLines(ChartCategoryAxisMajorGridLinesNonAuthenticatedEntity majorGridLines) {
    
    this.majorGridLines = majorGridLines;
    return this;
  }

   /**
   * Get majorGridLines
   * @return majorGridLines
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MAJOR_GRID_LINES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public ChartCategoryAxisMajorGridLinesNonAuthenticatedEntity getMajorGridLines() {
    return majorGridLines;
  }


  @JsonProperty(JSON_PROPERTY_MAJOR_GRID_LINES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMajorGridLines(ChartCategoryAxisMajorGridLinesNonAuthenticatedEntity majorGridLines) {
    this.majorGridLines = majorGridLines;
  }


  public ChartCategoryAxisNonAuthenticatedEntity majorTicks(AxisTicksNonAuthenticatedEntity majorTicks) {
    
    this.majorTicks = majorTicks;
    return this;
  }

   /**
   * Get majorTicks
   * @return majorTicks
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MAJOR_TICKS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public AxisTicksNonAuthenticatedEntity getMajorTicks() {
    return majorTicks;
  }


  @JsonProperty(JSON_PROPERTY_MAJOR_TICKS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMajorTicks(AxisTicksNonAuthenticatedEntity majorTicks) {
    this.majorTicks = majorTicks;
  }


  public ChartCategoryAxisNonAuthenticatedEntity max(java.time.LocalDateTime max) {
    
    this.max = max;
    return this;
  }

   /**
   * The last date displayed on a date category axis or the index of the last category displayed on a category axis. By default, the max value is the same as the last category. This is often used in combination with the `categoryAxis.min` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.
   * @return max
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MAX)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public java.time.LocalDateTime getMax() {
    return max;
  }


  @JsonProperty(JSON_PROPERTY_MAX)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMax(java.time.LocalDateTime max) {
    this.max = max;
  }


  public ChartCategoryAxisNonAuthenticatedEntity maxDateGroups(BigDecimal maxDateGroups) {
    
    this.maxDateGroups = maxDateGroups;
    return this;
  }

   /**
   * The maximum Number of groups (categories) to display when `categoryAxis.baseUnit` is set to `fit` or `categoryAxis.baseUnitStep` is set to `auto`.
   * @return maxDateGroups
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MAX_DATE_GROUPS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public BigDecimal getMaxDateGroups() {
    return maxDateGroups;
  }


  @JsonProperty(JSON_PROPERTY_MAX_DATE_GROUPS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxDateGroups(BigDecimal maxDateGroups) {
    this.maxDateGroups = maxDateGroups;
  }


  public ChartCategoryAxisNonAuthenticatedEntity maxDivisions(BigDecimal maxDivisions) {
    
    this.maxDivisions = maxDivisions;
    return this;
  }

   /**
   * The maximum Number of ticks and labels to display. Applicabable for date category axis.
   * @return maxDivisions
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MAX_DIVISIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public BigDecimal getMaxDivisions() {
    return maxDivisions;
  }


  @JsonProperty(JSON_PROPERTY_MAX_DIVISIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMaxDivisions(BigDecimal maxDivisions) {
    this.maxDivisions = maxDivisions;
  }


  public ChartCategoryAxisNonAuthenticatedEntity min(java.time.LocalDateTime min) {
    
    this.min = min;
    return this;
  }

   /**
   * The first date which is displayed on a date category axis or the index of the first category whcih is displayed on a category axis. By default, the min value is the same as the first category. This is often used in combination with the `categoryAxis.max` and `categoryAxis.roundToBaseUnit` options to set up a fixed date range.
   * @return min
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MIN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public java.time.LocalDateTime getMin() {
    return min;
  }


  @JsonProperty(JSON_PROPERTY_MIN)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMin(java.time.LocalDateTime min) {
    this.min = min;
  }


  public ChartCategoryAxisNonAuthenticatedEntity minorGridLines(GridLinesNonAuthenticatedEntity minorGridLines) {
    
    this.minorGridLines = minorGridLines;
    return this;
  }

   /**
   * Get minorGridLines
   * @return minorGridLines
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MINOR_GRID_LINES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public GridLinesNonAuthenticatedEntity getMinorGridLines() {
    return minorGridLines;
  }


  @JsonProperty(JSON_PROPERTY_MINOR_GRID_LINES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinorGridLines(GridLinesNonAuthenticatedEntity minorGridLines) {
    this.minorGridLines = minorGridLines;
  }


  public ChartCategoryAxisNonAuthenticatedEntity minorTicks(AxisTicksNonAuthenticatedEntity minorTicks) {
    
    this.minorTicks = minorTicks;
    return this;
  }

   /**
   * Get minorTicks
   * @return minorTicks
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_MINOR_TICKS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public AxisTicksNonAuthenticatedEntity getMinorTicks() {
    return minorTicks;
  }


  @JsonProperty(JSON_PROPERTY_MINOR_TICKS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinorTicks(AxisTicksNonAuthenticatedEntity minorTicks) {
    this.minorTicks = minorTicks;
  }


  public ChartCategoryAxisNonAuthenticatedEntity name(String name) {
    
    this.name = name;
    return this;
  }

   /**
   * The unique axis name. Used to associate a series with a category axis, which utilizes the `series.categoryAxis` option.
   * @return name
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getName() {
    return name;
  }


  @JsonProperty(JSON_PROPERTY_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setName(String name) {
    this.name = name;
  }


  public ChartCategoryAxisNonAuthenticatedEntity pane(String pane) {
    
    this.pane = pane;
    return this;
  }

   /**
   * The name of the pane in which the category axis has to be rendered. If not set, the axis will be rendered in the first (default) pane.
   * @return pane
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_PANE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getPane() {
    return pane;
  }


  @JsonProperty(JSON_PROPERTY_PANE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setPane(String pane) {
    this.pane = pane;
  }


  public ChartCategoryAxisNonAuthenticatedEntity plotBands(List plotBands) {
    
    this.plotBands = plotBands;
    return this;
  }

  public ChartCategoryAxisNonAuthenticatedEntity addPlotBandsItem(PlotBandNonAuthenticatedEntity plotBandsItem) {
    if (this.plotBands == null) {
      this.plotBands = new ArrayList<>();
    }
    this.plotBands.add(plotBandsItem);
    return this;
  }

   /**
   * The plot bands of the category axis.
   * @return plotBands
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_PLOT_BANDS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public List getPlotBands() {
    return plotBands;
  }


  @JsonProperty(JSON_PROPERTY_PLOT_BANDS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setPlotBands(List plotBands) {
    this.plotBands = plotBands;
  }


  public ChartCategoryAxisNonAuthenticatedEntity reverse(Boolean reverse) {
    
    this.reverse = reverse;
    return this;
  }

   /**
   * If set to `true`, the category axis direction is reversed. By default, categories are listed from left to right and from bottom to top.
   * @return reverse
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_REVERSE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getReverse() {
    return reverse;
  }


  @JsonProperty(JSON_PROPERTY_REVERSE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setReverse(Boolean reverse) {
    this.reverse = reverse;
  }


  public ChartCategoryAxisNonAuthenticatedEntity roundToBaseUnit(Boolean roundToBaseUnit) {
    
    this.roundToBaseUnit = roundToBaseUnit;
    return this;
  }

   /**
   * If set to `true`, the Chart rounds the first and last date to the nearest base unit.
   * @return roundToBaseUnit
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_ROUND_TO_BASE_UNIT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getRoundToBaseUnit() {
    return roundToBaseUnit;
  }


  @JsonProperty(JSON_PROPERTY_ROUND_TO_BASE_UNIT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setRoundToBaseUnit(Boolean roundToBaseUnit) {
    this.roundToBaseUnit = roundToBaseUnit;
  }


  public ChartCategoryAxisNonAuthenticatedEntity startAngle(BigDecimal startAngle) {
    
    this.startAngle = startAngle;
    return this;
  }

   /**
   * The angle (degrees) of the first category on the axis. Angles increase clockwise with zero to the left. Negative values are acceptable.
   * @return startAngle
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_START_ANGLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public BigDecimal getStartAngle() {
    return startAngle;
  }


  @JsonProperty(JSON_PROPERTY_START_ANGLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setStartAngle(BigDecimal startAngle) {
    this.startAngle = startAngle;
  }


  public ChartCategoryAxisNonAuthenticatedEntity type(TypeEnum type) {
    
    this.type = type;
    return this;
  }

   /**
   * The category axis type. The supported values are:  - `category` Discrete category axis.- `date`  Specialized axis for displaying chronological data.
   * @return type
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public TypeEnum getType() {
    return type;
  }


  @JsonProperty(JSON_PROPERTY_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setType(TypeEnum type) {
    this.type = type;
  }


  public ChartCategoryAxisNonAuthenticatedEntity visible(Boolean visible) {
    
    this.visible = visible;
    return this;
  }

   /**
   * If set to `true`, the Chart displays the category axis. By default, the category axis is visible.
   * @return visible
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_VISIBLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Boolean getVisible() {
    return visible;
  }


  @JsonProperty(JSON_PROPERTY_VISIBLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setVisible(Boolean visible) {
    this.visible = visible;
  }


  public ChartCategoryAxisNonAuthenticatedEntity weekStartDay(WeekStartDayEnum weekStartDay) {
    
    this.weekStartDay = weekStartDay;
    return this;
  }

   /**
   * The week start day when the `baseUnit` is set to `weeks`.
   * @return weekStartDay
  **/
  @jakarta.annotation.Nullable

  @JsonProperty(JSON_PROPERTY_WEEK_START_DAY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public WeekStartDayEnum getWeekStartDay() {
    return weekStartDay;
  }


  @JsonProperty(JSON_PROPERTY_WEEK_START_DAY)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setWeekStartDay(WeekStartDayEnum weekStartDay) {
    this.weekStartDay = weekStartDay;
  }


  public ChartCategoryAxisNonAuthenticatedEntity crosshair(CategoryAxisCrosshairNonAuthenticatedEntity crosshair) {
    
    this.crosshair = crosshair;
    return this;
  }

   /**
   * Get crosshair
   * @return crosshair
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_CROSSHAIR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CategoryAxisCrosshairNonAuthenticatedEntity getCrosshair() {
    return crosshair;
  }


  @JsonProperty(JSON_PROPERTY_CROSSHAIR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCrosshair(CategoryAxisCrosshairNonAuthenticatedEntity crosshair) {
    this.crosshair = crosshair;
  }


  public ChartCategoryAxisNonAuthenticatedEntity labels(ChartCategoryAxisLabelsNonAuthenticatedEntity labels) {
    
    this.labels = labels;
    return this;
  }

   /**
   * Get labels
   * @return labels
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_LABELS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public ChartCategoryAxisLabelsNonAuthenticatedEntity getLabels() {
    return labels;
  }


  @JsonProperty(JSON_PROPERTY_LABELS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setLabels(ChartCategoryAxisLabelsNonAuthenticatedEntity labels) {
    this.labels = labels;
  }


  public ChartCategoryAxisNonAuthenticatedEntity notes(CategoryAxisNotesNonAuthenticatedEntity notes) {
    
    this.notes = notes;
    return this;
  }

   /**
   * Get notes
   * @return notes
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_NOTES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CategoryAxisNotesNonAuthenticatedEntity getNotes() {
    return notes;
  }


  @JsonProperty(JSON_PROPERTY_NOTES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setNotes(CategoryAxisNotesNonAuthenticatedEntity notes) {
    this.notes = notes;
  }


  public ChartCategoryAxisNonAuthenticatedEntity select(CategoryAxisSelectNonAuthenticatedEntity select) {
    
    this.select = select;
    return this;
  }

   /**
   * Get select
   * @return select
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_SELECT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CategoryAxisSelectNonAuthenticatedEntity getSelect() {
    return select;
  }


  @JsonProperty(JSON_PROPERTY_SELECT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSelect(CategoryAxisSelectNonAuthenticatedEntity select) {
    this.select = select;
  }


  public ChartCategoryAxisNonAuthenticatedEntity title(CategoryAxisTitleNonAuthenticatedEntity title) {
    
    this.title = title;
    return this;
  }

   /**
   * Get title
   * @return title
  **/
  @jakarta.annotation.Nullable
  @Valid

  @JsonProperty(JSON_PROPERTY_TITLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public CategoryAxisTitleNonAuthenticatedEntity getTitle() {
    return title;
  }


  @JsonProperty(JSON_PROPERTY_TITLE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setTitle(CategoryAxisTitleNonAuthenticatedEntity title) {
    this.title = title;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ChartCategoryAxisNonAuthenticatedEntity chartCategoryAxisNonAuthenticatedEntity = (ChartCategoryAxisNonAuthenticatedEntity) o;
    return Objects.equals(this.autoBaseUnitSteps, chartCategoryAxisNonAuthenticatedEntity.autoBaseUnitSteps) &&
        Objects.equals(this.axisCrossingValue, chartCategoryAxisNonAuthenticatedEntity.axisCrossingValue) &&
        Objects.equals(this.background, chartCategoryAxisNonAuthenticatedEntity.background) &&
        Objects.equals(this.baseUnit, chartCategoryAxisNonAuthenticatedEntity.baseUnit) &&
        Objects.equals(this.baseUnitStep, chartCategoryAxisNonAuthenticatedEntity.baseUnitStep) &&
        Objects.equals(this.categories, chartCategoryAxisNonAuthenticatedEntity.categories) &&
        Objects.equals(this.color, chartCategoryAxisNonAuthenticatedEntity.color) &&
        Objects.equals(this.justified, chartCategoryAxisNonAuthenticatedEntity.justified) &&
        Objects.equals(this.line, chartCategoryAxisNonAuthenticatedEntity.line) &&
        Objects.equals(this.majorGridLines, chartCategoryAxisNonAuthenticatedEntity.majorGridLines) &&
        Objects.equals(this.majorTicks, chartCategoryAxisNonAuthenticatedEntity.majorTicks) &&
        Objects.equals(this.max, chartCategoryAxisNonAuthenticatedEntity.max) &&
        Objects.equals(this.maxDateGroups, chartCategoryAxisNonAuthenticatedEntity.maxDateGroups) &&
        Objects.equals(this.maxDivisions, chartCategoryAxisNonAuthenticatedEntity.maxDivisions) &&
        Objects.equals(this.min, chartCategoryAxisNonAuthenticatedEntity.min) &&
        Objects.equals(this.minorGridLines, chartCategoryAxisNonAuthenticatedEntity.minorGridLines) &&
        Objects.equals(this.minorTicks, chartCategoryAxisNonAuthenticatedEntity.minorTicks) &&
        Objects.equals(this.name, chartCategoryAxisNonAuthenticatedEntity.name) &&
        Objects.equals(this.pane, chartCategoryAxisNonAuthenticatedEntity.pane) &&
        Objects.equals(this.plotBands, chartCategoryAxisNonAuthenticatedEntity.plotBands) &&
        Objects.equals(this.reverse, chartCategoryAxisNonAuthenticatedEntity.reverse) &&
        Objects.equals(this.roundToBaseUnit, chartCategoryAxisNonAuthenticatedEntity.roundToBaseUnit) &&
        Objects.equals(this.startAngle, chartCategoryAxisNonAuthenticatedEntity.startAngle) &&
        Objects.equals(this.type, chartCategoryAxisNonAuthenticatedEntity.type) &&
        Objects.equals(this.visible, chartCategoryAxisNonAuthenticatedEntity.visible) &&
        Objects.equals(this.weekStartDay, chartCategoryAxisNonAuthenticatedEntity.weekStartDay) &&
        Objects.equals(this.crosshair, chartCategoryAxisNonAuthenticatedEntity.crosshair) &&
        Objects.equals(this.labels, chartCategoryAxisNonAuthenticatedEntity.labels) &&
        Objects.equals(this.notes, chartCategoryAxisNonAuthenticatedEntity.notes) &&
        Objects.equals(this.select, chartCategoryAxisNonAuthenticatedEntity.select) &&
        Objects.equals(this.title, chartCategoryAxisNonAuthenticatedEntity.title);
  }

  @Override
  public int hashCode() {
    return Objects.hash(autoBaseUnitSteps, axisCrossingValue, background, baseUnit, baseUnitStep, categories, color, justified, line, majorGridLines, majorTicks, max, maxDateGroups, maxDivisions, min, minorGridLines, minorTicks, name, pane, plotBands, reverse, roundToBaseUnit, startAngle, type, visible, weekStartDay, crosshair, labels, notes, select, title);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ChartCategoryAxisNonAuthenticatedEntity {\n");
    sb.append("    autoBaseUnitSteps: ").append(toIndentedString(autoBaseUnitSteps)).append("\n");
    sb.append("    axisCrossingValue: ").append(toIndentedString(axisCrossingValue)).append("\n");
    sb.append("    background: ").append(toIndentedString(background)).append("\n");
    sb.append("    baseUnit: ").append(toIndentedString(baseUnit)).append("\n");
    sb.append("    baseUnitStep: ").append(toIndentedString(baseUnitStep)).append("\n");
    sb.append("    categories: ").append(toIndentedString(categories)).append("\n");
    sb.append("    color: ").append(toIndentedString(color)).append("\n");
    sb.append("    justified: ").append(toIndentedString(justified)).append("\n");
    sb.append("    line: ").append(toIndentedString(line)).append("\n");
    sb.append("    majorGridLines: ").append(toIndentedString(majorGridLines)).append("\n");
    sb.append("    majorTicks: ").append(toIndentedString(majorTicks)).append("\n");
    sb.append("    max: ").append(toIndentedString(max)).append("\n");
    sb.append("    maxDateGroups: ").append(toIndentedString(maxDateGroups)).append("\n");
    sb.append("    maxDivisions: ").append(toIndentedString(maxDivisions)).append("\n");
    sb.append("    min: ").append(toIndentedString(min)).append("\n");
    sb.append("    minorGridLines: ").append(toIndentedString(minorGridLines)).append("\n");
    sb.append("    minorTicks: ").append(toIndentedString(minorTicks)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    pane: ").append(toIndentedString(pane)).append("\n");
    sb.append("    plotBands: ").append(toIndentedString(plotBands)).append("\n");
    sb.append("    reverse: ").append(toIndentedString(reverse)).append("\n");
    sb.append("    roundToBaseUnit: ").append(toIndentedString(roundToBaseUnit)).append("\n");
    sb.append("    startAngle: ").append(toIndentedString(startAngle)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    visible: ").append(toIndentedString(visible)).append("\n");
    sb.append("    weekStartDay: ").append(toIndentedString(weekStartDay)).append("\n");
    sb.append("    crosshair: ").append(toIndentedString(crosshair)).append("\n");
    sb.append("    labels: ").append(toIndentedString(labels)).append("\n");
    sb.append("    notes: ").append(toIndentedString(notes)).append("\n");
    sb.append("    select: ").append(toIndentedString(select)).append("\n");
    sb.append("    title: ").append(toIndentedString(title)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}