# 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 SchemaParameters(Model):
    """Schema.

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

    :param name: Required. The schema name
    :type name: str
    :param version: Required. The schema version
    :type version: str
    :param attribute_names: Required. The attribute names
    :type attribute_names: list[str]
    """

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

    _attribute_map = {
        'name': {'key': 'name', 'type': 'str'},
        'version': {'key': 'version', 'type': 'str'},
        'attribute_names': {'key': 'attributeNames', 'type': '[str]'},
    }

    def __init__(self, **kwargs):
        super(SchemaParameters, self).__init__(**kwargs)
        self.name = kwargs.get('name', None)
        self.version = kwargs.get('version', None)
        self.attribute_names = kwargs.get('attribute_names', None)
