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

    :param namespace:
    :type namespace: str
    :param module_name:
    :type module_name: str
    :param module_version:
    :type module_version: str
    :param module_entity_from_yaml:
    :type module_entity_from_yaml: ~designer.models.ModuleEntity
    :param set_as_default_version:
    :type set_as_default_version: bool
    """

    _attribute_map = {
        'namespace': {'key': 'namespace', 'type': 'str'},
        'module_name': {'key': 'moduleName', 'type': 'str'},
        'module_version': {'key': 'moduleVersion', 'type': 'str'},
        'module_entity_from_yaml': {'key': 'moduleEntityFromYaml', 'type': 'ModuleEntity'},
        'set_as_default_version': {'key': 'setAsDefaultVersion', 'type': 'bool'},
    }

    def __init__(self, *, namespace: str=None, module_name: str=None, module_version: str=None, module_entity_from_yaml=None, set_as_default_version: bool=None, **kwargs) -> None:
        super(RegisterModuleMetaInfo, self).__init__(**kwargs)
        self.namespace = namespace
        self.module_name = module_name
        self.module_version = module_version
        self.module_entity_from_yaml = module_entity_from_yaml
        self.set_as_default_version = set_as_default_version
