# coding: utf-8

"""
    graph20250815

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

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


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class TableForAddGraphTablesInput(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 = {
        'edges': 'list[EdgeForAddGraphTablesInput]',
        'enable_rotate': 'bool',
        'rotate_size': 'int',
        'table_name': 'str',
        'version': 'int',
        'vertexes': 'list[VertexForAddGraphTablesInput]'
    }

    attribute_map = {
        'edges': 'Edges',
        'enable_rotate': 'EnableRotate',
        'rotate_size': 'RotateSize',
        'table_name': 'TableName',
        'version': 'Version',
        'vertexes': 'Vertexes'
    }

    def __init__(self, edges=None, enable_rotate=None, rotate_size=None, table_name=None, version=None, vertexes=None, _configuration=None):  # noqa: E501
        """TableForAddGraphTablesInput - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._edges = None
        self._enable_rotate = None
        self._rotate_size = None
        self._table_name = None
        self._version = None
        self._vertexes = None
        self.discriminator = None

        if edges is not None:
            self.edges = edges
        if enable_rotate is not None:
            self.enable_rotate = enable_rotate
        if rotate_size is not None:
            self.rotate_size = rotate_size
        if table_name is not None:
            self.table_name = table_name
        if version is not None:
            self.version = version
        if vertexes is not None:
            self.vertexes = vertexes

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


        :return: The edges of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: list[EdgeForAddGraphTablesInput]
        """
        return self._edges

    @edges.setter
    def edges(self, edges):
        """Sets the edges of this TableForAddGraphTablesInput.


        :param edges: The edges of this TableForAddGraphTablesInput.  # noqa: E501
        :type: list[EdgeForAddGraphTablesInput]
        """

        self._edges = edges

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


        :return: The enable_rotate of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: bool
        """
        return self._enable_rotate

    @enable_rotate.setter
    def enable_rotate(self, enable_rotate):
        """Sets the enable_rotate of this TableForAddGraphTablesInput.


        :param enable_rotate: The enable_rotate of this TableForAddGraphTablesInput.  # noqa: E501
        :type: bool
        """

        self._enable_rotate = enable_rotate

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


        :return: The rotate_size of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: int
        """
        return self._rotate_size

    @rotate_size.setter
    def rotate_size(self, rotate_size):
        """Sets the rotate_size of this TableForAddGraphTablesInput.


        :param rotate_size: The rotate_size of this TableForAddGraphTablesInput.  # noqa: E501
        :type: int
        """

        self._rotate_size = rotate_size

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


        :return: The table_name of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: str
        """
        return self._table_name

    @table_name.setter
    def table_name(self, table_name):
        """Sets the table_name of this TableForAddGraphTablesInput.


        :param table_name: The table_name of this TableForAddGraphTablesInput.  # noqa: E501
        :type: str
        """

        self._table_name = table_name

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


        :return: The version of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: int
        """
        return self._version

    @version.setter
    def version(self, version):
        """Sets the version of this TableForAddGraphTablesInput.


        :param version: The version of this TableForAddGraphTablesInput.  # noqa: E501
        :type: int
        """

        self._version = version

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


        :return: The vertexes of this TableForAddGraphTablesInput.  # noqa: E501
        :rtype: list[VertexForAddGraphTablesInput]
        """
        return self._vertexes

    @vertexes.setter
    def vertexes(self, vertexes):
        """Sets the vertexes of this TableForAddGraphTablesInput.


        :param vertexes: The vertexes of this TableForAddGraphTablesInput.  # noqa: E501
        :type: list[VertexForAddGraphTablesInput]
        """

        self._vertexes = vertexes

    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(TableForAddGraphTablesInput, 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, TableForAddGraphTablesInput):
            return False

        return self.to_dict() == other.to_dict()

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

        return self.to_dict() != other.to_dict()
