rbtools.api.resource.draft_file_attachment¶
Resource definitions for draft file attachments.
Added in version 6.0: This was moved from rbtools.api.resource.
Classes
|
Item resource for draft file attachments. |
|
List resource for draft file attachments. |
- class rbtools.api.resource.draft_file_attachment.DraftFileAttachmentItemResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, **kwargs)[source]¶
Bases:
ItemResourceItem resource for draft file attachments.
This corresponds to Review Board’s Draft File Attachment Resource.
Added in version 6.0.
- __firstlineno__ = 23¶
- __static_attributes__ = ()¶
- extra_data: ResourceExtraDataField¶
Extra data as part of the file attachment.
- class rbtools.api.resource.draft_file_attachment.DraftFileAttachmentListResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, item_mime_type: str | None = None, **kwargs)[source]¶
Bases:
AttachmentUploadMixin,ListResource[DraftFileAttachmentItemResource]List resource for draft file attachments.
This corresponds to Review Board’s Draft File Attachment List Resource.
- __annotations_cache__ = {}¶
- __firstlineno__ = 80¶
- __static_attributes__ = ()¶