# coding: utf-8

"""
    farm API

    farm API documentation  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class BulkCADto(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 = {
        'ca_status_type': 'str',
        'croppable_area_ids': 'list[int]',
        'project_id': 'int',
        'select_all': 'bool'
    }

    attribute_map = {
        'ca_status_type': 'caStatusType',
        'croppable_area_ids': 'croppableAreaIds',
        'project_id': 'projectId',
        'select_all': 'selectAll'
    }

    def __init__(self, ca_status_type=None, croppable_area_ids=None, project_id=None, select_all=None):  # noqa: E501
        """BulkCADto - a model defined in Swagger"""  # noqa: E501
        self._ca_status_type = None
        self._croppable_area_ids = None
        self._project_id = None
        self._select_all = None
        self.discriminator = None
        if ca_status_type is not None:
            self.ca_status_type = ca_status_type
        if croppable_area_ids is not None:
            self.croppable_area_ids = croppable_area_ids
        if project_id is not None:
            self.project_id = project_id
        if select_all is not None:
            self.select_all = select_all

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


        :return: The ca_status_type of this BulkCADto.  # noqa: E501
        :rtype: str
        """
        return self._ca_status_type

    @ca_status_type.setter
    def ca_status_type(self, ca_status_type):
        """Sets the ca_status_type of this BulkCADto.


        :param ca_status_type: The ca_status_type of this BulkCADto.  # noqa: E501
        :type: str
        """

        self._ca_status_type = ca_status_type

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


        :return: The croppable_area_ids of this BulkCADto.  # noqa: E501
        :rtype: list[int]
        """
        return self._croppable_area_ids

    @croppable_area_ids.setter
    def croppable_area_ids(self, croppable_area_ids):
        """Sets the croppable_area_ids of this BulkCADto.


        :param croppable_area_ids: The croppable_area_ids of this BulkCADto.  # noqa: E501
        :type: list[int]
        """

        self._croppable_area_ids = croppable_area_ids

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


        :return: The project_id of this BulkCADto.  # noqa: E501
        :rtype: int
        """
        return self._project_id

    @project_id.setter
    def project_id(self, project_id):
        """Sets the project_id of this BulkCADto.


        :param project_id: The project_id of this BulkCADto.  # noqa: E501
        :type: int
        """

        self._project_id = project_id

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


        :return: The select_all of this BulkCADto.  # noqa: E501
        :rtype: bool
        """
        return self._select_all

    @select_all.setter
    def select_all(self, select_all):
        """Sets the select_all of this BulkCADto.


        :param select_all: The select_all of this BulkCADto.  # noqa: E501
        :type: bool
        """

        self._select_all = select_all

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

        return self.__dict__ == other.__dict__

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