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

package com.azure.resourcemanager.mobilenetwork.models;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.mobilenetwork.fluent.models.AsyncOperationStatusInner;
import java.time.OffsetDateTime;

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

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

    /**
     * Gets the status property: The operation status.
     *
     * @return the status value.
     */
    String status();

    /**
     * Gets the resourceId property: Fully qualified ID for the resource that this async operation status relates to.
     *
     * @return the resourceId value.
     */
    String resourceId();

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

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

    /**
     * Gets the percentComplete property: Percentage of the operation that is complete.
     *
     * @return the percentComplete value.
     */
    Double percentComplete();

    /**
     * Gets the properties property: Properties returned by the resource provider on a successful operation.
     *
     * @return the properties value.
     */
    Object properties();

    /**
     * Gets the error property: If present, details of the operation error.
     *
     * @return the error value.
     */
    ManagementError error();

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