Application Framework Reference

Model API

manager()

The manager() method instantiates a new SplunkRESTManager instance based on the current SplunkRESTModel instance, which usually represents a unique entity.

Synopsis

results = manager()

Return Value

Object

A new SplunkRESTManager instance.

Example

from splunk.models.base  import SplunkRESTModel
class MyAppModel(SplunkRESTModel):

    def newInstance(owner, namespace):
        entity = self.manager()._get_new_entity(namespace, owner)
        return entity
 

See Also

SplunkRESTManager