// 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.implementation;

import com.azure.resourcemanager.security.fluent.models.RegulatoryComplianceControlInner;
import com.azure.resourcemanager.security.models.RegulatoryComplianceControl;
import com.azure.resourcemanager.security.models.State;

public final class RegulatoryComplianceControlImpl implements RegulatoryComplianceControl {
    private RegulatoryComplianceControlInner innerObject;

    private final com.azure.resourcemanager.security.SecurityManager serviceManager;

    RegulatoryComplianceControlImpl(
        RegulatoryComplianceControlInner innerObject,
        com.azure.resourcemanager.security.SecurityManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String id() {
        return this.innerModel().id();
    }

    public String name() {
        return this.innerModel().name();
    }

    public String type() {
        return this.innerModel().type();
    }

    public String description() {
        return this.innerModel().description();
    }

    public State state() {
        return this.innerModel().state();
    }

    public Integer passedAssessments() {
        return this.innerModel().passedAssessments();
    }

    public Integer failedAssessments() {
        return this.innerModel().failedAssessments();
    }

    public Integer skippedAssessments() {
        return this.innerModel().skippedAssessments();
    }

    public RegulatoryComplianceControlInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.security.SecurityManager manager() {
        return this.serviceManager;
    }
}
