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

package com.azure.resourcemanager.policyinsights.implementation;

import com.azure.core.management.exception.ManagementError;
import com.azure.resourcemanager.policyinsights.fluent.models.RemediationDeploymentInner;
import com.azure.resourcemanager.policyinsights.models.RemediationDeployment;
import java.time.OffsetDateTime;

public final class RemediationDeploymentImpl implements RemediationDeployment {
    private RemediationDeploymentInner innerObject;

    private final com.azure.resourcemanager.policyinsights.PolicyInsightsManager serviceManager;

    RemediationDeploymentImpl(
        RemediationDeploymentInner innerObject,
        com.azure.resourcemanager.policyinsights.PolicyInsightsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    public ManagementError error() {
        return this.innerModel().error();
    }

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

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

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

    private com.azure.resourcemanager.policyinsights.PolicyInsightsManager manager() {
        return this.serviceManager;
    }
}
