// 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.SecuritySubAssessmentInner;
import com.azure.resourcemanager.security.models.AdditionalData;
import com.azure.resourcemanager.security.models.ResourceDetails;
import com.azure.resourcemanager.security.models.SecuritySubAssessment;
import com.azure.resourcemanager.security.models.SubAssessmentStatus;
import java.time.OffsetDateTime;

public final class SecuritySubAssessmentImpl implements SecuritySubAssessment {
    private SecuritySubAssessmentInner innerObject;

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

    SecuritySubAssessmentImpl(
        SecuritySubAssessmentInner 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 idPropertiesId() {
        return this.innerModel().idPropertiesId();
    }

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

    public SubAssessmentStatus status() {
        return this.innerModel().status();
    }

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

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

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

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

    public OffsetDateTime timeGenerated() {
        return this.innerModel().timeGenerated();
    }

    public ResourceDetails resourceDetails() {
        return this.innerModel().resourceDetails();
    }

    public AdditionalData additionalData() {
        return this.innerModel().additionalData();
    }

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

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