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