add organization member handler (#537)

This commit is contained in:
Michael Quigley
2024-12-09 14:32:43 -05:00
parent 6fb69c59d2
commit 37e945d603
12 changed files with 228 additions and 3 deletions

View File

@ -28,20 +28,46 @@ class OrganizationAddBody(object):
and the value is json key in definition.
"""
swagger_types = {
'token': 'str',
'email': 'str'
}
attribute_map = {
'token': 'token',
'email': 'email'
}
def __init__(self, email=None): # noqa: E501
def __init__(self, token=None, email=None): # noqa: E501
"""OrganizationAddBody - a model defined in Swagger""" # noqa: E501
self._token = None
self._email = None
self.discriminator = None
if token is not None:
self.token = token
if email is not None:
self.email = email
@property
def token(self):
"""Gets the token of this OrganizationAddBody. # noqa: E501
:return: The token of this OrganizationAddBody. # noqa: E501
:rtype: str
"""
return self._token
@token.setter
def token(self, token):
"""Sets the token of this OrganizationAddBody.
:param token: The token of this OrganizationAddBody. # noqa: E501
:type: str
"""
self._token = token
@property
def email(self):
"""Gets the email of this OrganizationAddBody. # noqa: E501