OperationResultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.OperationResultProperties

Implements

public class OperationResultProperties
implements JsonSerializable<OperationResultProperties>

The run operation result properties.

Constructor Summary

Modifier Constructor Description
protected OperationResultProperties()

Creates an instance of OperationResultProperties class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The workflow scope repetition code.

RunActionCorrelation correlation()

Get the correlation property: The correlation properties.

OffsetDateTime endTime()

Get the endTime property: The end time of the workflow scope repetition.

Object error()

Get the error property: Anything.

static OperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of OperationResultProperties from the JsonReader.

OffsetDateTime startTime()

Get the startTime property: The start time of the workflow scope repetition.

WorkflowStatus status()

Get the status property: The status of the workflow scope repetition.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationResultProperties

protected OperationResultProperties()

Creates an instance of OperationResultProperties class.

Method Details

code

public String code()

Get the code property: The workflow scope repetition code.

Returns:

the code value.

correlation

public RunActionCorrelation correlation()

Get the correlation property: The correlation properties.

Returns:

the correlation value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The end time of the workflow scope repetition.

Returns:

the endTime value.

error

public Object error()

Get the error property: Anything.

Returns:

the error value.

fromJson

public static OperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of OperationResultProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationResultProperties 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 OperationResultProperties.

startTime

public OffsetDateTime startTime()

Get the startTime property: The start time of the workflow scope repetition.

Returns:

the startTime value.

status

public WorkflowStatus status()

Get the status property: The status of the workflow scope repetition.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to