summaryrefslogtreecommitdiffstats
path: root/python/fatcat_client/models/release_entity.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_client/models/release_entity.py')
-rw-r--r--python/fatcat_client/models/release_entity.py64
1 files changed, 28 insertions, 36 deletions
diff --git a/python/fatcat_client/models/release_entity.py b/python/fatcat_client/models/release_entity.py
index 79e2c64f..a35ced5e 100644
--- a/python/fatcat_client/models/release_entity.py
+++ b/python/fatcat_client/models/release_entity.py
@@ -63,8 +63,8 @@ class ReleaseEntity(object):
'ident': 'str',
'revision': 'str',
'redirect': 'str',
- 'editgroup_id': 'str',
- 'extra': 'object'
+ 'extra': 'object',
+ 'edit_extra': 'object'
}
attribute_map = {
@@ -94,11 +94,11 @@ class ReleaseEntity(object):
'ident': 'ident',
'revision': 'revision',
'redirect': 'redirect',
- 'editgroup_id': 'editgroup_id',
- 'extra': 'extra'
+ 'extra': 'extra',
+ 'edit_extra': 'edit_extra'
}
- def __init__(self, abstracts=None, refs=None, contribs=None, language=None, publisher=None, pages=None, issue=None, volume=None, wikidata_qid=None, pmcid=None, pmid=None, core_id=None, isbn13=None, doi=None, release_date=None, release_status=None, release_type=None, container_id=None, files=None, container=None, work_id=None, title=None, state=None, ident=None, revision=None, redirect=None, editgroup_id=None, extra=None): # noqa: E501
+ def __init__(self, abstracts=None, refs=None, contribs=None, language=None, publisher=None, pages=None, issue=None, volume=None, wikidata_qid=None, pmcid=None, pmid=None, core_id=None, isbn13=None, doi=None, release_date=None, release_status=None, release_type=None, container_id=None, files=None, container=None, work_id=None, title=None, state=None, ident=None, revision=None, redirect=None, extra=None, edit_extra=None): # noqa: E501
"""ReleaseEntity - a model defined in Swagger""" # noqa: E501
self._abstracts = None
@@ -127,8 +127,8 @@ class ReleaseEntity(object):
self._ident = None
self._revision = None
self._redirect = None
- self._editgroup_id = None
self._extra = None
+ self._edit_extra = None
self.discriminator = None
if abstracts is not None:
@@ -182,10 +182,10 @@ class ReleaseEntity(object):
self.revision = revision
if redirect is not None:
self.redirect = redirect
- if editgroup_id is not None:
- self.editgroup_id = editgroup_id
if extra is not None:
self.extra = extra
+ if edit_extra is not None:
+ self.edit_extra = edit_extra
@property
def abstracts(self):
@@ -772,54 +772,46 @@ class ReleaseEntity(object):
self._redirect = redirect
@property
- def editgroup_id(self):
- """Gets the editgroup_id of this ReleaseEntity. # noqa: E501
+ def extra(self):
+ """Gets the extra of this ReleaseEntity. # noqa: E501
- base32-encoded unique identifier # noqa: E501
- :return: The editgroup_id of this ReleaseEntity. # noqa: E501
- :rtype: str
+ :return: The extra of this ReleaseEntity. # noqa: E501
+ :rtype: object
"""
- return self._editgroup_id
+ return self._extra
- @editgroup_id.setter
- def editgroup_id(self, editgroup_id):
- """Sets the editgroup_id of this ReleaseEntity.
+ @extra.setter
+ def extra(self, extra):
+ """Sets the extra of this ReleaseEntity.
- base32-encoded unique identifier # noqa: E501
- :param editgroup_id: The editgroup_id of this ReleaseEntity. # noqa: E501
- :type: str
+ :param extra: The extra of this ReleaseEntity. # noqa: E501
+ :type: object
"""
- if editgroup_id is not None and len(editgroup_id) > 26:
- raise ValueError("Invalid value for `editgroup_id`, length must be less than or equal to `26`") # noqa: E501
- if editgroup_id is not None and len(editgroup_id) < 26:
- raise ValueError("Invalid value for `editgroup_id`, length must be greater than or equal to `26`") # noqa: E501
- if editgroup_id is not None and not re.search('[a-zA-Z2-7]{26}', editgroup_id): # noqa: E501
- raise ValueError("Invalid value for `editgroup_id`, must be a follow pattern or equal to `/[a-zA-Z2-7]{26}/`") # noqa: E501
- self._editgroup_id = editgroup_id
+ self._extra = extra
@property
- def extra(self):
- """Gets the extra of this ReleaseEntity. # noqa: E501
+ def edit_extra(self):
+ """Gets the edit_extra of this ReleaseEntity. # noqa: E501
- :return: The extra of this ReleaseEntity. # noqa: E501
+ :return: The edit_extra of this ReleaseEntity. # noqa: E501
:rtype: object
"""
- return self._extra
+ return self._edit_extra
- @extra.setter
- def extra(self, extra):
- """Sets the extra of this ReleaseEntity.
+ @edit_extra.setter
+ def edit_extra(self, edit_extra):
+ """Sets the edit_extra of this ReleaseEntity.
- :param extra: The extra of this ReleaseEntity. # noqa: E501
+ :param edit_extra: The edit_extra of this ReleaseEntity. # noqa: E501
:type: object
"""
- self._extra = extra
+ self._edit_extra = edit_extra
def to_dict(self):
"""Returns the model properties as a dict"""