summaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client/models/webcapture_entity.py
diff options
context:
space:
mode:
Diffstat (limited to 'python_client/fatcat_client/models/webcapture_entity.py')
-rw-r--r--python_client/fatcat_client/models/webcapture_entity.py31
1 files changed, 30 insertions, 1 deletions
diff --git a/python_client/fatcat_client/models/webcapture_entity.py b/python_client/fatcat_client/models/webcapture_entity.py
index 03c0e595..9ff8fd28 100644
--- a/python_client/fatcat_client/models/webcapture_entity.py
+++ b/python_client/fatcat_client/models/webcapture_entity.py
@@ -16,6 +16,7 @@ import re # noqa: F401
import six
+from fatcat_client.models.release_entity import ReleaseEntity # noqa: F401,E501
from fatcat_client.models.webcapture_cdx_line import WebcaptureCdxLine # noqa: F401,E501
from fatcat_client.models.webcapture_url import WebcaptureUrl # noqa: F401,E501
@@ -34,6 +35,7 @@ class WebcaptureEntity(object):
and the value is json key in definition.
"""
swagger_types = {
+ 'releases': 'list[ReleaseEntity]',
'release_ids': 'list[str]',
'timestamp': 'datetime',
'original_url': 'str',
@@ -48,6 +50,7 @@ class WebcaptureEntity(object):
}
attribute_map = {
+ 'releases': 'releases',
'release_ids': 'release_ids',
'timestamp': 'timestamp',
'original_url': 'original_url',
@@ -61,9 +64,10 @@ class WebcaptureEntity(object):
'state': 'state'
}
- def __init__(self, release_ids=None, timestamp=None, original_url=None, archive_urls=None, cdx=None, edit_extra=None, extra=None, redirect=None, revision=None, ident=None, state=None): # noqa: E501
+ def __init__(self, releases=None, release_ids=None, timestamp=None, original_url=None, archive_urls=None, cdx=None, edit_extra=None, extra=None, redirect=None, revision=None, ident=None, state=None): # noqa: E501
"""WebcaptureEntity - a model defined in Swagger""" # noqa: E501
+ self._releases = None
self._release_ids = None
self._timestamp = None
self._original_url = None
@@ -77,6 +81,8 @@ class WebcaptureEntity(object):
self._state = None
self.discriminator = None
+ if releases is not None:
+ self.releases = releases
if release_ids is not None:
self.release_ids = release_ids
if timestamp is not None:
@@ -101,6 +107,29 @@ class WebcaptureEntity(object):
self.state = state
@property
+ def releases(self):
+ """Gets the releases of this WebcaptureEntity. # noqa: E501
+
+ Optional; GET-only # noqa: E501
+
+ :return: The releases of this WebcaptureEntity. # noqa: E501
+ :rtype: list[ReleaseEntity]
+ """
+ return self._releases
+
+ @releases.setter
+ def releases(self, releases):
+ """Sets the releases of this WebcaptureEntity.
+
+ Optional; GET-only # noqa: E501
+
+ :param releases: The releases of this WebcaptureEntity. # noqa: E501
+ :type: list[ReleaseEntity]
+ """
+
+ self._releases = releases
+
+ @property
def release_ids(self):
"""Gets the release_ids of this WebcaptureEntity. # noqa: E501