Class TestNotificationDetailsResponseInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.TestNotificationDetailsResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<TestNotificationDetailsResponseInner>
public final class TestNotificationDetailsResponseInner
extends Object
implements com.azure.json.JsonSerializable<TestNotificationDetailsResponseInner>
The details of the test notification results.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TestNotificationDetailsResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the actionDetails property: The list of action detail.Get the completedTime property: The completed time.context()
Get the context property: The context info.Get the createdTime property: The created time.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of TestNotificationDetailsResponseInner from the JsonReader.state()
Get the state property: The overall state.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withActionDetails
(List<ActionDetail> actionDetails) Set the actionDetails property: The list of action detail.withCompletedTime
(String completedTime) Set the completedTime property: The completed time.withContext
(Context context) Set the context property: The context info.withCreatedTime
(String createdTime) Set the createdTime property: The created time.Set the state property: The overall state.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
TestNotificationDetailsResponseInner
public TestNotificationDetailsResponseInner()Creates an instance of TestNotificationDetailsResponseInner class.
-
-
Method Details
-
context
Get the context property: The context info.- Returns:
- the context value.
-
withContext
Set the context property: The context info.- Parameters:
context
- the context value to set.- Returns:
- the TestNotificationDetailsResponseInner object itself.
-
state
Get the state property: The overall state.- Returns:
- the state value.
-
withState
Set the state property: The overall state.- Parameters:
state
- the state value to set.- Returns:
- the TestNotificationDetailsResponseInner object itself.
-
completedTime
Get the completedTime property: The completed time.- Returns:
- the completedTime value.
-
withCompletedTime
Set the completedTime property: The completed time.- Parameters:
completedTime
- the completedTime value to set.- Returns:
- the TestNotificationDetailsResponseInner object itself.
-
createdTime
Get the createdTime property: The created time.- Returns:
- the createdTime value.
-
withCreatedTime
Set the createdTime property: The created time.- Parameters:
createdTime
- the createdTime value to set.- Returns:
- the TestNotificationDetailsResponseInner object itself.
-
actionDetails
Get the actionDetails property: The list of action detail.- Returns:
- the actionDetails value.
-
withActionDetails
Set the actionDetails property: The list of action detail.- Parameters:
actionDetails
- the actionDetails value to set.- Returns:
- the TestNotificationDetailsResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<TestNotificationDetailsResponseInner>
- Throws:
IOException
-
fromJson
public static TestNotificationDetailsResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of TestNotificationDetailsResponseInner from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of TestNotificationDetailsResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the TestNotificationDetailsResponseInner.
-