remove organization member handler (#537)

This commit is contained in:
Michael Quigley
2024-12-09 14:38:30 -05:00
parent 37e945d603
commit 0e30407bbd
11 changed files with 200 additions and 7 deletions

View File

@ -28,7 +28,7 @@ class InlineResponse2001(object):
and the value is json key in definition.
"""
swagger_types = {
'members': 'list[OrganizationRemoveBody]'
'members': 'list[GrantsBody]'
}
attribute_map = {
@ -48,7 +48,7 @@ class InlineResponse2001(object):
:return: The members of this InlineResponse2001. # noqa: E501
:rtype: list[OrganizationRemoveBody]
:rtype: list[GrantsBody]
"""
return self._members
@ -58,7 +58,7 @@ class InlineResponse2001(object):
:param members: The members of this InlineResponse2001. # noqa: E501
:type: list[OrganizationRemoveBody]
:type: list[GrantsBody]
"""
self._members = members

View File

@ -28,20 +28,46 @@ class OrganizationRemoveBody(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
"""OrganizationRemoveBody - 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 OrganizationRemoveBody. # noqa: E501
:return: The token of this OrganizationRemoveBody. # noqa: E501
:rtype: str
"""
return self._token
@token.setter
def token(self, token):
"""Sets the token of this OrganizationRemoveBody.
:param token: The token of this OrganizationRemoveBody. # noqa: E501
:type: str
"""
self._token = token
@property
def email(self):
"""Gets the email of this OrganizationRemoveBody. # noqa: E501