# coding: utf-8

"""
    Accounting API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    OpenAPI spec version: 2.3.6
    Contact: api@xero.com
    Generated by: https://openapi-generator.tech
"""


import re  # noqa: F401

from xero_python.models import BaseModel


class TaxRates(BaseModel):
    """NOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    """

    """
    Attributes:
      openapi_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.
    """
    openapi_types = {"tax_rates": "list[TaxRate]"}

    attribute_map = {"tax_rates": "TaxRates"}

    def __init__(self, tax_rates=None):  # noqa: E501
        """TaxRates - a model defined in OpenAPI"""  # noqa: E501

        self._tax_rates = None
        self.discriminator = None

        if tax_rates is not None:
            self.tax_rates = tax_rates

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


        :return: The tax_rates of this TaxRates.  # noqa: E501
        :rtype: list[TaxRate]
        """
        return self._tax_rates

    @tax_rates.setter
    def tax_rates(self, tax_rates):
        """Sets the tax_rates of this TaxRates.


        :param tax_rates: The tax_rates of this TaxRates.  # noqa: E501
        :type: list[TaxRate]
        """

        self._tax_rates = tax_rates
