models_v2.get_views_result module¶
-
class
models_v2.get_views_result.
GetViewsResult
(views=None, last_result=None, count=None)[source]¶ Bases:
object
Implementation of the ‘Get Views Result.’ model.
Specifies the list of Views returned that matched the specified filter criteria.
- Attributes:
- views (list of View1): Array of Views. Specifies the list of Views
returned in this response. The list is sorted by decreasing View ids.
- last_result (bool): If false, more Views are available to return. If
the number of Views to return exceeds the number of Views specified in maxCount (default of 1000) of the original GET /public/views request, the first set of Views are returned and this field returns false. To get the next set of Views, in the next GET /public/views request send the last id from the previous viewList.
- count (long|int): Number of views returned. This will only be returned
if ViewCountOnly is set in arguments. hidden: true
-
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.