From 9762491814dbb7cc8b293eff8eaf771683e5e30e Mon Sep 17 00:00:00 2001 From: Rishabh Bector Date: Fri, 30 Jul 2021 13:39:42 -0500 Subject: [PATCH] Update list tunnels endpoint with new params --- cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs b/cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs index aa253b60..5334a754 100644 --- a/cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs +++ b/cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs @@ -34,4 +34,13 @@ pub struct Params { pub existed_at: Option>, pub name_prefix: Option, pub was_inactive_at: Option>, + pub exclude_prefix: Option, + #[serde(flatten)] + pub pagination_params: Option, +} + +#[derive(Serialize, Clone, Debug)] +pub struct PaginationParams { + pub page: u64, + pub per_page: u64, }