com.azure.resourcemanager.elastic.implementation.UserApiKeyResponseImpl Maven / Gradle / Ivy
// 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;
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 String apiKey() {
return this.innerModel().apiKey();
}
public UserApiKeyResponseInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.elastic.ElasticManager manager() {
return this.serviceManager;
}
}