roboto.domain.comments.operations#
Module Contents#
- class roboto.domain.comments.operations.CreateCommentRequest(/, **data)#
Bases:
pydantic.BaseModel
Request payload for creating a new comment.
This model defines the required information to create a comment on a Roboto platform entity.
- Parameters:
data (Any)
- comment_text: str#
Text content of the comment, may include @mention syntax.
- entity_id: str#
Unique identifier of the entity to attach the comment to.
- entity_type: roboto.domain.comments.record.CommentEntityType#
Type of entity to attach the comment to.
- class roboto.domain.comments.operations.UpdateCommentRequest(/, **data)#
Bases:
pydantic.BaseModel
Request payload for updating an existing comment.
This model defines the information that can be modified when updating a comment.
- Parameters:
data (Any)
- comment_text: str#
Updated text content of the comment, may include @mention syntax.