CapabilityBase Class
- java.
lang. Object - com.
azure. resourcemanager. postgresqlflexibleserver. models. CapabilityBase
- com.
Implements
public class CapabilityBase
implements JsonSerializable<CapabilityBase>
Base object for representing capability.
Constructor Summary
| Constructor | Description |
|---|---|
| CapabilityBase() |
Creates an instance of Capability |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Capability |
fromJson(JsonReader jsonReader)
Reads an instance of Capability |
| String |
reason()
Get the reason property: The reason for the capability not being available. |
|
Capability |
status()
Get the status property: The status of the capability. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
CapabilityBase
public CapabilityBase()
Creates an instance of CapabilityBase class.
Method Details
fromJson
public static CapabilityBase fromJson(JsonReader jsonReader)
Reads an instance of CapabilityBase from the JsonReader.
Parameters:
Returns:
Throws:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
toJson
validate
public void validate()
Validates the instance.