Models#

Assignment#

class Assignment(id=None, name=None, type=None, due_date=None, status=None, points=None, automatic_grading=None)[source]#

Bases: grader_service.api.models.base_model_.Model

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

property automatic_grading#

Gets the automatic_grading of this Assignment.

Returns

The automatic_grading of this Assignment.

Return type

str

property due_date#

Gets the due_date of this Assignment.

Returns

The due_date of this Assignment.

Return type

datetime

classmethod from_dict(dikt) grader_service.api.models.assignment.Assignment[source]#

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The Assignment of this Assignment. # noqa: E501

Return type

Assignment

property id#

Gets the id of this Assignment.

Returns

The id of this Assignment.

Return type

int

property name#

Gets the name of this Assignment.

Returns

The name of this Assignment.

Return type

str

property points#

Gets the points of this Assignment.

Returns

The points of this Assignment.

Return type

float

property status#

Gets the status of this Assignment.

Returns

The status of this Assignment.

Return type

str

property type#

Gets the type of this Assignment.

Returns

The type of this Assignment.

Return type

str

Base model#

class Model[source]#

Bases: object

attribute_map = {}#
classmethod from_dict(dikt) grader_service.api.models.base_model_.T[source]#

Returns the dict as a model

openapi_types = {}#
to_dict()[source]#

Returns the model properties as a dict

Return type

dict

to_str()[source]#

Returns the string representation of the model

Return type

str

Error message#

class ErrorMessage(msg=None)[source]#

Bases: grader_service.api.models.base_model_.Model

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

classmethod from_dict(dikt) grader_service.api.models.error_message.ErrorMessage[source]#

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The ErrorMessage of this ErrorMessage. # noqa: E501

Return type

ErrorMessage

property msg#

Gets the msg of this ErrorMessage.

Returns

The msg of this ErrorMessage.

Return type

str

Lecture#

class Lecture(id=None, name=None, code=None, complete=False)[source]#

Bases: grader_service.api.models.base_model_.Model

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

property code#

Gets the code of this Lecture.

Returns

The code of this Lecture.

Return type

str

property complete#

Gets the complete of this Lecture.

Returns

The complete of this Lecture.

Return type

bool

classmethod from_dict(dikt) grader_service.api.models.lecture.Lecture[source]#

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The Lecture of this Lecture. # noqa: E501

Return type

Lecture

property id#

Gets the id of this Lecture.

Returns

The id of this Lecture.

Return type

int

property name#

Gets the name of this Lecture.

Returns

The name of this Lecture.

Return type

str

Submission#

class Submission(id=None, submitted_at=None, auto_status=None, manual_status=None, username=None, score=None, commit_hash=None, feedback_available=None, logs=None)[source]#

Bases: grader_service.api.models.base_model_.Model

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

property auto_status#

Gets the auto_status of this Submission.

Returns

The auto_status of this Submission.

Return type

str

property commit_hash#

Gets the commit_hash of this Submission.

Returns

The commit_hash of this Submission.

Return type

str

property feedback_available#

Gets the feedback_available of this Submission.

Returns

The feedback_available of this Submission.

Return type

bool

classmethod from_dict(dikt) grader_service.api.models.submission.Submission[source]#

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The Submission of this Submission. # noqa: E501

Return type

Submission

property id#

Gets the id of this Submission.

Returns

The id of this Submission.

Return type

int

property logs#

Gets the logs of this Submission.

Returns

The logs of this Submission.

Return type

str

property manual_status#

Gets the manual_status of this Submission.

Returns

The manual_status of this Submission.

Return type

str

property score#

Gets the score of this Submission.

Returns

The score of this Submission.

Return type

float

property submitted_at#

Gets the submitted_at of this Submission.

Returns

The submitted_at of this Submission.

Return type

datetime

property username#

Gets the username of this Submission.

Returns

The username of this Submission.

Return type

str

User#

class User(name=None)[source]#

Bases: grader_service.api.models.base_model_.Model

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

classmethod from_dict(dikt) grader_service.api.models.user.User[source]#

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The User of this User. # noqa: E501

Return type

User

property name#

Gets the name of this User.

Returns

The name of this User.

Return type

str