summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:13:58 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 18:14:18 -0700
commit3085605aeed230ee003f4f406f5b76d6214db079 (patch)
tree8a2042a2a2b17039453f7058d02f2960238e0e42 /rust/fatcat-api-spec/src/models.rs
parent06fe237d766ea6fd7046ddf5107afb353a1aad78 (diff)
downloadfatcat-3085605aeed230ee003f4f406f5b76d6214db079.tar.gz
fatcat-3085605aeed230ee003f4f406f5b76d6214db079.zip
codegen size_bytes -> size
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 1d6b5088..ee0079f5 100644
--- a/rust/fatcat-api-spec/src/models.rs
+++ b/rust/fatcat-api-spec/src/models.rs
@@ -1197,9 +1197,9 @@ pub struct WebcaptureEntityCdx {
#[serde(skip_serializing_if = "Option::is_none")]
pub status_code: Option<i64>,
- #[serde(rename = "size_bytes")]
+ #[serde(rename = "size")]
#[serde(skip_serializing_if = "Option::is_none")]
- pub size_bytes: Option<i64>,
+ pub size: Option<i64>,
#[serde(rename = "sha1")]
pub sha1: String,
@@ -1217,7 +1217,7 @@ impl WebcaptureEntityCdx {
url: url,
mimetype: None,
status_code: None,
- size_bytes: None,
+ size: None,
sha1: sha1,
sha256: None,
}