Top

lentiq.models.project_delete_job module

# coding: utf-8
####alex test
"""
    
    
        
    """

import pprint
import re  # noqa: F401

import six
from lentiq.models.job_status import JobStatus  # noqa: F401,E501


class ProjectDeleteJob(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_timestamp_seconds': 'int',
        'datapool_name': 'str',
        'job_status': 'JobStatus',
        'project_name': 'str',
        'updated_timestamp_seconds': 'int'
    }

    attribute_map = {
        'created_timestamp_seconds': 'createdTimestampSeconds',
        'datapool_name': 'datapoolName',
        'job_status': 'jobStatus',
        'project_name': 'projectName',
        'updated_timestamp_seconds': 'updatedTimestampSeconds'
    }

    discriminator = None

    def __init__(self, created_timestamp_seconds=None, datapool_name=None, job_status=None, project_name=None, updated_timestamp_seconds=None):  # noqa: E501
        """ProjectDeleteJob - a model defined in Swagger"""  # noqa: E501
        self._created_timestamp_seconds = None
        self._datapool_name = None
        self._job_status = None
        self._project_name = None
        self._updated_timestamp_seconds = None

        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 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 created_timestamp_seconds(self):
        """Gets the created_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501


        :return: The created_timestamp_seconds of this ProjectDeleteJob.  # 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 ProjectDeleteJob.


        :param created_timestamp_seconds: The created_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501
        :type: int
        """

        self._created_timestamp_seconds = created_timestamp_seconds

    @property
    def datapool_name(self):
        """Gets the datapool_name of this ProjectDeleteJob.  # noqa: E501


        :return: The datapool_name of this ProjectDeleteJob.  # noqa: E501
        :rtype: str
        """
        return self._datapool_name

    @datapool_name.setter
    def datapool_name(self, datapool_name):
        """Sets the datapool_name of this ProjectDeleteJob.


        :param datapool_name: The datapool_name of this ProjectDeleteJob.  # noqa: E501
        :type: str
        """

        self._datapool_name = datapool_name

    @property
    def job_status(self):
        """Gets the job_status of this ProjectDeleteJob.  # noqa: E501


        :return: The job_status of this ProjectDeleteJob.  # noqa: E501
        :rtype: JobStatus
        """
        return self._job_status

    @job_status.setter
    def job_status(self, job_status):
        """Sets the job_status of this ProjectDeleteJob.


        :param job_status: The job_status of this ProjectDeleteJob.  # noqa: E501
        :type: JobStatus
        """

        self._job_status = job_status

    @property
    def project_name(self):
        """Gets the project_name of this ProjectDeleteJob.  # noqa: E501


        :return: The project_name of this ProjectDeleteJob.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this ProjectDeleteJob.


        :param project_name: The project_name of this ProjectDeleteJob.  # noqa: E501
        :type: str
        """

        self._project_name = project_name

    @property
    def updated_timestamp_seconds(self):
        """Gets the updated_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501


        :return: The updated_timestamp_seconds of this ProjectDeleteJob.  # 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 ProjectDeleteJob.


        :param updated_timestamp_seconds: The updated_timestamp_seconds of this ProjectDeleteJob.  # 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(ProjectDeleteJob, 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, ProjectDeleteJob):
            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 ProjectDeleteJob

class ProjectDeleteJob(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_timestamp_seconds': 'int',
        'datapool_name': 'str',
        'job_status': 'JobStatus',
        'project_name': 'str',
        'updated_timestamp_seconds': 'int'
    }

    attribute_map = {
        'created_timestamp_seconds': 'createdTimestampSeconds',
        'datapool_name': 'datapoolName',
        'job_status': 'jobStatus',
        'project_name': 'projectName',
        'updated_timestamp_seconds': 'updatedTimestampSeconds'
    }

    discriminator = None

    def __init__(self, created_timestamp_seconds=None, datapool_name=None, job_status=None, project_name=None, updated_timestamp_seconds=None):  # noqa: E501
        """ProjectDeleteJob - a model defined in Swagger"""  # noqa: E501
        self._created_timestamp_seconds = None
        self._datapool_name = None
        self._job_status = None
        self._project_name = None
        self._updated_timestamp_seconds = None

        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 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 created_timestamp_seconds(self):
        """Gets the created_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501


        :return: The created_timestamp_seconds of this ProjectDeleteJob.  # 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 ProjectDeleteJob.


        :param created_timestamp_seconds: The created_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501
        :type: int
        """

        self._created_timestamp_seconds = created_timestamp_seconds

    @property
    def datapool_name(self):
        """Gets the datapool_name of this ProjectDeleteJob.  # noqa: E501


        :return: The datapool_name of this ProjectDeleteJob.  # noqa: E501
        :rtype: str
        """
        return self._datapool_name

    @datapool_name.setter
    def datapool_name(self, datapool_name):
        """Sets the datapool_name of this ProjectDeleteJob.


        :param datapool_name: The datapool_name of this ProjectDeleteJob.  # noqa: E501
        :type: str
        """

        self._datapool_name = datapool_name

    @property
    def job_status(self):
        """Gets the job_status of this ProjectDeleteJob.  # noqa: E501


        :return: The job_status of this ProjectDeleteJob.  # noqa: E501
        :rtype: JobStatus
        """
        return self._job_status

    @job_status.setter
    def job_status(self, job_status):
        """Sets the job_status of this ProjectDeleteJob.


        :param job_status: The job_status of this ProjectDeleteJob.  # noqa: E501
        :type: JobStatus
        """

        self._job_status = job_status

    @property
    def project_name(self):
        """Gets the project_name of this ProjectDeleteJob.  # noqa: E501


        :return: The project_name of this ProjectDeleteJob.  # noqa: E501
        :rtype: str
        """
        return self._project_name

    @project_name.setter
    def project_name(self, project_name):
        """Sets the project_name of this ProjectDeleteJob.


        :param project_name: The project_name of this ProjectDeleteJob.  # noqa: E501
        :type: str
        """

        self._project_name = project_name

    @property
    def updated_timestamp_seconds(self):
        """Gets the updated_timestamp_seconds of this ProjectDeleteJob.  # noqa: E501


        :return: The updated_timestamp_seconds of this ProjectDeleteJob.  # 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 ProjectDeleteJob.


        :param updated_timestamp_seconds: The updated_timestamp_seconds of this ProjectDeleteJob.  # 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(ProjectDeleteJob, 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, ProjectDeleteJob):
            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)

Class variables

var attribute_map

var discriminator

var swagger_types

Static methods

def __init__(

self, created_timestamp_seconds=None, datapool_name=None, job_status=None, project_name=None, updated_timestamp_seconds=None)

ProjectDeleteJob - a model defined in Swagger

def __init__(self, created_timestamp_seconds=None, datapool_name=None, job_status=None, project_name=None, updated_timestamp_seconds=None):  # noqa: E501
    """ProjectDeleteJob - a model defined in Swagger"""  # noqa: E501
    self._created_timestamp_seconds = None
    self._datapool_name = None
    self._job_status = None
    self._project_name = None
    self._updated_timestamp_seconds = None
    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 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(ProjectDeleteJob, 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_timestamp_seconds

Gets the created_timestamp_seconds of this ProjectDeleteJob. # noqa: E501

:return: The created_timestamp_seconds of this ProjectDeleteJob. # noqa: E501 :rtype: int

var datapool_name

Gets the datapool_name of this ProjectDeleteJob. # noqa: E501

:return: The datapool_name of this ProjectDeleteJob. # noqa: E501 :rtype: str

var job_status

Gets the job_status of this ProjectDeleteJob. # noqa: E501

:return: The job_status of this ProjectDeleteJob. # noqa: E501 :rtype: JobStatus

var project_name

Gets the project_name of this ProjectDeleteJob. # noqa: E501

:return: The project_name of this ProjectDeleteJob. # noqa: E501 :rtype: str

var updated_timestamp_seconds

Gets the updated_timestamp_seconds of this ProjectDeleteJob. # noqa: E501

:return: The updated_timestamp_seconds of this ProjectDeleteJob. # noqa: E501 :rtype: int