#
# -*- coding: utf-8 -*-
# Copyright 2019 Red Hat
# GNU General Public License v3.0+
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

#############################################
#                WARNING                    #
#############################################
#
# This file is auto generated by the resource
#   module builder playbook.
#
# Do not edit this file manually.
#
# Changes to this file will be over written
#   by the resource module builder.
#
# Changes should be made in the model used to
#   generate this file or in the resource module
#   builder template.
#
#############################################

"""
The arg spec for the ios_acl_interfaces module
"""

from __future__ import absolute_import, division, print_function

__metaclass__ = type


class Acl_InterfacesArgs(object):
    """The arg spec for the ios_acl_interfaces module
    """

    argument_spec = {
        "config": {
            "elements": "dict",
            "options": {
                "name": {"required": True, "type": "str"},
                "access_groups": {
                    "type": "list",
                    "elements": "dict",
                    "options": {
                        "afi": {
                            "required": True,
                            "choices": ["ipv4", "ipv6"],
                            "type": "str",
                        },
                        "acls": {
                            "type": "list",
                            "elements": "dict",
                            "options": {
                                "name": {"required": True, "type": "str"},
                                "direction": {
                                    "required": True,
                                    "choices": ["in", "out"],
                                    "type": "str",
                                },
                            },
                        },
                    },
                },
            },
            "type": "list",
        },
        "running_config": {"type": "str"},
        "state": {
            "choices": [
                "merged",
                "replaced",
                "overridden",
                "deleted",
                "gathered",
                "rendered",
                "parsed",
            ],
            "default": "merged",
            "type": "str",
        },
    }
