client/splunk.js
function(service, path, namespace) {
            var fullpath = service.fullpath(path, namespace);
            
            this._super(service, fullpath);
            this.namespace = namespace;
            this._properties = {};
            this._state = {};
            
            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this._load       = utils.bind(this, this._load);
            this.fetch       = utils.bind(this, this.fetch);
            this.properties  = utils.bind(this, this.properties);
            this.state       = utils.bind(this, this.state);
            this.path        = utils.bind(this, this.path);
        }
function(service, path, namespace) {
            var fullpath = service.fullpath(path, namespace);
            
            this._super(service, fullpath);
            this.namespace = namespace;
            this._properties = {};
            this._state = {};
            
            // We perform the bindings so that every function works 
            // properly when it is passed as a callback.
            this._load       = utils.bind(this, this._load);
            this.fetch       = utils.bind(this, this.fetch);
            this.properties  = utils.bind(this, this.properties);
            this.state       = utils.bind(this, this.state);
            this.path        = utils.bind(this, this.path);
        }
function ( service , path , namespace ) { var fullpath = service . fullpath ( path , namespace ) ; this . _super ( service , fullpath ) ; this . namespace = namespace ; this . _properties = { } ; this . _state = { } ; // We perform the bindings so that every function works  // properly when it is passed as a callback. this . _load = utils . bind ( this , this . _load ) ; this . fetch = utils . bind ( this , this . fetch ) ; this . properties = utils . bind ( this , this . properties ) ; this . state = utils . bind ( this , this . state ) ; this . path = utils . bind ( this , this . path ) ; }
Constructor for `splunkjs.Service.Resource`.

@constructor
@param {splunkjs.Service} service A `Service` instance.
@param {String} path A relative endpoint path (for example, "search/jobs").
@param {Object} namespace Namespace information:
- `owner` (_string_): The Splunk username, such as "admin". A value of "nobody" means no specific user. The "-" wildcard means all users.
- `app` (_string_): The app context for this resource (such as "search"). The "-" wildcard means all apps.
- `sharing` (_string_): A mode that indicates how the resource is shared. The sharing mode can be "user", "app", "global", or "system".
@return {splunkjs.Service.Resource} A new `splunkjs.Service.Resource` instance.

@method splunkjs.Service.Resource
Constructor for splunkjs . Service . Resource .