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 Details

    • TestNotificationDetailsResponseInner

      public TestNotificationDetailsResponseInner()
      Creates an instance of TestNotificationDetailsResponseInner class.
  • Method Details

    • context

      public Context context()
      Get the context property: The context info.
      Returns:
      the context value.
    • withContext

      public TestNotificationDetailsResponseInner withContext(Context context)
      Set the context property: The context info.
      Parameters:
      context - the context value to set.
      Returns:
      the TestNotificationDetailsResponseInner object itself.
    • state

      public String state()
      Get the state property: The overall state.
      Returns:
      the state value.
    • withState

      public TestNotificationDetailsResponseInner withState(String state)
      Set the state property: The overall state.
      Parameters:
      state - the state value to set.
      Returns:
      the TestNotificationDetailsResponseInner object itself.
    • completedTime

      public String completedTime()
      Get the completedTime property: The completed time.
      Returns:
      the completedTime value.
    • withCompletedTime

      public TestNotificationDetailsResponseInner withCompletedTime(String completedTime)
      Set the completedTime property: The completed time.
      Parameters:
      completedTime - the completedTime value to set.
      Returns:
      the TestNotificationDetailsResponseInner object itself.
    • createdTime

      public String createdTime()
      Get the createdTime property: The created time.
      Returns:
      the createdTime value.
    • withCreatedTime

      public TestNotificationDetailsResponseInner withCreatedTime(String createdTime)
      Set the createdTime property: The created time.
      Parameters:
      createdTime - the createdTime value to set.
      Returns:
      the TestNotificationDetailsResponseInner object itself.
    • actionDetails

      public List<ActionDetail> actionDetails()
      Get the actionDetails property: The list of action detail.
      Returns:
      the actionDetails value.
    • withActionDetails

      public TestNotificationDetailsResponseInner withActionDetails(List<ActionDetail> actionDetails)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.