# coding: utf-8

"""
    vault/kernel/core_api/proto/v1/accounts/core_api_account_schedule_tags.proto

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

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

import pprint
import re  # noqa: F401

import six

class AccountsAccountUpdateBatch(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 = {
        'id': 'str',
        'account_updates': 'list[AccountsAccountUpdate]',
        'status': 'AccountsAccountUpdateBatchStatus',
        'account_migration_id': 'str',
        'create_timestamp': 'datetime'
    }

    attribute_map = {
        'id': 'id',
        'account_updates': 'account_updates',
        'status': 'status',
        'account_migration_id': 'account_migration_id',
        'create_timestamp': 'create_timestamp'
    }

    def __init__(self, id=None, account_updates=None, status=None, account_migration_id=None, create_timestamp=None):  # noqa: E501
        """AccountsAccountUpdateBatch - a model defined in Swagger"""  # noqa: E501
        self._id = None
        self._account_updates = None
        self._status = None
        self._account_migration_id = None
        self._create_timestamp = None
        self.discriminator = None
        if id is not None:
            self.id = id
        if account_updates is not None:
            self.account_updates = account_updates
        if status is not None:
            self.status = status
        if account_migration_id is not None:
            self.account_migration_id = account_migration_id
        if create_timestamp is not None:
            self.create_timestamp = create_timestamp

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

        A unique identifier for the account update batch. Optional.  # noqa: E501

        :return: The id of this AccountsAccountUpdateBatch.  # noqa: E501
        :rtype: str
        """
        return self._id

    @id.setter
    def id(self, id):
        """Sets the id of this AccountsAccountUpdateBatch.

        A unique identifier for the account update batch. Optional.  # noqa: E501

        :param id: The id of this AccountsAccountUpdateBatch.  # noqa: E501
        :type: str
        """

        self._id = id

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

        The AccountUpdates that will be created as part of this batch.  # noqa: E501

        :return: The account_updates of this AccountsAccountUpdateBatch.  # noqa: E501
        :rtype: list[AccountsAccountUpdate]
        """
        return self._account_updates

    @account_updates.setter
    def account_updates(self, account_updates):
        """Sets the account_updates of this AccountsAccountUpdateBatch.

        The AccountUpdates that will be created as part of this batch.  # noqa: E501

        :param account_updates: The account_updates of this AccountsAccountUpdateBatch.  # noqa: E501
        :type: list[AccountsAccountUpdate]
        """

        self._account_updates = account_updates

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


        :return: The status of this AccountsAccountUpdateBatch.  # noqa: E501
        :rtype: AccountsAccountUpdateBatchStatus
        """
        return self._status

    @status.setter
    def status(self, status):
        """Sets the status of this AccountsAccountUpdateBatch.


        :param status: The status of this AccountsAccountUpdateBatch.  # noqa: E501
        :type: AccountsAccountUpdateBatchStatus
        """

        self._status = status

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

        The ID of the AccountMigration if the AccountUpdateBatch was created as part of a migration.  # noqa: E501

        :return: The account_migration_id of this AccountsAccountUpdateBatch.  # noqa: E501
        :rtype: str
        """
        return self._account_migration_id

    @account_migration_id.setter
    def account_migration_id(self, account_migration_id):
        """Sets the account_migration_id of this AccountsAccountUpdateBatch.

        The ID of the AccountMigration if the AccountUpdateBatch was created as part of a migration.  # noqa: E501

        :param account_migration_id: The account_migration_id of this AccountsAccountUpdateBatch.  # noqa: E501
        :type: str
        """

        self._account_migration_id = account_migration_id

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

        The timestamp when this AccountUpdateBatch was created.  # noqa: E501

        :return: The create_timestamp of this AccountsAccountUpdateBatch.  # noqa: E501
        :rtype: datetime
        """
        return self._create_timestamp

    @create_timestamp.setter
    def create_timestamp(self, create_timestamp):
        """Sets the create_timestamp of this AccountsAccountUpdateBatch.

        The timestamp when this AccountUpdateBatch was created.  # noqa: E501

        :param create_timestamp: The create_timestamp of this AccountsAccountUpdateBatch.  # noqa: E501
        :type: datetime
        """

        self._create_timestamp = create_timestamp

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

        return self.__dict__ == other.__dict__

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