travel.wink.sdk.affiliate.syndication.model.ApplicationContextNonAuthenticatedEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of affiliate-winklinks-sdk-java Show documentation
Show all versions of affiliate-winklinks-sdk-java Show documentation
Java SDK for the Wink Affiliate WinkLinks API
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 java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import travel.wink.sdk.affiliate.syndication.model.ApplicationContextNonAuthenticatedEntityClassLoader;
import travel.wink.sdk.affiliate.syndication.model.EnvironmentNonAuthenticatedEntity;
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.*;
/**
* ApplicationContextNonAuthenticatedEntity
*/
@JsonPropertyOrder({
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_PARENT,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_ID,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_DISPLAY_NAME,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_AUTOWIRE_CAPABLE_BEAN_FACTORY,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_STARTUP_DATE,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_APPLICATION_NAME,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_ENVIRONMENT,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_BEAN_DEFINITION_COUNT,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_BEAN_DEFINITION_NAMES,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_PARENT_BEAN_FACTORY,
ApplicationContextNonAuthenticatedEntity.JSON_PROPERTY_CLASS_LOADER
})
@JsonTypeName("ApplicationContext_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 ApplicationContextNonAuthenticatedEntity {
public static final String JSON_PROPERTY_PARENT = "parent";
private ApplicationContextNonAuthenticatedEntity parent;
public static final String JSON_PROPERTY_ID = "id";
private String id;
public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName";
private String displayName;
public static final String JSON_PROPERTY_AUTOWIRE_CAPABLE_BEAN_FACTORY = "autowireCapableBeanFactory";
private Object autowireCapableBeanFactory;
public static final String JSON_PROPERTY_STARTUP_DATE = "startupDate";
private Long startupDate;
public static final String JSON_PROPERTY_APPLICATION_NAME = "applicationName";
private String applicationName;
public static final String JSON_PROPERTY_ENVIRONMENT = "environment";
private EnvironmentNonAuthenticatedEntity environment;
public static final String JSON_PROPERTY_BEAN_DEFINITION_COUNT = "beanDefinitionCount";
private Integer beanDefinitionCount;
public static final String JSON_PROPERTY_BEAN_DEFINITION_NAMES = "beanDefinitionNames";
private List beanDefinitionNames;
public static final String JSON_PROPERTY_PARENT_BEAN_FACTORY = "parentBeanFactory";
private Object parentBeanFactory;
public static final String JSON_PROPERTY_CLASS_LOADER = "classLoader";
private ApplicationContextNonAuthenticatedEntityClassLoader classLoader;
public ApplicationContextNonAuthenticatedEntity() {
}
public ApplicationContextNonAuthenticatedEntity parent(ApplicationContextNonAuthenticatedEntity parent) {
this.parent = parent;
return this;
}
/**
* Get parent
* @return parent
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_PARENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ApplicationContextNonAuthenticatedEntity getParent() {
return parent;
}
@JsonProperty(JSON_PROPERTY_PARENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setParent(ApplicationContextNonAuthenticatedEntity parent) {
this.parent = parent;
}
public ApplicationContextNonAuthenticatedEntity id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(String id) {
this.id = id;
}
public ApplicationContextNonAuthenticatedEntity displayName(String displayName) {
this.displayName = displayName;
return this;
}
/**
* Get displayName
* @return displayName
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getDisplayName() {
return displayName;
}
@JsonProperty(JSON_PROPERTY_DISPLAY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public ApplicationContextNonAuthenticatedEntity autowireCapableBeanFactory(Object autowireCapableBeanFactory) {
this.autowireCapableBeanFactory = autowireCapableBeanFactory;
return this;
}
/**
* Get autowireCapableBeanFactory
* @return autowireCapableBeanFactory
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_AUTOWIRE_CAPABLE_BEAN_FACTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getAutowireCapableBeanFactory() {
return autowireCapableBeanFactory;
}
@JsonProperty(JSON_PROPERTY_AUTOWIRE_CAPABLE_BEAN_FACTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setAutowireCapableBeanFactory(Object autowireCapableBeanFactory) {
this.autowireCapableBeanFactory = autowireCapableBeanFactory;
}
public ApplicationContextNonAuthenticatedEntity startupDate(Long startupDate) {
this.startupDate = startupDate;
return this;
}
/**
* Get startupDate
* @return startupDate
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STARTUP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getStartupDate() {
return startupDate;
}
@JsonProperty(JSON_PROPERTY_STARTUP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStartupDate(Long startupDate) {
this.startupDate = startupDate;
}
public ApplicationContextNonAuthenticatedEntity applicationName(String applicationName) {
this.applicationName = applicationName;
return this;
}
/**
* Get applicationName
* @return applicationName
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_APPLICATION_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getApplicationName() {
return applicationName;
}
@JsonProperty(JSON_PROPERTY_APPLICATION_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
public ApplicationContextNonAuthenticatedEntity environment(EnvironmentNonAuthenticatedEntity environment) {
this.environment = environment;
return this;
}
/**
* Get environment
* @return environment
**/
@jakarta.annotation.Nullable
@Valid
@JsonProperty(JSON_PROPERTY_ENVIRONMENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnvironmentNonAuthenticatedEntity getEnvironment() {
return environment;
}
@JsonProperty(JSON_PROPERTY_ENVIRONMENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnvironment(EnvironmentNonAuthenticatedEntity environment) {
this.environment = environment;
}
public ApplicationContextNonAuthenticatedEntity beanDefinitionCount(Integer beanDefinitionCount) {
this.beanDefinitionCount = beanDefinitionCount;
return this;
}
/**
* Get beanDefinitionCount
* @return beanDefinitionCount
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BEAN_DEFINITION_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getBeanDefinitionCount() {
return beanDefinitionCount;
}
@JsonProperty(JSON_PROPERTY_BEAN_DEFINITION_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBeanDefinitionCount(Integer beanDefinitionCount) {
this.beanDefinitionCount = beanDefinitionCount;
}
public ApplicationContextNonAuthenticatedEntity beanDefinitionNames(List beanDefinitionNames) {
this.beanDefinitionNames = beanDefinitionNames;
return this;
}
public ApplicationContextNonAuthenticatedEntity addBeanDefinitionNamesItem(String beanDefinitionNamesItem) {
if (this.beanDefinitionNames == null) {
this.beanDefinitionNames = new ArrayList<>();
}
this.beanDefinitionNames.add(beanDefinitionNamesItem);
return this;
}
/**
* Get beanDefinitionNames
* @return beanDefinitionNames
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BEAN_DEFINITION_NAMES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List getBeanDefinitionNames() {
return beanDefinitionNames;
}
@JsonProperty(JSON_PROPERTY_BEAN_DEFINITION_NAMES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBeanDefinitionNames(List beanDefinitionNames) {
this.beanDefinitionNames = beanDefinitionNames;
}
public ApplicationContextNonAuthenticatedEntity parentBeanFactory(Object parentBeanFactory) {
this.parentBeanFactory = parentBeanFactory;
return this;
}
/**
* Get parentBeanFactory
* @return parentBeanFactory
**/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PARENT_BEAN_FACTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getParentBeanFactory() {
return parentBeanFactory;
}
@JsonProperty(JSON_PROPERTY_PARENT_BEAN_FACTORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setParentBeanFactory(Object parentBeanFactory) {
this.parentBeanFactory = parentBeanFactory;
}
public ApplicationContextNonAuthenticatedEntity classLoader(ApplicationContextNonAuthenticatedEntityClassLoader 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 ApplicationContextNonAuthenticatedEntityClassLoader getClassLoader() {
return classLoader;
}
@JsonProperty(JSON_PROPERTY_CLASS_LOADER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClassLoader(ApplicationContextNonAuthenticatedEntityClassLoader classLoader) {
this.classLoader = classLoader;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ApplicationContextNonAuthenticatedEntity applicationContextNonAuthenticatedEntity = (ApplicationContextNonAuthenticatedEntity) o;
return Objects.equals(this.parent, applicationContextNonAuthenticatedEntity.parent) &&
Objects.equals(this.id, applicationContextNonAuthenticatedEntity.id) &&
Objects.equals(this.displayName, applicationContextNonAuthenticatedEntity.displayName) &&
Objects.equals(this.autowireCapableBeanFactory, applicationContextNonAuthenticatedEntity.autowireCapableBeanFactory) &&
Objects.equals(this.startupDate, applicationContextNonAuthenticatedEntity.startupDate) &&
Objects.equals(this.applicationName, applicationContextNonAuthenticatedEntity.applicationName) &&
Objects.equals(this.environment, applicationContextNonAuthenticatedEntity.environment) &&
Objects.equals(this.beanDefinitionCount, applicationContextNonAuthenticatedEntity.beanDefinitionCount) &&
Objects.equals(this.beanDefinitionNames, applicationContextNonAuthenticatedEntity.beanDefinitionNames) &&
Objects.equals(this.parentBeanFactory, applicationContextNonAuthenticatedEntity.parentBeanFactory) &&
Objects.equals(this.classLoader, applicationContextNonAuthenticatedEntity.classLoader);
}
@Override
public int hashCode() {
return Objects.hash(parent, id, displayName, autowireCapableBeanFactory, startupDate, applicationName, environment, beanDefinitionCount, beanDefinitionNames, parentBeanFactory, classLoader);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ApplicationContextNonAuthenticatedEntity {\n");
sb.append(" parent: ").append(toIndentedString(parent)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" displayName: ").append(toIndentedString(displayName)).append("\n");
sb.append(" autowireCapableBeanFactory: ").append(toIndentedString(autowireCapableBeanFactory)).append("\n");
sb.append(" startupDate: ").append(toIndentedString(startupDate)).append("\n");
sb.append(" applicationName: ").append(toIndentedString(applicationName)).append("\n");
sb.append(" environment: ").append(toIndentedString(environment)).append("\n");
sb.append(" beanDefinitionCount: ").append(toIndentedString(beanDefinitionCount)).append("\n");
sb.append(" beanDefinitionNames: ").append(toIndentedString(beanDefinitionNames)).append("\n");
sb.append(" parentBeanFactory: ").append(toIndentedString(parentBeanFactory)).append("\n");
sb.append(" classLoader: ").append(toIndentedString(classLoader)).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