WorkflowTriggerHistoryInner Class

public final class WorkflowTriggerHistoryInner
extends SubResource

The workflow trigger history.

Constructor Summary

Constructor Description
WorkflowTriggerHistoryInner()

Creates an instance of WorkflowTriggerHistoryInner 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.

OffsetDateTime endTime()

Get the endTime property: Gets the end time.

Object error()

Get the error property: Gets the error.

Boolean fired()

Get the fired property: The value indicating whether trigger was fired.

static WorkflowTriggerHistoryInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerHistoryInner from the JsonReader.

ContentLink inputsLink()

Get the inputsLink property: Gets the link to input parameters.

String name()

Get the name property: Gets the workflow trigger history name.

ContentLink outputsLink()

Get the outputsLink property: Gets the link to output parameters.

ResourceReference run()

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

OffsetDateTime scheduledTime()

Get the scheduledTime property: The scheduled time.

OffsetDateTime startTime()

Get the startTime property: Gets the start time.

WorkflowStatus status()

Get the status property: Gets the status.

JsonWriter toJson(JsonWriter jsonWriter)
String trackingId()

Get the trackingId property: Gets the tracking id.

String type()

Get the type property: Gets the workflow trigger history type.

void validate()

Validates the instance.

WorkflowTriggerHistoryInner withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

WorkflowTriggerHistoryInner withId(String id)

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

WorkflowTriggerHistoryInner

public WorkflowTriggerHistoryInner()

Creates an instance of WorkflowTriggerHistoryInner 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.

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.

fired

public Boolean fired()

Get the fired property: The value indicating whether trigger was fired.

Returns:

the fired value.

fromJson

public static WorkflowTriggerHistoryInner fromJson(JsonReader jsonReader)

Reads an instance of WorkflowTriggerHistoryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

inputsLink

public ContentLink inputsLink()

Get the inputsLink property: Gets the link to input parameters.

Returns:

the inputsLink value.

name

public String name()

Get the name property: Gets the workflow trigger history name.

Returns:

the name value.

outputsLink

public ContentLink outputsLink()

Get the outputsLink property: Gets the link to output parameters.

Returns:

the outputsLink value.

run

public ResourceReference run()

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

Returns:

the run value.

scheduledTime

public OffsetDateTime scheduledTime()

Get the scheduledTime property: The scheduled time.

Returns:

the scheduledTime 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:

WorkflowTriggerHistoryInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trackingId

public String trackingId()

Get the trackingId property: Gets the tracking id.

Returns:

the trackingId value.

type

public String type()

Get the type property: Gets the workflow trigger history type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withCorrelation

public WorkflowTriggerHistoryInner withCorrelation(Correlation correlation)

Set the correlation property: The run correlation.

Parameters:

correlation - the correlation value to set.

Returns:

the WorkflowTriggerHistoryInner object itself.

withId

public WorkflowTriggerHistoryInner withId(String id)

Overrides:

WorkflowTriggerHistoryInner.withId(String id)

Parameters:

id

Applies to