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

package com.azure.resourcemanager.batch.implementation;

import com.azure.resourcemanager.batch.fluent.models.BatchAccountKeysInner;
import com.azure.resourcemanager.batch.models.BatchAccountKeys;

public final class BatchAccountKeysImpl implements BatchAccountKeys {
    private BatchAccountKeysInner innerObject;

    private final com.azure.resourcemanager.batch.BatchManager serviceManager;

    BatchAccountKeysImpl(
        BatchAccountKeysInner innerObject, com.azure.resourcemanager.batch.BatchManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.batch.BatchManager manager() {
        return this.serviceManager;
    }
}
