ApiOperationAnnotation Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. ApiOperationAnnotation
- com.
Implements
public final class ApiOperationAnnotation
implements JsonSerializable<ApiOperationAnnotation>
The Api Operation Annotation.
Constructor Summary
| Constructor | Description |
|---|---|
| ApiOperationAnnotation() |
Creates an instance of Api |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
family()
Get the family property: The family. |
|
static
Api |
fromJson(JsonReader jsonReader)
Reads an instance of Api |
| Integer |
revision()
Get the revision property: The revision. |
|
Status |
status()
Get the status property: The status annotation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Api |
withFamily(String family)
Set the family property: The family. |
|
Api |
withRevision(Integer revision)
Set the revision property: The revision. |
|
Api |
withStatus(StatusAnnotation status)
Set the status property: The status annotation. |
Methods inherited from java.lang.Object
Constructor Details
ApiOperationAnnotation
public ApiOperationAnnotation()
Creates an instance of ApiOperationAnnotation class.
Method Details
family
public String family()
Get the family property: The family.
Returns:
fromJson
public static ApiOperationAnnotation fromJson(JsonReader jsonReader)
Reads an instance of ApiOperationAnnotation from the JsonReader.
Parameters:
Returns:
Throws:
revision
public Integer revision()
Get the revision property: The revision.
Returns:
status
public StatusAnnotation status()
Get the status property: The status annotation.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFamily
public ApiOperationAnnotation withFamily(String family)
Set the family property: The family.
Parameters:
Returns:
withRevision
public ApiOperationAnnotation withRevision(Integer revision)
Set the revision property: The revision.
Parameters:
Returns:
withStatus
public ApiOperationAnnotation withStatus(StatusAnnotation status)
Set the status property: The status annotation.
Parameters:
Returns: