ai_core_sdk.models.repository_query_response module

class ai_core_sdk.models.repository_query_response.RepositoryQueryResponse(resources: List[Repository], count: int, **kwargs)

Bases: QueryResponse

The RepositoryQueryResponse object defines the response of the repository query request :param resources: List of the repositories returned from the server :type resources: List[class:ai_core_sdk.models.repository.Repository] :param count: Total number of the queried repositories :type count: int :param **kwargs: The keyword arguments are there in case there are additional attributes returned from server

__init__(resources: List[Repository], count: int, **kwargs)
static from_dict(response_dict: Dict[str, Any])

Returns a ai_core_client_sdk.models.repository_query_response.RepositoryQueryResponse object, created from the values in the dict provided as parameter

Parameters:

response_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_core_sdk.models.repository_query_response.RepositoryQueryResponse