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

travel.wink.sdk.affiliate.syndication.model.ServletContextNonAuthenticatedEntity Maven / Gradle / Ivy

The newest version!
/*
 * Wink API
 *  # Introduction  Welcome to the Wink API - A programmer-friendly way to manage, sell and book travel inventory on the Wink platform. The API gives you all the tools you need to ready your properties and inventory for sale across 1000s of our native sales channels.  Integrators, affiliates, travel agents and content creators have the ability search for your travel inventory and promote / sell it in a wide variety of ways.   # Integrations  We have already integrated with the most well-known channel managers so you don't have to. To see our current integrations, please go to https://extranet.wink.travel and scroll to Connectivity section. Once your properties are set up, you can finish the setup by mapping your property to Wink using your channel manager partner portal. If your properties don't have a channel manager, you can easily manage rates and availability with this API.   # Intended Audience  Programmers are [most likely] a requirement to start integrating with Wink. Companies and organizations that would most benefit from integrating with us are new and existing travel companies that have relationships with suppliers and that need an advanced system from which to manage their travel inventory and get that same inventory out to as many eyeballs as possible at the lowest price possible.  - Hotel chains  - Hotel brands  - Travel tech companies  - Destination sites  - Integrators  - Aggregators  - Destination management companies  - Travel agencies  - OTAs   ## APIs  Not every integrator needs every API. For that reason, we have separated APIs into context.  ### Test API   - [Ping](/ping): The Ping API is a quick test endpoint to verify that your credentials work Wink.  ### Common APIs  - [Notifications](/notifications): The Notifications API is a way for us to stay in touch with your user, property or affiliate account. - [User Settings](/user-settings): The User Settings API exposes endpoints to allow 3rd party integrators to communicate with Wink.  ### Consume APIs Consume endpoints are for developers who want to find existing travel inventory and either book it or use it to advertise through one of their Wink affiliate accounts.   - [Configuration](/engine-client): A single endpoint to retrieve whitelabel + customization information for the booking engine.  - [Lookup](/lookup): All APIs related to locating inventory by region, locale and property flags.  - [Inventory](/inventory): All APIs related to retrieve known travel inventory as it was found using the Lookup API..  - [Booking](/booking): All APIs related to creating bookings on the platform.  - [Travel Agent](/travel-agent): The Travel Agent API exposes endpoints to manage agent-facilitated bookings.   ### Produce APIs  Produce endpoints are for developers who want to create and manage travel inventory.   #### Property  - [Property registration](/extranet/property/register): As a producer, this is, oftentimes, where you start your journey. These endpoints let you create properties on Wink.  - [Property](/extranet/property): This collection of property endpoints are mostly management endpoints that let you display, change status and similar for your existing properties.  - [Facilities](/extranet/facilities): This collection of endpoints let you manage facilities; such as room types.  - [Experiences](/extranet/experiences): This collection of endpoints let you manage experiences, such as activities.  - [Monetize](/extranet/monetize): The Monetize API exposes endpoints for managing cancellation polies, rate plans, promotions and more on Wink.  - [Distribution](/extranet/distribution): The Distribution API exposes endpoints for sales channels, connecting with affiliates, managing rates and inventory calendars and more on Wink.  - [Property Booking](/extranet/booking): The Property Booking API exposes endpoints for managing bookings and reviews at the property-level.   #### Affiliate  - [Affiliate](/affiliate): This collection of affiliate endpoints are mostly management endpoints that let you display, change status and similar for your existing accounts.  - [Browse](/affiliate/browse): The Browse API exposes endpoints for affiliates to find suppliers and inventory to sell.  - [Inventory](/affiliate/inventory): The Inventory API exposes endpoints for affiliates to manage the inventory they want to sell and how they want to sell it.  - [Sales Channel](/affiliate/sales-channel): The Sales Channel API exposes endpoints for affiliates to manage existing sales channels as well as find new ones.  - [WinkLinks](/affiliate/winklinks): The WinkLinks API exposes endpoints for affiliates to manage their WinkLinks page.   #### Rate provider  - [Channel manager](/channel-manager): The Channel Manager API enables external channel manager partners to map, exchange rate / availability information with us as well as be informed of bookings that occur on the Wink platform for one of their properties.   ### Taxonomy APIs  Taxonomy endpoints are for developers who want to consume and produce travel inventory and need taxonomies of standard and non-standard codes for inventory types, classes, statuses etc.   - [Reference](/reactive): All APIs related to retrieving platform-supported taxonomies.   ### Insight APIs  Insight endpoints do exactly what the name implies - They offer platform-level insight into the activities of producers and consumers.   - [Analytics](/analytics): All APIs related to tracking metrics across a wide variety of data source segments including, more entertaining, leaderboard metrics.   ### Payment APIs  Payment endpoints are for developers who want to purchase travel inventory. This can be done via the API as a registered Travel Agent or using our API in conjunction with our PCI compliant reactive widget for all other entities.   - [TripPay](/reactive): 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 minimally. 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    # WinkLinks API The WinkLinks API exposes endpoints to manage WinkLink entries, categories and settings. This API lets you:  1. Entries: Manage WinkLinks entries. 2. Categories: Manage WinkLinks tags. 2. Settings: Configure WinkLinks account.  Browse the endpoints in the left navigation bar to get started.  
 *
 * The version of the OpenAPI document: 30.10.4
 * 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.affiliate.syndication.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 com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import travel.wink.sdk.affiliate.syndication.model.ApplicationContextNonAuthenticatedEntityClassLoaderParentUnnamedModuleClassLoader;
import travel.wink.sdk.affiliate.syndication.model.FilterRegistrationNonAuthenticatedEntity;
import travel.wink.sdk.affiliate.syndication.model.JspConfigDescriptorNonAuthenticatedEntity;
import travel.wink.sdk.affiliate.syndication.model.ServletRegistrationNonAuthenticatedEntity;
import travel.wink.sdk.affiliate.syndication.model.SessionCookieConfigNonAuthenticatedEntity;
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.*;

/**
 * ServletContextNonAuthenticatedEntity
 */
@JsonPropertyOrder({
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_CLASS_LOADER,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_MAJOR_VERSION,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_MINOR_VERSION,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_ATTRIBUTE_NAMES,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_INIT_PARAMETER_NAMES,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_CONTEXT_PATH,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SESSION_TRACKING_MODES,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SERVLET_REGISTRATIONS,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_FILTER_REGISTRATIONS,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_EFFECTIVE_SESSION_TRACKING_MODES,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_JSP_CONFIG_DESCRIPTOR,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_VIRTUAL_SERVER_NAME,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SESSION_TIMEOUT,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_REQUEST_CHARACTER_ENCODING,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_RESPONSE_CHARACTER_ENCODING,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_DEFAULT_SESSION_TRACKING_MODES,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_EFFECTIVE_MAJOR_VERSION,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_EFFECTIVE_MINOR_VERSION,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SERVER_INFO,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SERVLET_CONTEXT_NAME,
  ServletContextNonAuthenticatedEntity.JSON_PROPERTY_SESSION_COOKIE_CONFIG
})
@JsonTypeName("ServletContext_Non_Authenticated_Entity")
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-02T16:41:57.763280625+07:00[Asia/Bangkok]")
public class ServletContextNonAuthenticatedEntity {
  public static final String JSON_PROPERTY_CLASS_LOADER = "classLoader";
  private ApplicationContextNonAuthenticatedEntityClassLoaderParentUnnamedModuleClassLoader classLoader;

  public static final String JSON_PROPERTY_MAJOR_VERSION = "majorVersion";
  private Integer majorVersion;

  public static final String JSON_PROPERTY_MINOR_VERSION = "minorVersion";
  private Integer minorVersion;

  public static final String JSON_PROPERTY_ATTRIBUTE_NAMES = "attributeNames";
  private Object attributeNames;

  public static final String JSON_PROPERTY_INIT_PARAMETER_NAMES = "initParameterNames";
  private Object initParameterNames;

  public static final String JSON_PROPERTY_CONTEXT_PATH = "contextPath";
  private String contextPath;

  /**
   * Gets or Sets sessionTrackingModes
   */
  public enum SessionTrackingModesEnum {
    COOKIE("COOKIE"),
    
    URL("URL"),
    
    SSL("SSL");

    private String value;

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

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

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

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

  public static final String JSON_PROPERTY_SESSION_TRACKING_MODES = "sessionTrackingModes";
  private Set sessionTrackingModes;

  public static final String JSON_PROPERTY_SERVLET_REGISTRATIONS = "servletRegistrations";
  private Map servletRegistrations = new HashMap<>();

  public static final String JSON_PROPERTY_FILTER_REGISTRATIONS = "filterRegistrations";
  private Map filterRegistrations = new HashMap<>();

  /**
   * Gets or Sets effectiveSessionTrackingModes
   */
  public enum EffectiveSessionTrackingModesEnum {
    COOKIE("COOKIE"),
    
    URL("URL"),
    
    SSL("SSL");

    private String value;

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

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

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

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

  public static final String JSON_PROPERTY_EFFECTIVE_SESSION_TRACKING_MODES = "effectiveSessionTrackingModes";
  private Set effectiveSessionTrackingModes;

  public static final String JSON_PROPERTY_JSP_CONFIG_DESCRIPTOR = "jspConfigDescriptor";
  private JspConfigDescriptorNonAuthenticatedEntity jspConfigDescriptor;

  public static final String JSON_PROPERTY_VIRTUAL_SERVER_NAME = "virtualServerName";
  private String virtualServerName;

  public static final String JSON_PROPERTY_SESSION_TIMEOUT = "sessionTimeout";
  private Integer sessionTimeout;

  public static final String JSON_PROPERTY_REQUEST_CHARACTER_ENCODING = "requestCharacterEncoding";
  private String requestCharacterEncoding;

  public static final String JSON_PROPERTY_RESPONSE_CHARACTER_ENCODING = "responseCharacterEncoding";
  private String responseCharacterEncoding;

  /**
   * Gets or Sets defaultSessionTrackingModes
   */
  public enum DefaultSessionTrackingModesEnum {
    COOKIE("COOKIE"),
    
    URL("URL"),
    
    SSL("SSL");

    private String value;

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

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

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

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

  public static final String JSON_PROPERTY_DEFAULT_SESSION_TRACKING_MODES = "defaultSessionTrackingModes";
  private Set defaultSessionTrackingModes;

  public static final String JSON_PROPERTY_EFFECTIVE_MAJOR_VERSION = "effectiveMajorVersion";
  private Integer effectiveMajorVersion;

  public static final String JSON_PROPERTY_EFFECTIVE_MINOR_VERSION = "effectiveMinorVersion";
  private Integer effectiveMinorVersion;

  public static final String JSON_PROPERTY_SERVER_INFO = "serverInfo";
  private String serverInfo;

  public static final String JSON_PROPERTY_SERVLET_CONTEXT_NAME = "servletContextName";
  private String servletContextName;

  public static final String JSON_PROPERTY_SESSION_COOKIE_CONFIG = "sessionCookieConfig";
  private SessionCookieConfigNonAuthenticatedEntity sessionCookieConfig;

  public ServletContextNonAuthenticatedEntity() {
  }

  public ServletContextNonAuthenticatedEntity classLoader(ApplicationContextNonAuthenticatedEntityClassLoaderParentUnnamedModuleClassLoader classLoader) {
    
    this.classLoader = classLoader;
    return this;
  }

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

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

  public ApplicationContextNonAuthenticatedEntityClassLoaderParentUnnamedModuleClassLoader getClassLoader() {
    return classLoader;
  }


  @JsonProperty(JSON_PROPERTY_CLASS_LOADER)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setClassLoader(ApplicationContextNonAuthenticatedEntityClassLoaderParentUnnamedModuleClassLoader classLoader) {
    this.classLoader = classLoader;
  }


  public ServletContextNonAuthenticatedEntity majorVersion(Integer majorVersion) {
    
    this.majorVersion = majorVersion;
    return this;
  }

   /**
   * Get majorVersion
   * @return majorVersion
  **/
  @jakarta.annotation.Nullable

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

  public Integer getMajorVersion() {
    return majorVersion;
  }


  @JsonProperty(JSON_PROPERTY_MAJOR_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMajorVersion(Integer majorVersion) {
    this.majorVersion = majorVersion;
  }


  public ServletContextNonAuthenticatedEntity minorVersion(Integer minorVersion) {
    
    this.minorVersion = minorVersion;
    return this;
  }

   /**
   * Get minorVersion
   * @return minorVersion
  **/
  @jakarta.annotation.Nullable

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

  public Integer getMinorVersion() {
    return minorVersion;
  }


  @JsonProperty(JSON_PROPERTY_MINOR_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setMinorVersion(Integer minorVersion) {
    this.minorVersion = minorVersion;
  }


  public ServletContextNonAuthenticatedEntity attributeNames(Object attributeNames) {
    
    this.attributeNames = attributeNames;
    return this;
  }

   /**
   * Get attributeNames
   * @return attributeNames
  **/
  @jakarta.annotation.Nullable

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

  public Object getAttributeNames() {
    return attributeNames;
  }


  @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NAMES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setAttributeNames(Object attributeNames) {
    this.attributeNames = attributeNames;
  }


  public ServletContextNonAuthenticatedEntity initParameterNames(Object initParameterNames) {
    
    this.initParameterNames = initParameterNames;
    return this;
  }

   /**
   * Get initParameterNames
   * @return initParameterNames
  **/
  @jakarta.annotation.Nullable

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

  public Object getInitParameterNames() {
    return initParameterNames;
  }


  @JsonProperty(JSON_PROPERTY_INIT_PARAMETER_NAMES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setInitParameterNames(Object initParameterNames) {
    this.initParameterNames = initParameterNames;
  }


  public ServletContextNonAuthenticatedEntity contextPath(String contextPath) {
    
    this.contextPath = contextPath;
    return this;
  }

   /**
   * Get contextPath
   * @return contextPath
  **/
  @jakarta.annotation.Nullable

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

  public String getContextPath() {
    return contextPath;
  }


  @JsonProperty(JSON_PROPERTY_CONTEXT_PATH)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setContextPath(String contextPath) {
    this.contextPath = contextPath;
  }


  public ServletContextNonAuthenticatedEntity sessionTrackingModes(Set sessionTrackingModes) {
    
    this.sessionTrackingModes = sessionTrackingModes;
    return this;
  }

  public ServletContextNonAuthenticatedEntity addSessionTrackingModesItem(SessionTrackingModesEnum sessionTrackingModesItem) {
    if (this.sessionTrackingModes == null) {
      this.sessionTrackingModes = new LinkedHashSet<>();
    }
    this.sessionTrackingModes.add(sessionTrackingModesItem);
    return this;
  }

   /**
   * Get sessionTrackingModes
   * @return sessionTrackingModes
  **/
  @jakarta.annotation.Nullable

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

  public Set getSessionTrackingModes() {
    return sessionTrackingModes;
  }


  @JsonDeserialize(as = LinkedHashSet.class)
  @JsonProperty(JSON_PROPERTY_SESSION_TRACKING_MODES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSessionTrackingModes(Set sessionTrackingModes) {
    this.sessionTrackingModes = sessionTrackingModes;
  }


  public ServletContextNonAuthenticatedEntity servletRegistrations(Map servletRegistrations) {
    
    this.servletRegistrations = servletRegistrations;
    return this;
  }

  public ServletContextNonAuthenticatedEntity putServletRegistrationsItem(String key, ServletRegistrationNonAuthenticatedEntity servletRegistrationsItem) {
    if (this.servletRegistrations == null) {
      this.servletRegistrations = new HashMap<>();
    }
    this.servletRegistrations.put(key, servletRegistrationsItem);
    return this;
  }

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

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

  public Map getServletRegistrations() {
    return servletRegistrations;
  }


  @JsonProperty(JSON_PROPERTY_SERVLET_REGISTRATIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setServletRegistrations(Map servletRegistrations) {
    this.servletRegistrations = servletRegistrations;
  }


  public ServletContextNonAuthenticatedEntity filterRegistrations(Map filterRegistrations) {
    
    this.filterRegistrations = filterRegistrations;
    return this;
  }

  public ServletContextNonAuthenticatedEntity putFilterRegistrationsItem(String key, FilterRegistrationNonAuthenticatedEntity filterRegistrationsItem) {
    if (this.filterRegistrations == null) {
      this.filterRegistrations = new HashMap<>();
    }
    this.filterRegistrations.put(key, filterRegistrationsItem);
    return this;
  }

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

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

  public Map getFilterRegistrations() {
    return filterRegistrations;
  }


  @JsonProperty(JSON_PROPERTY_FILTER_REGISTRATIONS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setFilterRegistrations(Map filterRegistrations) {
    this.filterRegistrations = filterRegistrations;
  }


  public ServletContextNonAuthenticatedEntity effectiveSessionTrackingModes(Set effectiveSessionTrackingModes) {
    
    this.effectiveSessionTrackingModes = effectiveSessionTrackingModes;
    return this;
  }

  public ServletContextNonAuthenticatedEntity addEffectiveSessionTrackingModesItem(EffectiveSessionTrackingModesEnum effectiveSessionTrackingModesItem) {
    if (this.effectiveSessionTrackingModes == null) {
      this.effectiveSessionTrackingModes = new LinkedHashSet<>();
    }
    this.effectiveSessionTrackingModes.add(effectiveSessionTrackingModesItem);
    return this;
  }

   /**
   * Get effectiveSessionTrackingModes
   * @return effectiveSessionTrackingModes
  **/
  @jakarta.annotation.Nullable

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

  public Set getEffectiveSessionTrackingModes() {
    return effectiveSessionTrackingModes;
  }


  @JsonDeserialize(as = LinkedHashSet.class)
  @JsonProperty(JSON_PROPERTY_EFFECTIVE_SESSION_TRACKING_MODES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setEffectiveSessionTrackingModes(Set effectiveSessionTrackingModes) {
    this.effectiveSessionTrackingModes = effectiveSessionTrackingModes;
  }


  public ServletContextNonAuthenticatedEntity jspConfigDescriptor(JspConfigDescriptorNonAuthenticatedEntity jspConfigDescriptor) {
    
    this.jspConfigDescriptor = jspConfigDescriptor;
    return this;
  }

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

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

  public JspConfigDescriptorNonAuthenticatedEntity getJspConfigDescriptor() {
    return jspConfigDescriptor;
  }


  @JsonProperty(JSON_PROPERTY_JSP_CONFIG_DESCRIPTOR)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setJspConfigDescriptor(JspConfigDescriptorNonAuthenticatedEntity jspConfigDescriptor) {
    this.jspConfigDescriptor = jspConfigDescriptor;
  }


  public ServletContextNonAuthenticatedEntity virtualServerName(String virtualServerName) {
    
    this.virtualServerName = virtualServerName;
    return this;
  }

   /**
   * Get virtualServerName
   * @return virtualServerName
  **/
  @jakarta.annotation.Nullable

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

  public String getVirtualServerName() {
    return virtualServerName;
  }


  @JsonProperty(JSON_PROPERTY_VIRTUAL_SERVER_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setVirtualServerName(String virtualServerName) {
    this.virtualServerName = virtualServerName;
  }


  public ServletContextNonAuthenticatedEntity sessionTimeout(Integer sessionTimeout) {
    
    this.sessionTimeout = sessionTimeout;
    return this;
  }

   /**
   * Get sessionTimeout
   * @return sessionTimeout
  **/
  @jakarta.annotation.Nullable

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

  public Integer getSessionTimeout() {
    return sessionTimeout;
  }


  @JsonProperty(JSON_PROPERTY_SESSION_TIMEOUT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSessionTimeout(Integer sessionTimeout) {
    this.sessionTimeout = sessionTimeout;
  }


  public ServletContextNonAuthenticatedEntity requestCharacterEncoding(String requestCharacterEncoding) {
    
    this.requestCharacterEncoding = requestCharacterEncoding;
    return this;
  }

   /**
   * Get requestCharacterEncoding
   * @return requestCharacterEncoding
  **/
  @jakarta.annotation.Nullable

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

  public String getRequestCharacterEncoding() {
    return requestCharacterEncoding;
  }


  @JsonProperty(JSON_PROPERTY_REQUEST_CHARACTER_ENCODING)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setRequestCharacterEncoding(String requestCharacterEncoding) {
    this.requestCharacterEncoding = requestCharacterEncoding;
  }


  public ServletContextNonAuthenticatedEntity responseCharacterEncoding(String responseCharacterEncoding) {
    
    this.responseCharacterEncoding = responseCharacterEncoding;
    return this;
  }

   /**
   * Get responseCharacterEncoding
   * @return responseCharacterEncoding
  **/
  @jakarta.annotation.Nullable

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

  public String getResponseCharacterEncoding() {
    return responseCharacterEncoding;
  }


  @JsonProperty(JSON_PROPERTY_RESPONSE_CHARACTER_ENCODING)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setResponseCharacterEncoding(String responseCharacterEncoding) {
    this.responseCharacterEncoding = responseCharacterEncoding;
  }


  public ServletContextNonAuthenticatedEntity defaultSessionTrackingModes(Set defaultSessionTrackingModes) {
    
    this.defaultSessionTrackingModes = defaultSessionTrackingModes;
    return this;
  }

  public ServletContextNonAuthenticatedEntity addDefaultSessionTrackingModesItem(DefaultSessionTrackingModesEnum defaultSessionTrackingModesItem) {
    if (this.defaultSessionTrackingModes == null) {
      this.defaultSessionTrackingModes = new LinkedHashSet<>();
    }
    this.defaultSessionTrackingModes.add(defaultSessionTrackingModesItem);
    return this;
  }

   /**
   * Get defaultSessionTrackingModes
   * @return defaultSessionTrackingModes
  **/
  @jakarta.annotation.Nullable

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

  public Set getDefaultSessionTrackingModes() {
    return defaultSessionTrackingModes;
  }


  @JsonDeserialize(as = LinkedHashSet.class)
  @JsonProperty(JSON_PROPERTY_DEFAULT_SESSION_TRACKING_MODES)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setDefaultSessionTrackingModes(Set defaultSessionTrackingModes) {
    this.defaultSessionTrackingModes = defaultSessionTrackingModes;
  }


  public ServletContextNonAuthenticatedEntity effectiveMajorVersion(Integer effectiveMajorVersion) {
    
    this.effectiveMajorVersion = effectiveMajorVersion;
    return this;
  }

   /**
   * Get effectiveMajorVersion
   * @return effectiveMajorVersion
  **/
  @jakarta.annotation.Nullable

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

  public Integer getEffectiveMajorVersion() {
    return effectiveMajorVersion;
  }


  @JsonProperty(JSON_PROPERTY_EFFECTIVE_MAJOR_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setEffectiveMajorVersion(Integer effectiveMajorVersion) {
    this.effectiveMajorVersion = effectiveMajorVersion;
  }


  public ServletContextNonAuthenticatedEntity effectiveMinorVersion(Integer effectiveMinorVersion) {
    
    this.effectiveMinorVersion = effectiveMinorVersion;
    return this;
  }

   /**
   * Get effectiveMinorVersion
   * @return effectiveMinorVersion
  **/
  @jakarta.annotation.Nullable

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

  public Integer getEffectiveMinorVersion() {
    return effectiveMinorVersion;
  }


  @JsonProperty(JSON_PROPERTY_EFFECTIVE_MINOR_VERSION)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setEffectiveMinorVersion(Integer effectiveMinorVersion) {
    this.effectiveMinorVersion = effectiveMinorVersion;
  }


  public ServletContextNonAuthenticatedEntity serverInfo(String serverInfo) {
    
    this.serverInfo = serverInfo;
    return this;
  }

   /**
   * Get serverInfo
   * @return serverInfo
  **/
  @jakarta.annotation.Nullable

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

  public String getServerInfo() {
    return serverInfo;
  }


  @JsonProperty(JSON_PROPERTY_SERVER_INFO)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setServerInfo(String serverInfo) {
    this.serverInfo = serverInfo;
  }


  public ServletContextNonAuthenticatedEntity servletContextName(String servletContextName) {
    
    this.servletContextName = servletContextName;
    return this;
  }

   /**
   * Get servletContextName
   * @return servletContextName
  **/
  @jakarta.annotation.Nullable

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

  public String getServletContextName() {
    return servletContextName;
  }


  @JsonProperty(JSON_PROPERTY_SERVLET_CONTEXT_NAME)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setServletContextName(String servletContextName) {
    this.servletContextName = servletContextName;
  }


  public ServletContextNonAuthenticatedEntity sessionCookieConfig(SessionCookieConfigNonAuthenticatedEntity sessionCookieConfig) {
    
    this.sessionCookieConfig = sessionCookieConfig;
    return this;
  }

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

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

  public SessionCookieConfigNonAuthenticatedEntity getSessionCookieConfig() {
    return sessionCookieConfig;
  }


  @JsonProperty(JSON_PROPERTY_SESSION_COOKIE_CONFIG)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSessionCookieConfig(SessionCookieConfigNonAuthenticatedEntity sessionCookieConfig) {
    this.sessionCookieConfig = sessionCookieConfig;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ServletContextNonAuthenticatedEntity servletContextNonAuthenticatedEntity = (ServletContextNonAuthenticatedEntity) o;
    return Objects.equals(this.classLoader, servletContextNonAuthenticatedEntity.classLoader) &&
        Objects.equals(this.majorVersion, servletContextNonAuthenticatedEntity.majorVersion) &&
        Objects.equals(this.minorVersion, servletContextNonAuthenticatedEntity.minorVersion) &&
        Objects.equals(this.attributeNames, servletContextNonAuthenticatedEntity.attributeNames) &&
        Objects.equals(this.initParameterNames, servletContextNonAuthenticatedEntity.initParameterNames) &&
        Objects.equals(this.contextPath, servletContextNonAuthenticatedEntity.contextPath) &&
        Objects.equals(this.sessionTrackingModes, servletContextNonAuthenticatedEntity.sessionTrackingModes) &&
        Objects.equals(this.servletRegistrations, servletContextNonAuthenticatedEntity.servletRegistrations) &&
        Objects.equals(this.filterRegistrations, servletContextNonAuthenticatedEntity.filterRegistrations) &&
        Objects.equals(this.effectiveSessionTrackingModes, servletContextNonAuthenticatedEntity.effectiveSessionTrackingModes) &&
        Objects.equals(this.jspConfigDescriptor, servletContextNonAuthenticatedEntity.jspConfigDescriptor) &&
        Objects.equals(this.virtualServerName, servletContextNonAuthenticatedEntity.virtualServerName) &&
        Objects.equals(this.sessionTimeout, servletContextNonAuthenticatedEntity.sessionTimeout) &&
        Objects.equals(this.requestCharacterEncoding, servletContextNonAuthenticatedEntity.requestCharacterEncoding) &&
        Objects.equals(this.responseCharacterEncoding, servletContextNonAuthenticatedEntity.responseCharacterEncoding) &&
        Objects.equals(this.defaultSessionTrackingModes, servletContextNonAuthenticatedEntity.defaultSessionTrackingModes) &&
        Objects.equals(this.effectiveMajorVersion, servletContextNonAuthenticatedEntity.effectiveMajorVersion) &&
        Objects.equals(this.effectiveMinorVersion, servletContextNonAuthenticatedEntity.effectiveMinorVersion) &&
        Objects.equals(this.serverInfo, servletContextNonAuthenticatedEntity.serverInfo) &&
        Objects.equals(this.servletContextName, servletContextNonAuthenticatedEntity.servletContextName) &&
        Objects.equals(this.sessionCookieConfig, servletContextNonAuthenticatedEntity.sessionCookieConfig);
  }

  @Override
  public int hashCode() {
    return Objects.hash(classLoader, majorVersion, minorVersion, attributeNames, initParameterNames, contextPath, sessionTrackingModes, servletRegistrations, filterRegistrations, effectiveSessionTrackingModes, jspConfigDescriptor, virtualServerName, sessionTimeout, requestCharacterEncoding, responseCharacterEncoding, defaultSessionTrackingModes, effectiveMajorVersion, effectiveMinorVersion, serverInfo, servletContextName, sessionCookieConfig);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ServletContextNonAuthenticatedEntity {\n");
    sb.append("    classLoader: ").append(toIndentedString(classLoader)).append("\n");
    sb.append("    majorVersion: ").append(toIndentedString(majorVersion)).append("\n");
    sb.append("    minorVersion: ").append(toIndentedString(minorVersion)).append("\n");
    sb.append("    attributeNames: ").append(toIndentedString(attributeNames)).append("\n");
    sb.append("    initParameterNames: ").append(toIndentedString(initParameterNames)).append("\n");
    sb.append("    contextPath: ").append(toIndentedString(contextPath)).append("\n");
    sb.append("    sessionTrackingModes: ").append(toIndentedString(sessionTrackingModes)).append("\n");
    sb.append("    servletRegistrations: ").append(toIndentedString(servletRegistrations)).append("\n");
    sb.append("    filterRegistrations: ").append(toIndentedString(filterRegistrations)).append("\n");
    sb.append("    effectiveSessionTrackingModes: ").append(toIndentedString(effectiveSessionTrackingModes)).append("\n");
    sb.append("    jspConfigDescriptor: ").append(toIndentedString(jspConfigDescriptor)).append("\n");
    sb.append("    virtualServerName: ").append(toIndentedString(virtualServerName)).append("\n");
    sb.append("    sessionTimeout: ").append(toIndentedString(sessionTimeout)).append("\n");
    sb.append("    requestCharacterEncoding: ").append(toIndentedString(requestCharacterEncoding)).append("\n");
    sb.append("    responseCharacterEncoding: ").append(toIndentedString(responseCharacterEncoding)).append("\n");
    sb.append("    defaultSessionTrackingModes: ").append(toIndentedString(defaultSessionTrackingModes)).append("\n");
    sb.append("    effectiveMajorVersion: ").append(toIndentedString(effectiveMajorVersion)).append("\n");
    sb.append("    effectiveMinorVersion: ").append(toIndentedString(effectiveMinorVersion)).append("\n");
    sb.append("    serverInfo: ").append(toIndentedString(serverInfo)).append("\n");
    sb.append("    servletContextName: ").append(toIndentedString(servletContextName)).append("\n");
    sb.append("    sessionCookieConfig: ").append(toIndentedString(sessionCookieConfig)).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    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy