# coding: utf-8

"""
    Internal API

    SmartDiagnostics REST API for internal users only  # noqa: E501

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

import pprint
import re  # noqa: F401

import six

class V30FilesBody(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 = {
        'file_type': 'ContentType',
        'display_name': 'str',
        'parent_folder_id': 'str',
        'description': 'str',
        'location_id': 'str',
        'corporation_id': 'str',
        'group_ids': 'list[str]',
        'files': 'str'
    }

    attribute_map = {
        'file_type': 'FileType',
        'display_name': 'DisplayName',
        'parent_folder_id': 'ParentFolderId',
        'description': 'Description',
        'location_id': 'LocationId',
        'corporation_id': 'CorporationId',
        'group_ids': 'GroupIds',
        'files': 'files'
    }

    def __init__(self, file_type=None, display_name=None, parent_folder_id=None, description=None, location_id=None, corporation_id=None, group_ids=None, files=None):  # noqa: E501
        """V30FilesBody - a model defined in Swagger"""  # noqa: E501
        self._file_type = None
        self._display_name = None
        self._parent_folder_id = None
        self._description = None
        self._location_id = None
        self._corporation_id = None
        self._group_ids = None
        self._files = None
        self.discriminator = None
        self.file_type = file_type
        self.display_name = display_name
        self.parent_folder_id = parent_folder_id
        if description is not None:
            self.description = description
        if location_id is not None:
            self.location_id = location_id
        if corporation_id is not None:
            self.corporation_id = corporation_id
        if group_ids is not None:
            self.group_ids = group_ids
        if files is not None:
            self.files = files

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


        :return: The file_type of this V30FilesBody.  # noqa: E501
        :rtype: ContentType
        """
        return self._file_type

    @file_type.setter
    def file_type(self, file_type):
        """Sets the file_type of this V30FilesBody.


        :param file_type: The file_type of this V30FilesBody.  # noqa: E501
        :type: ContentType
        """
        if file_type is None:
            raise ValueError("Invalid value for `file_type`, must not be `None`")  # noqa: E501

        self._file_type = file_type

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

        Name of file  # noqa: E501

        :return: The display_name of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._display_name

    @display_name.setter
    def display_name(self, display_name):
        """Sets the display_name of this V30FilesBody.

        Name of file  # noqa: E501

        :param display_name: The display_name of this V30FilesBody.  # noqa: E501
        :type: str
        """
        if display_name is None:
            raise ValueError("Invalid value for `display_name`, must not be `None`")  # noqa: E501

        self._display_name = display_name

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

        The id of the folder that the file is inside of  # noqa: E501

        :return: The parent_folder_id of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._parent_folder_id

    @parent_folder_id.setter
    def parent_folder_id(self, parent_folder_id):
        """Sets the parent_folder_id of this V30FilesBody.

        The id of the folder that the file is inside of  # noqa: E501

        :param parent_folder_id: The parent_folder_id of this V30FilesBody.  # noqa: E501
        :type: str
        """
        if parent_folder_id is None:
            raise ValueError("Invalid value for `parent_folder_id`, must not be `None`")  # noqa: E501

        self._parent_folder_id = parent_folder_id

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

        File Description  # noqa: E501

        :return: The description of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._description

    @description.setter
    def description(self, description):
        """Sets the description of this V30FilesBody.

        File Description  # noqa: E501

        :param description: The description of this V30FilesBody.  # noqa: E501
        :type: str
        """

        self._description = description

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

        Location id of file  # noqa: E501

        :return: The location_id of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._location_id

    @location_id.setter
    def location_id(self, location_id):
        """Sets the location_id of this V30FilesBody.

        Location id of file  # noqa: E501

        :param location_id: The location_id of this V30FilesBody.  # noqa: E501
        :type: str
        """

        self._location_id = location_id

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

        Corporation id of file  # noqa: E501

        :return: The corporation_id of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._corporation_id

    @corporation_id.setter
    def corporation_id(self, corporation_id):
        """Sets the corporation_id of this V30FilesBody.

        Corporation id of file  # noqa: E501

        :param corporation_id: The corporation_id of this V30FilesBody.  # noqa: E501
        :type: str
        """

        self._corporation_id = corporation_id

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

        Ids of groups the file belongs to  # noqa: E501

        :return: The group_ids of this V30FilesBody.  # noqa: E501
        :rtype: list[str]
        """
        return self._group_ids

    @group_ids.setter
    def group_ids(self, group_ids):
        """Sets the group_ids of this V30FilesBody.

        Ids of groups the file belongs to  # noqa: E501

        :param group_ids: The group_ids of this V30FilesBody.  # noqa: E501
        :type: list[str]
        """

        self._group_ids = group_ids

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


        :return: The files of this V30FilesBody.  # noqa: E501
        :rtype: str
        """
        return self._files

    @files.setter
    def files(self, files):
        """Sets the files of this V30FilesBody.


        :param files: The files of this V30FilesBody.  # noqa: E501
        :type: str
        """

        self._files = files

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

        return self.__dict__ == other.__dict__

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