pub struct CommentCreateInput {Show 16 fields
pub id: Option<String>,
pub body: Option<String>,
pub body_data: Option<Value>,
pub issue_id: Option<String>,
pub project_update_id: Option<String>,
pub initiative_update_id: Option<String>,
pub post_id: Option<String>,
pub document_content_id: Option<String>,
pub parent_id: Option<String>,
pub create_as_user: Option<String>,
pub display_icon_url: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub do_not_subscribe_to_issue: Option<bool>,
pub create_on_synced_slack_thread: Option<bool>,
pub quoted_text: Option<String>,
pub subscriber_ids: Option<Vec<String>>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
body: Option<String>The comment content in markdown format.
body_data: Option<Value>Internal The comment content as a Prosemirror document.
issue_id: Option<String>The issue to associate the comment with. Can be a UUID or issue identifier (e.g., ‘LIN-123’).
project_update_id: Option<String>The project update to associate the comment with.
initiative_update_id: Option<String>The initiative update to associate the comment with.
post_id: Option<String>The post to associate the comment with.
document_content_id: Option<String>The document content to associate the comment with.
parent_id: Option<String>The parent comment under which to nest a current comment.
create_as_user: Option<String>Create comment as a user with the provided name. This option is only available to OAuth applications creating comments in actor=app mode.
display_icon_url: Option<String>Provide an external user avatar URL. Can only be used in conjunction with the createAsUser options. This option is only available to OAuth applications creating comments in actor=app mode.
created_at: Option<DateTime<Utc>>The date when the comment was created (e.g. if importing from another system). Must be a date in the past. If none is provided, the backend will generate the time as now.
do_not_subscribe_to_issue: Option<bool>Flag to prevent auto subscription to the issue the comment is created on.
create_on_synced_slack_thread: Option<bool>Flag to indicate this comment should be created on the issue’s synced Slack comment thread. If no synced Slack comment thread exists, the mutation will fail.
quoted_text: Option<String>The text that this comment references. Only defined for inline comments.
subscriber_ids: Option<Vec<String>>INTERNAL The identifiers of the users subscribing to this comment thread.
Trait Implementations§
Source§impl Clone for CommentCreateInput
impl Clone for CommentCreateInput
Source§fn clone(&self) -> CommentCreateInput
fn clone(&self) -> CommentCreateInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more