models_v2.protected_objects_search_result module¶
-
class
models_v2.protected_objects_search_result.
ProtectedObjectsSearchResult
(objects=None, metadata=None, num_results=None)[source]¶ Bases:
object
Implementation of the ‘Protected Objects Search Result’ model.
Specifies the Protected Objects search result.
- Attributes:
- objects (list of ProtectedObject): Specifies the list of Protected
Objects.
- metadata (Metadata): Specifies the metadata information about the
Protection Groups, Protection Policy etc., for search result.
- num_results (long|int): Specifies the total number of search results
which matches the search criteria.
-
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.