swagger_server.models.invitation module

class swagger_server.models.invitation.Invitation(id: str = None, invitor_id: str = None, first_name: str = None, last_name: str = None, email: str = None, organisation_id: int = None, expires_at: datetime.datetime = None, created_at: datetime.datetime = None, updated_at: datetime.datetime = None)[source]

Bases: swagger_server.models.base_model_.Model

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

created_at

Gets the created_at of this Invitation.

Returns:The created_at of this Invitation.
Return type:datetime
email

Gets the email of this Invitation.

Returns:The email of this Invitation.
Return type:str
expires_at

Gets the expires_at of this Invitation.

Returns:The expires_at of this Invitation.
Return type:datetime
first_name

Gets the first_name of this Invitation.

Returns:The first_name of this Invitation.
Return type:str
classmethod from_dict(dikt) → swagger_server.models.invitation.Invitation[source]

Returns the dict as a model

Parameters:dikt – A dict.
Type:dict
Returns:The invitation of this Invitation. # noqa: E501
Return type:Invitation
id

Gets the id of this Invitation.

Returns:The id of this Invitation.
Return type:str
invitor_id

Gets the invitor_id of this Invitation.

The user that created the invitation # noqa: E501

Returns:The invitor_id of this Invitation.
Return type:str
last_name

Gets the last_name of this Invitation.

Returns:The last_name of this Invitation.
Return type:str
organisation_id

Gets the organisation_id of this Invitation.

Returns:The organisation_id of this Invitation.
Return type:int
updated_at

Gets the updated_at of this Invitation.

Returns:The updated_at of this Invitation.
Return type:datetime