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

package com.azure.resourcemanager.orbital.models;

import com.azure.resourcemanager.orbital.fluent.models.OperationResultInner;
import java.time.OffsetDateTime;
import java.util.List;

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

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

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

    /**
     * Gets the startTime property: The operation start time (ISO 8601 UTC standard).
     *
     * @return the startTime value.
     */
    OffsetDateTime startTime();

    /**
     * Gets the endTime property: The operation end time (ISO 8601 UTC standard).
     *
     * @return the endTime value.
     */
    OffsetDateTime endTime();

    /**
     * Gets the percentComplete property: Percentage completed.
     *
     * @return the percentComplete value.
     */
    Double percentComplete();

    /**
     * Gets the value property: A list of results when the operation returns multiple results.
     *
     * @return the value value.
     */
    List<Object> value();

    /**
     * Gets the nextLink property: The URL to get the next set of results.
     *
     * @return the nextLink value.
     */
    String nextLink();

    /**
     * Gets the properties property: Operation result properties.
     *
     * @return the properties value.
     */
    Object properties();

    /**
     * Gets the error property: Operation result error properties.
     *
     * @return the error value.
     */
    OperationResultErrorProperties error();

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