models.get_views_result module

class models.get_views_result.GetViewsResult(last_result=None, views=None)[source]

Bases: object

Implementation of the ‘GetViewsResult’ model.

Specifies the list of Views returned that matched the specified filter criteria.

Attributes:
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.

views (list of View): Array of Views. Specifies the list of Views

returned in this response. The list is sorted by decreasing View ids.

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.