Skip to main content

CreateAgentResponseDTO

Struct CreateAgentResponseDTO 

Source
pub struct CreateAgentResponseDTO {
Show 20 fields pub id: Option<String>, pub location_id: Option<String>, pub agent_name: Option<String>, pub business_name: Option<String>, pub welcome_message: Option<String>, pub agent_prompt: Option<String>, pub voice_id: Option<String>, pub language: Option<String>, pub patience_level: Option<String>, pub max_call_duration: Option<f64>, pub send_user_idle_reminders: Option<bool>, pub reminder_after_idle_time_seconds: Option<f64>, pub inbound_number: Option<String>, pub number_pool_id: Option<String>, pub call_end_workflow_ids: Vec<String>, pub send_post_call_notification_to: Option<SendPostCallNotificationSchema>, pub agent_working_hours: Vec<AgentWorkingHoursDTO>, pub timezone: Option<String>, pub is_agent_as_backup_disabled: Option<bool>, pub translation: Option<TranslationSchema>,
}
Available on crate feature voice-ai only.
Expand description

CreateAgentResponseDTO from the GoHighLevel OpenAPI spec.

Fields§

§id: Option<String>

Unique identifier for the created agent Required by the API. (Optional here so responses that omit it still parse.)

§location_id: Option<String>

Unique identifier for the location where this agent operates Required by the API. (Optional here so responses that omit it still parse.)

§agent_name: Option<String>

Display name of the voice AI agent Required by the API. (Optional here so responses that omit it still parse.)

§business_name: Option<String>

Name of the business this agent represents Required by the API. (Optional here so responses that omit it still parse.)

§welcome_message: Option<String>

Greeting message spoken when the agent answers calls Required by the API. (Optional here so responses that omit it still parse.)

§agent_prompt: Option<String>

Custom instructions defining the agent’s behavior Required by the API. (Optional here so responses that omit it still parse.)

§voice_id: Option<String>

Identifier for the speech synthesis voice being used Required by the API. (Optional here so responses that omit it still parse.)

§language: Option<String>

Language code for the agent’s speech and understanding Required by the API. (Optional here so responses that omit it still parse.)

§patience_level: Option<String>

Current tolerance level for caller response delays Required by the API. (Optional here so responses that omit it still parse.)

§max_call_duration: Option<f64>

Maximum call duration in seconds, between 180-900 Required by the API. (Optional here so responses that omit it still parse.)

§send_user_idle_reminders: Option<bool>

Indicates whether automatic idle reminders are enabled Required by the API. (Optional here so responses that omit it still parse.)

§reminder_after_idle_time_seconds: Option<f64>

Seconds to wait before sending idle reminders, between 1-20 Required by the API. (Optional here so responses that omit it still parse.)

§inbound_number: Option<String>

Phone number for receiving inbound calls

§number_pool_id: Option<String>

Identifier for the number pool managing this agent’s phone allocation

§call_end_workflow_ids: Vec<String>

Array of workflow IDs triggered automatically when calls end

§send_post_call_notification_to: Option<SendPostCallNotificationSchema>

Current post-call notification settings including recipient configuration

§agent_working_hours: Vec<AgentWorkingHoursDTO>

Time intervals when the agent accepts calls, organized by day of week

§timezone: Option<String>

IANA timezone identifier for working hours and scheduling Required by the API. (Optional here so responses that omit it still parse.)

§is_agent_as_backup_disabled: Option<bool>

Indicates whether this agent is excluded from backup scenarios Required by the API. (Optional here so responses that omit it still parse.)

§translation: Option<TranslationSchema>

Current language translation settings including enablement status and target language

Trait Implementations§

Source§

impl Clone for CreateAgentResponseDTO

Source§

fn clone(&self) -> CreateAgentResponseDTO

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreateAgentResponseDTO

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreateAgentResponseDTO

Source§

fn default() -> CreateAgentResponseDTO

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for CreateAgentResponseDTO

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CreateAgentResponseDTO

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.