Exemplo n.º 1
0
    def from_dict(cls, dikt) -> 'ActionChoice':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ActionChoice of this ActionChoice.  # noqa: E501
        :rtype: ActionChoice
        """
        return util.deserialize_model(dikt, cls)
Exemplo n.º 2
0
    def from_dict(cls, dikt) -> 'ApiResponse':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ApiResponse of this ApiResponse.  # noqa: E501
        :rtype: ApiResponse
        """
        return util.deserialize_model(dikt, cls)
Exemplo n.º 3
0
    def from_dict(cls, dikt) -> 'BotAction':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The BotAction of this BotAction.  # noqa: E501
        :rtype: BotAction
        """
        return util.deserialize_model(dikt, cls)
Exemplo n.º 4
0
    def from_dict(cls, dikt) -> 'AvailableActions':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The AvailableActions of this AvailableActions.  # noqa: E501
        :rtype: AvailableActions
        """
        return util.deserialize_model(dikt, cls)
Exemplo n.º 5
0
    def from_dict(cls, dikt) -> 'StrategicCategory':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The StrategicCategory of this StrategicCategory.  # noqa: E501
        :rtype: StrategicCategory
        """
        return util.deserialize_model(dikt, cls)
Exemplo n.º 6
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)