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

package com.azure.resourcemanager.consumption.models;

import com.azure.resourcemanager.consumption.fluent.models.ReservationDetailInner;
import java.math.BigDecimal;
import java.time.OffsetDateTime;
import java.util.Map;

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

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

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

    /**
     * Gets the etag property: The etag for the resource.
     *
     * @return the etag value.
     */
    String etag();

    /**
     * Gets the tags property: Resource tags.
     *
     * @return the tags value.
     */
    Map<String, String> tags();

    /**
     * Gets the reservationOrderId property: The reservation order ID is the identifier for a reservation purchase. Each
     * reservation order ID represents a single purchase transaction. A reservation order contains reservations. The
     * reservation order specifies the VM size and region for the reservations.
     *
     * @return the reservationOrderId value.
     */
    String reservationOrderId();

    /**
     * Gets the instanceFlexibilityRatio property: The instance Flexibility Ratio.
     *
     * @return the instanceFlexibilityRatio value.
     */
    String instanceFlexibilityRatio();

    /**
     * Gets the instanceFlexibilityGroup property: The instance Flexibility Group.
     *
     * @return the instanceFlexibilityGroup value.
     */
    String instanceFlexibilityGroup();

    /**
     * Gets the reservationId property: The reservation ID is the identifier of a reservation within a reservation
     * order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances
     * to which the reservation benefit can be applied to.
     *
     * @return the reservationId value.
     */
    String reservationId();

    /**
     * Gets the skuName property: This is the ARM Sku name. It can be used to join with the serviceType field in
     * additional info in usage records.
     *
     * @return the skuName value.
     */
    String skuName();

    /**
     * Gets the reservedHours property: This is the total hours reserved for the day. E.g. if reservation for 1 instance
     * was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.
     *
     * @return the reservedHours value.
     */
    BigDecimal reservedHours();

    /**
     * Gets the usageDate property: The date on which consumption occurred.
     *
     * @return the usageDate value.
     */
    OffsetDateTime usageDate();

    /**
     * Gets the usedHours property: This is the total hours used by the instance.
     *
     * @return the usedHours value.
     */
    BigDecimal usedHours();

    /**
     * Gets the instanceId property: This identifier is the name of the resource or the fully qualified Resource ID.
     *
     * @return the instanceId value.
     */
    String instanceId();

    /**
     * Gets the totalReservedQuantity property: This is the total count of instances that are reserved for the
     * reservationId.
     *
     * @return the totalReservedQuantity value.
     */
    BigDecimal totalReservedQuantity();

    /**
     * Gets the kind property: The reservation kind.
     *
     * @return the kind value.
     */
    String kind();

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