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

package com.azure.resourcemanager.connectedvmware.implementation;

import com.azure.resourcemanager.connectedvmware.fluent.models.VirtualMachineInstallPatchesResultInner;
import com.azure.resourcemanager.connectedvmware.models.ErrorDetail;
import com.azure.resourcemanager.connectedvmware.models.OsTypeUM;
import com.azure.resourcemanager.connectedvmware.models.PatchOperationStartedBy;
import com.azure.resourcemanager.connectedvmware.models.PatchOperationStatus;
import com.azure.resourcemanager.connectedvmware.models.PatchServiceUsed;
import com.azure.resourcemanager.connectedvmware.models.VMGuestPatchRebootStatus;
import com.azure.resourcemanager.connectedvmware.models.VirtualMachineInstallPatchesResult;
import java.time.OffsetDateTime;

public final class VirtualMachineInstallPatchesResultImpl implements VirtualMachineInstallPatchesResult {
    private VirtualMachineInstallPatchesResultInner innerObject;

    private final com.azure.resourcemanager.connectedvmware.ConnectedVMwareManager serviceManager;

    VirtualMachineInstallPatchesResultImpl(
        VirtualMachineInstallPatchesResultInner innerObject,
        com.azure.resourcemanager.connectedvmware.ConnectedVMwareManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public VMGuestPatchRebootStatus rebootStatus() {
        return this.innerModel().rebootStatus();
    }

    public Boolean maintenanceWindowExceeded() {
        return this.innerModel().maintenanceWindowExceeded();
    }

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

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

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

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

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

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

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

    public PatchOperationStartedBy startedBy() {
        return this.innerModel().startedBy();
    }

    public PatchServiceUsed patchServiceUsed() {
        return this.innerModel().patchServiceUsed();
    }

    public OsTypeUM osType() {
        return this.innerModel().osType();
    }

    public ErrorDetail errorDetails() {
        return this.innerModel().errorDetails();
    }

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

    private com.azure.resourcemanager.connectedvmware.ConnectedVMwareManager manager() {
        return this.serviceManager;
    }
}
