summaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/file_entity.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:41:02 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-25 14:41:02 -0700
commit829765848a57190a7bb7fd4ff985f49d61055e97 (patch)
tree43c226712abaa8089324e25142f5e6448c634bda /python/fatcat_client/models/file_entity.py
parent828deb42b6dbdb2d11527e073d96bde26d8fb979 (diff)
downloadfatcat-829765848a57190a7bb7fd4ff985f49d61055e97.tar.gz
fatcat-829765848a57190a7bb7fd4ff985f49d61055e97.zip
update python codegen library
Diffstat (limited to 'python/fatcat_client/models/file_entity.py')
-rw-r--r--python/fatcat_client/models/file_entity.py36
1 files changed, 19 insertions, 17 deletions
diff --git a/python/fatcat_client/models/file_entity.py b/python/fatcat_client/models/file_entity.py
index 41884248..f6f315c1 100644
--- a/python/fatcat_client/models/file_entity.py
+++ b/python/fatcat_client/models/file_entity.py
@@ -16,6 +16,8 @@ import re # noqa: F401
import six
+from fatcat_client.models.file_entity_urls import FileEntityUrls # noqa: F401,E501
+
class FileEntity(object):
"""NOTE: This class is auto generated by the swagger code generator program.
@@ -33,7 +35,7 @@ class FileEntity(object):
swagger_types = {
'releases': 'list[str]',
'mimetype': 'str',
- 'url': 'str',
+ 'urls': 'list[FileEntityUrls]',
'sha256': 'str',
'md5': 'str',
'sha1': 'str',
@@ -49,7 +51,7 @@ class FileEntity(object):
attribute_map = {
'releases': 'releases',
'mimetype': 'mimetype',
- 'url': 'url',
+ 'urls': 'urls',
'sha256': 'sha256',
'md5': 'md5',
'sha1': 'sha1',
@@ -62,12 +64,12 @@ class FileEntity(object):
'state': 'state'
}
- def __init__(self, releases=None, mimetype=None, url=None, sha256=None, md5=None, sha1=None, size=None, extra=None, editgroup_id=None, redirect=None, revision=None, ident=None, state=None): # noqa: E501
+ def __init__(self, releases=None, mimetype=None, urls=None, sha256=None, md5=None, sha1=None, size=None, extra=None, editgroup_id=None, redirect=None, revision=None, ident=None, state=None): # noqa: E501
"""FileEntity - a model defined in Swagger""" # noqa: E501
self._releases = None
self._mimetype = None
- self._url = None
+ self._urls = None
self._sha256 = None
self._md5 = None
self._sha1 = None
@@ -84,8 +86,8 @@ class FileEntity(object):
self.releases = releases
if mimetype is not None:
self.mimetype = mimetype
- if url is not None:
- self.url = url
+ if urls is not None:
+ self.urls = urls
if sha256 is not None:
self.sha256 = sha256
if md5 is not None:
@@ -150,25 +152,25 @@ class FileEntity(object):
self._mimetype = mimetype
@property
- def url(self):
- """Gets the url of this FileEntity. # noqa: E501
+ def urls(self):
+ """Gets the urls of this FileEntity. # noqa: E501
- :return: The url of this FileEntity. # noqa: E501
- :rtype: str
+ :return: The urls of this FileEntity. # noqa: E501
+ :rtype: list[FileEntityUrls]
"""
- return self._url
+ return self._urls
- @url.setter
- def url(self, url):
- """Sets the url of this FileEntity.
+ @urls.setter
+ def urls(self, urls):
+ """Sets the urls of this FileEntity.
- :param url: The url of this FileEntity. # noqa: E501
- :type: str
+ :param urls: The urls of this FileEntity. # noqa: E501
+ :type: list[FileEntityUrls]
"""
- self._url = url
+ self._urls = urls
@property
def sha256(self):