use super::*;
#[derive(Debug, Serialize, Copy, Clone)]
pub struct GetWebhookVerificationKeyRequest<T: AsRef<str>> {
pub key_id: T,
}
impl<T: AsRef<str> + HttpSerialize> Endpoint for GetWebhookVerificationKeyRequest<T> {
type Response = GetWebhookVerificationKeyResponse;
fn path(&self) -> String {
"/webhook_verification_key/get".into()
}
}
#[derive(Debug, Deserialize, Serialize)]
pub struct GetWebhookVerificationKeyResponse {
pub key: std::collections::HashMap<String, String>,
pub request_id: String,
}