pub struct CreatePublicAgentDTO {
pub location_id: String,
pub name: Option<String>,
pub description: Option<String>,
pub agency_id: Option<String>,
pub author_id: Option<String>,
pub author_name: Option<String>,
pub author_email: Option<String>,
pub status: String,
pub version: Value,
pub nodes: Vec<String>,
pub edges: Vec<String>,
}Available on crate feature
agent-studio only.Expand description
CreatePublicAgentDTO from the GoHighLevel OpenAPI spec.
Fields§
§location_id: StringLocation ID Required by the API.
name: Option<String>Name of the agent
description: Option<String>Description of the agent
agency_id: Option<String>Agency ID
Author ID
Author name
Author email
status: StringStatus of the agent
Allowed values: active, inactive, archived.
Required by the API.
version: ValueVersion data for the agent including nodes, edges, and configuration Required by the API.
nodes: Vec<String>Nodes array (deprecated, prefer using version.nodes)
edges: Vec<String>Edges array (deprecated, prefer using version.edges)
Trait Implementations§
Source§impl Clone for CreatePublicAgentDTO
impl Clone for CreatePublicAgentDTO
Source§fn clone(&self) -> CreatePublicAgentDTO
fn clone(&self) -> CreatePublicAgentDTO
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreatePublicAgentDTO
impl Debug for CreatePublicAgentDTO
Source§impl Default for CreatePublicAgentDTO
impl Default for CreatePublicAgentDTO
Source§fn default() -> CreatePublicAgentDTO
fn default() -> CreatePublicAgentDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreatePublicAgentDTO
impl<'de> Deserialize<'de> for CreatePublicAgentDTO
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreatePublicAgentDTO
impl RefUnwindSafe for CreatePublicAgentDTO
impl Send for CreatePublicAgentDTO
impl Sync for CreatePublicAgentDTO
impl Unpin for CreatePublicAgentDTO
impl UnsafeUnpin for CreatePublicAgentDTO
impl UnwindSafe for CreatePublicAgentDTO
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more