WorkflowRunInner Class

public final class WorkflowRunInner
extends SubResource

The workflow run.

Constructor Summary

Constructor Description
WorkflowRunInner()

Creates an instance of WorkflowRunInner class.

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 name()

Get the name property: Gets the workflow run name.

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.

JsonWriter toJson(JsonWriter jsonWriter)
WorkflowRunTrigger trigger()

Get the trigger property: Gets the fired trigger.

String type()

Get the type property: Gets the workflow run type.

void validate()

Validates the instance.

OffsetDateTime waitEndTime()

Get the waitEndTime property: Gets the wait end time.

WorkflowRunInner withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

WorkflowRunInner withId(String id)
ResourceReference workflow()

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

WorkflowRunInner

public WorkflowRunInner()

Creates an instance of WorkflowRunInner class.

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 an error occurs while reading the WorkflowRunInner.

name

public String name()

Get the name property: Gets the workflow run name.

Returns:

the name value.

outputs

public Map 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.

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: Gets the workflow run 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.

withCorrelation

public WorkflowRunInner withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

Parameters:

correlation - the correlation value to set.

Returns:

the WorkflowRunInner object itself.

withId

public WorkflowRunInner withId(String id)

Overrides:

WorkflowRunInner.withId(String id)

Parameters:

id

workflow

public ResourceReference workflow()

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

Returns:

the workflow value.

Applies to