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
from timestep.api.openai.v1.models.run_step_delta_object_delta_step_details import \
    RunStepDeltaObjectDeltaStepDetails  # noqa: E501


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

    Do not edit the class manually.
    """

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

        :param step_details: The step_details of this RunStepDeltaObjectDelta.  # noqa: E501
        :type step_details: RunStepDeltaObjectDeltaStepDetails
        """
        self.openapi_types = {
            'step_details': RunStepDeltaObjectDeltaStepDetails
        }

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

        self._step_details = step_details

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

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

    @property
    def step_details(self) -> RunStepDeltaObjectDeltaStepDetails:
        """Gets the step_details of this RunStepDeltaObjectDelta.


        :return: The step_details of this RunStepDeltaObjectDelta.
        :rtype: RunStepDeltaObjectDeltaStepDetails
        """
        return self._step_details

    @step_details.setter
    def step_details(self, step_details: RunStepDeltaObjectDeltaStepDetails):
        """Sets the step_details of this RunStepDeltaObjectDelta.


        :param step_details: The step_details of this RunStepDeltaObjectDelta.
        :type step_details: RunStepDeltaObjectDeltaStepDetails
        """

        self._step_details = step_details
