aboutsummaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client/models/webcapture_entity_cdx.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_client/fatcat_client/models/webcapture_entity_cdx.py')
-rw-r--r--python_client/fatcat_client/models/webcapture_entity_cdx.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/python_client/fatcat_client/models/webcapture_entity_cdx.py b/python_client/fatcat_client/models/webcapture_entity_cdx.py
index a34ea2f1..082c1b96 100644
--- a/python_client/fatcat_client/models/webcapture_entity_cdx.py
+++ b/python_client/fatcat_client/models/webcapture_entity_cdx.py
@@ -32,7 +32,7 @@ class WebcaptureEntityCdx(object):
"""
swagger_types = {
'surt': 'str',
- 'timestamp': 'str',
+ 'timestamp': 'datetime',
'url': 'str',
'mimetype': 'str',
'status_code': 'int',
@@ -100,9 +100,10 @@ class WebcaptureEntityCdx(object):
def timestamp(self):
"""Gets the timestamp of this WebcaptureEntityCdx. # noqa: E501
+ UTC, 'Z'-terminated, second (or better) precision # noqa: E501
:return: The timestamp of this WebcaptureEntityCdx. # noqa: E501
- :rtype: str
+ :rtype: datetime
"""
return self._timestamp
@@ -110,9 +111,10 @@ class WebcaptureEntityCdx(object):
def timestamp(self, timestamp):
"""Sets the timestamp of this WebcaptureEntityCdx.
+ UTC, 'Z'-terminated, second (or better) precision # noqa: E501
:param timestamp: The timestamp of this WebcaptureEntityCdx. # noqa: E501
- :type: str
+ :type: datetime
"""
if timestamp is None:
raise ValueError("Invalid value for `timestamp`, must not be `None`") # noqa: E501