Files
onspring-api-sdk-rust/src/models/app.rs
T
Stevan Freeborn fe883a9dd2 feat: add apps endpoint with list, get, and batch-get methods
Implement App model and three endpoint methods: list_apps (paginated),
get_app (by ID), and batch_get_apps (up to 100 by IDs). Add
comprehensive tests for success, pagination, not-found, and batch
scenarios.
2026-03-25 13:37:55 -05:00

11 lines
233 B
Rust

use serde::Deserialize;
/// Represents an Onspring application.
#[derive(Debug, Clone, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct App {
pub href: Option<String>,
pub id: i32,
pub name: Option<String>,
}