
    xh                     "     G d  de           ZdS )c                   V    e Zd ZdZddZed             Zej        d             Zd ZdS )GroupsToDisplayzdThe unsubscribe groups that you would like to be displayed on the
    unsubscribe preferences page..Nc                 *    d| _         |	|| _        dS dS )a@  Create a GroupsToDisplay object

        :param groups_to_display: An array containing the unsubscribe groups
                                  that you would like to be displayed on the
                                  unsubscribe preferences page.
        :type groups_to_display: array of integers, optional
        N)_groups_to_displaygroups_to_display)selfr   s     Z/var/www/html/what/lib/python3.11/site-packages/sendgrid/helpers/mail/groups_to_display.py__init__zGroupsToDisplay.__init__   s(     #'(%6D""" )(    c                     | j         S )zAn array containing the unsubscribe groups that you would like to be
        displayed on the unsubscribe preferences page.

        :rtype: array(int)
        )r   r   s    r   r   z!GroupsToDisplay.groups_to_display   s     &&r
   c                 \    |"t          |          dk    rt          d          || _        dS )a[  An array containing the unsubscribe groups that you would like to be
        displayed on the unsubscribe preferences page.

        :param value: An array containing the unsubscribe groups that you
                      would like to be displayed on the unsubscribe
                      preferences page.
        :type value: array(int)
        N   z/New groups_to_display exceeds max length of 25.)len
ValueErrorr   )r   values     r   r   z!GroupsToDisplay.groups_to_display   s5     UbNOOO"'r
   c                     | j         S )z
        Get a JSON-ready representation of this GroupsToDisplay.

        :returns: This GroupsToDisplay, ready for use in a request body.
        :rtype: array of integers
        )r   r   s    r   getzGroupsToDisplay.get)   s     %%r
   )N)	__name__
__module____qualname____doc__r	   propertyr   setterr    r
   r   r   r      s{        & &7 7 7 7 ' ' X' ( ( (& & & & &r
   r   N)objectr   r   r
   r   <module>r      s9   /& /& /& /& /&f /& /& /& /& /&r
   