async ls(opts) {
        if (opts.cid) {
            if (!Array.isArray(opts.cid)) {
                opts.cid = [opts.cid]
                  .filter(c => !!c)
                  .map(c => c.toString())
            }
            if (opts.cid.length == 0) {
                delete opts.cid
            }
        }
        return this.api.pinsGet(opts)
    }
/**
     * List pin objects, returning a single page of results.
     * List all the pin objects, matching optional filters; when no filter is provided, only successful pins are returned
     * @param {Object} opts Optional parameters
     * @param {String|Array.<String>} opts.cid Return pin objects responsible for pinning the specified CID(s); be aware that using longer hash functions introduces further constraints on the number of CIDs that will fit under the limit of 2000 characters per URL  in browser contexts
     * @param {String} opts.name Return pin objects with specified name (by default a case-sensitive, exact match)
     * @param {module:model/TextMatchingStrategy} opts.match Customize the text matching strategy applied when name filter is present
     * @param {Array.<module:model/Status>} opts.status Return pin objects for pins with the specified status
     * @param {Date} opts.before Return results created (queued) before provided timestamp
     * @param {Date} opts.after Return results created (queued) after provided timestamp
     * @param {Number} opts.limit Max records to return (default to 10)
     * @param {Object.<String, {String: String}>} opts.meta Return pin objects that match specified metadata
     * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PinResults}
     */
List pin objects, returning a single page of results.
List pin objects returning a single page of results .
async ls(opts) {
        if (opts.cid) {
            if (!Array.isArray(opts.cid)) {
                opts.cid = [opts.cid]
                  .filter(c => !!c)
                  .map(c => c.toString())
            }
            if (opts.cid.length == 0) {
                delete opts.cid
            }
        }
        return this.api.pinsGet(opts)
    }
async ls ( opts ) { if ( opts . cid ) { if ( ! Array . isArray ( opts . cid ) ) { opts . cid = [ opts . cid ] . filter ( c => ! ! c ) . map ( c => c . toString ( ) ) } if ( opts . cid . length == 0 ) { delete opts . cid } } return this . api . pinsGet ( opts ) }
List pin objects, returning a single page of results.
List pin objects returning a single page of results .