<gh_stars>0
"""
Contains AddressBook class that provides help with
interacting with the Address Book page and Add Address form elements.
"""

# pylint: disable=too-few-public-methods
class AddressBook:
    """
    Use to create and compare records
    on the Address Book page and Add Address form.
    """

    # pylint: disable=too-many-instance-attributes
    # pylint: disable=too-many-arguments
    def __init__(self, first_name=None,
                 last_name=None,
                 company=None,
                 address_1=None,
                 address_2=None,
                 city=None,
                 post_code=None,
                 region_state=None,
                 country=None,
                 content=None):
        self.first_name = first_name
        self.last_name = last_name
        self.company = company
        self.address_1 = address_1
        self.address_2 = address_2
        self.city = city
        self.post_code = post_code
        self.region_state = region_state
        self.country = country
        self.content = content

    def __repr__(self):
        return "{}".format(self.content)

    def __eq__(self, other):
        return self.content == other.content
