Example #1
0
    def from_dict(cls, dikt) -> 'ApiStatus':
        """Returns the dict as a entity

        :param dikt: A dict.
        :type: dict
        :return: The apiStatus of this ApiStatus.  # noqa: E501
        :rtype: ApiStatus
        """
        return util.deserialize_model(dikt, cls)
Example #2
0
    def from_dict(cls, dikt) -> 'MountStatus':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The mountStatus of this MountStatus.  # noqa: E501
        :rtype: MountStatus
        """
        return util.deserialize_model(dikt, cls)
Example #3
0
    def from_dict(cls, dikt) -> 'PvcDetail':
        """Returns the dict as a entity

        :param dikt: A dict.
        :type: dict
        :return: The pvcDetail of this PvcDetail.  # noqa: E501
        :rtype: PvcDetail
        """
        return util.deserialize_model(dikt, cls)
Example #4
0
    def from_dict(cls, dikt) -> 'ProtobufAny':
        """Returns the dict as a entity

        :param dikt: A dict.
        :type: dict
        :return: The protobufAny of this ProtobufAny.  # noqa: E501
        :rtype: ProtobufAny
        """
        return util.deserialize_model(dikt, cls)
Example #5
0
    def from_dict(cls, dikt) -> 'Config':
        """Returns the dict as a entity

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