mistk.evaluation.server.models.service_error module

class mistk.evaluation.server.models.service_error.ServiceError(code: int = None, message: str = None)

Bases: mistk.evaluation.server.models.base_model_.Model

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

property code

Gets the code of this ServiceError.

Returns

The code of this ServiceError.

Return type

int

classmethod from_dict(dikt) → mistk.evaluation.server.models.service_error.ServiceError

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The ServiceError of this ServiceError. # noqa: E501

Return type

ServiceError

property message

Gets the message of this ServiceError.

Returns

The message of this ServiceError.

Return type

str