# coding: utf-8

"""
    Seeq REST API

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: 66.112.0-v202603050805-CD
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""

from pprint import pformat
from six import iteritems
import re


class CalculatedTableColumnDependencyOutputV1(object):
    """
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    """


    """
    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 = {
        'calculated_table_id': 'str',
        'column_definition_id': 'str',
        'stored_table_column_id': 'str'
    }

    attribute_map = {
        'calculated_table_id': 'calculatedTableId',
        'column_definition_id': 'columnDefinitionId',
        'stored_table_column_id': 'storedTableColumnId'
    }

    def __init__(self, calculated_table_id=None, column_definition_id=None, stored_table_column_id=None):
        """
        CalculatedTableColumnDependencyOutputV1 - a model defined in Swagger
        """

        self._calculated_table_id = None
        self._column_definition_id = None
        self._stored_table_column_id = None

        if calculated_table_id is not None:
          self.calculated_table_id = calculated_table_id
        if column_definition_id is not None:
          self.column_definition_id = column_definition_id
        if stored_table_column_id is not None:
          self.stored_table_column_id = stored_table_column_id

    @property
    def calculated_table_id(self):
        """
        Gets the calculated_table_id of this CalculatedTableColumnDependencyOutputV1.
        The calculated table these dependencies belong to

        :return: The calculated_table_id of this CalculatedTableColumnDependencyOutputV1.
        :rtype: str
        """
        return self._calculated_table_id

    @calculated_table_id.setter
    def calculated_table_id(self, calculated_table_id):
        """
        Sets the calculated_table_id of this CalculatedTableColumnDependencyOutputV1.
        The calculated table these dependencies belong to

        :param calculated_table_id: The calculated_table_id of this CalculatedTableColumnDependencyOutputV1.
        :type: str
        """

        self._calculated_table_id = calculated_table_id

    @property
    def column_definition_id(self):
        """
        Gets the column_definition_id of this CalculatedTableColumnDependencyOutputV1.
        The column definition ID (for TableDefinition columns)

        :return: The column_definition_id of this CalculatedTableColumnDependencyOutputV1.
        :rtype: str
        """
        return self._column_definition_id

    @column_definition_id.setter
    def column_definition_id(self, column_definition_id):
        """
        Sets the column_definition_id of this CalculatedTableColumnDependencyOutputV1.
        The column definition ID (for TableDefinition columns)

        :param column_definition_id: The column_definition_id of this CalculatedTableColumnDependencyOutputV1.
        :type: str
        """

        self._column_definition_id = column_definition_id

    @property
    def stored_table_column_id(self):
        """
        Gets the stored_table_column_id of this CalculatedTableColumnDependencyOutputV1.
        The stored table column ID (for StoredTable columns)

        :return: The stored_table_column_id of this CalculatedTableColumnDependencyOutputV1.
        :rtype: str
        """
        return self._stored_table_column_id

    @stored_table_column_id.setter
    def stored_table_column_id(self, stored_table_column_id):
        """
        Sets the stored_table_column_id of this CalculatedTableColumnDependencyOutputV1.
        The stored table column ID (for StoredTable columns)

        :param stored_table_column_id: The stored_table_column_id of this CalculatedTableColumnDependencyOutputV1.
        :type: str
        """

        self._stored_table_column_id = stored_table_column_id

    def to_dict(self):
        """
        Returns the model properties as a dict
        """
        result = {}

        for attr, _ in 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

        return result

    def to_str(self):
        """
        Returns the string representation of the model
        """
        return 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, CalculatedTableColumnDependencyOutputV1):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """
        Returns true if both objects are not equal
        """
        return not self == other
