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

    :param name:
    :type name: str
    :param documentation:
    :type documentation: str
    :param data_types_ids:
    :type data_types_ids: list[str]
    :param is_optional:
    :type is_optional: bool
    """

    _attribute_map = {
        'name': {'key': 'name', 'type': 'str'},
        'documentation': {'key': 'documentation', 'type': 'str'},
        'data_types_ids': {'key': 'dataTypesIds', 'type': '[str]'},
        'is_optional': {'key': 'isOptional', 'type': 'bool'},
    }

    def __init__(self, **kwargs):
        super(NodeInputPort, self).__init__(**kwargs)
        self.name = kwargs.get('name', None)
        self.documentation = kwargs.get('documentation', None)
        self.data_types_ids = kwargs.get('data_types_ids', None)
        self.is_optional = kwargs.get('is_optional', None)
