cx_api/generated/
com.coralogix.outgoing_webhooks.v1.rs

1// This file is @generated by prost-build.
2#[derive(serde::Serialize, serde::Deserialize)]
3#[serde(rename_all = "snake_case")]
4#[derive(Clone, PartialEq, ::prost::Message)]
5pub struct GenericWebhookConfig {
6    #[prost(message, optional, tag = "1")]
7    pub uuid: ::core::option::Option<::prost::alloc::string::String>,
8    #[prost(enumeration = "generic_webhook_config::MethodType", tag = "2")]
9    pub method: i32,
10    #[prost(map = "string, string", tag = "3")]
11    pub headers: ::std::collections::HashMap<
12        ::prost::alloc::string::String,
13        ::prost::alloc::string::String,
14    >,
15    #[prost(message, optional, tag = "4")]
16    pub payload: ::core::option::Option<::prost::alloc::string::String>,
17}
18/// Nested message and enum types in `GenericWebhookConfig`.
19pub mod generic_webhook_config {
20    #[derive(serde::Serialize, serde::Deserialize)]
21    #[serde(rename_all = "snake_case")]
22    #[derive(
23        Clone,
24        Copy,
25        Debug,
26        PartialEq,
27        Eq,
28        Hash,
29        PartialOrd,
30        Ord,
31        ::prost::Enumeration
32    )]
33    #[repr(i32)]
34    pub enum MethodType {
35        Unknown = 0,
36        Get = 1,
37        Post = 2,
38        Put = 3,
39    }
40    impl MethodType {
41        /// String value of the enum field names used in the ProtoBuf definition.
42        ///
43        /// The values are not transformed in any way and thus are considered stable
44        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
45        pub fn as_str_name(&self) -> &'static str {
46            match self {
47                Self::Unknown => "UNKNOWN",
48                Self::Get => "GET",
49                Self::Post => "POST",
50                Self::Put => "PUT",
51            }
52        }
53        /// Creates an enum from field names used in the ProtoBuf definition.
54        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
55            match value {
56                "UNKNOWN" => Some(Self::Unknown),
57                "GET" => Some(Self::Get),
58                "POST" => Some(Self::Post),
59                "PUT" => Some(Self::Put),
60                _ => None,
61            }
62        }
63    }
64}
65#[derive(serde::Serialize, serde::Deserialize)]
66#[serde(rename_all = "snake_case")]
67#[derive(Clone, PartialEq, ::prost::Message)]
68pub struct SlackConfig {
69    #[prost(message, repeated, tag = "1")]
70    pub digests: ::prost::alloc::vec::Vec<slack_config::Digest>,
71    #[prost(message, repeated, tag = "2")]
72    pub attachments: ::prost::alloc::vec::Vec<slack_config::Attachment>,
73}
74/// Nested message and enum types in `SlackConfig`.
75pub mod slack_config {
76    #[derive(serde::Serialize, serde::Deserialize)]
77    #[serde(rename_all = "snake_case")]
78    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
79    pub struct Digest {
80        #[prost(enumeration = "DigestType", tag = "1")]
81        pub r#type: i32,
82        #[prost(message, optional, tag = "2")]
83        pub is_active: ::core::option::Option<bool>,
84    }
85    #[derive(serde::Serialize, serde::Deserialize)]
86    #[serde(rename_all = "snake_case")]
87    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
88    pub struct Attachment {
89        #[prost(enumeration = "AttachmentType", tag = "1")]
90        pub r#type: i32,
91        #[prost(message, optional, tag = "2")]
92        pub is_active: ::core::option::Option<bool>,
93    }
94    #[derive(serde::Serialize, serde::Deserialize)]
95    #[serde(rename_all = "snake_case")]
96    #[derive(
97        Clone,
98        Copy,
99        Debug,
100        PartialEq,
101        Eq,
102        Hash,
103        PartialOrd,
104        Ord,
105        ::prost::Enumeration
106    )]
107    #[repr(i32)]
108    pub enum DigestType {
109        Unknown = 0,
110        ErrorAndCriticalLogs = 1,
111        FlowAnomalies = 2,
112        SpikeAnomalies = 3,
113        DataUsage = 4,
114    }
115    impl DigestType {
116        /// String value of the enum field names used in the ProtoBuf definition.
117        ///
118        /// The values are not transformed in any way and thus are considered stable
119        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
120        pub fn as_str_name(&self) -> &'static str {
121            match self {
122                Self::Unknown => "UNKNOWN",
123                Self::ErrorAndCriticalLogs => "ERROR_AND_CRITICAL_LOGS",
124                Self::FlowAnomalies => "FLOW_ANOMALIES",
125                Self::SpikeAnomalies => "SPIKE_ANOMALIES",
126                Self::DataUsage => "DATA_USAGE",
127            }
128        }
129        /// Creates an enum from field names used in the ProtoBuf definition.
130        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
131            match value {
132                "UNKNOWN" => Some(Self::Unknown),
133                "ERROR_AND_CRITICAL_LOGS" => Some(Self::ErrorAndCriticalLogs),
134                "FLOW_ANOMALIES" => Some(Self::FlowAnomalies),
135                "SPIKE_ANOMALIES" => Some(Self::SpikeAnomalies),
136                "DATA_USAGE" => Some(Self::DataUsage),
137                _ => None,
138            }
139        }
140    }
141    #[derive(serde::Serialize, serde::Deserialize)]
142    #[serde(rename_all = "snake_case")]
143    #[derive(
144        Clone,
145        Copy,
146        Debug,
147        PartialEq,
148        Eq,
149        Hash,
150        PartialOrd,
151        Ord,
152        ::prost::Enumeration
153    )]
154    #[repr(i32)]
155    pub enum AttachmentType {
156        Empty = 0,
157        MetricSnapshot = 1,
158        Logs = 2,
159    }
160    impl AttachmentType {
161        /// String value of the enum field names used in the ProtoBuf definition.
162        ///
163        /// The values are not transformed in any way and thus are considered stable
164        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
165        pub fn as_str_name(&self) -> &'static str {
166            match self {
167                Self::Empty => "EMPTY",
168                Self::MetricSnapshot => "METRIC_SNAPSHOT",
169                Self::Logs => "LOGS",
170            }
171        }
172        /// Creates an enum from field names used in the ProtoBuf definition.
173        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
174            match value {
175                "EMPTY" => Some(Self::Empty),
176                "METRIC_SNAPSHOT" => Some(Self::MetricSnapshot),
177                "LOGS" => Some(Self::Logs),
178                _ => None,
179            }
180        }
181    }
182}
183#[derive(serde::Serialize, serde::Deserialize)]
184#[serde(rename_all = "snake_case")]
185#[derive(Clone, PartialEq, ::prost::Message)]
186pub struct PagerDutyConfig {
187    #[prost(message, optional, tag = "1")]
188    pub service_key: ::core::option::Option<::prost::alloc::string::String>,
189}
190#[derive(serde::Serialize, serde::Deserialize)]
191#[serde(rename_all = "snake_case")]
192#[derive(Clone, PartialEq, ::prost::Message)]
193pub struct SendLogConfig {
194    #[prost(message, optional, tag = "1")]
195    pub uuid: ::core::option::Option<::prost::alloc::string::String>,
196    #[prost(message, optional, tag = "2")]
197    pub payload: ::core::option::Option<::prost::alloc::string::String>,
198}
199#[derive(serde::Serialize, serde::Deserialize)]
200#[serde(rename_all = "snake_case")]
201#[derive(Clone, PartialEq, ::prost::Message)]
202pub struct EmailGroupConfig {
203    #[prost(message, repeated, tag = "1")]
204    pub email_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
205}
206#[derive(serde::Serialize, serde::Deserialize)]
207#[serde(rename_all = "snake_case")]
208#[derive(Clone, Copy, PartialEq, ::prost::Message)]
209pub struct MicrosoftTeamsConfig {}
210#[derive(serde::Serialize, serde::Deserialize)]
211#[serde(rename_all = "snake_case")]
212#[derive(Clone, Copy, PartialEq, ::prost::Message)]
213pub struct MsTeamsWorkflowConfig {}
214#[derive(serde::Serialize, serde::Deserialize)]
215#[serde(rename_all = "snake_case")]
216#[derive(Clone, PartialEq, ::prost::Message)]
217pub struct JiraConfig {
218    #[prost(message, optional, tag = "1")]
219    pub api_token: ::core::option::Option<::prost::alloc::string::String>,
220    #[prost(message, optional, tag = "2")]
221    pub email: ::core::option::Option<::prost::alloc::string::String>,
222    #[prost(message, optional, tag = "3")]
223    pub project_key: ::core::option::Option<::prost::alloc::string::String>,
224}
225#[derive(serde::Serialize, serde::Deserialize)]
226#[serde(rename_all = "snake_case")]
227#[derive(Clone, Copy, PartialEq, ::prost::Message)]
228pub struct OpsgenieConfig {}
229#[derive(serde::Serialize, serde::Deserialize)]
230#[serde(rename_all = "snake_case")]
231#[derive(Clone, PartialEq, ::prost::Message)]
232pub struct DemistoConfig {
233    #[prost(message, optional, tag = "1")]
234    pub uuid: ::core::option::Option<::prost::alloc::string::String>,
235    #[prost(message, optional, tag = "2")]
236    pub payload: ::core::option::Option<::prost::alloc::string::String>,
237}
238#[derive(serde::Serialize, serde::Deserialize)]
239#[serde(rename_all = "snake_case")]
240#[derive(Clone, PartialEq, ::prost::Message)]
241pub struct AwsEventBridgeConfig {
242    #[prost(message, optional, tag = "1")]
243    pub event_bus_arn: ::core::option::Option<::prost::alloc::string::String>,
244    #[prost(message, optional, tag = "2")]
245    pub detail: ::core::option::Option<::prost::alloc::string::String>,
246    #[prost(message, optional, tag = "3")]
247    pub detail_type: ::core::option::Option<::prost::alloc::string::String>,
248    #[prost(message, optional, tag = "4")]
249    pub source: ::core::option::Option<::prost::alloc::string::String>,
250    #[prost(message, optional, tag = "6")]
251    pub role_name: ::core::option::Option<::prost::alloc::string::String>,
252}
253#[derive(serde::Serialize, serde::Deserialize)]
254#[serde(rename_all = "snake_case")]
255#[derive(Clone, PartialEq, ::prost::Message)]
256pub struct IbmEventNotificationsConfig {
257    #[prost(message, optional, tag = "1")]
258    pub event_notifications_instance_id: ::core::option::Option<
259        ::prost::alloc::string::String,
260    >,
261    #[prost(message, optional, tag = "2")]
262    pub region_id: ::core::option::Option<::prost::alloc::string::String>,
263    #[prost(message, optional, tag = "3")]
264    pub source_id: ::core::option::Option<::prost::alloc::string::String>,
265    #[prost(message, optional, tag = "4")]
266    pub source_name: ::core::option::Option<::prost::alloc::string::String>,
267    #[prost(enumeration = "ibm_event_notifications_config::EndpointType", tag = "5")]
268    pub endpoint_type: i32,
269}
270/// Nested message and enum types in `IbmEventNotificationsConfig`.
271pub mod ibm_event_notifications_config {
272    #[derive(serde::Serialize, serde::Deserialize)]
273    #[serde(rename_all = "snake_case")]
274    #[derive(
275        Clone,
276        Copy,
277        Debug,
278        PartialEq,
279        Eq,
280        Hash,
281        PartialOrd,
282        Ord,
283        ::prost::Enumeration
284    )]
285    #[repr(i32)]
286    pub enum EndpointType {
287        DefaultOrPublic = 0,
288        Private = 1,
289    }
290    impl EndpointType {
291        /// String value of the enum field names used in the ProtoBuf definition.
292        ///
293        /// The values are not transformed in any way and thus are considered stable
294        /// (if the ProtoBuf definition does not change) and safe for programmatic use.
295        pub fn as_str_name(&self) -> &'static str {
296            match self {
297                Self::DefaultOrPublic => "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC",
298                Self::Private => "ENDPOINT_TYPE_PRIVATE",
299            }
300        }
301        /// Creates an enum from field names used in the ProtoBuf definition.
302        pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
303            match value {
304                "ENDPOINT_TYPE_DEFAULT_OR_PUBLIC" => Some(Self::DefaultOrPublic),
305                "ENDPOINT_TYPE_PRIVATE" => Some(Self::Private),
306                _ => None,
307            }
308        }
309    }
310}
311#[derive(serde::Serialize, serde::Deserialize)]
312#[serde(rename_all = "snake_case")]
313#[derive(Clone, PartialEq, ::prost::Message)]
314pub struct OutgoingWebhook {
315    #[prost(message, optional, tag = "1")]
316    pub id: ::core::option::Option<::prost::alloc::string::String>,
317    #[prost(enumeration = "WebhookType", tag = "2")]
318    pub r#type: i32,
319    #[prost(message, optional, tag = "3")]
320    pub name: ::core::option::Option<::prost::alloc::string::String>,
321    #[prost(message, optional, tag = "4")]
322    pub url: ::core::option::Option<::prost::alloc::string::String>,
323    #[prost(message, optional, tag = "5")]
324    pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
325    #[prost(message, optional, tag = "6")]
326    pub updated_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
327    #[prost(message, optional, tag = "7")]
328    pub external_id: ::core::option::Option<u32>,
329    #[prost(
330        oneof = "outgoing_webhook::Config",
331        tags = "100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111"
332    )]
333    pub config: ::core::option::Option<outgoing_webhook::Config>,
334}
335/// Nested message and enum types in `OutgoingWebhook`.
336pub mod outgoing_webhook {
337    #[derive(serde::Serialize, serde::Deserialize)]
338    #[serde(rename_all = "snake_case")]
339    #[derive(Clone, PartialEq, ::prost::Oneof)]
340    pub enum Config {
341        #[prost(message, tag = "100")]
342        GenericWebhook(super::GenericWebhookConfig),
343        #[prost(message, tag = "101")]
344        Slack(super::SlackConfig),
345        #[prost(message, tag = "102")]
346        PagerDuty(super::PagerDutyConfig),
347        #[prost(message, tag = "103")]
348        SendLog(super::SendLogConfig),
349        #[prost(message, tag = "104")]
350        EmailGroup(super::EmailGroupConfig),
351        #[prost(message, tag = "105")]
352        MicrosoftTeams(super::MicrosoftTeamsConfig),
353        #[prost(message, tag = "106")]
354        Jira(super::JiraConfig),
355        #[prost(message, tag = "107")]
356        Opsgenie(super::OpsgenieConfig),
357        #[prost(message, tag = "108")]
358        Demisto(super::DemistoConfig),
359        #[prost(message, tag = "109")]
360        AwsEventBridge(super::AwsEventBridgeConfig),
361        #[prost(message, tag = "110")]
362        IbmEventNotifications(super::IbmEventNotificationsConfig),
363        #[prost(message, tag = "111")]
364        MsTeamsWorkflow(super::MsTeamsWorkflowConfig),
365    }
366}
367#[derive(serde::Serialize, serde::Deserialize)]
368#[serde(rename_all = "snake_case")]
369#[derive(Clone, PartialEq, ::prost::Message)]
370pub struct OutgoingWebhookInputData {
371    #[prost(enumeration = "WebhookType", tag = "1")]
372    pub r#type: i32,
373    #[prost(message, optional, tag = "2")]
374    pub name: ::core::option::Option<::prost::alloc::string::String>,
375    #[prost(message, optional, tag = "3")]
376    pub url: ::core::option::Option<::prost::alloc::string::String>,
377    #[prost(
378        oneof = "outgoing_webhook_input_data::Config",
379        tags = "100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111"
380    )]
381    pub config: ::core::option::Option<outgoing_webhook_input_data::Config>,
382}
383/// Nested message and enum types in `OutgoingWebhookInputData`.
384pub mod outgoing_webhook_input_data {
385    #[derive(serde::Serialize, serde::Deserialize)]
386    #[serde(rename_all = "snake_case")]
387    #[derive(Clone, PartialEq, ::prost::Oneof)]
388    pub enum Config {
389        #[prost(message, tag = "100")]
390        GenericWebhook(super::GenericWebhookConfig),
391        #[prost(message, tag = "101")]
392        Slack(super::SlackConfig),
393        #[prost(message, tag = "102")]
394        PagerDuty(super::PagerDutyConfig),
395        #[prost(message, tag = "103")]
396        SendLog(super::SendLogConfig),
397        #[prost(message, tag = "104")]
398        EmailGroup(super::EmailGroupConfig),
399        #[prost(message, tag = "105")]
400        MicrosoftTeams(super::MicrosoftTeamsConfig),
401        #[prost(message, tag = "106")]
402        Jira(super::JiraConfig),
403        #[prost(message, tag = "107")]
404        Opsgenie(super::OpsgenieConfig),
405        #[prost(message, tag = "108")]
406        Demisto(super::DemistoConfig),
407        #[prost(message, tag = "109")]
408        AwsEventBridge(super::AwsEventBridgeConfig),
409        #[prost(message, tag = "110")]
410        IbmEventNotifications(super::IbmEventNotificationsConfig),
411        #[prost(message, tag = "111")]
412        MsTeamsWorkflow(super::MsTeamsWorkflowConfig),
413    }
414}
415#[derive(serde::Serialize, serde::Deserialize)]
416#[serde(rename_all = "snake_case")]
417#[derive(Clone, PartialEq, ::prost::Message)]
418pub struct OutgoingWebhookSummary {
419    #[prost(message, optional, tag = "1")]
420    pub id: ::core::option::Option<::prost::alloc::string::String>,
421    #[prost(message, optional, tag = "2")]
422    pub name: ::core::option::Option<::prost::alloc::string::String>,
423    #[prost(message, optional, tag = "3")]
424    pub url: ::core::option::Option<::prost::alloc::string::String>,
425    #[prost(message, optional, tag = "4")]
426    pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
427    #[prost(message, optional, tag = "5")]
428    pub updated_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
429    #[prost(message, optional, tag = "6")]
430    pub external_id: ::core::option::Option<u32>,
431}
432#[derive(serde::Serialize, serde::Deserialize)]
433#[serde(rename_all = "snake_case")]
434#[derive(Clone, PartialEq, ::prost::Message)]
435pub struct OutgoingWebhookExtendedSummary {
436    #[prost(message, optional, tag = "1")]
437    pub id: ::core::option::Option<::prost::alloc::string::String>,
438    #[prost(enumeration = "WebhookType", tag = "2")]
439    pub r#type: i32,
440    #[prost(message, optional, tag = "3")]
441    pub name: ::core::option::Option<::prost::alloc::string::String>,
442    #[prost(message, optional, tag = "4")]
443    pub url: ::core::option::Option<::prost::alloc::string::String>,
444    #[prost(message, optional, tag = "5")]
445    pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
446    #[prost(message, optional, tag = "6")]
447    pub updated_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
448    #[prost(message, optional, tag = "7")]
449    pub external_id: ::core::option::Option<u32>,
450}
451#[derive(serde::Serialize, serde::Deserialize)]
452#[serde(rename_all = "snake_case")]
453#[derive(Clone, PartialEq, ::prost::Message)]
454pub struct OutgoingWebhookDetails {
455    #[prost(enumeration = "WebhookType", tag = "1")]
456    pub r#type: i32,
457    #[prost(message, optional, tag = "2")]
458    pub label: ::core::option::Option<::prost::alloc::string::String>,
459}
460#[derive(serde::Serialize, serde::Deserialize)]
461#[serde(rename_all = "snake_case")]
462#[derive(Clone, PartialEq, ::prost::Message)]
463pub struct OutboundWebhookSummary {
464    #[prost(message, optional, tag = "1")]
465    pub id: ::core::option::Option<::prost::alloc::string::String>,
466    #[prost(enumeration = "WebhookType", tag = "2")]
467    pub r#type: i32,
468    #[prost(message, optional, tag = "3")]
469    pub name: ::core::option::Option<::prost::alloc::string::String>,
470    #[prost(message, optional, tag = "4")]
471    pub created_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
472    #[prost(message, optional, tag = "5")]
473    pub updated_at: ::core::option::Option<::prost_wkt_types::Timestamp>,
474    #[prost(message, optional, tag = "6")]
475    pub external_id: ::core::option::Option<u32>,
476}
477#[derive(serde::Serialize, serde::Deserialize)]
478#[serde(rename_all = "snake_case")]
479#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
480#[repr(i32)]
481pub enum WebhookType {
482    Unknown = 0,
483    Generic = 1,
484    Slack = 2,
485    Pagerduty = 3,
486    SendLog = 4,
487    EmailGroup = 5,
488    MicrosoftTeams = 6,
489    Jira = 7,
490    Opsgenie = 8,
491    Demisto = 9,
492    AwsEventBridge = 10,
493    IbmEventNotifications = 11,
494    MsTeamsWorkflow = 12,
495}
496impl WebhookType {
497    /// String value of the enum field names used in the ProtoBuf definition.
498    ///
499    /// The values are not transformed in any way and thus are considered stable
500    /// (if the ProtoBuf definition does not change) and safe for programmatic use.
501    pub fn as_str_name(&self) -> &'static str {
502        match self {
503            Self::Unknown => "UNKNOWN",
504            Self::Generic => "GENERIC",
505            Self::Slack => "SLACK",
506            Self::Pagerduty => "PAGERDUTY",
507            Self::SendLog => "SEND_LOG",
508            Self::EmailGroup => "EMAIL_GROUP",
509            Self::MicrosoftTeams => "MICROSOFT_TEAMS",
510            Self::Jira => "JIRA",
511            Self::Opsgenie => "OPSGENIE",
512            Self::Demisto => "DEMISTO",
513            Self::AwsEventBridge => "AWS_EVENT_BRIDGE",
514            Self::IbmEventNotifications => "IBM_EVENT_NOTIFICATIONS",
515            Self::MsTeamsWorkflow => "MS_TEAMS_WORKFLOW",
516        }
517    }
518    /// Creates an enum from field names used in the ProtoBuf definition.
519    pub fn from_str_name(value: &str) -> ::core::option::Option<Self> {
520        match value {
521            "UNKNOWN" => Some(Self::Unknown),
522            "GENERIC" => Some(Self::Generic),
523            "SLACK" => Some(Self::Slack),
524            "PAGERDUTY" => Some(Self::Pagerduty),
525            "SEND_LOG" => Some(Self::SendLog),
526            "EMAIL_GROUP" => Some(Self::EmailGroup),
527            "MICROSOFT_TEAMS" => Some(Self::MicrosoftTeams),
528            "JIRA" => Some(Self::Jira),
529            "OPSGENIE" => Some(Self::Opsgenie),
530            "DEMISTO" => Some(Self::Demisto),
531            "AWS_EVENT_BRIDGE" => Some(Self::AwsEventBridge),
532            "IBM_EVENT_NOTIFICATIONS" => Some(Self::IbmEventNotifications),
533            "MS_TEAMS_WORKFLOW" => Some(Self::MsTeamsWorkflow),
534            _ => None,
535        }
536    }
537}
538#[derive(serde::Serialize, serde::Deserialize)]
539#[serde(rename_all = "snake_case")]
540#[derive(Clone, Copy, PartialEq, ::prost::Message)]
541pub struct ListOutgoingWebhookTypesRequest {}
542#[derive(serde::Serialize, serde::Deserialize)]
543#[serde(rename_all = "snake_case")]
544#[derive(Clone, PartialEq, ::prost::Message)]
545pub struct ListOutgoingWebhookTypesResponse {
546    #[prost(message, repeated, tag = "1")]
547    pub webhooks: ::prost::alloc::vec::Vec<
548        list_outgoing_webhook_types_response::OutgoingWebhookType,
549    >,
550}
551/// Nested message and enum types in `ListOutgoingWebhookTypesResponse`.
552pub mod list_outgoing_webhook_types_response {
553    #[derive(serde::Serialize, serde::Deserialize)]
554    #[serde(rename_all = "snake_case")]
555    #[derive(Clone, PartialEq, ::prost::Message)]
556    pub struct OutgoingWebhookType {
557        #[prost(enumeration = "super::WebhookType", tag = "1")]
558        pub r#type: i32,
559        #[prost(message, optional, tag = "2")]
560        pub label: ::core::option::Option<::prost::alloc::string::String>,
561        #[prost(message, optional, tag = "3")]
562        pub count: ::core::option::Option<u32>,
563    }
564}
565#[derive(serde::Serialize, serde::Deserialize)]
566#[serde(rename_all = "snake_case")]
567#[derive(Clone, Copy, PartialEq, ::prost::Message)]
568pub struct GetOutgoingWebhookTypeDetailsRequest {
569    #[prost(enumeration = "WebhookType", tag = "1")]
570    pub r#type: i32,
571}
572#[derive(serde::Serialize, serde::Deserialize)]
573#[serde(rename_all = "snake_case")]
574#[derive(Clone, PartialEq, ::prost::Message)]
575pub struct GetOutgoingWebhookTypeDetailsResponse {
576    #[prost(message, optional, tag = "1")]
577    pub details: ::core::option::Option<OutgoingWebhookDetails>,
578}
579#[derive(serde::Serialize, serde::Deserialize)]
580#[serde(rename_all = "snake_case")]
581#[derive(Clone, Copy, PartialEq, ::prost::Message)]
582pub struct ListOutgoingWebhooksRequest {
583    #[prost(enumeration = "WebhookType", tag = "1")]
584    pub r#type: i32,
585}
586#[derive(serde::Serialize, serde::Deserialize)]
587#[serde(rename_all = "snake_case")]
588#[derive(Clone, PartialEq, ::prost::Message)]
589pub struct ListOutgoingWebhooksResponse {
590    #[prost(message, repeated, tag = "1")]
591    pub deployed: ::prost::alloc::vec::Vec<OutgoingWebhookSummary>,
592}
593#[derive(serde::Serialize, serde::Deserialize)]
594#[serde(rename_all = "snake_case")]
595#[derive(Clone, Copy, PartialEq, ::prost::Message)]
596pub struct ListAllOutgoingWebhooksRequest {}
597#[derive(serde::Serialize, serde::Deserialize)]
598#[serde(rename_all = "snake_case")]
599#[derive(Clone, PartialEq, ::prost::Message)]
600pub struct ListAllOutgoingWebhooksResponse {
601    #[prost(message, repeated, tag = "1")]
602    pub deployed: ::prost::alloc::vec::Vec<OutgoingWebhookExtendedSummary>,
603}
604#[derive(serde::Serialize, serde::Deserialize)]
605#[serde(rename_all = "snake_case")]
606#[derive(Clone, Copy, PartialEq, ::prost::Message)]
607pub struct ListOutboundWebhooksSummaryRequest {}
608#[derive(serde::Serialize, serde::Deserialize)]
609#[serde(rename_all = "snake_case")]
610#[derive(Clone, PartialEq, ::prost::Message)]
611pub struct ListOutboundWebhooksSummaryResponse {
612    #[prost(message, repeated, tag = "1")]
613    pub outbound_webhook_summaries: ::prost::alloc::vec::Vec<OutboundWebhookSummary>,
614}
615#[derive(serde::Serialize, serde::Deserialize)]
616#[serde(rename_all = "snake_case")]
617#[derive(Clone, PartialEq, ::prost::Message)]
618pub struct GetOutgoingWebhookRequest {
619    #[prost(message, optional, tag = "1")]
620    pub id: ::core::option::Option<::prost::alloc::string::String>,
621}
622#[derive(serde::Serialize, serde::Deserialize)]
623#[serde(rename_all = "snake_case")]
624#[derive(Clone, PartialEq, ::prost::Message)]
625pub struct GetOutgoingWebhookResponse {
626    #[prost(message, optional, tag = "1")]
627    pub webhook: ::core::option::Option<OutgoingWebhook>,
628}
629#[derive(serde::Serialize, serde::Deserialize)]
630#[serde(rename_all = "snake_case")]
631#[derive(Clone, PartialEq, ::prost::Message)]
632pub struct CreateOutgoingWebhookRequest {
633    #[prost(message, optional, tag = "1")]
634    pub data: ::core::option::Option<OutgoingWebhookInputData>,
635}
636#[derive(serde::Serialize, serde::Deserialize)]
637#[serde(rename_all = "snake_case")]
638#[derive(Clone, PartialEq, ::prost::Message)]
639pub struct CreateOutgoingWebhookResponse {
640    #[prost(message, optional, tag = "1")]
641    pub id: ::core::option::Option<::prost::alloc::string::String>,
642}
643#[derive(serde::Serialize, serde::Deserialize)]
644#[serde(rename_all = "snake_case")]
645#[derive(Clone, PartialEq, ::prost::Message)]
646pub struct UpdateOutgoingWebhookRequest {
647    #[prost(string, tag = "1")]
648    pub id: ::prost::alloc::string::String,
649    #[prost(message, optional, tag = "2")]
650    pub data: ::core::option::Option<OutgoingWebhookInputData>,
651}
652#[derive(serde::Serialize, serde::Deserialize)]
653#[serde(rename_all = "snake_case")]
654#[derive(Clone, Copy, PartialEq, ::prost::Message)]
655pub struct UpdateOutgoingWebhookResponse {}
656#[derive(serde::Serialize, serde::Deserialize)]
657#[serde(rename_all = "snake_case")]
658#[derive(Clone, PartialEq, ::prost::Message)]
659pub struct DeleteOutgoingWebhookRequest {
660    #[prost(message, optional, tag = "1")]
661    pub id: ::core::option::Option<::prost::alloc::string::String>,
662}
663#[derive(serde::Serialize, serde::Deserialize)]
664#[serde(rename_all = "snake_case")]
665#[derive(Clone, Copy, PartialEq, ::prost::Message)]
666pub struct DeleteOutgoingWebhookResponse {}
667#[derive(serde::Serialize, serde::Deserialize)]
668#[serde(rename_all = "snake_case")]
669#[derive(Clone, PartialEq, ::prost::Message)]
670pub struct TestOutgoingWebhookRequest {
671    #[prost(message, optional, tag = "1")]
672    pub data: ::core::option::Option<OutgoingWebhookInputData>,
673}
674#[derive(serde::Serialize, serde::Deserialize)]
675#[serde(rename_all = "snake_case")]
676#[derive(Clone, PartialEq, ::prost::Message)]
677pub struct TestExistingOutgoingWebhookRequest {
678    #[prost(message, optional, tag = "1")]
679    pub id: ::core::option::Option<::prost::alloc::string::String>,
680}
681#[derive(serde::Serialize, serde::Deserialize)]
682#[serde(rename_all = "snake_case")]
683#[derive(Clone, PartialEq, ::prost::Message)]
684pub struct TestOutgoingWebhookResponse {
685    #[prost(oneof = "test_outgoing_webhook_response::Result", tags = "1, 2")]
686    pub result: ::core::option::Option<test_outgoing_webhook_response::Result>,
687}
688/// Nested message and enum types in `TestOutgoingWebhookResponse`.
689pub mod test_outgoing_webhook_response {
690    #[derive(serde::Serialize, serde::Deserialize)]
691    #[serde(rename_all = "snake_case")]
692    #[derive(Clone, Copy, PartialEq, ::prost::Message)]
693    pub struct Success {}
694    #[derive(serde::Serialize, serde::Deserialize)]
695    #[serde(rename_all = "snake_case")]
696    #[derive(Clone, PartialEq, ::prost::Message)]
697    pub struct Failure {
698        #[prost(message, optional, tag = "1")]
699        pub error_message: ::core::option::Option<::prost::alloc::string::String>,
700        #[prost(message, optional, tag = "2")]
701        pub display_message: ::core::option::Option<::prost::alloc::string::String>,
702        #[prost(message, optional, tag = "3")]
703        pub status_code: ::core::option::Option<u32>,
704    }
705    #[derive(serde::Serialize, serde::Deserialize)]
706    #[serde(rename_all = "snake_case")]
707    #[derive(Clone, PartialEq, ::prost::Oneof)]
708    pub enum Result {
709        #[prost(message, tag = "1")]
710        Success(Success),
711        #[prost(message, tag = "2")]
712        Failure(Failure),
713    }
714}
715#[derive(serde::Serialize, serde::Deserialize)]
716#[serde(rename_all = "snake_case")]
717#[derive(Clone, Copy, PartialEq, ::prost::Message)]
718pub struct ListIbmEventNotificationsInstancesRequest {}
719#[derive(serde::Serialize, serde::Deserialize)]
720#[serde(rename_all = "snake_case")]
721#[derive(Clone, PartialEq, ::prost::Message)]
722pub struct ListIbmEventNotificationsInstancesResponse {
723    #[prost(message, repeated, tag = "1")]
724    pub instances: ::prost::alloc::vec::Vec<
725        list_ibm_event_notifications_instances_response::EventNotificationsInstance,
726    >,
727}
728/// Nested message and enum types in `ListIbmEventNotificationsInstancesResponse`.
729pub mod list_ibm_event_notifications_instances_response {
730    #[derive(serde::Serialize, serde::Deserialize)]
731    #[serde(rename_all = "snake_case")]
732    #[derive(Clone, PartialEq, ::prost::Message)]
733    pub struct EventNotificationsInstance {
734        #[prost(string, tag = "1")]
735        pub instance_id: ::prost::alloc::string::String,
736        #[prost(string, tag = "2")]
737        pub region_id: ::prost::alloc::string::String,
738        #[prost(string, tag = "3")]
739        pub name: ::prost::alloc::string::String,
740        /// Cloud Resource Name
741        #[prost(string, tag = "4")]
742        pub crn: ::prost::alloc::string::String,
743        #[prost(bool, tag = "5")]
744        pub is_used: bool,
745    }
746}
747/// Generated client implementations.
748pub mod outgoing_webhooks_service_client {
749    #![allow(
750        unused_variables,
751        dead_code,
752        missing_docs,
753        clippy::wildcard_imports,
754        clippy::let_unit_value,
755    )]
756    use tonic::codegen::*;
757    use tonic::codegen::http::Uri;
758    #[derive(Debug, Clone)]
759    pub struct OutgoingWebhooksServiceClient<T> {
760        inner: tonic::client::Grpc<T>,
761    }
762    impl OutgoingWebhooksServiceClient<tonic::transport::Channel> {
763        /// Attempt to create a new client by connecting to a given endpoint.
764        pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
765        where
766            D: TryInto<tonic::transport::Endpoint>,
767            D::Error: Into<StdError>,
768        {
769            let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
770            Ok(Self::new(conn))
771        }
772    }
773    impl<T> OutgoingWebhooksServiceClient<T>
774    where
775        T: tonic::client::GrpcService<tonic::body::BoxBody>,
776        T::Error: Into<StdError>,
777        T::ResponseBody: Body<Data = Bytes> + std::marker::Send + 'static,
778        <T::ResponseBody as Body>::Error: Into<StdError> + std::marker::Send,
779    {
780        pub fn new(inner: T) -> Self {
781            let inner = tonic::client::Grpc::new(inner);
782            Self { inner }
783        }
784        pub fn with_origin(inner: T, origin: Uri) -> Self {
785            let inner = tonic::client::Grpc::with_origin(inner, origin);
786            Self { inner }
787        }
788        pub fn with_interceptor<F>(
789            inner: T,
790            interceptor: F,
791        ) -> OutgoingWebhooksServiceClient<InterceptedService<T, F>>
792        where
793            F: tonic::service::Interceptor,
794            T::ResponseBody: Default,
795            T: tonic::codegen::Service<
796                http::Request<tonic::body::BoxBody>,
797                Response = http::Response<
798                    <T as tonic::client::GrpcService<tonic::body::BoxBody>>::ResponseBody,
799                >,
800            >,
801            <T as tonic::codegen::Service<
802                http::Request<tonic::body::BoxBody>,
803            >>::Error: Into<StdError> + std::marker::Send + std::marker::Sync,
804        {
805            OutgoingWebhooksServiceClient::new(
806                InterceptedService::new(inner, interceptor),
807            )
808        }
809        /// Compress requests with the given encoding.
810        ///
811        /// This requires the server to support it otherwise it might respond with an
812        /// error.
813        #[must_use]
814        pub fn send_compressed(mut self, encoding: CompressionEncoding) -> Self {
815            self.inner = self.inner.send_compressed(encoding);
816            self
817        }
818        /// Enable decompressing responses.
819        #[must_use]
820        pub fn accept_compressed(mut self, encoding: CompressionEncoding) -> Self {
821            self.inner = self.inner.accept_compressed(encoding);
822            self
823        }
824        /// Limits the maximum size of a decoded message.
825        ///
826        /// Default: `4MB`
827        #[must_use]
828        pub fn max_decoding_message_size(mut self, limit: usize) -> Self {
829            self.inner = self.inner.max_decoding_message_size(limit);
830            self
831        }
832        /// Limits the maximum size of an encoded message.
833        ///
834        /// Default: `usize::MAX`
835        #[must_use]
836        pub fn max_encoding_message_size(mut self, limit: usize) -> Self {
837            self.inner = self.inner.max_encoding_message_size(limit);
838            self
839        }
840        pub async fn list_outgoing_webhook_types(
841            &mut self,
842            request: impl tonic::IntoRequest<super::ListOutgoingWebhookTypesRequest>,
843        ) -> std::result::Result<
844            tonic::Response<super::ListOutgoingWebhookTypesResponse>,
845            tonic::Status,
846        > {
847            self.inner
848                .ready()
849                .await
850                .map_err(|e| {
851                    tonic::Status::unknown(
852                        format!("Service was not ready: {}", e.into()),
853                    )
854                })?;
855            let codec = tonic::codec::ProstCodec::default();
856            let path = http::uri::PathAndQuery::from_static(
857                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutgoingWebhookTypes",
858            );
859            let mut req = request.into_request();
860            req.extensions_mut()
861                .insert(
862                    GrpcMethod::new(
863                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
864                        "ListOutgoingWebhookTypes",
865                    ),
866                );
867            self.inner.unary(req, path, codec).await
868        }
869        pub async fn get_outgoing_webhook_type_details(
870            &mut self,
871            request: impl tonic::IntoRequest<super::GetOutgoingWebhookTypeDetailsRequest>,
872        ) -> std::result::Result<
873            tonic::Response<super::GetOutgoingWebhookTypeDetailsResponse>,
874            tonic::Status,
875        > {
876            self.inner
877                .ready()
878                .await
879                .map_err(|e| {
880                    tonic::Status::unknown(
881                        format!("Service was not ready: {}", e.into()),
882                    )
883                })?;
884            let codec = tonic::codec::ProstCodec::default();
885            let path = http::uri::PathAndQuery::from_static(
886                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/GetOutgoingWebhookTypeDetails",
887            );
888            let mut req = request.into_request();
889            req.extensions_mut()
890                .insert(
891                    GrpcMethod::new(
892                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
893                        "GetOutgoingWebhookTypeDetails",
894                    ),
895                );
896            self.inner.unary(req, path, codec).await
897        }
898        pub async fn list_outgoing_webhooks(
899            &mut self,
900            request: impl tonic::IntoRequest<super::ListOutgoingWebhooksRequest>,
901        ) -> std::result::Result<
902            tonic::Response<super::ListOutgoingWebhooksResponse>,
903            tonic::Status,
904        > {
905            self.inner
906                .ready()
907                .await
908                .map_err(|e| {
909                    tonic::Status::unknown(
910                        format!("Service was not ready: {}", e.into()),
911                    )
912                })?;
913            let codec = tonic::codec::ProstCodec::default();
914            let path = http::uri::PathAndQuery::from_static(
915                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutgoingWebhooks",
916            );
917            let mut req = request.into_request();
918            req.extensions_mut()
919                .insert(
920                    GrpcMethod::new(
921                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
922                        "ListOutgoingWebhooks",
923                    ),
924                );
925            self.inner.unary(req, path, codec).await
926        }
927        pub async fn list_outbound_webhooks_summary(
928            &mut self,
929            request: impl tonic::IntoRequest<super::ListOutboundWebhooksSummaryRequest>,
930        ) -> std::result::Result<
931            tonic::Response<super::ListOutboundWebhooksSummaryResponse>,
932            tonic::Status,
933        > {
934            self.inner
935                .ready()
936                .await
937                .map_err(|e| {
938                    tonic::Status::unknown(
939                        format!("Service was not ready: {}", e.into()),
940                    )
941                })?;
942            let codec = tonic::codec::ProstCodec::default();
943            let path = http::uri::PathAndQuery::from_static(
944                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListOutboundWebhooksSummary",
945            );
946            let mut req = request.into_request();
947            req.extensions_mut()
948                .insert(
949                    GrpcMethod::new(
950                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
951                        "ListOutboundWebhooksSummary",
952                    ),
953                );
954            self.inner.unary(req, path, codec).await
955        }
956        pub async fn list_all_outgoing_webhooks(
957            &mut self,
958            request: impl tonic::IntoRequest<super::ListAllOutgoingWebhooksRequest>,
959        ) -> std::result::Result<
960            tonic::Response<super::ListAllOutgoingWebhooksResponse>,
961            tonic::Status,
962        > {
963            self.inner
964                .ready()
965                .await
966                .map_err(|e| {
967                    tonic::Status::unknown(
968                        format!("Service was not ready: {}", e.into()),
969                    )
970                })?;
971            let codec = tonic::codec::ProstCodec::default();
972            let path = http::uri::PathAndQuery::from_static(
973                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListAllOutgoingWebhooks",
974            );
975            let mut req = request.into_request();
976            req.extensions_mut()
977                .insert(
978                    GrpcMethod::new(
979                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
980                        "ListAllOutgoingWebhooks",
981                    ),
982                );
983            self.inner.unary(req, path, codec).await
984        }
985        pub async fn get_outgoing_webhook(
986            &mut self,
987            request: impl tonic::IntoRequest<super::GetOutgoingWebhookRequest>,
988        ) -> std::result::Result<
989            tonic::Response<super::GetOutgoingWebhookResponse>,
990            tonic::Status,
991        > {
992            self.inner
993                .ready()
994                .await
995                .map_err(|e| {
996                    tonic::Status::unknown(
997                        format!("Service was not ready: {}", e.into()),
998                    )
999                })?;
1000            let codec = tonic::codec::ProstCodec::default();
1001            let path = http::uri::PathAndQuery::from_static(
1002                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/GetOutgoingWebhook",
1003            );
1004            let mut req = request.into_request();
1005            req.extensions_mut()
1006                .insert(
1007                    GrpcMethod::new(
1008                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1009                        "GetOutgoingWebhook",
1010                    ),
1011                );
1012            self.inner.unary(req, path, codec).await
1013        }
1014        pub async fn create_outgoing_webhook(
1015            &mut self,
1016            request: impl tonic::IntoRequest<super::CreateOutgoingWebhookRequest>,
1017        ) -> std::result::Result<
1018            tonic::Response<super::CreateOutgoingWebhookResponse>,
1019            tonic::Status,
1020        > {
1021            self.inner
1022                .ready()
1023                .await
1024                .map_err(|e| {
1025                    tonic::Status::unknown(
1026                        format!("Service was not ready: {}", e.into()),
1027                    )
1028                })?;
1029            let codec = tonic::codec::ProstCodec::default();
1030            let path = http::uri::PathAndQuery::from_static(
1031                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/CreateOutgoingWebhook",
1032            );
1033            let mut req = request.into_request();
1034            req.extensions_mut()
1035                .insert(
1036                    GrpcMethod::new(
1037                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1038                        "CreateOutgoingWebhook",
1039                    ),
1040                );
1041            self.inner.unary(req, path, codec).await
1042        }
1043        pub async fn update_outgoing_webhook(
1044            &mut self,
1045            request: impl tonic::IntoRequest<super::UpdateOutgoingWebhookRequest>,
1046        ) -> std::result::Result<
1047            tonic::Response<super::UpdateOutgoingWebhookResponse>,
1048            tonic::Status,
1049        > {
1050            self.inner
1051                .ready()
1052                .await
1053                .map_err(|e| {
1054                    tonic::Status::unknown(
1055                        format!("Service was not ready: {}", e.into()),
1056                    )
1057                })?;
1058            let codec = tonic::codec::ProstCodec::default();
1059            let path = http::uri::PathAndQuery::from_static(
1060                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/UpdateOutgoingWebhook",
1061            );
1062            let mut req = request.into_request();
1063            req.extensions_mut()
1064                .insert(
1065                    GrpcMethod::new(
1066                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1067                        "UpdateOutgoingWebhook",
1068                    ),
1069                );
1070            self.inner.unary(req, path, codec).await
1071        }
1072        pub async fn delete_outgoing_webhook(
1073            &mut self,
1074            request: impl tonic::IntoRequest<super::DeleteOutgoingWebhookRequest>,
1075        ) -> std::result::Result<
1076            tonic::Response<super::DeleteOutgoingWebhookResponse>,
1077            tonic::Status,
1078        > {
1079            self.inner
1080                .ready()
1081                .await
1082                .map_err(|e| {
1083                    tonic::Status::unknown(
1084                        format!("Service was not ready: {}", e.into()),
1085                    )
1086                })?;
1087            let codec = tonic::codec::ProstCodec::default();
1088            let path = http::uri::PathAndQuery::from_static(
1089                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/DeleteOutgoingWebhook",
1090            );
1091            let mut req = request.into_request();
1092            req.extensions_mut()
1093                .insert(
1094                    GrpcMethod::new(
1095                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1096                        "DeleteOutgoingWebhook",
1097                    ),
1098                );
1099            self.inner.unary(req, path, codec).await
1100        }
1101        pub async fn test_outgoing_webhook(
1102            &mut self,
1103            request: impl tonic::IntoRequest<super::TestOutgoingWebhookRequest>,
1104        ) -> std::result::Result<
1105            tonic::Response<super::TestOutgoingWebhookResponse>,
1106            tonic::Status,
1107        > {
1108            self.inner
1109                .ready()
1110                .await
1111                .map_err(|e| {
1112                    tonic::Status::unknown(
1113                        format!("Service was not ready: {}", e.into()),
1114                    )
1115                })?;
1116            let codec = tonic::codec::ProstCodec::default();
1117            let path = http::uri::PathAndQuery::from_static(
1118                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/TestOutgoingWebhook",
1119            );
1120            let mut req = request.into_request();
1121            req.extensions_mut()
1122                .insert(
1123                    GrpcMethod::new(
1124                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1125                        "TestOutgoingWebhook",
1126                    ),
1127                );
1128            self.inner.unary(req, path, codec).await
1129        }
1130        pub async fn test_existing_outgoing_webhook(
1131            &mut self,
1132            request: impl tonic::IntoRequest<super::TestExistingOutgoingWebhookRequest>,
1133        ) -> std::result::Result<
1134            tonic::Response<super::TestOutgoingWebhookResponse>,
1135            tonic::Status,
1136        > {
1137            self.inner
1138                .ready()
1139                .await
1140                .map_err(|e| {
1141                    tonic::Status::unknown(
1142                        format!("Service was not ready: {}", e.into()),
1143                    )
1144                })?;
1145            let codec = tonic::codec::ProstCodec::default();
1146            let path = http::uri::PathAndQuery::from_static(
1147                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/TestExistingOutgoingWebhook",
1148            );
1149            let mut req = request.into_request();
1150            req.extensions_mut()
1151                .insert(
1152                    GrpcMethod::new(
1153                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1154                        "TestExistingOutgoingWebhook",
1155                    ),
1156                );
1157            self.inner.unary(req, path, codec).await
1158        }
1159        pub async fn list_ibm_event_notifications_instances(
1160            &mut self,
1161            request: impl tonic::IntoRequest<
1162                super::ListIbmEventNotificationsInstancesRequest,
1163            >,
1164        ) -> std::result::Result<
1165            tonic::Response<super::ListIbmEventNotificationsInstancesResponse>,
1166            tonic::Status,
1167        > {
1168            self.inner
1169                .ready()
1170                .await
1171                .map_err(|e| {
1172                    tonic::Status::unknown(
1173                        format!("Service was not ready: {}", e.into()),
1174                    )
1175                })?;
1176            let codec = tonic::codec::ProstCodec::default();
1177            let path = http::uri::PathAndQuery::from_static(
1178                "/com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService/ListIbmEventNotificationsInstances",
1179            );
1180            let mut req = request.into_request();
1181            req.extensions_mut()
1182                .insert(
1183                    GrpcMethod::new(
1184                        "com.coralogix.outgoing_webhooks.v1.OutgoingWebhooksService",
1185                        "ListIbmEventNotificationsInstances",
1186                    ),
1187                );
1188            self.inner.unary(req, path, codec).await
1189        }
1190    }
1191}