summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/src/models.rs')
-rw-r--r--rust/fatcat-api-spec/src/models.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/fatcat-api-spec/src/models.rs b/rust/fatcat-api-spec/src/models.rs
index f4ac0e3e..bf989b84 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -840,9 +840,9 @@ pub struct ReleaseEntity {
#[serde(skip_serializing_if = "Option::is_none")]
pub withdrawn_date: Option<chrono::NaiveDate>,
- #[serde(rename = "withdrawn_state")]
+ #[serde(rename = "withdrawn_status")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub withdrawn_state: Option<String>,
+ pub withdrawn_status: Option<String>,
#[serde(rename = "release_year")]
#[serde(skip_serializing_if = "Option::is_none")]
@@ -958,7 +958,7 @@ impl ReleaseEntity {
doi: None,
withdrawn_year: None,
withdrawn_date: None,
- withdrawn_state: None,
+ withdrawn_status: None,
release_year: None,
release_date: None,
release_stage: None,