// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.logic.models;

import com.azure.resourcemanager.logic.fluent.models.WorkflowTriggerHistoryInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of WorkflowTriggerHistory. */
public interface WorkflowTriggerHistory {
    /**
     * Gets the id property: Fully qualified resource Id for the resource.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: Gets the workflow trigger history name.
     *
     * @return the name value.
     */
    String name();

    /**
     * Gets the type property: Gets the workflow trigger history type.
     *
     * @return the type value.
     */
    String type();

    /**
     * Gets the startTime property: Gets the start time.
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the endTime property: Gets the end time.
     *
     * @return the endTime value.
     */
    OffsetDateTime endTime();

    /**
     * Gets the scheduledTime property: The scheduled time.
     *
     * @return the scheduledTime value.
     */
    OffsetDateTime scheduledTime();

    /**
     * Gets the status property: Gets the status.
     *
     * @return the status value.
     */
    WorkflowStatus status();

    /**
     * Gets the code property: Gets the code.
     *
     * @return the code value.
     */
    String code();

    /**
     * Gets the error property: Gets the error.
     *
     * @return the error value.
     */
    Object error();

    /**
     * Gets the trackingId property: Gets the tracking id.
     *
     * @return the trackingId value.
     */
    String trackingId();

    /**
     * Gets the correlation property: The run correlation.
     *
     * @return the correlation value.
     */
    Correlation correlation();

    /**
     * Gets the inputsLink property: Gets the link to input parameters.
     *
     * @return the inputsLink value.
     */
    ContentLink inputsLink();

    /**
     * Gets the outputsLink property: Gets the link to output parameters.
     *
     * @return the outputsLink value.
     */
    ContentLink outputsLink();

    /**
     * Gets the fired property: The value indicating whether trigger was fired.
     *
     * @return the fired value.
     */
    Boolean fired();

    /**
     * Gets the run property: Gets the reference to workflow run.
     *
     * @return the run value.
     */
    ResourceReference run();

    /**
     * Gets the inner com.azure.resourcemanager.logic.fluent.models.WorkflowTriggerHistoryInner object.
     *
     * @return the inner object.
     */
    WorkflowTriggerHistoryInner innerModel();
}
