# coding: utf-8

"""
    acep

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

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


import pprint
import re  # noqa: F401

import six

from volcenginesdkcore.configuration import Configuration


class BuildAOSPImageRequest(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 = {
        'image_annotation': 'str',
        'image_file_format': 'str',
        'image_name': 'str',
        'image_tos_info': 'ImageTosInfoForBuildAOSPImageInput',
        'image_url_info': 'ImageUrlInfoForBuildAOSPImageInput'
    }

    attribute_map = {
        'image_annotation': 'ImageAnnotation',
        'image_file_format': 'ImageFileFormat',
        'image_name': 'ImageName',
        'image_tos_info': 'ImageTosInfo',
        'image_url_info': 'ImageUrlInfo'
    }

    def __init__(self, image_annotation=None, image_file_format=None, image_name=None, image_tos_info=None, image_url_info=None, _configuration=None):  # noqa: E501
        """BuildAOSPImageRequest - a model defined in Swagger"""  # noqa: E501
        if _configuration is None:
            _configuration = Configuration()
        self._configuration = _configuration

        self._image_annotation = None
        self._image_file_format = None
        self._image_name = None
        self._image_tos_info = None
        self._image_url_info = None
        self.discriminator = None

        if image_annotation is not None:
            self.image_annotation = image_annotation
        if image_file_format is not None:
            self.image_file_format = image_file_format
        if image_name is not None:
            self.image_name = image_name
        if image_tos_info is not None:
            self.image_tos_info = image_tos_info
        if image_url_info is not None:
            self.image_url_info = image_url_info

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


        :return: The image_annotation of this BuildAOSPImageRequest.  # noqa: E501
        :rtype: str
        """
        return self._image_annotation

    @image_annotation.setter
    def image_annotation(self, image_annotation):
        """Sets the image_annotation of this BuildAOSPImageRequest.


        :param image_annotation: The image_annotation of this BuildAOSPImageRequest.  # noqa: E501
        :type: str
        """

        self._image_annotation = image_annotation

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


        :return: The image_file_format of this BuildAOSPImageRequest.  # noqa: E501
        :rtype: str
        """
        return self._image_file_format

    @image_file_format.setter
    def image_file_format(self, image_file_format):
        """Sets the image_file_format of this BuildAOSPImageRequest.


        :param image_file_format: The image_file_format of this BuildAOSPImageRequest.  # noqa: E501
        :type: str
        """

        self._image_file_format = image_file_format

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


        :return: The image_name of this BuildAOSPImageRequest.  # noqa: E501
        :rtype: str
        """
        return self._image_name

    @image_name.setter
    def image_name(self, image_name):
        """Sets the image_name of this BuildAOSPImageRequest.


        :param image_name: The image_name of this BuildAOSPImageRequest.  # noqa: E501
        :type: str
        """

        self._image_name = image_name

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


        :return: The image_tos_info of this BuildAOSPImageRequest.  # noqa: E501
        :rtype: ImageTosInfoForBuildAOSPImageInput
        """
        return self._image_tos_info

    @image_tos_info.setter
    def image_tos_info(self, image_tos_info):
        """Sets the image_tos_info of this BuildAOSPImageRequest.


        :param image_tos_info: The image_tos_info of this BuildAOSPImageRequest.  # noqa: E501
        :type: ImageTosInfoForBuildAOSPImageInput
        """

        self._image_tos_info = image_tos_info

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


        :return: The image_url_info of this BuildAOSPImageRequest.  # noqa: E501
        :rtype: ImageUrlInfoForBuildAOSPImageInput
        """
        return self._image_url_info

    @image_url_info.setter
    def image_url_info(self, image_url_info):
        """Sets the image_url_info of this BuildAOSPImageRequest.


        :param image_url_info: The image_url_info of this BuildAOSPImageRequest.  # noqa: E501
        :type: ImageUrlInfoForBuildAOSPImageInput
        """

        self._image_url_info = image_url_info

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

        return self.to_dict() == other.to_dict()

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

        return self.to_dict() != other.to_dict()
