"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.SchoolsCourses = void 0;
const schoolsCoursesGetAll_js_1 = require("../funcs/schoolsCoursesGetAll.js");
const sdks_js_1 = require("../lib/sdks.js");
const operations_js_1 = require("../types/operations.js");
class SchoolsCourses extends sdks_js_1.ClientSDK {
    /**
     * Get all Courses for a School
     *
     * @remarks
     * To get all Courses for a School on the service provider. If the specified school cannot be identified within the service provider, the api will return a 404 error code and message 'School not found.'
     */
    async getAll(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, schoolsCoursesGetAll_js_1.schoolsCoursesGetAll)(this, request, options));
    }
}
exports.SchoolsCourses = SchoolsCourses;
//# sourceMappingURL=schoolscourses.js.map