Module turbobit.responses.UploadFileResponse
Expand source code
from turbobit.responses import Response
class UploadFileResponse(Response):
"""
Response for file upload
**Example response**:
```json
{
"result":true,
"id":"1i555e01nb3",
"cid":"6dcUDq1",
"message":"Everything is ok"
}
```
"""
result: bool
id: str
cid: str
message: str
Classes
class UploadFileResponse
-
Response for file upload
Example response:
{ "result":true, "id":"1i555e01nb3", "cid":"6dcUDq1", "message":"Everything is ok" }
Expand source code
class UploadFileResponse(Response): """ Response for file upload **Example response**: ```json { "result":true, "id":"1i555e01nb3", "cid":"6dcUDq1", "message":"Everything is ok" } ``` """ result: bool id: str cid: str message: str
Ancestors
Class variables
var cid : str
var id : str
var message : str
var result : bool
Inherited members