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

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

Required methods

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

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

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

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

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

pub 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...