"""APIToken - a model defined in Swagger"""# noqa: E501
self._id=None
self._created=None
self._expired=None
self._user_id=None
self.discriminator=None
ifidisnotNone:
self.id=id
ifcreatedisnotNone:
...
...
@@ -101,8 +97,6 @@ class APIToken(object):
:param created: The created of this APIToken. # noqa: E501
:type: str
"""
# if created is not None and not re.search(r'^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$', created): # noqa: E501
# raise ValueError(r"Invalid value for `created`, must be a follow pattern or equal to `/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$/`") # noqa: E501
self._created=created
...
...
@@ -145,8 +139,6 @@ class APIToken(object):
:param user_id: The user_id of this APIToken. # noqa: E501
:type: int
"""
ifuser_idisnotNoneanduser_id<1:# noqa: E501
raiseValueError("Invalid value for `user_id`, must be a value greater than or equal to `1`")# noqa: E501
"""Project - a model defined in Swagger"""# noqa: E501
self._id=None
self._name=None
self._created=None
self._alert=None
self.discriminator=None
ifidisnotNone:
self.id=id
ifnameisnotNone:
...
...
@@ -80,8 +76,6 @@ class Project(object):
:param id: The id of this Project. # noqa: E501
:type: int
"""
ifidisnotNoneandid<1:# noqa: E501
raiseValueError("Invalid value for `id`, must be a value greater than or equal to `1`")# noqa: E501
self._id=id
...
...
@@ -124,8 +118,6 @@ class Project(object):
:param created: The created of this Project. # noqa: E501
:type: str
"""
# if created is not None and not re.search(r'^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$', created): # noqa: E501
# raise ValueError(r"Invalid value for `created`, must be a follow pattern or equal to `/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$/`") # noqa: E501
"""User - a model defined in Swagger"""# noqa: E501
self._id=None
self._name=None
self._username=None
...
...
@@ -61,7 +58,6 @@ class User(object):
self._alert=None
self._admin=None
self.discriminator=None
ifidisnotNone:
self.id=id
ifnameisnotNone:
...
...
@@ -95,8 +91,6 @@ class User(object):
:param id: The id of this User. # noqa: E501
:type: int
"""
ifidisnotNoneandid<1:# noqa: E501
raiseValueError("Invalid value for `id`, must be a value greater than or equal to `1`")# noqa: E501
self._id=id
...
...
@@ -181,8 +175,6 @@ class User(object):
:param created: The created of this User. # noqa: E501
:type: str
"""
# if created is not None and not re.search(r'^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$', created): # noqa: E501
# raise ValueError(r"Invalid value for `created`, must be a follow pattern or equal to `/^\\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\\d{2}:\\d{2}:\\d{2}Z$/`") # noqa: E501