Class WorkflowTriggerHistoryProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.WorkflowTriggerHistoryProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkflowTriggerHistoryProperties>
public final class WorkflowTriggerHistoryProperties
extends Object
implements com.azure.json.JsonSerializable<WorkflowTriggerHistoryProperties>
The workflow trigger history properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowTriggerHistoryProperties class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Gets the code.Get the correlation property: The run correlation.endTime()
Get the endTime property: Gets the end time.error()
Get the error property: Gets the error.fired()
Get the fired property: The value indicating whether trigger was fired.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowTriggerHistoryProperties from the JsonReader.Get the inputsLink property: Gets the link to input parameters.Get the outputsLink property: Gets the link to output parameters.run()
Get the run property: Gets the reference to workflow run.Get the scheduledTime property: The scheduled time.Get the startTime property: Gets the start time.status()
Get the status property: Gets the status.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Get the trackingId property: Gets the tracking id.void
validate()
Validates the instance.withCorrelation
(Correlation correlation) Set the correlation property: The run correlation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkflowTriggerHistoryProperties
public WorkflowTriggerHistoryProperties()Creates an instance of WorkflowTriggerHistoryProperties class.
-
-
Method Details
-
startTime
Get the startTime property: Gets the start time.- Returns:
- the startTime value.
-
endTime
Get the endTime property: Gets the end time.- Returns:
- the endTime value.
-
scheduledTime
Get the scheduledTime property: The scheduled time.- Returns:
- the scheduledTime value.
-
status
Get the status property: Gets the status.- Returns:
- the status value.
-
code
Get the code property: Gets the code.- Returns:
- the code value.
-
error
Get the error property: Gets the error.- Returns:
- the error value.
-
trackingId
Get the trackingId property: Gets the tracking id.- Returns:
- the trackingId value.
-
correlation
Get the correlation property: The run correlation.- Returns:
- the correlation value.
-
withCorrelation
Set the correlation property: The run correlation.- Parameters:
correlation
- the correlation value to set.- Returns:
- the WorkflowTriggerHistoryProperties object itself.
-
inputsLink
Get the inputsLink property: Gets the link to input parameters.- Returns:
- the inputsLink value.
-
outputsLink
Get the outputsLink property: Gets the link to output parameters.- Returns:
- the outputsLink value.
-
fired
Get the fired property: The value indicating whether trigger was fired.- Returns:
- the fired value.
-
run
Get the run property: Gets the reference to workflow run.- Returns:
- the run value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<WorkflowTriggerHistoryProperties>
- Throws:
IOException
-
fromJson
public static WorkflowTriggerHistoryProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of WorkflowTriggerHistoryProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of WorkflowTriggerHistoryProperties 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 WorkflowTriggerHistoryProperties.
-