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

package com.azure.resourcemanager.elastic.implementation;

import com.azure.resourcemanager.elastic.fluent.models.UserApiKeyResponseInner;
import com.azure.resourcemanager.elastic.models.UserApiKeyResponse;
import com.azure.resourcemanager.elastic.models.UserApiKeyResponseProperties;

public final class UserApiKeyResponseImpl implements UserApiKeyResponse {
    private UserApiKeyResponseInner innerObject;

    private final com.azure.resourcemanager.elastic.ElasticManager serviceManager;

    UserApiKeyResponseImpl(
        UserApiKeyResponseInner innerObject, com.azure.resourcemanager.elastic.ElasticManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    private com.azure.resourcemanager.elastic.ElasticManager manager() {
        return this.serviceManager;
    }
}
