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

package com.azure.resourcemanager.security.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Statistical information about the number of recommendations per device, per recommendation type. */
@Immutable
public final class IoTSecurityDeviceRecommendation {
    /*
     * Display name of the recommendation.
     */
    @JsonProperty(value = "recommendationDisplayName", access = JsonProperty.Access.WRITE_ONLY)
    private String recommendationDisplayName;

    /*
     * Assessed recommendation severity.
     */
    @JsonProperty(value = "reportedSeverity", access = JsonProperty.Access.WRITE_ONLY)
    private ReportedSeverity reportedSeverity;

    /*
     * Number of devices with this recommendation.
     */
    @JsonProperty(value = "devicesCount", access = JsonProperty.Access.WRITE_ONLY)
    private Long devicesCount;

    /** Creates an instance of IoTSecurityDeviceRecommendation class. */
    public IoTSecurityDeviceRecommendation() {
    }

    /**
     * Get the recommendationDisplayName property: Display name of the recommendation.
     *
     * @return the recommendationDisplayName value.
     */
    public String recommendationDisplayName() {
        return this.recommendationDisplayName;
    }

    /**
     * Get the reportedSeverity property: Assessed recommendation severity.
     *
     * @return the reportedSeverity value.
     */
    public ReportedSeverity reportedSeverity() {
        return this.reportedSeverity;
    }

    /**
     * Get the devicesCount property: Number of devices with this recommendation.
     *
     * @return the devicesCount value.
     */
    public Long devicesCount() {
        return this.devicesCount;
    }

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