from datetime import date, datetime  # noqa: F401
from typing import Dict, List  # noqa: F401

from timestep.api.openai.v1 import util
from timestep.api.openai.v1.models.base_model import Model


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

    Do not edit the class manually.
    """

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

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

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

        self._message_id = message_id

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

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

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

        The ID of the message that was created by this run step.  # noqa: E501

        :return: The message_id of this RunStepDeltaStepDetailsMessageCreationObjectMessageCreation.
        :rtype: str
        """
        return self._message_id

    @message_id.setter
    def message_id(self, message_id: str):
        """Sets the message_id of this RunStepDeltaStepDetailsMessageCreationObjectMessageCreation.

        The ID of the message that was created by this run step.  # noqa: E501

        :param message_id: The message_id of this RunStepDeltaStepDetailsMessageCreationObjectMessageCreation.
        :type message_id: str
        """

        self._message_id = message_id
