travel.wink.sdk.affiliate.syndication.invoker.ServerVariable 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
package travel.wink.sdk.affiliate.syndication.invoker;
import java.util.HashSet;
/**
* Representing a Server Variable for server URL template substitution.
*/
public class ServerVariable {
public String description;
public String defaultValue;
public HashSet enumValues = null;
/**
* @param description A description for the server variable.
* @param defaultValue The default value to use for substitution.
* @param enumValues An enumeration of string values to be used if the substitution options are from a limited set.
*/
public ServerVariable(String description, String defaultValue, HashSet enumValues) {
this.description = description;
this.defaultValue = defaultValue;
this.enumValues = enumValues;
}
}