Trait mailslurp::apis::WebhookControllerApi[][src]

pub trait WebhookControllerApi {
    fn create_webhook(
        &self,
        inbox_id: &str,
        webhook_options: CreateWebhookOptions
    ) -> Box<dyn Future<Item = WebhookDto, Error = Error<Value>>>;
fn delete_webhook(
        &self,
        inbox_id: &str,
        webhook_id: &str
    ) -> Box<dyn Future<Item = (), Error = Error<Value>>>;
fn get_all_webhooks(
        &self,
        page: Option<i32>,
        size: Option<i32>,
        sort: Option<&str>
    ) -> Box<dyn Future<Item = PageWebhookProjection, Error = Error<Value>>>;
fn get_webhook(
        &self,
        webhook_id: &str
    ) -> Box<dyn Future<Item = WebhookDto, Error = Error<Value>>>;
fn get_webhooks(
        &self,
        inbox_id: &str
    ) -> Box<dyn Future<Item = Vec<WebhookDto>, Error = Error<Value>>>;
fn send_test_data(
        &self,
        webhook_id: &str
    ) -> Box<dyn Future<Item = WebhookTestResult, Error = Error<Value>>>; }

Required methods

fn create_webhook(
    &self,
    inbox_id: &str,
    webhook_options: CreateWebhookOptions
) -> Box<dyn Future<Item = WebhookDto, Error = Error<Value>>>
[src]

fn delete_webhook(
    &self,
    inbox_id: &str,
    webhook_id: &str
) -> Box<dyn Future<Item = (), Error = Error<Value>>>
[src]

fn get_all_webhooks(
    &self,
    page: Option<i32>,
    size: Option<i32>,
    sort: Option<&str>
) -> Box<dyn Future<Item = PageWebhookProjection, Error = Error<Value>>>
[src]

fn get_webhook(
    &self,
    webhook_id: &str
) -> Box<dyn Future<Item = WebhookDto, Error = Error<Value>>>
[src]

fn get_webhooks(
    &self,
    inbox_id: &str
) -> Box<dyn Future<Item = Vec<WebhookDto>, Error = Error<Value>>>
[src]

fn send_test_data(
    &self,
    webhook_id: &str
) -> Box<dyn Future<Item = WebhookTestResult, Error = Error<Value>>>
[src]

Loading content...

Implementors

impl<C: Connect> WebhookControllerApi for WebhookControllerApiClient<C>[src]

Loading content...