"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassesResults = void 0;
const classesResultsGet_js_1 = require("../funcs/classesResultsGet.js");
const classesResultsGetForLineItem_js_1 = require("../funcs/classesResultsGetForLineItem.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../types/operations.js");
class ClassesResults extends sdks_js_1.ClientSDK {
    /**
     * Get Results for a Line Item for a Class
     *
     * @remarks
     * Get the set of results on the service provider for a specific lineItem and for a specific class. If the corresponding record cannot be located, the api will return a 404 error code and message 'Class or line item not found.'
     */
    async getForLineItem(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, classesResultsGetForLineItem_js_1.classesResultsGetForLineItem)(this, request, options));
    }
    /**
     * Get Results for a Class
     *
     * @remarks
     * Get the set of results on the service provider for a specific class. If the corresponding record cannot be located, the api will return a 404 error code and message 'Class not found.'
     */
    async get(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, classesResultsGet_js_1.classesResultsGet)(this, request, options));
    }
}
exports.ClassesResults = ClassesResults;
//# sourceMappingURL=classesresults.js.map