Like¶
-
class
contacthub.models.like.Like(customer, parent_attr=None, properties_class=None, **attributes)[source]¶ Bases:
objectLike entiti definition
-
delete()[source]¶ Remove this Like from the list of the Like for a Customer(specified in the constructor of the Like)
Returns: a Like object representing the deleted Like
-
classmethod
from_dict(customer, attributes=None, parent_attr=None, properties_class=None)[source]¶ Create a new Like initialized by a specified dictionary of attributes
Parameters: - customer – the customer associated to this Like object
- parent_attr – the parent attribute for compiling the mutation tracker dictionary
- attributes – key-value arguments for generating the structure of the Like’s attributes
- properties_class – reference to the actual Properties class
Returns: a new Like object
-
post()[source]¶ Post this Like in the list of the Like for a Customer(specified in the constructor of the Like)
Returns: a Like object representing the posted Like
-