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

package com.azure.resourcemanager.maps.implementation;

import com.azure.resourcemanager.maps.fluent.models.MapsAccountKeysInner;
import com.azure.resourcemanager.maps.models.MapsAccountKeys;

public final class MapsAccountKeysImpl implements MapsAccountKeys {
    private MapsAccountKeysInner innerObject;

    private final com.azure.resourcemanager.maps.AzureMapsManager serviceManager;

    MapsAccountKeysImpl(
        MapsAccountKeysInner innerObject, com.azure.resourcemanager.maps.AzureMapsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

    private com.azure.resourcemanager.maps.AzureMapsManager manager() {
        return this.serviceManager;
    }
}
