# 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 LockHistoryResponse(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 = {
        "organisation_id": "str",
        "end_date": "date",
        "lock_dates": "list[LockHistoryModel]",
    }

    attribute_map = {
        "organisation_id": "organisationId",
        "end_date": "endDate",
        "lock_dates": "lockDates",
    }

    def __init__(
        self, organisation_id=None, end_date=None, lock_dates=None
    ):  # noqa: E501
        """LockHistoryResponse - a model defined in OpenAPI"""  # noqa: E501

        self._organisation_id = None
        self._end_date = None
        self._lock_dates = None
        self.discriminator = None

        if organisation_id is not None:
            self.organisation_id = organisation_id
        if end_date is not None:
            self.end_date = end_date
        if lock_dates is not None:
            self.lock_dates = lock_dates

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

        The requested Organisation to which the data pertains  # noqa: E501

        :return: The organisation_id of this LockHistoryResponse.  # noqa: E501
        :rtype: str
        """
        return self._organisation_id

    @organisation_id.setter
    def organisation_id(self, organisation_id):
        """Sets the organisation_id of this LockHistoryResponse.

        The requested Organisation to which the data pertains  # noqa: E501

        :param organisation_id: The organisation_id of this LockHistoryResponse.  # noqa: E501
        :type: str
        """

        self._organisation_id = organisation_id

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

        The end date of the report  # noqa: E501

        :return: The end_date of this LockHistoryResponse.  # noqa: E501
        :rtype: date
        """
        return self._end_date

    @end_date.setter
    def end_date(self, end_date):
        """Sets the end_date of this LockHistoryResponse.

        The end date of the report  # noqa: E501

        :param end_date: The end_date of this LockHistoryResponse.  # noqa: E501
        :type: date
        """

        self._end_date = end_date

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


        :return: The lock_dates of this LockHistoryResponse.  # noqa: E501
        :rtype: list[LockHistoryModel]
        """
        return self._lock_dates

    @lock_dates.setter
    def lock_dates(self, lock_dates):
        """Sets the lock_dates of this LockHistoryResponse.


        :param lock_dates: The lock_dates of this LockHistoryResponse.  # noqa: E501
        :type: list[LockHistoryModel]
        """

        self._lock_dates = lock_dates
