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

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

    :param name: Required.
    :type name: str
    :param abbreviation:
    :type abbreviation: str
    :param industry_id:
    :type industry_id: int
    """

    _validation = {
        'name': {'required': True, 'max_length': 50},
        'abbreviation': {'max_length': 5},
    }

    _attribute_map = {
        'name': {'key': 'Name', 'type': 'str'},
        'abbreviation': {'key': 'Abbreviation', 'type': 'str'},
        'industry_id': {'key': 'IndustryId', 'type': 'int'},
    }

    def __init__(self, *, name: str, abbreviation: str=None, industry_id: int=None, **kwargs) -> None:
        super(CorporationCreateRequest, self).__init__(**kwargs)
        self.name = name
        self.abbreviation = abbreviation
        self.industry_id = industry_id
