EnvironmentDefinitionParameter Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. EnvironmentDefinitionParameter
- com.
Implements
public final class EnvironmentDefinitionParameter
implements JsonSerializable<EnvironmentDefinitionParameter>
Properties of an Environment Definition parameter.
Constructor Summary
| Constructor | Description |
|---|---|
| EnvironmentDefinitionParameter() |
Creates an instance of Environment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the parameter. |
|
static
Environment |
fromJson(JsonReader jsonReader)
Reads an instance of Environment |
| String |
id()
Get the id property: Unique ID of the parameter. |
| String |
name()
Get the name property: Display name of the parameter. |
| Boolean |
readOnly()
Get the read |
| Boolean |
required()
Get the required property: Whether or not this parameter is required. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Parameter |
type()
Get the type property: A string of one of the basic JSON types (number, integer, array, object, boolean, string). |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
EnvironmentDefinitionParameter
public EnvironmentDefinitionParameter()
Creates an instance of EnvironmentDefinitionParameter class.
Method Details
description
public String description()
Get the description property: Description of the parameter.
Returns:
fromJson
public static EnvironmentDefinitionParameter fromJson(JsonReader jsonReader)
Reads an instance of EnvironmentDefinitionParameter from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Unique ID of the parameter.
Returns:
name
public String name()
Get the name property: Display name of the parameter.
Returns:
readOnly
public Boolean readOnly()
Get the readOnly property: Whether or not this parameter is read-only. If true, default should have a value.
Returns:
required
public Boolean required()
Get the required property: Whether or not this parameter is required.
Returns:
toJson
type
public ParameterType type()
Get the type property: A string of one of the basic JSON types (number, integer, array, object, boolean, string).
Returns:
validate
public void validate()
Validates the instance.