Partager via


TestNotificationDetailsResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.monitor.fluent.models.TestNotificationDetailsResponseInner

Implements

public final class TestNotificationDetailsResponseInner
implements JsonSerializable<TestNotificationDetailsResponseInner>

The details of the test notification results.

Constructor Summary

Constructor Description
TestNotificationDetailsResponseInner()

Creates an instance of TestNotificationDetailsResponseInner class.

Method Summary

Modifier and Type Method and Description
List<ActionDetail> actionDetails()

Get the actionDetails property: The list of action detail.

String completedTime()

Get the completedTime property: The completed time.

Context context()

Get the context property: The context info.

String createdTime()

Get the createdTime property: The created time.

static TestNotificationDetailsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of TestNotificationDetailsResponseInner from the JsonReader.

String state()

Get the state property: The overall state.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

TestNotificationDetailsResponseInner withActionDetails(List<ActionDetail> actionDetails)

Set the actionDetails property: The list of action detail.

TestNotificationDetailsResponseInner withCompletedTime(String completedTime)

Set the completedTime property: The completed time.

TestNotificationDetailsResponseInner withContext(Context context)

Set the context property: The context info.

TestNotificationDetailsResponseInner withCreatedTime(String createdTime)

Set the createdTime property: The created time.

TestNotificationDetailsResponseInner withState(String state)

Set the state property: The overall state.

Methods inherited from java.lang.Object

Constructor Details

TestNotificationDetailsResponseInner

public TestNotificationDetailsResponseInner()

Creates an instance of TestNotificationDetailsResponseInner class.

Method Details

actionDetails

public List actionDetails()

Get the actionDetails property: The list of action detail.

Returns:

the actionDetails value.

completedTime

public String completedTime()

Get the completedTime property: The completed time.

Returns:

the completedTime value.

context

public Context context()

Get the context property: The context info.

Returns:

the context value.

createdTime

public String createdTime()

Get the createdTime property: The created time.

Returns:

the createdTime value.

fromJson

public static TestNotificationDetailsResponseInner fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

state

public String state()

Get the state property: The overall state.

Returns:

the state value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionDetails

public TestNotificationDetailsResponseInner withActionDetails(List actionDetails)

Set the actionDetails property: The list of action detail.

Parameters:

actionDetails - the actionDetails value to set.

Returns:

the TestNotificationDetailsResponseInner object itself.

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.

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.

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.

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.

Applies to