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

package com.azure.resourcemanager.selfhelp.implementation;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.selfhelp.fluent.models.SolutionMetadataResourceInner;
import com.azure.resourcemanager.selfhelp.models.SolutionMetadataResource;
import java.util.Collections;
import java.util.List;

public final class SolutionMetadataResourceImpl implements SolutionMetadataResource {
    private SolutionMetadataResourceInner innerObject;

    private final com.azure.resourcemanager.selfhelp.SelfHelpManager serviceManager;

    SolutionMetadataResourceImpl(
        SolutionMetadataResourceInner innerObject, com.azure.resourcemanager.selfhelp.SelfHelpManager 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 SystemData systemData() {
        return this.innerModel().systemData();
    }

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

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

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

    public List<List<String>> requiredParameterSets() {
        List<List<String>> inner = this.innerModel().requiredParameterSets();
        if (inner != null) {
            return Collections.unmodifiableList(inner);
        } else {
            return Collections.emptyList();
        }
    }

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

    private com.azure.resourcemanager.selfhelp.SelfHelpManager manager() {
        return this.serviceManager;
    }
}
