EnvironmentDefinitionParameter Class
- java.
lang. Object - com.
azure. developer. devcenter. models. EnvironmentDefinitionParameter
- com.
Implements
public final class EnvironmentDefinitionParameter
implements JsonSerializable<EnvironmentDefinitionParameter>
Properties of an Environment Definition parameter.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
| List<String> |
getAllowed()
Get the allowed property: An array of allowed values. |
| String |
getDefaultValue()
Get the default |
| String |
getDescription()
Get the description property: Description of the parameter. |
| String |
getId()
Get the id property: Unique ID of the parameter. |
| String |
getName()
Get the name property: Display name of the parameter. |
|
Environment |
getParameterType()
Get the parameter |
| Boolean |
isReadOnly()
Get the read |
| boolean |
isRequired()
Get the required property: Whether or not this parameter is required. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static EnvironmentDefinitionParameter fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentDefinitionParameter from the JsonReader.
Parameters:
Returns:
Throws:
getAllowed
public List<String> getAllowed()
Get the allowed property: An array of allowed values.
Returns:
getDefaultValue
public String getDefaultValue()
Get the defaultValue property: Default value of the parameter.
Returns:
getDescription
public String getDescription()
Get the description property: Description of the parameter.
Returns:
getId
public String getId()
Get the id property: Unique ID of the parameter.
Returns:
getName
public String getName()
Get the name property: Display name of the parameter.
Returns:
getParameterType
public EnvironmentDefinitionParameterType getParameterType()
Get the parameterType property: A string of one of the basic JSON types (number, integer, array, object, boolean, string).
Returns:
isReadOnly
public Boolean isReadOnly()
Get the readOnly property: Whether or not this parameter is read-only. If true, default should have a value.
Returns:
isRequired
public boolean isRequired()
Get the required property: Whether or not this parameter is required.
Returns: