// 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.WorkflowTriggerInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of WorkflowTrigger. */
public interface WorkflowTrigger {
    /**
     * 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 name.
     *
     * @return the name value.
     */
    String name();

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

    /**
     * Gets the provisioningState property: Gets the provisioning state.
     *
     * @return the provisioningState value.
     */
    WorkflowTriggerProvisioningState provisioningState();

    /**
     * Gets the createdTime property: Gets the created time.
     *
     * @return the createdTime value.
     */
    OffsetDateTime createdTime();

    /**
     * Gets the changedTime property: Gets the changed time.
     *
     * @return the changedTime value.
     */
    OffsetDateTime changedTime();

    /**
     * Gets the state property: Gets the state.
     *
     * @return the state value.
     */
    WorkflowState state();

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

    /**
     * Gets the lastExecutionTime property: Gets the last execution time.
     *
     * @return the lastExecutionTime value.
     */
    OffsetDateTime lastExecutionTime();

    /**
     * Gets the nextExecutionTime property: Gets the next execution time.
     *
     * @return the nextExecutionTime value.
     */
    OffsetDateTime nextExecutionTime();

    /**
     * Gets the recurrence property: Gets the workflow trigger recurrence.
     *
     * @return the recurrence value.
     */
    WorkflowTriggerRecurrence recurrence();

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

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