feat: add api models
This commit is contained in:
30
src/shared/requests/v1/scheduleConfigurationRequest.ts
Normal file
30
src/shared/requests/v1/scheduleConfigurationRequest.ts
Normal file
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* MIREA Schedule Web API
|
||||
* This API provides a convenient interface for retrieving data stored in the database. Special attention was paid to the lightweight and easy transfer of all necessary data. Made by the Winsomnia team.
|
||||
*
|
||||
* OpenAPI spec version: 1.0
|
||||
* Contact: support@winsomnia.net
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import {PairPeriodTime} from "@model/pairPeriodTime";
|
||||
|
||||
/**
|
||||
* Represents a request to configure the schedule settings.
|
||||
*/
|
||||
export interface ScheduleConfigurationRequest {
|
||||
/**
|
||||
* Gets or sets the cron expression for updating the schedule.
|
||||
*/
|
||||
cronUpdateSchedule?: string;
|
||||
/**
|
||||
* Gets or sets the start date of the term.
|
||||
*/
|
||||
startTerm: string;
|
||||
/**
|
||||
* Gets or sets the pair period times, keyed by pair number.
|
||||
*/
|
||||
pairPeriod: { [key: string]: PairPeriodTime; };
|
||||
}
|
Reference in New Issue
Block a user