lib/Operation.js
function() {
    if (this._allParameters) {
      return this._allParameters
    }

    // First gather all Endpoint parameters, post-order walk
    var allEndpointParameters = function(endpoint, all) {
      if (!_.isNil(endpoint)) {
        all = _.assignIn(
          _.clone(allEndpointParameters(endpoint.parent, endpoint.parameters)),
          all || {})
      }
      return all
    }

    // Cache result
    this._allParameters =
      allEndpointParameters(this.endpoint, this.parameters || {})

    return this._allParameters
  }
function() {
    if (this._allParameters) {
      return this._allParameters
    }

    // First gather all Endpoint parameters, post-order walk
    var allEndpointParameters = function(endpoint, all) {
      if (!_.isNil(endpoint)) {
        all = _.assignIn(
          _.clone(allEndpointParameters(endpoint.parent, endpoint.parameters)),
          all || {})
      }
      return all
    }

    // Cache result
    this._allParameters =
      allEndpointParameters(this.endpoint, this.parameters || {})

    return this._allParameters
  }
function ( ) { if ( this . _allParameters ) { return this . _allParameters } // First gather all Endpoint parameters, post-order walk var allEndpointParameters = function ( endpoint , all ) { if ( ! _ . isNil ( endpoint ) ) { all = _ . assignIn ( _ . clone ( allEndpointParameters ( endpoint . parent , endpoint . parameters ) ) , all || { } ) } return all } // Cache result this . _allParameters = allEndpointParameters ( this . endpoint , this . parameters || { } ) return this . _allParameters }
***************************************************************************
@method getAllParameters
@description Gets all parameters defined for this {@link carbond.Operation}
which includes all parameters inherited from this.endpoint
@returns {Object.<string, carbond.OperationParameter>}
***************************************************************************