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

package com.azure.resourcemanager.applicationinsights.implementation;

import com.azure.resourcemanager.applicationinsights.fluent.models.ApplicationInsightsComponentAnalyticsItemInner;
import com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentAnalyticsItem;
import com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentAnalyticsItemProperties;
import com.azure.resourcemanager.applicationinsights.models.ItemScope;
import com.azure.resourcemanager.applicationinsights.models.ItemType;

public final class ApplicationInsightsComponentAnalyticsItemImpl implements ApplicationInsightsComponentAnalyticsItem {
    private ApplicationInsightsComponentAnalyticsItemInner innerObject;

    private final com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager serviceManager;

    ApplicationInsightsComponentAnalyticsItemImpl(
        ApplicationInsightsComponentAnalyticsItemInner innerObject,
        com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    public ItemScope scope() {
        return this.innerModel().scope();
    }

    public ItemType type() {
        return this.innerModel().type();
    }

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

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

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

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

    private com.azure.resourcemanager.applicationinsights.ApplicationInsightsManager manager() {
        return this.serviceManager;
    }
}
