27 lines
771 B
Rust
27 lines
771 B
Rust
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct BigFishWorkSummaryResponse {
|
|
pub work_id: String,
|
|
pub source_session_id: String,
|
|
pub title: String,
|
|
pub subtitle: String,
|
|
pub summary: String,
|
|
#[serde(default)]
|
|
pub cover_image_src: Option<String>,
|
|
pub status: String,
|
|
pub updated_at: String,
|
|
pub publish_ready: bool,
|
|
pub level_count: u32,
|
|
pub level_main_image_ready_count: u32,
|
|
pub level_motion_ready_count: u32,
|
|
pub background_ready: bool,
|
|
}
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct BigFishWorksResponse {
|
|
pub items: Vec<BigFishWorkSummaryResponse>,
|
|
}
|