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

package com.azure.resourcemanager.sqlvirtualmachine.implementation;

import com.azure.resourcemanager.sqlvirtualmachine.fluent.models.SqlVmTroubleshootingInner;
import com.azure.resourcemanager.sqlvirtualmachine.models.SqlVmTroubleshooting;
import com.azure.resourcemanager.sqlvirtualmachine.models.TroubleshootingAdditionalProperties;
import com.azure.resourcemanager.sqlvirtualmachine.models.TroubleshootingScenario;
import java.time.OffsetDateTime;

public final class SqlVmTroubleshootingImpl implements SqlVmTroubleshooting {
    private SqlVmTroubleshootingInner innerObject;

    private final com.azure.resourcemanager.sqlvirtualmachine.SqlVirtualMachineManager serviceManager;

    SqlVmTroubleshootingImpl(
        SqlVmTroubleshootingInner innerObject,
        com.azure.resourcemanager.sqlvirtualmachine.SqlVirtualMachineManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public TroubleshootingScenario troubleshootingScenario() {
        return this.innerModel().troubleshootingScenario();
    }

    public TroubleshootingAdditionalProperties properties() {
        return this.innerModel().properties();
    }

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

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

    private com.azure.resourcemanager.sqlvirtualmachine.SqlVirtualMachineManager manager() {
        return this.serviceManager;
    }
}
