pub struct CreateWebCallDto {
pub assistant_id: Option<String>,
pub assistant: Option<CreateAssistantDto>,
pub assistant_overrides: Option<AssistantOverrides>,
pub squad_id: Option<String>,
pub squad: Option<CreateSquadDto>,
pub workflow_id: Option<String>,
pub workflow: Option<CreateWorkflowDto>,
pub workflow_overrides: Option<WorkflowOverrides>,
}Fields§
§assistant_id: Option<String>This is the assistant ID that will be used for the call. To use a transient assistant, use assistant instead. To start a call with: - Assistant, use assistantId or assistant - Squad, use squadId or squad - Workflow, use workflowId or workflow
assistant: Option<CreateAssistantDto>This is the assistant that will be used for the call. To use an existing assistant, use assistantId instead. To start a call with: - Assistant, use assistant - Squad, use squad - Workflow, use workflow
assistant_overrides: Option<AssistantOverrides>These are the overrides for the assistant or assistantId’s settings and template variables.
squad_id: Option<String>This is the squad that will be used for the call. To use a transient squad, use squad instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
squad: Option<CreateSquadDto>This is a squad that will be used for the call. To use an existing squad, use squadId instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow_id: Option<String>This is the workflow that will be used for the call. To use a transient workflow, use workflow instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow: Option<CreateWorkflowDto>This is a workflow that will be used for the call. To use an existing workflow, use workflowId instead. To start a call with: - Assistant, use assistant or assistantId - Squad, use squad or squadId - Workflow, use workflow or workflowId
workflow_overrides: Option<WorkflowOverrides>These are the overrides for the workflow or workflowId’s settings and template variables.
Implementations§
Source§impl CreateWebCallDto
impl CreateWebCallDto
pub fn new() -> CreateWebCallDto
Trait Implementations§
Source§impl Clone for CreateWebCallDto
impl Clone for CreateWebCallDto
Source§fn clone(&self) -> CreateWebCallDto
fn clone(&self) -> CreateWebCallDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more