B
     ²ô`S
  ã               @   sD   d Z ddlmZmZmZmZ ddlT ddlmZ G dd„ de	ƒZ
dS )a^  Webex Teams Team-Membership data model.

Copyright (c) 2016-2020 Cisco and/or its affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
é    )Úabsolute_importÚdivisionÚprint_functionÚunicode_literals)Ú*)ÚWebexTeamsDateTimec               @   sp   e Zd ZdZedd„ ƒZedd„ ƒZedd„ ƒZedd	„ ƒZed
d„ ƒZ	edd„ ƒZ
edd„ ƒZedd„ ƒZdS )Ú"TeamMembershipBasicPropertiesMixinz!Team Membership basic properties.c             C   s   | j  d¡S )z,A unique identifier for the team membership.Úid)Ú
_json_dataÚget)Úself© r   úZ/home/dcms/DCMS/lib/python3.7/site-packages/webexteamssdk/models/mixins/team_membership.pyr	   )   s    z%TeamMembershipBasicPropertiesMixin.idc             C   s   | j  d¡S )zThe team ID.ÚteamId)r
   r   )r   r   r   r   r   .   s    z)TeamMembershipBasicPropertiesMixin.teamIdc             C   s   | j  d¡S )zThe person ID.ÚpersonId)r
   r   )r   r   r   r   r   3   s    z+TeamMembershipBasicPropertiesMixin.personIdc             C   s   | j  d¡S )z The email address of the person.ÚpersonEmail)r
   r   )r   r   r   r   r   8   s    z.TeamMembershipBasicPropertiesMixin.personEmailc             C   s   | j  d¡S )zThe display name of the person.ÚpersonDisplayName)r
   r   )r   r   r   r   r   =   s    z4TeamMembershipBasicPropertiesMixin.personDisplayNamec             C   s   | j  d¡S )z"The organization ID of the person.ÚpersonOrgId)r
   r   )r   r   r   r   r   B   s    z.TeamMembershipBasicPropertiesMixin.personOrgIdc             C   s   | j  d¡S )z3Whether or not the participant is a team moderator.ÚisModerator)r
   r   )r   r   r   r   r   G   s    z.TeamMembershipBasicPropertiesMixin.isModeratorc             C   s"   | j  d¡}|rt |¡S dS dS )z7The date and time when the team membership was created.ÚcreatedN)r
   r   r   Ústrptime)r   r   r   r   r   r   L   s    
z*TeamMembershipBasicPropertiesMixin.createdN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr	   r   r   r   r   r   r   r   r   r   r   r   r   &   s   r   N)r   Ú
__future__r   r   r   r   ÚbuiltinsZwebexteamssdk.utilsr   Úobjectr   r   r   r   r   Ú<module>   s   