from datetime import date, datetime  # noqa: F401

from typing import List, Dict  # noqa: F401

from chromestatus_openapi.models.base_model import Model
from chromestatus_openapi import util


class AddAttachmentResponse(Model):
    """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

    Do not edit the class manually.
    """

    def __init__(self, attachment_url=None):  # noqa: E501
        """AddAttachmentResponse - a model defined in OpenAPI

        :param attachment_url: The attachment_url of this AddAttachmentResponse.  # noqa: E501
        :type attachment_url: str
        """
        self.openapi_types = {
            'attachment_url': str
        }

        self.attribute_map = {
            'attachment_url': 'attachment_url'
        }

        self._attachment_url = attachment_url

    @classmethod
    def from_dict(cls, dikt) -> 'AddAttachmentResponse':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The AddAttachmentResponse of this AddAttachmentResponse.  # noqa: E501
        :rtype: AddAttachmentResponse
        """
        return util.deserialize_model(dikt, cls)

    @property
    def attachment_url(self) -> str:
        """Gets the attachment_url of this AddAttachmentResponse.


        :return: The attachment_url of this AddAttachmentResponse.
        :rtype: str
        """
        return self._attachment_url

    @attachment_url.setter
    def attachment_url(self, attachment_url: str):
        """Sets the attachment_url of this AddAttachmentResponse.


        :param attachment_url: The attachment_url of this AddAttachmentResponse.
        :type attachment_url: str
        """

        self._attachment_url = attachment_url
