Skip to content
Roboto
Esc
↑↓navigate↵open⌘Jpreview
On this page

roboto.domain.comments.operations

Module Contents

CreateCommentRequest

class roboto.domain.comments.operations.CreateCommentRequest(/, **data)#View Source

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

Attributes

CreateCommentRequest.comment_text

comment_text str #

Text content of the comment, may include @mention syntax.

CreateCommentRequest.entity_id

entity_id str #

Unique identifier of the entity to attach the comment to.

CreateCommentRequest.entity_type

Type of entity to attach the comment to.

UpdateCommentRequest

class roboto.domain.comments.operations.UpdateCommentRequest(/, **data)#View Source

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

Attributes

UpdateCommentRequest.comment_text

comment_text str #

Updated text content of the comment, may include @mention syntax.

Was this page helpful?