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

    :param module_execution_type:
    :type module_execution_type: str
    :param module_type: Possible values include: 'None', 'BatchInferencing'
    :type module_type: str or ~designer.models.ModuleType
    :param upload_state: Possible values include: 'Uploading', 'Completed',
     'Canceled', 'Failed'
    :type upload_state: str or ~designer.models.UploadState
    :param is_deterministic:
    :type is_deterministic: bool
    :param structured_interface:
    :type structured_interface: ~designer.models.StructuredInterface
    :param data_location:
    :type data_location: ~designer.models.DataLocation
    :param identifier_hash:
    :type identifier_hash: str
    :param tags: This is a dictionary
    :type tags: dict[str, str]
    :param properties: This is a dictionary
    :type properties: dict[str, str]
    :param created_by:
    :type created_by: ~designer.models.CreatedBy
    :param runconfig:
    :type runconfig: str
    :param cloud_settings:
    :type cloud_settings: ~designer.models.CloudSettings
    :param category:
    :type category: str
    :param step_type:
    :type step_type: str
    :param name:
    :type name: str
    :param hash:
    :type hash: str
    :param description:
    :type description: str
    :param entity_status: Possible values include: 'Active', 'Deprecated',
     'Disabled'
    :type entity_status: str or ~designer.models.EntityStatus
    :param id:
    :type id: str
    :param etag:
    :type etag: str
    :param created_date:
    :type created_date: datetime
    :param last_modified_date:
    :type last_modified_date: datetime
    """

    _attribute_map = {
        'module_execution_type': {'key': 'moduleExecutionType', 'type': 'str'},
        'module_type': {'key': 'moduleType', 'type': 'str'},
        'upload_state': {'key': 'uploadState', 'type': 'str'},
        'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
        'structured_interface': {'key': 'structuredInterface', 'type': 'StructuredInterface'},
        'data_location': {'key': 'dataLocation', 'type': 'DataLocation'},
        'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
        'tags': {'key': 'tags', 'type': '{str}'},
        'properties': {'key': 'properties', 'type': '{str}'},
        'created_by': {'key': 'createdBy', 'type': 'CreatedBy'},
        'runconfig': {'key': 'runconfig', 'type': 'str'},
        'cloud_settings': {'key': 'cloudSettings', 'type': 'CloudSettings'},
        'category': {'key': 'category', 'type': 'str'},
        'step_type': {'key': 'stepType', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'hash': {'key': 'hash', 'type': 'str'},
        'description': {'key': 'description', 'type': 'str'},
        'entity_status': {'key': 'entityStatus', 'type': 'str'},
        'id': {'key': 'id', 'type': 'str'},
        'etag': {'key': 'etag', 'type': 'str'},
        'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
        'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
    }

    def __init__(self, **kwargs):
        super(ModuleEntity, self).__init__(**kwargs)
        self.module_execution_type = kwargs.get('module_execution_type', None)
        self.module_type = kwargs.get('module_type', None)
        self.upload_state = kwargs.get('upload_state', None)
        self.is_deterministic = kwargs.get('is_deterministic', None)
        self.structured_interface = kwargs.get('structured_interface', None)
        self.data_location = kwargs.get('data_location', None)
        self.identifier_hash = kwargs.get('identifier_hash', None)
        self.tags = kwargs.get('tags', None)
        self.properties = kwargs.get('properties', None)
        self.created_by = kwargs.get('created_by', None)
        self.runconfig = kwargs.get('runconfig', None)
        self.cloud_settings = kwargs.get('cloud_settings', None)
        self.category = kwargs.get('category', None)
        self.step_type = kwargs.get('step_type', None)
        self.name = kwargs.get('name', None)
        self.hash = kwargs.get('hash', None)
        self.description = kwargs.get('description', None)
        self.entity_status = kwargs.get('entity_status', None)
        self.id = kwargs.get('id', None)
        self.etag = kwargs.get('etag', None)
        self.created_date = kwargs.get('created_date', None)
        self.last_modified_date = kwargs.get('last_modified_date', None)
