rbtools.api.resource.general_comment¶
Resource definitions for general comments.
Added in version 6.0.
Classes
Params for the all general comments list resource GET operation. |
|
|
Item resource for general comments. |
|
List resource for general comments. |
- class rbtools.api.resource.general_comment.AllGeneralCommentsGetListParams[source]¶
Bases:
BaseGetListParamsParams for the all general comments list resource GET operation.
Added in version 6.0.
- __firstlineno__ = 37¶
- __static_attributes__ = ()¶
- last_updated_from: str¶
The earliest date/time the comment could be last updated.
This is compared against the comment’s
timestampfield. This must be a valid ISO-8601 date/time format.
- class rbtools.api.resource.general_comment.GeneralCommentItemResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, **kwargs)[source]¶
Bases:
BaseCommentItemResourceItem resource for general comments.
This corresponds to Review Board’s Review General Comment Resource and Review Reply General Comment Resource.
Added in version 6.0.
- __firstlineno__ = 22¶
- __static_attributes__ = ()¶
- class rbtools.api.resource.general_comment.GeneralCommentListResource(transport: Transport, payload: JSONDict, url: str, token: str | None = None, item_mime_type: str | None = None, **kwargs)[source]¶
Bases:
ListResource[BaseCommentItemResource]List resource for general comments.
This corresponds to Review Board’s Review General Comment List Resource. and Review Reply General Comment List Resource.
Added in version 6.0.
- __firstlineno__ = 69¶
- __static_attributes__ = ()¶