models_v2.filtered_object module¶
-
class
models_v2.filtered_object.
FilteredObject
(id=None, source_id=None)[source]¶ Bases:
object
Implementation of the ‘FilteredObject’ model.
Specifies the filter details.
- Attributes:
id (long|int): Specifies object id. source_id (long|int): Specifies the source id to which this object
belongs to.
-
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.