pub struct CustomerNeedCreateInput {Show 13 fields
pub id: Option<String>,
pub customer_id: Option<String>,
pub customer_external_id: Option<String>,
pub issue_id: Option<String>,
pub project_id: Option<String>,
pub comment_id: Option<String>,
pub attachment_id: Option<String>,
pub priority: Option<f64>,
pub body: Option<String>,
pub body_data: Option<Value>,
pub attachment_url: Option<String>,
pub create_as_user: Option<String>,
pub display_icon_url: Option<String>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
customer_id: Option<String>The uuid of the customer the need belongs to.
customer_external_id: Option<String>The external ID of the customer the need belongs to.
issue_id: Option<String>The issue this need is referencing. Can be a UUID or issue identifier (e.g., ‘LIN-123’).
project_id: Option<String>INTERNAL The project this need is referencing.
comment_id: Option<String>The comment this need is referencing.
attachment_id: Option<String>The attachment this need is referencing.
priority: Option<f64>Whether the customer need is important or not. 0 = Not important, 1 = Important.
body: Option<String>The content of the need in markdown format.
body_data: Option<Value>Internal The content of the need as a Prosemirror document.
attachment_url: Option<String>Optional URL for the attachment associated with the customer need.
create_as_user: Option<String>Create need as a user with the provided name. This option is only available to OAuth applications creating needs 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 needs in actor=app mode.
Trait Implementations§
Source§impl Clone for CustomerNeedCreateInput
impl Clone for CustomerNeedCreateInput
Source§fn clone(&self) -> CustomerNeedCreateInput
fn clone(&self) -> CustomerNeedCreateInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more