https://docs.wonde.com/docs/api/sync#get-classes Related objects Name Relationship -------------------------------------------- subject one students many students.contact_details many > one students.education_details many > one students.extended_details many > one students.house many > one students.registration many > one students.year many > one students.boarding many > one students.campus many > one employees many employees.contact_details many > one employees.employment_details many > one employees.extended_details many > one lessons many lessons.room many > one lessons.period many > one
Name | Type | Description | Notes |
---|---|---|---|
id | str | The ID of the object. | [optional] |
mis_id | str | The ID in the MIS. | [optional] |
name | str | Class name. | [optional] |
code | str | Class code. | [optional] |
description | str | Class description. | [optional] |
subject | SchoolClassSubject | [optional] | |
alternative | bool | The class is an alternative to another class. | [optional] |
restored_at | DateTimeObject | [optional] | |
created_at | DateTimeObject | [optional] | |
updated_at | DateTimeObject | [optional] | |
students | SchoolClassStudents | [optional] | |
employees | SchoolClassEmployees | [optional] | |
lessons | SchoolClassLessons | [optional] |
from wonde.models.school_class import SchoolClass
# TODO update the JSON string below
json = "{}"
# create an instance of SchoolClass from a JSON string
school_class_instance = SchoolClass.from_json(json)
# print the JSON string representation of the object
print SchoolClass.to_json()
# convert the object into a dict
school_class_dict = school_class_instance.to_dict()
# create an instance of SchoolClass from a dict
school_class_form_dict = school_class.from_dict(school_class_dict)