39 lines
1.1 KiB
Rust
39 lines
1.1 KiB
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 owner_user_id: String,
|
|
pub author_display_name: 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,
|
|
#[serde(default)]
|
|
pub published_at: Option<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,
|
|
#[serde(default)]
|
|
pub play_count: u32,
|
|
#[serde(default)]
|
|
pub remix_count: u32,
|
|
#[serde(default)]
|
|
pub like_count: u32,
|
|
#[serde(default)]
|
|
pub recent_play_count_7d: u32,
|
|
}
|
|
|
|
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct BigFishWorksResponse {
|
|
pub items: Vec<BigFishWorkSummaryResponse>,
|
|
}
|