pub struct ExternalIntegration {Show 19 fields
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub display: Option<String>,
pub url: Option<String>,
pub natural_slug: Option<String>,
pub name: String,
pub remote_url: String,
pub verify_ssl: Option<bool>,
pub timeout: Option<i32>,
pub extra_config: Option<Option<Value>>,
pub http_method: Option<Box<BulkWritableExternalIntegrationRequestHttpMethod>>,
pub headers: Option<Option<Value>>,
pub ca_file_path: Option<String>,
pub secrets_group: Option<Option<Box<BulkWritableExternalIntegrationRequestSecretsGroup>>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub notes_url: Option<String>,
pub custom_fields: Option<HashMap<String, Value>>,
pub tags: Option<Vec<ApprovalWorkflowStageResponseApprovalWorkflowStage>>,
}Expand description
ExternalIntegration : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§object_type: Option<String>§display: Option<String>Human friendly display value
url: Option<String>§natural_slug: Option<String>§name: String§remote_url: String§verify_ssl: Option<bool>Verify SSL certificates when connecting to the remote system
timeout: Option<i32>Number of seconds to wait for a response
extra_config: Option<Option<Value>>Optional user-defined JSON data for this integration
http_method: Option<Box<BulkWritableExternalIntegrationRequestHttpMethod>>§headers: Option<Option<Value>>Headers for the HTTP request
ca_file_path: Option<String>§secrets_group: Option<Option<Box<BulkWritableExternalIntegrationRequestSecretsGroup>>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§notes_url: Option<String>§custom_fields: Option<HashMap<String, Value>>Implementations§
Source§impl ExternalIntegration
impl ExternalIntegration
Sourcepub fn new(name: String, remote_url: String) -> ExternalIntegration
pub fn new(name: String, remote_url: String) -> ExternalIntegration
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for ExternalIntegration
impl Clone for ExternalIntegration
Source§fn clone(&self) -> ExternalIntegration
fn clone(&self) -> ExternalIntegration
Returns a duplicate of the value. Read more
1.0.0 · 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 ExternalIntegration
impl Debug for ExternalIntegration
Source§impl Default for ExternalIntegration
impl Default for ExternalIntegration
Source§fn default() -> ExternalIntegration
fn default() -> ExternalIntegration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalIntegration
impl<'de> Deserialize<'de> for ExternalIntegration
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
Source§impl PartialEq for ExternalIntegration
impl PartialEq for ExternalIntegration
Source§impl Serialize for ExternalIntegration
impl Serialize for ExternalIntegration
impl StructuralPartialEq for ExternalIntegration
Auto Trait Implementations§
impl Freeze for ExternalIntegration
impl RefUnwindSafe for ExternalIntegration
impl Send for ExternalIntegration
impl Sync for ExternalIntegration
impl Unpin for ExternalIntegration
impl UnsafeUnpin for ExternalIntegration
impl UnwindSafe for ExternalIntegration
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