"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Teachers = void 0;
const teachersGet_js_1 = require("../funcs/teachersGet.js");
const teachersGetAll_js_1 = require("../funcs/teachersGetAll.js");
const teachersGetClasses_js_1 = require("../funcs/teachersGetClasses.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
const operations_js_1 = require("../types/operations.js");
class Teachers extends sdks_js_1.ClientSDK {
    /**
     * Get all Teachers
     *
     * @remarks
     * To get all Teachers on the service provider.
     */
    async getAll(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, teachersGetAll_js_1.teachersGetAll)(this, request, options));
    }
    /**
     * Get a specific Teacher
     *
     * @remarks
     * To get a specific Teacher on the service provider. If the corresponding record cannot be located, the api will return a 404 error code and message 'Teacher not found.'
     */
    async get(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, teachersGet_js_1.teachersGet)(this, request, options));
    }
    /**
     * Get Classes for a Teacher
     *
     * @remarks
     * To get the set of Classes a Teacher is enrolled in. If the specified teacher cannot be identified within the service provider, the api will return a 404 error code and message 'Teacher not found.'
     */
    async getClasses(request, options) {
        return (0, operations_js_1.unwrapResultIterator)((0, teachersGetClasses_js_1.teachersGetClasses)(this, request, options));
    }
}
exports.Teachers = Teachers;
//# sourceMappingURL=teachers.js.map