Models

Every response is a pydantic model. Field names are snake_case and follow VTOP’s own wording where that is sensible.

Session

class vitap_vtop_client.login.model.restorable_session_model.RestorableSession(**data)[source]

Bases: BaseModel

Everything needed to rebuild a VtopClient in another process.

VTOP holds the session server side against the JSESSIONID cookie, so these four values are enough to keep using an authenticated session without logging in again. Treat them as credentials: anyone holding them can read the student’s records for as long as VTOP keeps the session alive.

Parameters:
  • registration_number (str)

  • cookie (str)

  • csrf_token (str)

  • user_agent (str)

registration_number: str
cookie: str
csrf_token: str
user_agent: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.login.model.otp_challenge_model.OtpChallenge(**data)[source]

Bases: BaseModel

A login VTOP has interrupted for an OTP, in a form that can be carried.

Credentials and captcha have already been accepted at this point; only the OTP is outstanding. Handing these values to another process lets it finish the login with VtopClient.restore_otp_challenge, which is what a web service needs: the challenge is raised while answering one request and the OTP arrives on the next.

Treat them as credentials. Anyone holding them can complete the login as soon as they have the OTP.

Parameters:
  • registration_number (str)

  • cookie (str)

  • csrf_token (str)

  • user_agent (str)

registration_number: str
cookie: str
csrf_token: str
user_agent: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.login.model.logged_in_student_model.LoggedInStudent(**data)[source]

Bases: BaseModel

Parameters:
  • registration_number (str)

  • post_login_csrf_token (str)

registration_number: str
post_login_csrf_token: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Semesters

class vitap_vtop_client.semester.model.semester_model.SemesterInfo(**data)[source]

Bases: BaseModel

Parameters:
id: str
name: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.semester.model.semester_model.SemesterData(**data)[source]

Bases: BaseModel

Parameters:
semesters: List[SemesterInfo]
update_time: int
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attendance

class vitap_vtop_client.attendance.model.attendance_model.AttendanceModel(**data)[source]

Bases: BaseModel

Parameters:
  • class_number (str)

  • course_code (str)

  • course_name (str)

  • course_type (str)

  • course_type_code (str)

  • course_slot (str)

  • faculty (str)

  • attended_classes (str)

  • total_classes (str)

  • attendance_percentage (str)

  • attendance_between_percentage (str)

  • debar_status (str)

  • course_id (str)

class_number: str
course_code: str
course_name: str
course_type: str
course_type_code: str
course_slot: str
faculty: str
attended_classes: str
total_classes: str
attendance_percentage: str
attendance_between_percentage: str
debar_status: str
course_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.attendance.model.attendance_model.AttendanceDetailModel(**data)[source]

Bases: BaseModel

Parameters:
serial: str
date: str
slot: str
day_time: str
status: str
remark: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.attendance.model.capstone_model.CapstoneInfoModel(**data)[source]

Bases: BaseModel

The registration details shown above the capstone attendance summary.

Parameters:
  • title (str)

  • guide_evaluation_status (str)

  • date_of_registration (str)

title: str
guide_evaluation_status: str
date_of_registration: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.attendance.model.capstone_model.CapstoneSummaryModel(**data)[source]

Bases: BaseModel

The present / on-duty / absent tally for the capstone.

Parameters:
present: str
on_duty: str
absent: str
percentage: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.attendance.model.capstone_model.CapstonePunchModel(**data)[source]

Bases: BaseModel

One day in the capstone attendance calendar.

Parameters:
serial: str
date: str
day: str
day_type: str
status: str
punch_time: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.attendance.model.capstone_model.CapstoneAttendanceModel(**data)[source]

Bases: BaseModel

Capstone/SDP attendance for one semester.

Unlike course attendance this is not per-course, so it does not fit AttendanceModel: there is no course code, faculty or slot, and the tally is present/on-duty/absent rather than attended/total. VTOP returns the summary and the day-by-day calendar in a single response, so both are here.

Parameters:
info: CapstoneInfoModel
summary: CapstoneSummaryModel
punches: List[CapstonePunchModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Academics

class vitap_vtop_client.timetable.model.timetable_model.Course(**data)[source]

Bases: BaseModel

Parameters:
time: str
course_name: str
slot: str
venue: str
faculty: str
course_code: str
course_type: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.timetable.model.timetable_model.TimetableModel(**data)[source]

Bases: BaseModel

Parameters:
Monday: List[Course]
Tuesday: List[Course]
Wednesday: List[Course]
Thursday: List[Course]
Friday: List[Course]
Saturday: List[Course]
Sunday: List[Course]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.marks.model.marks_model.MarkDetail(**data)[source]

Bases: BaseModel

Parameters:
  • serial_number (str)

  • mark_title (str)

  • max_mark (str)

  • weightage (str)

  • status (str)

  • scored_mark (str)

  • weightage_mark (str)

  • remark (str)

serial_number: str
mark_title: str
max_mark: str
weightage: str
status: str
scored_mark: str
weightage_mark: str
remark: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.marks.model.marks_model.SubjectMark(**data)[source]

Bases: BaseModel

Parameters:
serial_number: str
class_id: str
course_code: str
course_title: str
course_type: str
course_system: str
faculty: str
slot: str
details: List[MarkDetail]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.marks.model.marks_model.MarksModel(root=PydanticUndefined, **data)[source]

Bases: RootModel[List[SubjectMark]]

Parameters:

root (RootModelRootType)

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.exam_schedule.model.exam_schedule_model.ExamEntry(**data)[source]

Bases: BaseModel

Parameters:
  • serial_number (str)

  • course_code (str)

  • course_name (str)

  • course_type (str)

  • course_id (str)

  • slot (str)

  • exam_date (str)

  • exam_session (str)

  • reporting_time (str)

  • exam_time (str)

  • venue (str)

  • seat_location (str)

  • seat_number (str)

serial_number: str
course_code: str
course_name: str
course_type: str
course_id: str
slot: str
exam_date: str
exam_session: str
reporting_time: str
exam_time: str
venue: str
seat_location: str
seat_number: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.exam_schedule.model.exam_schedule_model.ExamScheduleGroup(**data)[source]

Bases: BaseModel

Parameters:
exam_type: str
subjects: List[ExamEntry]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.exam_schedule.model.exam_schedule_model.ExamScheduleModel(root=PydanticUndefined, **data)[source]

Bases: RootModel[List[ExamScheduleGroup]]

Parameters:

root (RootModelRootType)

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_history.model.grade_history_model.GradeCourseHistoryModel(**data)[source]

Bases: BaseModel

Parameters:
  • course_code (str)

  • course_title (str)

  • course_type (str)

  • credits (str)

  • grade (str)

  • exam_month (str)

  • course_distribution (str)

course_code: str
course_title: str
course_type: str
credits: str
grade: str
exam_month: str
course_distribution: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_history.model.grade_history_model.GradeHistoryModel(**data)[source]

Bases: BaseModel

Parameters:
credits_registered: str
credits_earned: str
cgpa: str
courses: List[GradeCourseHistoryModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_view.model.grade_view_model.GradeViewCourse(**data)[source]

Bases: BaseModel

One course row from the grade view for a semester.

Parameters:
  • serial_number (str)

  • course_code (str)

  • course_title (str)

  • course_type (str)

  • grading_type (str)

  • grand_total (str)

  • grade (str)

  • course_id (str)

serial_number: str
course_code: str
course_title: str
course_type: str
grading_type: str
grand_total: str
grade: str
course_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_view.model.grade_view_model.MarkComponent(**data)[source]

Bases: BaseModel

One assessment component of a course (CAT1, FAT, a quiz, …).

Parameters:
  • serial_number (str)

  • mark_title (str)

  • max_mark (str)

  • weightage (str)

  • status (str)

  • scored_mark (str)

  • weightage_mark (str)

serial_number: str
mark_title: str
max_mark: str
weightage: str
status: str
scored_mark: str
weightage_mark: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_view.model.grade_view_model.GradeRange(**data)[source]

Bases: BaseModel

The mark range that maps to one letter grade for the class.

Parameters:
grade: str
range: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_view.model.grade_view_model.GradeStatistics(**data)[source]

Bases: BaseModel

Class-level statistics shown alongside a course’s grade.

Parameters:
class_strength: str
grading_strength: str
mean: str
sd: str
grade_ranges: List[GradeRange]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.grade_view.model.grade_view_model.GradeViewDetail(**data)[source]

Bases: BaseModel

The expanded detail for a single course in the grade view.

Parameters:
class_number: str
course_type: str
marks: List[MarkComponent]
total: str
statistics: GradeStatistics
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.CourseOptionModel(**data)[source]

Bases: BaseModel

A course from the course page dropdown.

Parameters:
  • value (str)

  • label (str)

  • course_code (str)

  • course_title (str)

  • course_type (str)

value: str
label: str
course_code: str
course_title: str
course_type: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.SlotOptionModel(**data)[source]

Bases: BaseModel

A slot from the slot dropdown.

Parameters:
value: str
label: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.CourseClassEntryModel(**data)[source]

Bases: BaseModel

A class row from the course slots table.

Parameters:
  • sl_no (int)

  • class_group (str)

  • course_code (str)

  • course_title (str)

  • course_type (str)

  • class_id (str)

  • slot (str)

  • faculty (str)

  • semester_id (str)

  • erp_id (str)

sl_no: int
class_group: str
course_code: str
course_title: str
course_type: str
class_id: str
slot: str
faculty: str
semester_id: str
erp_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.ReferenceMaterialModel(**data)[source]

Bases: BaseModel

A file attached to a lecture.

Parameters:
  • label (str)

  • download_path (str)

label: str
download_path: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.LectureEntryModel(**data)[source]

Bases: BaseModel

A lecture row from the course detail page.

Parameters:
sl_no: int
date: str
formatted_date: str
day: str
topic: str
reference_materials: List[ReferenceMaterialModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.CourseInfoModel(**data)[source]

Bases: BaseModel

The course summary shown at the top of the detail page.

Parameters:
  • class_group (str)

  • course_code (str)

  • course_title (str)

  • course_type (str)

  • class_id (str)

  • slot (str)

  • faculty (str)

  • course_id (str)

class_group: str
course_code: str
course_title: str
course_type: str
class_id: str
slot: str
faculty: str
course_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.CoursePageDetailModel(**data)[source]

Bases: BaseModel

A course’s detail page, with its lectures and downloadable material.

Parameters:
course_info: CourseInfoModel
semester_id: str
download_all_path: str | None
download_general_materials_path: str | None
syllabus_download_path: str | None
course_plan_download_path: str | None
lectures: List[LectureEntryModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.CoursesResponseModel(**data)[source]

Bases: BaseModel

Parameters:

courses (List[CourseOptionModel])

courses: List[CourseOptionModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.course_page.model.course_page_model.SlotsResponseModel(**data)[source]

Bases: BaseModel

Parameters:
slots: List[SlotOptionModel]
class_entries: List[CourseClassEntryModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.digital_assignment.model.digital_assignment_model.AssignmentRecordModel(**data)[source]

Bases: BaseModel

A single assignment within a course.

Parameters:
  • serial_number (str)

  • assignment_title (str)

  • max_assignment_mark (str)

  • assignment_weightage_mark (str)

  • due_date (str)

  • can_qp_download (bool)

  • qp_download_url (str)

  • submission_status (str)

  • can_update (bool)

  • mcode (str)

  • can_da_download (bool)

  • da_download_url (str)

serial_number: str
assignment_title: str
max_assignment_mark: str
assignment_weightage_mark: str
due_date: str
can_qp_download: bool
qp_download_url: str
submission_status: str
can_update: bool
mcode: str
can_da_download: bool
da_download_url: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.digital_assignment.model.digital_assignment_model.DigitalAssignmentModel(**data)[source]

Bases: BaseModel

One registered course and its assignments.

Parameters:
serial_number: str
class_id: str
course_code: str
course_title: str
course_type: str
faculty: str
details: List[AssignmentRecordModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.academic_calendar.model.calendar_model.ClassGroupModel(**data)[source]

Bases: BaseModel

A class group option, e.g. COMB “All Class Group (Combined)”.

Parameters:
id: str
name: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.academic_calendar.model.calendar_model.CalendarMonthRefModel(**data)[source]

Bases: BaseModel

A month button on the calendar page.

Parameters:
label: str
cal_date: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.academic_calendar.model.calendar_model.CalendarEventModel(**data)[source]

Bases: BaseModel

One entry on a calendar day.

Parameters:
  • description (str)

  • label (str)

description: str
label: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.academic_calendar.model.calendar_model.CalendarDayModel(**data)[source]

Bases: BaseModel

A single dated day of the academic calendar.

Parameters:
date: str
day: int
weekday: str
events: List[CalendarEventModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.academic_calendar.model.calendar_model.AcademicCalendarModel(**data)[source]

Bases: BaseModel

A semester’s academic calendar, flattened.

VTOP renders each month as a week grid, but the grid is a display concern: the days are returned here as one date-ordered list so callers can look up a date, filter holidays, or lay out their own view.

Parameters:
semester_id: str
class_group_id: str
months: List[CalendarMonthRefModel]
days: List[CalendarDayModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Student

class vitap_vtop_client.profile.model.profile_model.StudentProfileModel(**data)[source]

Bases: BaseModel

Parameters:
  • registration_number (str | None)

  • application_number (str | None)

  • student_name (str | None)

  • dob (str | None)

  • gender (str | None)

  • blood_group (str | None)

  • email (str | None)

  • base64_pfp (str | None)

  • grade_history (GradeHistoryModel | None)

  • mentor_details (MentorModel | None)

registration_number: str | None
application_number: str | None
student_name: str | None
dob: str | None
gender: str | None
blood_group: str | None
email: str | None
base64_pfp: str | None
grade_history: GradeHistoryModel | None
mentor_details: MentorModel | None
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.mentor.model.mentor_model.MentorModel(**data)[source]

Bases: BaseModel

Parameters:
  • faculty_id (str | None)

  • faculty_name (str | None)

  • faculty_designation (str | None)

  • school (str | None)

  • cabin (str | None)

  • faculty_department (str | None)

  • faculty_email (str | None)

  • faculty_intercom (str | None)

  • faculty_mobile_number (str | None)

faculty_id: str | None
faculty_name: str | None
faculty_designation: str | None
school: str | None
cabin: str | None
faculty_department: str | None
faculty_email: str | None
faculty_intercom: str | None
faculty_mobile_number: str | None
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.biometric.model.biometric_model.BiometricModel(**data)[source]

Bases: BaseModel

Parameters:
serial: str
date: str
in_time: str
location: str
day: str
out_time: str
duration: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.faculty.model.faculty_model.FacultyModel(**data)[source]

Bases: BaseModel

A single row from the faculty search results.

Parameters:
  • faculty_name (str)

  • designation (str)

  • school_or_centre (str)

  • emp_id (str)

faculty_name: str
designation: str
school_or_centre: str
emp_id: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.faculty.model.faculty_model.OfficeHourModel(**data)[source]

Bases: BaseModel

Parameters:
day: str
timings: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.faculty.model.faculty_model.FacultyDetailsModel(**data)[source]

Bases: BaseModel

The full profile for one faculty member.

Parameters:
name: str
designation: str
department: str
school_centre: str
email: str
cabin_number: str
office_hours: List[OfficeHourModel]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Hostel and finance

class vitap_vtop_client.outing.model.general_outing_model.GeneralOutingRequest(**data)[source]

Bases: BaseModel

Parameters:
  • serial (str)

  • registration_number (str)

  • place_of_visit (str)

  • purpose_of_visit (str)

  • from_date (str)

  • from_time (str)

  • to_date (str)

  • to_time (str)

  • leave_id (str)

  • action (str)

  • status (str)

  • can_download (bool)

serial: str
registration_number: str
place_of_visit: str
purpose_of_visit: str
from_date: str
from_time: str
to_date: str
to_time: str
leave_id: str
action: str
status: str
can_download: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.outing.model.general_outing_model.GeneralOutingModel(root=PydanticUndefined, **data)[source]

Bases: RootModel

Parameters:

root (List[GeneralOutingRequest])

root: List[GeneralOutingRequest]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.outing.model.weekend_outing_model.WeekendOutingRequest(**data)[source]

Bases: BaseModel

Parameters:
  • serial (str)

  • registration_number (str)

  • hostel_block (str)

  • room_number (str)

  • place_of_visit (str)

  • purpose_of_visit (str)

  • time (str)

  • contact_number (str)

  • parent_contact_number (str)

  • date (str)

  • booking_id (str)

  • action (str)

  • status (str)

  • can_download (bool)

serial: str
registration_number: str
hostel_block: str
room_number: str
place_of_visit: str
purpose_of_visit: str
time: str
contact_number: str
parent_contact_number: str
date: str
booking_id: str
action: str
status: str
can_download: bool
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.outing.model.weekend_outing_model.WeekendOutingModel(root=PydanticUndefined, **data)[source]

Bases: RootModel

Parameters:

root (List[WeekendOutingRequest])

root: List[WeekendOutingRequest]
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.outing.model.outing_info_model.OutingInfoModel(**data)[source]

Bases: BaseModel

Parameters:
  • registration_number (str)

  • name (str)

  • application_no (str)

  • gender (str)

  • hostel_block (str)

  • room_number (str)

  • parent_contact_number (str)

registration_number: str
name: str
application_no: str
gender: str
hostel_block: str
room_number: str
parent_contact_number: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.payments.model.pending_payments_model.PendingPayment(**data)[source]

Bases: BaseModel

Parameters:
  • s_no (str)

  • fprefno (str)

  • fees_heads (str)

  • end_date (str)

  • amount (str)

  • fine (str)

  • total_amount (str)

  • payment_status (str)

s_no: str
fprefno: str
fees_heads: str
end_date: str
amount: str
fine: str
total_amount: str
payment_status: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class vitap_vtop_client.payments.model.payment_receipt_model.PaymentReceipt(**data)[source]

Bases: BaseModel

Parameters:
  • receipt_number (str)

  • date (str)

  • amount (str)

  • campus_code (str)

  • payment_status (str)

  • receipt_no (str)

receipt_number: str
date: str
amount: str
campus_code: str
payment_status: str
receipt_no: str
model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].