// 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.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Details of the resource. */
@Immutable
public final class ReservationRecommendationDetailsResourceProperties {
    @JsonIgnore
    private final ClientLogger logger = new ClientLogger(ReservationRecommendationDetailsResourceProperties.class);

    /*
     * List of subscriptions for which the reservation is applied.
     */
    @JsonProperty(value = "appliedScopes", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> appliedScopes;

    /*
     * On demand rate of the resource.
     */
    @JsonProperty(value = "onDemandRate", access = JsonProperty.Access.WRITE_ONLY)
    private Float onDemandRate;

    /*
     * Azure product ex: Standard_E8s_v3 etc.
     */
    @JsonProperty(value = "product", access = JsonProperty.Access.WRITE_ONLY)
    private String product;

    /*
     * Azure resource region ex:EastUS, WestUS etc.
     */
    @JsonProperty(value = "region", access = JsonProperty.Access.WRITE_ONLY)
    private String region;

    /*
     * Reservation rate of the resource.
     */
    @JsonProperty(value = "reservationRate", access = JsonProperty.Access.WRITE_ONLY)
    private Float reservationRate;

    /*
     * The azure resource type.
     */
    @JsonProperty(value = "resourceType", access = JsonProperty.Access.WRITE_ONLY)
    private String resourceType;

    /**
     * Get the appliedScopes property: List of subscriptions for which the reservation is applied.
     *
     * @return the appliedScopes value.
     */
    public List<String> appliedScopes() {
        return this.appliedScopes;
    }

    /**
     * Get the onDemandRate property: On demand rate of the resource.
     *
     * @return the onDemandRate value.
     */
    public Float onDemandRate() {
        return this.onDemandRate;
    }

    /**
     * Get the product property: Azure product ex: Standard_E8s_v3 etc.
     *
     * @return the product value.
     */
    public String product() {
        return this.product;
    }

    /**
     * Get the region property: Azure resource region ex:EastUS, WestUS etc.
     *
     * @return the region value.
     */
    public String region() {
        return this.region;
    }

    /**
     * Get the reservationRate property: Reservation rate of the resource.
     *
     * @return the reservationRate value.
     */
    public Float reservationRate() {
        return this.reservationRate;
    }

    /**
     * Get the resourceType property: The azure resource type.
     *
     * @return the resourceType value.
     */
    public String resourceType() {
        return this.resourceType;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
