# coding: utf-8

"""
    Xero Finance API

    The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.  # noqa: E501

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


import re  # noqa: F401

from xero_python.models import BaseModel


class BalanceSheetResponse(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 = {
        "balance_date": "date",
        "asset": "BalanceSheetAccountGroup",
        "liability": "BalanceSheetAccountGroup",
        "equity": "BalanceSheetAccountGroup",
    }

    attribute_map = {
        "balance_date": "balanceDate",
        "asset": "asset",
        "liability": "liability",
        "equity": "equity",
    }

    def __init__(
        self, balance_date=None, asset=None, liability=None, equity=None
    ):  # noqa: E501
        """BalanceSheetResponse - a model defined in OpenAPI"""  # noqa: E501

        self._balance_date = None
        self._asset = None
        self._liability = None
        self._equity = None
        self.discriminator = None

        if balance_date is not None:
            self.balance_date = balance_date
        if asset is not None:
            self.asset = asset
        if liability is not None:
            self.liability = liability
        if equity is not None:
            self.equity = equity

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

        Balance date of the report  # noqa: E501

        :return: The balance_date of this BalanceSheetResponse.  # noqa: E501
        :rtype: date
        """
        return self._balance_date

    @balance_date.setter
    def balance_date(self, balance_date):
        """Sets the balance_date of this BalanceSheetResponse.

        Balance date of the report  # noqa: E501

        :param balance_date: The balance_date of this BalanceSheetResponse.  # noqa: E501
        :type: date
        """

        self._balance_date = balance_date

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


        :return: The asset of this BalanceSheetResponse.  # noqa: E501
        :rtype: BalanceSheetAccountGroup
        """
        return self._asset

    @asset.setter
    def asset(self, asset):
        """Sets the asset of this BalanceSheetResponse.


        :param asset: The asset of this BalanceSheetResponse.  # noqa: E501
        :type: BalanceSheetAccountGroup
        """

        self._asset = asset

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


        :return: The liability of this BalanceSheetResponse.  # noqa: E501
        :rtype: BalanceSheetAccountGroup
        """
        return self._liability

    @liability.setter
    def liability(self, liability):
        """Sets the liability of this BalanceSheetResponse.


        :param liability: The liability of this BalanceSheetResponse.  # noqa: E501
        :type: BalanceSheetAccountGroup
        """

        self._liability = liability

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


        :return: The equity of this BalanceSheetResponse.  # noqa: E501
        :rtype: BalanceSheetAccountGroup
        """
        return self._equity

    @equity.setter
    def equity(self, equity):
        """Sets the equity of this BalanceSheetResponse.


        :param equity: The equity of this BalanceSheetResponse.  # noqa: E501
        :type: BalanceSheetAccountGroup
        """

        self._equity = equity
