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

package com.azure.resourcemanager.agrifood.implementation;

import com.azure.resourcemanager.agrifood.fluent.models.ExtensionInner;
import com.azure.resourcemanager.agrifood.models.Extension;

public final class ExtensionImpl implements Extension {
    private ExtensionInner innerObject;

    private final com.azure.resourcemanager.agrifood.AgriFoodManager serviceManager;

    ExtensionImpl(ExtensionInner innerObject, com.azure.resourcemanager.agrifood.AgriFoodManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

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

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

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

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

    private com.azure.resourcemanager.agrifood.AgriFoodManager manager() {
        return this.serviceManager;
    }
}
