Class WorkflowTriggerHistoryInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.appservice.fluent.models.WorkflowTriggerHistoryInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.SubResource>
public final class WorkflowTriggerHistoryInner
extends com.azure.core.management.SubResource
The workflow trigger history.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkflowTriggerHistoryInner 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.static WorkflowTriggerHistoryInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of WorkflowTriggerHistoryInner from the JsonReader.Get the inputsLink property: Gets the link to input parameters.name()
Get the name property: Gets the workflow trigger history name.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.type()
Get the type property: Gets the workflow trigger history type.void
validate()
Validates the instance.withCorrelation
(Correlation correlation) Set the correlation property: The run correlation.Methods inherited from class com.azure.core.management.SubResource
id
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
-
WorkflowTriggerHistoryInner
public WorkflowTriggerHistoryInner()Creates an instance of WorkflowTriggerHistoryInner class.
-
-
Method Details
-
name
Get the name property: Gets the workflow trigger history name.- Returns:
- the name value.
-
type
Get the type property: Gets the workflow trigger history type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
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 WorkflowTriggerHistoryInner 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<com.azure.core.management.SubResource>
- Overrides:
toJson
in classcom.azure.core.management.SubResource
- Throws:
IOException
-
fromJson
public static WorkflowTriggerHistoryInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-