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

package com.azure.resourcemanager.devspaces.implementation;

import com.azure.resourcemanager.devspaces.fluent.models.ContainerHostMappingInner;
import com.azure.resourcemanager.devspaces.models.ContainerHostMapping;

public final class ContainerHostMappingImpl implements ContainerHostMapping {
    private ContainerHostMappingInner innerObject;

    private final com.azure.resourcemanager.devspaces.DevSpacesManager serviceManager;

    ContainerHostMappingImpl(
        ContainerHostMappingInner innerObject, com.azure.resourcemanager.devspaces.DevSpacesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    private com.azure.resourcemanager.devspaces.DevSpacesManager manager() {
        return this.serviceManager;
    }
}
