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

package com.azure.resourcemanager.recoveryservicesbackup.models;

import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.OperationStatusInner;
import java.time.OffsetDateTime;

/** An immutable client-side representation of OperationStatus. */
public interface OperationStatus {
    /**
     * Gets the id property: ID of the operation.
     *
     * @return the id value.
     */
    String id();

    /**
     * Gets the name property: Name of the operation.
     *
     * @return the name value.
     */
    String name();

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

    /**
     * Gets the startTime property: Operation start time. Format: ISO-8601.
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the endTime property: Operation end time. Format: ISO-8601.
     *
     * @return the endTime value.
     */
    OffsetDateTime endTime();

    /**
     * Gets the error property: Error information related to this operation.
     *
     * @return the error value.
     */
    OperationStatusError error();

    /**
     * Gets the properties property: Additional information associated with this operation.
     *
     * @return the properties value.
     */
    OperationStatusExtendedInfo properties();

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