Condividi tramite


WorkflowRunInner Class

public final class WorkflowRunInner
extends ProxyResource

The workflow run.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Gets the code.

Correlation correlation()

Get the correlation property: The run correlation.

String correlationId()

Get the correlationId property: Gets the correlation id.

OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Object error()

Get the error property: Gets the error.

static WorkflowRunInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowRunInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

Map<String,WorkflowOutputParameter> outputs()

Get the outputs property: Gets the outputs.

WorkflowRunTrigger response()

Get the response property: Gets the response of the flow run.

OffsetDateTime startTime()

Get the startTime property: Gets the start time.

WorkflowStatus status()

Get the status property: Gets the status.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
WorkflowRunTrigger trigger()

Get the trigger property: Gets the fired trigger.

String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

OffsetDateTime waitEndTime()

Get the waitEndTime property: Gets the wait end time.

ResourceReference workflow()

Get the workflow property: Gets the reference to workflow version.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

code

public String code()

Get the code property: Gets the code.

Returns:

the code value.

correlation

public Correlation correlation()

Get the correlation property: The run correlation.

Returns:

the correlation value.

correlationId

public String correlationId()

Get the correlationId property: Gets the correlation id.

Returns:

the correlationId value.

endTime

public OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Returns:

the endTime value.

error

public Object error()

Get the error property: Gets the error.

Returns:

the error value.

fromJson

public static WorkflowRunInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowRunInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

WorkflowRunInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

WorkflowRunInner.name()

Returns:

the name value.

outputs

public Map<String,WorkflowOutputParameter> outputs()

Get the outputs property: Gets the outputs.

Returns:

the outputs value.

response

public WorkflowRunTrigger response()

Get the response property: Gets the response of the flow run.

Returns:

the response value.

startTime

public OffsetDateTime startTime()

Get the startTime property: Gets the start time.

Returns:

the startTime value.

status

public WorkflowStatus status()

Get the status property: Gets the status.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

WorkflowRunInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trigger

public WorkflowRunTrigger trigger()

Get the trigger property: Gets the fired trigger.

Returns:

the trigger value.

type

public String type()

Get the type property: The type of the resource.

Overrides:

WorkflowRunInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

waitEndTime

public OffsetDateTime waitEndTime()

Get the waitEndTime property: Gets the wait end time.

Returns:

the waitEndTime value.

workflow

public ResourceReference workflow()

Get the workflow property: Gets the reference to workflow version.

Returns:

the workflow value.

Applies to