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

package com.azure.resourcemanager.costmanagement.models;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.costmanagement.fluent.models.ExportRunPropertiesInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of ExportRunProperties. */
public interface ExportRunProperties {
    /**
     * Gets the executionType property: The type of the export run.
     *
     * @return the executionType value.
     */
    ExecutionType executionType();

    /**
     * Gets the status property: The last known status of the export run.
     *
     * @return the status value.
     */
    ExecutionStatus status();

    /**
     * Gets the submittedBy property: The identifier for the entity that triggered the export. For on-demand runs it is
     * the user email. For scheduled runs it is 'System'.
     *
     * @return the submittedBy value.
     */
    String submittedBy();

    /**
     * Gets the submittedTime property: The time when export was queued to be run.
     *
     * @return the submittedTime value.
     */
    OffsetDateTime submittedTime();

    /**
     * Gets the processingStartTime property: The time when export was picked up to be run.
     *
     * @return the processingStartTime value.
     */
    OffsetDateTime processingStartTime();

    /**
     * Gets the processingEndTime property: The time when the export run finished.
     *
     * @return the processingEndTime value.
     */
    OffsetDateTime processingEndTime();

    /**
     * Gets the fileName property: The name of the exported file.
     *
     * @return the fileName value.
     */
    String fileName();

    /**
     * Gets the runSettings property: The export settings that were in effect for this run.
     *
     * @return the runSettings value.
     */
    CommonExportProperties runSettings();

    /**
     * Gets the error property: The details of any error.
     *
     * @return the error value.
     */
    ManagementError error();

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