pub struct IntegrationsClient { /* private fields */ }Implementations§
Source§impl IntegrationsClient
impl IntegrationsClient
pub async fn list(&self) -> Result<Vec<Value>, SdkError>
pub async fn create(&self, body: &Value) -> Result<Value, SdkError>
pub async fn provider_types(&self) -> Result<Vec<Value>, SdkError>
pub async fn provider_definition( &self, provider_type: &str, ) -> Result<Value, SdkError>
pub async fn get(&self, id: &str) -> Result<Value, SdkError>
pub async fn update(&self, id: &str, body: &Value) -> Result<Value, SdkError>
pub async fn purge(&self, id: &str) -> Result<(), SdkError>
pub async fn restore(&self, id: &str) -> Result<Value, SdkError>
pub async fn device_metadata_schema(&self, id: &str) -> Result<Value, SdkError>
pub async fn discovered_devices(&self, id: &str) -> Result<Vec<Value>, SdkError>
pub async fn entities(&self, id: &str) -> Result<Vec<Value>, SdkError>
pub async fn ops(&self, id: &str) -> Result<Vec<Value>, SdkError>
pub async fn run_op( &self, id: &str, op_id: &str, body: &Value, ) -> Result<Value, SdkError>
pub async fn list_access_portals( &self, id: &str, ) -> Result<Vec<Value>, SdkError>
pub async fn create_access_portal( &self, id: &str, body: &Value, ) -> Result<Value, SdkError>
pub async fn get_access_portal( &self, portal_id: &str, ) -> Result<Value, SdkError>
pub async fn update_access_portal( &self, id: &str, portal_id: &str, body: &Value, ) -> Result<Value, SdkError>
pub async fn delete_access_portal( &self, id: &str, portal_id: &str, ) -> Result<(), SdkError>
pub async fn update_access_invite( &self, id: &str, invite_link_id: &str, body: &Value, ) -> Result<Value, SdkError>
pub async fn delete_access_invite( &self, id: &str, invite_link_id: &str, ) -> Result<(), SdkError>
pub async fn restore_access_invite( &self, id: &str, invite_link_id: &str, ) -> Result<Value, SdkError>
Trait Implementations§
Source§impl Clone for IntegrationsClient
impl Clone for IntegrationsClient
Source§fn clone(&self) -> IntegrationsClient
fn clone(&self) -> IntegrationsClient
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 moreAuto Trait Implementations§
impl Freeze for IntegrationsClient
impl !RefUnwindSafe for IntegrationsClient
impl Send for IntegrationsClient
impl Sync for IntegrationsClient
impl Unpin for IntegrationsClient
impl UnsafeUnpin for IntegrationsClient
impl !UnwindSafe for IntegrationsClient
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