diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 17:29:27 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-18 17:29:27 -0800 |
commit | 922bb704e95f477fa502fd85411f51841b0baaee (patch) | |
tree | db81ca941d10367756a0e1471b8a30bbe162b28f /python_client/fatcat_client/models/webcapture_entity_cdx.py | |
parent | 4eab53da4b89d0ef4d90140f9429a3bdfcc7761e (diff) | |
download | fatcat-922bb704e95f477fa502fd85411f51841b0baaee.tar.gz fatcat-922bb704e95f477fa502fd85411f51841b0baaee.zip |
python codegen
Diffstat (limited to 'python_client/fatcat_client/models/webcapture_entity_cdx.py')
-rw-r--r-- | python_client/fatcat_client/models/webcapture_entity_cdx.py | 8 |
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 |