Capability Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. Capability
- com.
Implements
public final class Capability
implements JsonSerializable<Capability>
A name/value pair to describe a capability.
Constructor Summary
| Constructor | Description |
|---|---|
| Capability() |
Creates an instance of Capability class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Capability |
fromJson(JsonReader jsonReader)
Reads an instance of Capability from the Json |
| String |
name()
Get the name property: Name of the capability. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Value of the capability. |
Methods inherited from java.lang.Object
Constructor Details
Capability
public Capability()
Creates an instance of Capability class.
Method Details
fromJson
public static Capability fromJson(JsonReader jsonReader)
Reads an instance of Capability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the capability.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Value of the capability.
Returns: