models.object_search_results module

class models.object_search_results.ObjectSearchResults(object_snapshot_info=None, total_count=None)[source]

Bases: object

Implementation of the ‘ObjectSearchResults’ model.

Specifies an array of backup objects and a count to indicate if additional requests must be made to get the full result.

Attributes:
object_snapshot_info (list of ObjectSnapshotInfo): Array of Snapshot

Objects. Specifies the list of backup objects returned by this request that match the specified search and filter criteria. The number of objects returned is limited by the pageCount field.

total_count (long|int): Specifies the total number of backup objects

that match the filter and search criteria. Use this value to determine how many additional requests are required to get the full result.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.