Comments Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. Comments
- com.
Implements
public final class Comments
implements JsonSerializable<Comments>
Change alert state reason.
Constructor Summary
| Constructor | Description |
|---|---|
| Comments() |
Creates an instance of Comments class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
comments()
Get the comments property: The comments property. |
| static Comments |
fromJson(JsonReader jsonReader)
Reads an instance of Comments from the Json |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Comments |
withComments(String comments)
Set the comments property: The comments property. |
Methods inherited from java.lang.Object
Constructor Details
Comments
public Comments()
Creates an instance of Comments class.
Method Details
comments
public String comments()
Get the comments property: The comments property.
Returns:
fromJson
public static Comments fromJson(JsonReader jsonReader)
Reads an instance of Comments from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withComments
public Comments withComments(String comments)
Set the comments property: The comments property.
Parameters:
Returns: