intercom.api_operations package

Submodules

intercom.api_operations.all module

Operation to retrieve all instances of a particular resource.

class intercom.api_operations.all.All

Bases: object

A mixin that provides all functionality.

all()

Return a CollectionProxy for the resource.

intercom.api_operations.count module

intercom.api_operations.delete module

Operation to delete an instance of a particular resource.

class intercom.api_operations.delete.Delete

Bases: object

A mixin that provides delete functionality.

delete(obj)

Delete the specified instance of this resource.

intercom.api_operations.find module

Operation to find an instance of a particular resource.

class intercom.api_operations.find.Find

Bases: object

A mixin that provides find functionality.

find(**params)

Find the instance of the resource based on the supplied parameters.

intercom.api_operations.find_all module

Operation to find all instances of a particular resource.

class intercom.api_operations.find_all.FindAll

Bases: object

A mixin that provides find_all functionality.

find_all(**params)

Find all instances of the resource based on the supplied parameters.

proxy_class

alias of CollectionProxy

intercom.api_operations.load module

Operation to load an instance of a particular resource.

class intercom.api_operations.load.Load

Bases: object

A mixin that provides load functionality.

load(resource)

Load the resource from the latest data in Intercom.

intercom.api_operations.save module

Operation to create or save an instance of a particular resource.

class intercom.api_operations.save.Save

Bases: object

A mixin that provides create and save functionality.

create(**params)

Create an instance of the resource from the supplied parameters.

id_present(obj)

Return whether the obj has an id attribute with a value.

identity_hash(obj)

Return the identity_hash for this object.

posted_updates(obj)

Return whether the updates to this object have been posted to Intercom.

save(obj)

Save the instance of the resource.

Module contents

Package for operations that can be performed on a resource.