lentiq.models.workflow_execution_metadata module
# coding: utf-8 ####alex test """ """ import pprint import re # noqa: F401 import six class WorkflowExecutionMetadata(object): """ """ """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ swagger_types = { 'created_date': 'datetime', 'datapool_name': 'str', 'deleted_date': 'datetime', 'description': 'str', 'generation': 'int', 'name': 'str', 'project_name': 'str', 'schedule_name': 'str', 'updated_date': 'datetime', 'workflow_name': 'str' } attribute_map = { 'created_date': 'createdDate', 'datapool_name': 'datapoolName', 'deleted_date': 'deletedDate', 'description': 'description', 'generation': 'generation', 'name': 'name', 'project_name': 'projectName', 'schedule_name': 'scheduleName', 'updated_date': 'updatedDate', 'workflow_name': 'workflowName' } discriminator = None def __init__(self, created_date=None, datapool_name=None, deleted_date=None, description=None, generation=None, name=None, project_name=None, schedule_name=None, updated_date=None, workflow_name=None): # noqa: E501 """WorkflowExecutionMetadata - a model defined in Swagger""" # noqa: E501 self._created_date = None self._datapool_name = None self._deleted_date = None self._description = None self._generation = None self._name = None self._project_name = None self._schedule_name = None self._updated_date = None self._workflow_name = None if created_date is not None: self.created_date = created_date if datapool_name is not None: self.datapool_name = datapool_name if deleted_date is not None: self.deleted_date = deleted_date if description is not None: self.description = description if generation is not None: self.generation = generation if name is not None: self.name = name if project_name is not None: self.project_name = project_name if schedule_name is not None: self.schedule_name = schedule_name if updated_date is not None: self.updated_date = updated_date if workflow_name is not None: self.workflow_name = workflow_name @property def created_date(self): """Gets the created_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The created_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._created_date @created_date.setter def created_date(self, created_date): """Sets the created_date of this WorkflowExecutionMetadata. :param created_date: The created_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._created_date = created_date @property def datapool_name(self): """Gets the datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._datapool_name @datapool_name.setter def datapool_name(self, datapool_name): """Sets the datapool_name of this WorkflowExecutionMetadata. :param datapool_name: The datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._datapool_name = datapool_name @property def deleted_date(self): """Gets the deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._deleted_date @deleted_date.setter def deleted_date(self, deleted_date): """Sets the deleted_date of this WorkflowExecutionMetadata. :param deleted_date: The deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._deleted_date = deleted_date @property def description(self): """Gets the description of this WorkflowExecutionMetadata. # noqa: E501 :return: The description of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._description @description.setter def description(self, description): """Sets the description of this WorkflowExecutionMetadata. :param description: The description of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._description = description @property def generation(self): """Gets the generation of this WorkflowExecutionMetadata. # noqa: E501 :return: The generation of this WorkflowExecutionMetadata. # noqa: E501 :rtype: int """ return self._generation @generation.setter def generation(self, generation): """Sets the generation of this WorkflowExecutionMetadata. :param generation: The generation of this WorkflowExecutionMetadata. # noqa: E501 :type: int """ self._generation = generation @property def name(self): """Gets the name of this WorkflowExecutionMetadata. # noqa: E501 :return: The name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): """Sets the name of this WorkflowExecutionMetadata. :param name: The name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._name = name @property def project_name(self): """Gets the project_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The project_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._project_name @project_name.setter def project_name(self, project_name): """Sets the project_name of this WorkflowExecutionMetadata. :param project_name: The project_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._project_name = project_name @property def schedule_name(self): """Gets the schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._schedule_name @schedule_name.setter def schedule_name(self, schedule_name): """Sets the schedule_name of this WorkflowExecutionMetadata. :param schedule_name: The schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._schedule_name = schedule_name @property def updated_date(self): """Gets the updated_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The updated_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._updated_date @updated_date.setter def updated_date(self, updated_date): """Sets the updated_date of this WorkflowExecutionMetadata. :param updated_date: The updated_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._updated_date = updated_date @property def workflow_name(self): """Gets the workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._workflow_name @workflow_name.setter def workflow_name(self, workflow_name): """Sets the workflow_name of this WorkflowExecutionMetadata. :param workflow_name: The workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._workflow_name = workflow_name def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value if issubclass(WorkflowExecutionMetadata, dict): for key, value in self.items(): result[key] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, WorkflowExecutionMetadata): return False return self.__dict__ == other.__dict__ def __ne__(self, other): """Returns true if both objects are not equal""" return not self == other
Classes
class WorkflowExecutionMetadata
class WorkflowExecutionMetadata(object): """ """ """ Attributes: swagger_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json key in definition. """ swagger_types = { 'created_date': 'datetime', 'datapool_name': 'str', 'deleted_date': 'datetime', 'description': 'str', 'generation': 'int', 'name': 'str', 'project_name': 'str', 'schedule_name': 'str', 'updated_date': 'datetime', 'workflow_name': 'str' } attribute_map = { 'created_date': 'createdDate', 'datapool_name': 'datapoolName', 'deleted_date': 'deletedDate', 'description': 'description', 'generation': 'generation', 'name': 'name', 'project_name': 'projectName', 'schedule_name': 'scheduleName', 'updated_date': 'updatedDate', 'workflow_name': 'workflowName' } discriminator = None def __init__(self, created_date=None, datapool_name=None, deleted_date=None, description=None, generation=None, name=None, project_name=None, schedule_name=None, updated_date=None, workflow_name=None): # noqa: E501 """WorkflowExecutionMetadata - a model defined in Swagger""" # noqa: E501 self._created_date = None self._datapool_name = None self._deleted_date = None self._description = None self._generation = None self._name = None self._project_name = None self._schedule_name = None self._updated_date = None self._workflow_name = None if created_date is not None: self.created_date = created_date if datapool_name is not None: self.datapool_name = datapool_name if deleted_date is not None: self.deleted_date = deleted_date if description is not None: self.description = description if generation is not None: self.generation = generation if name is not None: self.name = name if project_name is not None: self.project_name = project_name if schedule_name is not None: self.schedule_name = schedule_name if updated_date is not None: self.updated_date = updated_date if workflow_name is not None: self.workflow_name = workflow_name @property def created_date(self): """Gets the created_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The created_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._created_date @created_date.setter def created_date(self, created_date): """Sets the created_date of this WorkflowExecutionMetadata. :param created_date: The created_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._created_date = created_date @property def datapool_name(self): """Gets the datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._datapool_name @datapool_name.setter def datapool_name(self, datapool_name): """Sets the datapool_name of this WorkflowExecutionMetadata. :param datapool_name: The datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._datapool_name = datapool_name @property def deleted_date(self): """Gets the deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._deleted_date @deleted_date.setter def deleted_date(self, deleted_date): """Sets the deleted_date of this WorkflowExecutionMetadata. :param deleted_date: The deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._deleted_date = deleted_date @property def description(self): """Gets the description of this WorkflowExecutionMetadata. # noqa: E501 :return: The description of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._description @description.setter def description(self, description): """Sets the description of this WorkflowExecutionMetadata. :param description: The description of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._description = description @property def generation(self): """Gets the generation of this WorkflowExecutionMetadata. # noqa: E501 :return: The generation of this WorkflowExecutionMetadata. # noqa: E501 :rtype: int """ return self._generation @generation.setter def generation(self, generation): """Sets the generation of this WorkflowExecutionMetadata. :param generation: The generation of this WorkflowExecutionMetadata. # noqa: E501 :type: int """ self._generation = generation @property def name(self): """Gets the name of this WorkflowExecutionMetadata. # noqa: E501 :return: The name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): """Sets the name of this WorkflowExecutionMetadata. :param name: The name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._name = name @property def project_name(self): """Gets the project_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The project_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._project_name @project_name.setter def project_name(self, project_name): """Sets the project_name of this WorkflowExecutionMetadata. :param project_name: The project_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._project_name = project_name @property def schedule_name(self): """Gets the schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._schedule_name @schedule_name.setter def schedule_name(self, schedule_name): """Sets the schedule_name of this WorkflowExecutionMetadata. :param schedule_name: The schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._schedule_name = schedule_name @property def updated_date(self): """Gets the updated_date of this WorkflowExecutionMetadata. # noqa: E501 :return: The updated_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime """ return self._updated_date @updated_date.setter def updated_date(self, updated_date): """Sets the updated_date of this WorkflowExecutionMetadata. :param updated_date: The updated_date of this WorkflowExecutionMetadata. # noqa: E501 :type: datetime """ self._updated_date = updated_date @property def workflow_name(self): """Gets the workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :return: The workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str """ return self._workflow_name @workflow_name.setter def workflow_name(self, workflow_name): """Sets the workflow_name of this WorkflowExecutionMetadata. :param workflow_name: The workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :type: str """ self._workflow_name = workflow_name def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value if issubclass(WorkflowExecutionMetadata, dict): for key, value in self.items(): result[key] = value return result def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict()) def __repr__(self): """For `print` and `pprint`""" return self.to_str() def __eq__(self, other): """Returns true if both objects are equal""" if not isinstance(other, WorkflowExecutionMetadata): return False return self.__dict__ == other.__dict__ def __ne__(self, other): """Returns true if both objects are not equal""" return not self == other
Ancestors (in MRO)
- WorkflowExecutionMetadata
- builtins.object
Class variables
var attribute_map
var discriminator
var swagger_types
Static methods
def __init__(
self, created_date=None, datapool_name=None, deleted_date=None, description=None, generation=None, name=None, project_name=None, schedule_name=None, updated_date=None, workflow_name=None)
WorkflowExecutionMetadata - a model defined in Swagger
def __init__(self, created_date=None, datapool_name=None, deleted_date=None, description=None, generation=None, name=None, project_name=None, schedule_name=None, updated_date=None, workflow_name=None): # noqa: E501 """WorkflowExecutionMetadata - a model defined in Swagger""" # noqa: E501 self._created_date = None self._datapool_name = None self._deleted_date = None self._description = None self._generation = None self._name = None self._project_name = None self._schedule_name = None self._updated_date = None self._workflow_name = None if created_date is not None: self.created_date = created_date if datapool_name is not None: self.datapool_name = datapool_name if deleted_date is not None: self.deleted_date = deleted_date if description is not None: self.description = description if generation is not None: self.generation = generation if name is not None: self.name = name if project_name is not None: self.project_name = project_name if schedule_name is not None: self.schedule_name = schedule_name if updated_date is not None: self.updated_date = updated_date if workflow_name is not None: self.workflow_name = workflow_name
def to_dict(
self)
Returns the model properties as a dict
def to_dict(self): """Returns the model properties as a dict""" result = {} for attr, _ in six.iteritems(self.swagger_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( lambda x: x.to_dict() if hasattr(x, "to_dict") else x, value )) elif hasattr(value, "to_dict"): result[attr] = value.to_dict() elif isinstance(value, dict): result[attr] = dict(map( lambda item: (item[0], item[1].to_dict()) if hasattr(item[1], "to_dict") else item, value.items() )) else: result[attr] = value if issubclass(WorkflowExecutionMetadata, dict): for key, value in self.items(): result[key] = value return result
def to_str(
self)
Returns the string representation of the model
def to_str(self): """Returns the string representation of the model""" return pprint.pformat(self.to_dict())
Instance variables
var created_date
Gets the created_date of this WorkflowExecutionMetadata. # noqa: E501
:return: The created_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime
var datapool_name
Gets the datapool_name of this WorkflowExecutionMetadata. # noqa: E501
:return: The datapool_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str
var deleted_date
Gets the deleted_date of this WorkflowExecutionMetadata. # noqa: E501
:return: The deleted_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime
var description
Gets the description of this WorkflowExecutionMetadata. # noqa: E501
:return: The description of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str
var generation
Gets the generation of this WorkflowExecutionMetadata. # noqa: E501
:return: The generation of this WorkflowExecutionMetadata. # noqa: E501 :rtype: int
var name
Gets the name of this WorkflowExecutionMetadata. # noqa: E501
:return: The name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str
var project_name
Gets the project_name of this WorkflowExecutionMetadata. # noqa: E501
:return: The project_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str
var schedule_name
Gets the schedule_name of this WorkflowExecutionMetadata. # noqa: E501
:return: The schedule_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str
var updated_date
Gets the updated_date of this WorkflowExecutionMetadata. # noqa: E501
:return: The updated_date of this WorkflowExecutionMetadata. # noqa: E501 :rtype: datetime
var workflow_name
Gets the workflow_name of this WorkflowExecutionMetadata. # noqa: E501
:return: The workflow_name of this WorkflowExecutionMetadata. # noqa: E501 :rtype: str