lentiq.models.project_onboarding_job module
# coding: utf-8 ####alex test """ """ import pprint import re # noqa: F401 import six from lentiq.models.application import Application # noqa: F401,E501 from lentiq.models.job_status import JobStatus # noqa: F401,E501 from lentiq.models.project import Project # noqa: F401,E501 class ProjectOnboardingJob(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 = { 'applications': 'list[Application]', 'created_timestamp_seconds': 'int', 'datapool_name': 'str', 'job_status': 'JobStatus', 'manager_user_emails': 'list[str]', 'manager_user_ids': 'list[str]', 'project': 'Project', 'project_name': 'str', 'updated_timestamp_seconds': 'int' } attribute_map = { 'applications': 'applications', 'created_timestamp_seconds': 'createdTimestampSeconds', 'datapool_name': 'datapoolName', 'job_status': 'jobStatus', 'manager_user_emails': 'managerUserEmails', 'manager_user_ids': 'managerUserIds', 'project': 'project', 'project_name': 'projectName', 'updated_timestamp_seconds': 'updatedTimestampSeconds' } discriminator = None def __init__(self, applications=None, created_timestamp_seconds=None, datapool_name=None, job_status=None, manager_user_emails=None, manager_user_ids=None, project=None, project_name=None, updated_timestamp_seconds=None): # noqa: E501 """ProjectOnboardingJob - a model defined in Swagger""" # noqa: E501 self._applications = None self._created_timestamp_seconds = None self._datapool_name = None self._job_status = None self._manager_user_emails = None self._manager_user_ids = None self._project = None self._project_name = None self._updated_timestamp_seconds = None if applications is not None: self.applications = applications if created_timestamp_seconds is not None: self.created_timestamp_seconds = created_timestamp_seconds if datapool_name is not None: self.datapool_name = datapool_name if job_status is not None: self.job_status = job_status if manager_user_emails is not None: self.manager_user_emails = manager_user_emails if manager_user_ids is not None: self.manager_user_ids = manager_user_ids if project is not None: self.project = project if project_name is not None: self.project_name = project_name if updated_timestamp_seconds is not None: self.updated_timestamp_seconds = updated_timestamp_seconds @property def applications(self): """Gets the applications of this ProjectOnboardingJob. # noqa: E501 :return: The applications of this ProjectOnboardingJob. # noqa: E501 :rtype: list[Application] """ return self._applications @applications.setter def applications(self, applications): """Sets the applications of this ProjectOnboardingJob. :param applications: The applications of this ProjectOnboardingJob. # noqa: E501 :type: list[Application] """ self._applications = applications @property def created_timestamp_seconds(self): """Gets the created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :return: The created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int """ return self._created_timestamp_seconds @created_timestamp_seconds.setter def created_timestamp_seconds(self, created_timestamp_seconds): """Sets the created_timestamp_seconds of this ProjectOnboardingJob. :param created_timestamp_seconds: The created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :type: int """ self._created_timestamp_seconds = created_timestamp_seconds @property def datapool_name(self): """Gets the datapool_name of this ProjectOnboardingJob. # noqa: E501 :return: The datapool_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str """ return self._datapool_name @datapool_name.setter def datapool_name(self, datapool_name): """Sets the datapool_name of this ProjectOnboardingJob. :param datapool_name: The datapool_name of this ProjectOnboardingJob. # noqa: E501 :type: str """ self._datapool_name = datapool_name @property def job_status(self): """Gets the job_status of this ProjectOnboardingJob. # noqa: E501 :return: The job_status of this ProjectOnboardingJob. # noqa: E501 :rtype: JobStatus """ return self._job_status @job_status.setter def job_status(self, job_status): """Sets the job_status of this ProjectOnboardingJob. :param job_status: The job_status of this ProjectOnboardingJob. # noqa: E501 :type: JobStatus """ self._job_status = job_status @property def manager_user_emails(self): """Gets the manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :return: The manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str] """ return self._manager_user_emails @manager_user_emails.setter def manager_user_emails(self, manager_user_emails): """Sets the manager_user_emails of this ProjectOnboardingJob. :param manager_user_emails: The manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :type: list[str] """ self._manager_user_emails = manager_user_emails @property def manager_user_ids(self): """Gets the manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :return: The manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str] """ return self._manager_user_ids @manager_user_ids.setter def manager_user_ids(self, manager_user_ids): """Sets the manager_user_ids of this ProjectOnboardingJob. :param manager_user_ids: The manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :type: list[str] """ self._manager_user_ids = manager_user_ids @property def project(self): """Gets the project of this ProjectOnboardingJob. # noqa: E501 :return: The project of this ProjectOnboardingJob. # noqa: E501 :rtype: Project """ return self._project @project.setter def project(self, project): """Sets the project of this ProjectOnboardingJob. :param project: The project of this ProjectOnboardingJob. # noqa: E501 :type: Project """ self._project = project @property def project_name(self): """Gets the project_name of this ProjectOnboardingJob. # noqa: E501 :return: The project_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str """ return self._project_name @project_name.setter def project_name(self, project_name): """Sets the project_name of this ProjectOnboardingJob. :param project_name: The project_name of this ProjectOnboardingJob. # noqa: E501 :type: str """ self._project_name = project_name @property def updated_timestamp_seconds(self): """Gets the updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :return: The updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int """ return self._updated_timestamp_seconds @updated_timestamp_seconds.setter def updated_timestamp_seconds(self, updated_timestamp_seconds): """Sets the updated_timestamp_seconds of this ProjectOnboardingJob. :param updated_timestamp_seconds: The updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :type: int """ self._updated_timestamp_seconds = updated_timestamp_seconds 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(ProjectOnboardingJob, 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, ProjectOnboardingJob): 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 ProjectOnboardingJob
class ProjectOnboardingJob(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 = { 'applications': 'list[Application]', 'created_timestamp_seconds': 'int', 'datapool_name': 'str', 'job_status': 'JobStatus', 'manager_user_emails': 'list[str]', 'manager_user_ids': 'list[str]', 'project': 'Project', 'project_name': 'str', 'updated_timestamp_seconds': 'int' } attribute_map = { 'applications': 'applications', 'created_timestamp_seconds': 'createdTimestampSeconds', 'datapool_name': 'datapoolName', 'job_status': 'jobStatus', 'manager_user_emails': 'managerUserEmails', 'manager_user_ids': 'managerUserIds', 'project': 'project', 'project_name': 'projectName', 'updated_timestamp_seconds': 'updatedTimestampSeconds' } discriminator = None def __init__(self, applications=None, created_timestamp_seconds=None, datapool_name=None, job_status=None, manager_user_emails=None, manager_user_ids=None, project=None, project_name=None, updated_timestamp_seconds=None): # noqa: E501 """ProjectOnboardingJob - a model defined in Swagger""" # noqa: E501 self._applications = None self._created_timestamp_seconds = None self._datapool_name = None self._job_status = None self._manager_user_emails = None self._manager_user_ids = None self._project = None self._project_name = None self._updated_timestamp_seconds = None if applications is not None: self.applications = applications if created_timestamp_seconds is not None: self.created_timestamp_seconds = created_timestamp_seconds if datapool_name is not None: self.datapool_name = datapool_name if job_status is not None: self.job_status = job_status if manager_user_emails is not None: self.manager_user_emails = manager_user_emails if manager_user_ids is not None: self.manager_user_ids = manager_user_ids if project is not None: self.project = project if project_name is not None: self.project_name = project_name if updated_timestamp_seconds is not None: self.updated_timestamp_seconds = updated_timestamp_seconds @property def applications(self): """Gets the applications of this ProjectOnboardingJob. # noqa: E501 :return: The applications of this ProjectOnboardingJob. # noqa: E501 :rtype: list[Application] """ return self._applications @applications.setter def applications(self, applications): """Sets the applications of this ProjectOnboardingJob. :param applications: The applications of this ProjectOnboardingJob. # noqa: E501 :type: list[Application] """ self._applications = applications @property def created_timestamp_seconds(self): """Gets the created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :return: The created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int """ return self._created_timestamp_seconds @created_timestamp_seconds.setter def created_timestamp_seconds(self, created_timestamp_seconds): """Sets the created_timestamp_seconds of this ProjectOnboardingJob. :param created_timestamp_seconds: The created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :type: int """ self._created_timestamp_seconds = created_timestamp_seconds @property def datapool_name(self): """Gets the datapool_name of this ProjectOnboardingJob. # noqa: E501 :return: The datapool_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str """ return self._datapool_name @datapool_name.setter def datapool_name(self, datapool_name): """Sets the datapool_name of this ProjectOnboardingJob. :param datapool_name: The datapool_name of this ProjectOnboardingJob. # noqa: E501 :type: str """ self._datapool_name = datapool_name @property def job_status(self): """Gets the job_status of this ProjectOnboardingJob. # noqa: E501 :return: The job_status of this ProjectOnboardingJob. # noqa: E501 :rtype: JobStatus """ return self._job_status @job_status.setter def job_status(self, job_status): """Sets the job_status of this ProjectOnboardingJob. :param job_status: The job_status of this ProjectOnboardingJob. # noqa: E501 :type: JobStatus """ self._job_status = job_status @property def manager_user_emails(self): """Gets the manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :return: The manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str] """ return self._manager_user_emails @manager_user_emails.setter def manager_user_emails(self, manager_user_emails): """Sets the manager_user_emails of this ProjectOnboardingJob. :param manager_user_emails: The manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :type: list[str] """ self._manager_user_emails = manager_user_emails @property def manager_user_ids(self): """Gets the manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :return: The manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str] """ return self._manager_user_ids @manager_user_ids.setter def manager_user_ids(self, manager_user_ids): """Sets the manager_user_ids of this ProjectOnboardingJob. :param manager_user_ids: The manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :type: list[str] """ self._manager_user_ids = manager_user_ids @property def project(self): """Gets the project of this ProjectOnboardingJob. # noqa: E501 :return: The project of this ProjectOnboardingJob. # noqa: E501 :rtype: Project """ return self._project @project.setter def project(self, project): """Sets the project of this ProjectOnboardingJob. :param project: The project of this ProjectOnboardingJob. # noqa: E501 :type: Project """ self._project = project @property def project_name(self): """Gets the project_name of this ProjectOnboardingJob. # noqa: E501 :return: The project_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str """ return self._project_name @project_name.setter def project_name(self, project_name): """Sets the project_name of this ProjectOnboardingJob. :param project_name: The project_name of this ProjectOnboardingJob. # noqa: E501 :type: str """ self._project_name = project_name @property def updated_timestamp_seconds(self): """Gets the updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :return: The updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int """ return self._updated_timestamp_seconds @updated_timestamp_seconds.setter def updated_timestamp_seconds(self, updated_timestamp_seconds): """Sets the updated_timestamp_seconds of this ProjectOnboardingJob. :param updated_timestamp_seconds: The updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :type: int """ self._updated_timestamp_seconds = updated_timestamp_seconds 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(ProjectOnboardingJob, 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, ProjectOnboardingJob): 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)
- ProjectOnboardingJob
- builtins.object
Class variables
var attribute_map
var discriminator
var swagger_types
Static methods
def __init__(
self, applications=None, created_timestamp_seconds=None, datapool_name=None, job_status=None, manager_user_emails=None, manager_user_ids=None, project=None, project_name=None, updated_timestamp_seconds=None)
ProjectOnboardingJob - a model defined in Swagger
def __init__(self, applications=None, created_timestamp_seconds=None, datapool_name=None, job_status=None, manager_user_emails=None, manager_user_ids=None, project=None, project_name=None, updated_timestamp_seconds=None): # noqa: E501 """ProjectOnboardingJob - a model defined in Swagger""" # noqa: E501 self._applications = None self._created_timestamp_seconds = None self._datapool_name = None self._job_status = None self._manager_user_emails = None self._manager_user_ids = None self._project = None self._project_name = None self._updated_timestamp_seconds = None if applications is not None: self.applications = applications if created_timestamp_seconds is not None: self.created_timestamp_seconds = created_timestamp_seconds if datapool_name is not None: self.datapool_name = datapool_name if job_status is not None: self.job_status = job_status if manager_user_emails is not None: self.manager_user_emails = manager_user_emails if manager_user_ids is not None: self.manager_user_ids = manager_user_ids if project is not None: self.project = project if project_name is not None: self.project_name = project_name if updated_timestamp_seconds is not None: self.updated_timestamp_seconds = updated_timestamp_seconds
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(ProjectOnboardingJob, 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 applications
Gets the applications of this ProjectOnboardingJob. # noqa: E501
:return: The applications of this ProjectOnboardingJob. # noqa: E501 :rtype: list[Application]
var created_timestamp_seconds
Gets the created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501
:return: The created_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int
var datapool_name
Gets the datapool_name of this ProjectOnboardingJob. # noqa: E501
:return: The datapool_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str
var job_status
Gets the job_status of this ProjectOnboardingJob. # noqa: E501
:return: The job_status of this ProjectOnboardingJob. # noqa: E501 :rtype: JobStatus
var manager_user_emails
Gets the manager_user_emails of this ProjectOnboardingJob. # noqa: E501
:return: The manager_user_emails of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str]
var manager_user_ids
Gets the manager_user_ids of this ProjectOnboardingJob. # noqa: E501
:return: The manager_user_ids of this ProjectOnboardingJob. # noqa: E501 :rtype: list[str]
var project
Gets the project of this ProjectOnboardingJob. # noqa: E501
:return: The project of this ProjectOnboardingJob. # noqa: E501 :rtype: Project
var project_name
Gets the project_name of this ProjectOnboardingJob. # noqa: E501
:return: The project_name of this ProjectOnboardingJob. # noqa: E501 :rtype: str
var updated_timestamp_seconds
Gets the updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501
:return: The updated_timestamp_seconds of this ProjectOnboardingJob. # noqa: E501 :rtype: int