aboutsummaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client
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 /python_client/fatcat_client
parent06fe237d766ea6fd7046ddf5107afb353a1aad78 (diff)
downloadfatcat-3085605aeed230ee003f4f406f5b76d6214db079.tar.gz
fatcat-3085605aeed230ee003f4f406f5b76d6214db079.zip
codegen size_bytes -> size
Diffstat (limited to 'python_client/fatcat_client')
-rw-r--r--python_client/fatcat_client/models/webcapture_entity_cdx.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/python_client/fatcat_client/models/webcapture_entity_cdx.py b/python_client/fatcat_client/models/webcapture_entity_cdx.py
index 37ce0490..ea76134c 100644
--- a/python_client/fatcat_client/models/webcapture_entity_cdx.py
+++ b/python_client/fatcat_client/models/webcapture_entity_cdx.py
@@ -36,7 +36,7 @@ class WebcaptureEntityCdx(object):
'url': 'str',
'mimetype': 'str',
'status_code': 'int',
- 'size_bytes': 'int',
+ 'size': 'int',
'sha1': 'str',
'sha256': 'str'
}
@@ -47,12 +47,12 @@ class WebcaptureEntityCdx(object):
'url': 'url',
'mimetype': 'mimetype',
'status_code': 'status_code',
- 'size_bytes': 'size_bytes',
+ 'size': 'size',
'sha1': 'sha1',
'sha256': 'sha256'
}
- def __init__(self, surt=None, timestamp=None, url=None, mimetype=None, status_code=None, size_bytes=None, sha1=None, sha256=None): # noqa: E501
+ def __init__(self, surt=None, timestamp=None, url=None, mimetype=None, status_code=None, size=None, sha1=None, sha256=None): # noqa: E501
"""WebcaptureEntityCdx - a model defined in Swagger""" # noqa: E501
self._surt = None
@@ -60,7 +60,7 @@ class WebcaptureEntityCdx(object):
self._url = None
self._mimetype = None
self._status_code = None
- self._size_bytes = None
+ self._size = None
self._sha1 = None
self._sha256 = None
self.discriminator = None
@@ -72,8 +72,8 @@ class WebcaptureEntityCdx(object):
self.mimetype = mimetype
if status_code is not None:
self.status_code = status_code
- if size_bytes is not None:
- self.size_bytes = size_bytes
+ if size is not None:
+ self.size = size
self.sha1 = sha1
if sha256 is not None:
self.sha256 = sha256
@@ -192,25 +192,25 @@ class WebcaptureEntityCdx(object):
self._status_code = status_code
@property
- def size_bytes(self):
- """Gets the size_bytes of this WebcaptureEntityCdx. # noqa: E501
+ def size(self):
+ """Gets the size of this WebcaptureEntityCdx. # noqa: E501
- :return: The size_bytes of this WebcaptureEntityCdx. # noqa: E501
+ :return: The size of this WebcaptureEntityCdx. # noqa: E501
:rtype: int
"""
- return self._size_bytes
+ return self._size
- @size_bytes.setter
- def size_bytes(self, size_bytes):
- """Sets the size_bytes of this WebcaptureEntityCdx.
+ @size.setter
+ def size(self, size):
+ """Sets the size of this WebcaptureEntityCdx.
- :param size_bytes: The size_bytes of this WebcaptureEntityCdx. # noqa: E501
+ :param size: The size of this WebcaptureEntityCdx. # noqa: E501
:type: int
"""
- self._size_bytes = size_bytes
+ self._size = size
@property
def sha1(self):