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

        :param dikt: A dict.
        :type: dict
        :return: The GITRepositoryResource of this GITRepositoryResource.  # noqa: E501
        :rtype: GITRepositoryResource
        """
        return util.deserialize_model(dikt, cls)
Пример #2
0
    def from_dict(cls, dikt) -> 'User':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The User of this User.  # noqa: E501
        :rtype: User
        """
        return util.deserialize_model(dikt, cls)
Пример #3
0
    def from_dict(cls, dikt) -> 'Valid':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Valid of this Valid.  # noqa: E501
        :rtype: Valid
        """
        return util.deserialize_model(dikt, cls)
Пример #4
0
    def from_dict(cls, dikt) -> 'Tag':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Tag of this Tag.  # noqa: E501
        :rtype: Tag
        """
        return util.deserialize_model(dikt, cls)
Пример #5
0
    def from_dict(cls, dikt) -> 'Workspace':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Workspace of this Workspace.  # noqa: E501
        :rtype: Workspace
        """
        return util.deserialize_model(dikt, cls)
Пример #6
0
    def from_dict(cls, dikt) -> 'VolumeStorage':
        """Returns the dict as a model

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

        :param dikt: A dict.
        :type: dict
        :return: The OSBRepositoryEntity of this OSBRepositoryEntity.  # noqa: E501
        :rtype: OSBRepositoryEntity
        """
        return util.deserialize_model(dikt, cls)
Пример #8
0
    def from_dict(cls, dikt) -> 'InlineResponse2001':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The inline_response_200_1 of this InlineResponse2001.  # noqa: E501
        :rtype: InlineResponse2001
        """
        return util.deserialize_model(dikt, cls)
Пример #9
0
    def from_dict(cls, dikt) -> 'ResourceStatus':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The ResourceStatus of this ResourceStatus.  # noqa: E501
        :rtype: ResourceStatus
        """
        return util.deserialize_model(dikt, cls)
Пример #10
0
    def from_dict(cls, dikt) -> 'DownloadResource':
        """Returns the dict as a model

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

        :param dikt: A dict.
        :type: dict
        :return: The RepositoryResourceBase_allOf of this RepositoryResourceBaseAllOf.  # noqa: E501
        :rtype: RepositoryResourceBaseAllOf
        """
        return util.deserialize_model(dikt, cls)
Пример #12
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)