pub struct AddNoteRequest {
pub content: String,
pub lead_id: Option<Uuid>,
pub deal_id: Option<i32>,
pub person_id: Option<i32>,
pub org_id: Option<i32>,
pub user_id: Option<i32>,
pub add_time: Option<String>,
pub pinned_to_lead_flag: Option<PinnedToLeadFlag>,
pub pinned_to_deal_flag: Option<PinnedToDealFlag>,
pub pinned_to_organization_flag: Option<PinnedToOrganizationFlag>,
pub pinned_to_person_flag: Option<PinnedToPersonFlag>,
}
Fields§
§content: String
The content of the note in HTML format. Subject to sanitization on the back-end.
lead_id: Option<Uuid>
The ID of the lead the note will be attached to. This property is required unless one of (deal_id/person_id/org_id
) is specified.
deal_id: Option<i32>
The ID of the deal the note will be attached to. This property is required unless one of (lead_id/person_id/org_id
) is specified.
person_id: Option<i32>
The ID of the person this note will be attached to. This property is required unless one of (deal_id/lead_id/org_id
) is specified.
org_id: Option<i32>
The ID of the organization this note will be attached to. This property is required unless one of (deal_id/lead_id/person_id
) is specified.
user_id: Option<i32>
The ID of the user who will be marked as the author of the note. Only an admin can change the author.
add_time: Option<String>
The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
pinned_to_lead_flag: Option<PinnedToLeadFlag>
§pinned_to_deal_flag: Option<PinnedToDealFlag>
§pinned_to_organization_flag: Option<PinnedToOrganizationFlag>
§pinned_to_person_flag: Option<PinnedToPersonFlag>
Implementations§
Source§impl AddNoteRequest
impl AddNoteRequest
pub fn new(content: String) -> AddNoteRequest
Trait Implementations§
Source§impl Clone for AddNoteRequest
impl Clone for AddNoteRequest
Source§fn clone(&self) -> AddNoteRequest
fn clone(&self) -> AddNoteRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more