OperationResultsDescriptionInner Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.fluent.models.OperationResultsDescriptionInner

Implements

public final class OperationResultsDescriptionInner
implements JsonSerializable<OperationResultsDescriptionInner>

The properties indicating the operation result of an operation on a service.

Constructor Summary

Constructor Description
OperationResultsDescriptionInner()

Creates an instance of OperationResultsDescriptionInner class.

Method Summary

Modifier and Type Method and Description
static OperationResultsDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of OperationResultsDescriptionInner from the JsonReader.

String id()

Get the id property: The ID of the operation returned.

String name()

Get the name property: The name of the operation result.

OffsetDateTime startTime()

Get the startTime property: The time that the operation was started.

OperationResultStatus status()

Get the status property: The status of the operation being performed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationResultsDescriptionInner

public OperationResultsDescriptionInner()

Creates an instance of OperationResultsDescriptionInner class.

Method Details

fromJson

public static OperationResultsDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of OperationResultsDescriptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationResultsDescriptionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the OperationResultsDescriptionInner.

id

public String id()

Get the id property: The ID of the operation returned.

Returns:

the id value.

name

public String name()

Get the name property: The name of the operation result.

Returns:

the name value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The time that the operation was started.

Returns:

the startTime value.

status

public OperationResultStatus status()

Get the status property: The status of the operation being performed.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to