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

package com.azure.resourcemanager.security.implementation;

import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.security.fluent.ApiCollectionOffboardingsClient;
import com.azure.resourcemanager.security.models.ApiCollectionOffboardings;

public final class ApiCollectionOffboardingsImpl implements ApiCollectionOffboardings {
    private static final ClientLogger LOGGER = new ClientLogger(ApiCollectionOffboardingsImpl.class);

    private final ApiCollectionOffboardingsClient innerClient;

    private final com.azure.resourcemanager.security.SecurityManager serviceManager;

    public ApiCollectionOffboardingsImpl(
        ApiCollectionOffboardingsClient innerClient,
        com.azure.resourcemanager.security.SecurityManager serviceManager) {
        this.innerClient = innerClient;
        this.serviceManager = serviceManager;
    }

    public Response<Void> deleteWithResponse(
        String resourceGroupName, String serviceName, String apiCollectionId, Context context) {
        return this.serviceClient().deleteWithResponse(resourceGroupName, serviceName, apiCollectionId, context);
    }

    public void delete(String resourceGroupName, String serviceName, String apiCollectionId) {
        this.serviceClient().delete(resourceGroupName, serviceName, apiCollectionId);
    }

    private ApiCollectionOffboardingsClient serviceClient() {
        return this.innerClient;
    }

    private com.azure.resourcemanager.security.SecurityManager manager() {
        return this.serviceManager;
    }
}
