#
# -*- coding: utf-8 -*-
# Copyright 2025 Dell Inc. or its subsidiaries. All Rights Reserved.
# 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 sonic_users module
"""

from __future__ import absolute_import, division, print_function
__metaclass__ = type


class UsersArgs(object):  # pylint: disable=R0903
    """The arg spec for the sonic_users module
    """

    def __init__(self, **kwargs):
        pass

    argument_spec = {
        'config': {
            'elements': 'dict',
            'options': {
                'name': {'required': True, 'type': 'str'},
                'password': {'type': 'str', 'no_log': True},
                'role': {
                    'choices': ['admin', 'operator', 'netadmin', 'secadmin'],
                    'type': 'str'
                },
                'update_password': {
                    'choices': ['always', 'on_create'],
                    'default': 'always',
                    'type': 'str'
                },
                'ssh_key': {'type': 'str', 'no_log': False},
            },
            'type': 'list'
        },
        'state': {
            'choices': ['merged', 'deleted', 'overridden', 'replaced'],
            'default': 'merged'
        }
    }  # pylint: disable=C0301
