fn query_params()

in client/src/client/pull_logs.rs [277:292]


    fn query_params(&self) -> Option<Vec<(String, String)>> {
        let mut params = Vec::new();
        params.push(("type".to_string(), "logs".to_string()));
        params.push(("cursor".to_string(), self.cursor.clone()));
        params.push(("count".to_string(), self.count.to_string()));
        if let Some(end_cursor) = &self.end_cursor {
            params.push(("endCursor".to_string(), end_cursor.clone()));
        }
        if let Some(query) = &self.query {
            params.push(("query".to_string(), query.clone()));
        }
        if let Some(query_id) = &self.query_id {
            params.push(("queryId".to_string(), query_id.clone()));
        }
        Some(params)
    }