| Modifier and Type | Method and Description |
|---|---|
| public ServerVariable | Returns: ServerVariable instance with the added enum item.an item to be added to enum list enumeration)This method adds a string item to enumeration list of a ServerVariable instance and returns the instance. |
| public default ServerVariable | Returns: ServerVariable instance with the set defaultValue propertythe value to use for substitution, and to send, if an alternate value is not supplied defaultValue)The default value to use for substitution, and to send, if an alternate value is not supplied. |
| public default ServerVariable | Returns: ServerVariable instance with the set description propertya short description of the server variable description)This method sets the description property of ServerVariable instance to the given description argument and returns the modeified instance. |
| public default ServerVariable | Returns: ServerVariable instance with the set enumeration propertyan list of string values to be used if the substitution options are from a limited set enumeration)This method sets the enumeration property of ServerVariable instance to the given enumeration argument and returns the modified instance. |
| public String | Returns: String defaultValueThe default value to use for substitution, and to send, if an alternate value is not supplied. |
| public String | Returns: String descriptionThis method returns the description property of ServerVariable instance. |
| public List | Returns: a copy List (potentially immutable) of possible values for this variableThis method returns the enumeration property of ServerVariable instance. |
| public void | removeEnumeration(String
an item to be removed to enum list enumeration)This method removes a string item to enumeration list of a ServerVariable instance. |
| public void | setDefaultValue(String
the value to use for substitution, and to send, if an alternate value is not supplied defaultValue)The default value to use for substitution, and to send, if an alternate value is not supplied. |
| public void | setDescription(String
a short description of the server variable description)This method sets the description property of ServerVariable instance to the given description argument. |
| public void | setEnumeration(List<String>
an list of string values to be used if the substitution options are from a limited set enumeration)This method sets the enumeration property of ServerVariable instance to the given enumeration argument. |
| addEnumeration | back to summary |
|---|---|
| public ServerVariable addEnumeration(String enumeration) This method adds a string item to enumeration list of a ServerVariable instance and returns the instance. If the enumeration list is null, this method should create a new ArrayList and add the item.
| |
| defaultValue | back to summary |
|---|---|
| public default ServerVariable defaultValue(String defaultValue) The default value to use for substitution, and to send, if an alternate value is not supplied. This value MUST be provided by the consumer and is REQUIRED.
If This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument and returns the modified instance.
| |
| description | back to summary |
|---|---|
| public default ServerVariable description(String description) This method sets the description property of ServerVariable instance to the given description argument and returns the modeified instance. Description property is optional for server variable. CommonMark syntax can be used for rich text representation.
| |
| enumeration | back to summary |
|---|---|
| public default ServerVariable enumeration(List<String> enumeration) This method sets the enumeration property of ServerVariable instance to the given enumeration argument and returns the modified instance. This property represents an enum of string values to be used if the substitution options are from a limited set.
| |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() The default value to use for substitution, and to send, if an alternate value is not supplied. This value MUST be provided by the consumer and is REQUIRED. This method returns the defaultValue property from ServerVariable instance.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() This method returns the description property of ServerVariable instance. Description property is optional for server variable.
| |
| getEnumeration | back to summary |
|---|---|
| public List This method returns the enumeration property of ServerVariable instance. This property represents an enumeration of string values to be used if the substitution options are from a limited set | |
| removeEnumeration | back to summary |
|---|---|
| public void removeEnumeration(String enumeration) This method removes a string item to enumeration list of a ServerVariable instance.
| |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String defaultValue) The default value to use for substitution, and to send, if an alternate value is not supplied. This value MUST be provided by the consumer and is REQUIRED.
If This method sets the defaultValue property of ServerVariable instance to the given defaultValue argument.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) This method sets the description property of ServerVariable instance to the given description argument. Description property is optional for server variable. CommonMark syntax can be used for rich text representation.
| |
| setEnumeration | back to summary |
|---|---|
| public void setEnumeration(List<String> enumeration) This method sets the enumeration property of ServerVariable instance to the given enumeration argument. This property represents an enumeration of string values to be used if the substitution options are from a limited set | |