# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


class IdentityProviderUpdateRequest(Model):
    """IdentityProviderUpdateRequest.

    All required parameters must be populated in order to send to Azure.

    :param name: Required.
    :type name: str
    :param username_identifiers:
    :type username_identifiers: list[str]
    """

    _validation = {
        'name': {'required': True},
    }

    _attribute_map = {
        'name': {'key': 'Name', 'type': 'str'},
        'username_identifiers': {'key': 'UsernameIdentifiers', 'type': '[str]'},
    }

    def __init__(self, *, name: str, username_identifiers=None, **kwargs) -> None:
        super(IdentityProviderUpdateRequest, self).__init__(**kwargs)
        self.name = name
        self.username_identifiers = username_identifiers
