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

package com.azure.resourcemanager.datamigration.implementation;

import com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceStatusResponseInner;
import com.azure.resourcemanager.datamigration.models.DataMigrationServiceStatusResponse;
import java.util.Collections;
import java.util.List;

public final class DataMigrationServiceStatusResponseImpl implements DataMigrationServiceStatusResponse {
    private DataMigrationServiceStatusResponseInner innerObject;

    private final com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager;

    DataMigrationServiceStatusResponseImpl(
        DataMigrationServiceStatusResponseInner innerObject,
        com.azure.resourcemanager.datamigration.DataMigrationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    public List<String> supportedTaskTypes() {
        List<String> inner = this.innerModel().supportedTaskTypes();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

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

    private com.azure.resourcemanager.datamigration.DataMigrationManager manager() {
        return this.serviceManager;
    }
}
