From 0e1ddd94f7f210391dfc34ddcc370d63ef497c16 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 13 Sep 2019 11:29:00 -0700 Subject: re-codegen python code --- .../models/webcapture_cdx_line.py | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py') diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py index 623607ba..0b2bb818 100644 --- a/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py +++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py @@ -3,10 +3,10 @@ """ fatcat - A scalable, versioned, API-oriented catalog of bibliographic entities and file metadata # noqa: E501 + Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 OpenAPI spec version: 0.3.0 - + Contact: webservices@archive.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -82,6 +82,7 @@ class WebcaptureCdxLine(object): def surt(self): """Gets the surt of this WebcaptureCdxLine. # noqa: E501 + \"Sortable URL\" format. See guide for details. # noqa: E501 :return: The surt of this WebcaptureCdxLine. # noqa: E501 :rtype: str @@ -92,6 +93,7 @@ class WebcaptureCdxLine(object): def surt(self, surt): """Sets the surt of this WebcaptureCdxLine. + \"Sortable URL\" format. See guide for details. # noqa: E501 :param surt: The surt of this WebcaptureCdxLine. # noqa: E501 :type: str @@ -105,7 +107,7 @@ class WebcaptureCdxLine(object): def timestamp(self): """Gets the timestamp of this WebcaptureCdxLine. # noqa: E501 - UTC, 'Z'-terminated, second (or better) precision # noqa: E501 + Date and time of capture, in ISO format. UTC, 'Z'-terminated, second (or better) precision. # noqa: E501 :return: The timestamp of this WebcaptureCdxLine. # noqa: E501 :rtype: datetime @@ -116,7 +118,7 @@ class WebcaptureCdxLine(object): def timestamp(self, timestamp): """Sets the timestamp of this WebcaptureCdxLine. - UTC, 'Z'-terminated, second (or better) precision # noqa: E501 + Date and time of capture, in ISO format. UTC, 'Z'-terminated, second (or better) precision. # noqa: E501 :param timestamp: The timestamp of this WebcaptureCdxLine. # noqa: E501 :type: datetime @@ -130,6 +132,7 @@ class WebcaptureCdxLine(object): def url(self): """Gets the url of this WebcaptureCdxLine. # noqa: E501 + Full URL/URI of resource captured. # noqa: E501 :return: The url of this WebcaptureCdxLine. # noqa: E501 :rtype: str @@ -140,6 +143,7 @@ class WebcaptureCdxLine(object): def url(self, url): """Sets the url of this WebcaptureCdxLine. + Full URL/URI of resource captured. # noqa: E501 :param url: The url of this WebcaptureCdxLine. # noqa: E501 :type: str @@ -153,6 +157,7 @@ class WebcaptureCdxLine(object): def mimetype(self): """Gets the mimetype of this WebcaptureCdxLine. # noqa: E501 + Mimetype of the resource at this URL. May be the Content-Type header, or the actually sniffed file type. # noqa: E501 :return: The mimetype of this WebcaptureCdxLine. # noqa: E501 :rtype: str @@ -163,6 +168,7 @@ class WebcaptureCdxLine(object): def mimetype(self, mimetype): """Sets the mimetype of this WebcaptureCdxLine. + Mimetype of the resource at this URL. May be the Content-Type header, or the actually sniffed file type. # noqa: E501 :param mimetype: The mimetype of this WebcaptureCdxLine. # noqa: E501 :type: str @@ -174,6 +180,7 @@ class WebcaptureCdxLine(object): def status_code(self): """Gets the status_code of this WebcaptureCdxLine. # noqa: E501 + HTTP status code. Should generally be 200, especially for the primary resource, but may be 3xx (redirect) or even error codes if embedded resources can not be fetched successfully. # noqa: E501 :return: The status_code of this WebcaptureCdxLine. # noqa: E501 :rtype: int @@ -184,6 +191,7 @@ class WebcaptureCdxLine(object): def status_code(self, status_code): """Sets the status_code of this WebcaptureCdxLine. + HTTP status code. Should generally be 200, especially for the primary resource, but may be 3xx (redirect) or even error codes if embedded resources can not be fetched successfully. # noqa: E501 :param status_code: The status_code of this WebcaptureCdxLine. # noqa: E501 :type: int @@ -195,6 +203,7 @@ class WebcaptureCdxLine(object): def size(self): """Gets the size of this WebcaptureCdxLine. # noqa: E501 + Resource (file) size in bytes # noqa: E501 :return: The size of this WebcaptureCdxLine. # noqa: E501 :rtype: int @@ -205,6 +214,7 @@ class WebcaptureCdxLine(object): def size(self, size): """Sets the size of this WebcaptureCdxLine. + Resource (file) size in bytes # noqa: E501 :param size: The size of this WebcaptureCdxLine. # noqa: E501 :type: int @@ -216,6 +226,7 @@ class WebcaptureCdxLine(object): def sha1(self): """Gets the sha1 of this WebcaptureCdxLine. # noqa: E501 + SHA-1 hash of data, in hex encoding # noqa: E501 :return: The sha1 of this WebcaptureCdxLine. # noqa: E501 :rtype: str @@ -226,6 +237,7 @@ class WebcaptureCdxLine(object): def sha1(self, sha1): """Sets the sha1 of this WebcaptureCdxLine. + SHA-1 hash of data, in hex encoding # noqa: E501 :param sha1: The sha1 of this WebcaptureCdxLine. # noqa: E501 :type: str @@ -245,6 +257,7 @@ class WebcaptureCdxLine(object): def sha256(self): """Gets the sha256 of this WebcaptureCdxLine. # noqa: E501 + SHA-256 hash of data, in hex encoding # noqa: E501 :return: The sha256 of this WebcaptureCdxLine. # noqa: E501 :rtype: str @@ -255,6 +268,7 @@ class WebcaptureCdxLine(object): def sha256(self, sha256): """Sets the sha256 of this WebcaptureCdxLine. + SHA-256 hash of data, in hex encoding # noqa: E501 :param sha256: The sha256 of this WebcaptureCdxLine. # noqa: E501 :type: str -- cgit v1.2.3