Skip to content

Commit

Permalink
Update list tunnels endpoint with new params
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh Bector authored and sssilver committed Jul 30, 2021
1 parent f54ea64 commit 9762491
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cloudflare/src/endpoints/argo_tunnel/list_tunnels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,13 @@ pub struct Params {
pub existed_at: Option<DateTime<Utc>>,
pub name_prefix: Option<String>,
pub was_inactive_at: Option<DateTime<Utc>>,
pub exclude_prefix: Option<String>,
#[serde(flatten)]
pub pagination_params: Option<PaginationParams>,
}

#[derive(Serialize, Clone, Debug)]
pub struct PaginationParams {
pub page: u64,
pub per_page: u64,
}

0 comments on commit 9762491

Please sign in to comment.