// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.azure.resourcemanager.authorization.implementation;

import com.azure.resourcemanager.authorization.models.Permission;
import com.azure.resourcemanager.authorization.fluent.models.PermissionInner;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import java.util.List;

/** Implementation for Permission and its parent interfaces. */
class PermissionImpl extends WrapperImpl<PermissionInner> implements Permission {
    protected PermissionImpl(PermissionInner innerObject) {
        super(innerObject);
    }

    @Override
    public List<String> actions() {
        return innerModel().actions();
    }

    @Override
    public List<String> notActions() {
        return innerModel().notActions();
    }
}
