
    ~i4                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )a  
    livesaas20230801

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                   8   e Zd ZdZ	 ddddddddddddddZdddd	d
dddddddddZd4dZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d              Zed!             Zej	        d"             Zed#             Zej	        d$             Zed%             Zej	        d&             Zed'             Zej	        d(             Zed)             Zej	        d*             Zed+             Zej	        d,             Zed-             Zej	        d.             Zd/ Zd0 Zd1 Zd2 Zd3 ZdS )5UpdateActivityCouponRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intboolz	list[int])activity_idallow_close_iconauto_send_timecount	coupon_idcut_off_timedurationidis_viewer_level_limitis_watch_live_limitrulesend_coupon_typeviewer_level_config_ids
ActivityIdAllowCloseIconAutoSendTimeCountCouponId
CutOffTimeDurationIdIsViewerLevelLimitIsWatchLiveLimitRuleSendCouponTypeViewerLevelConfigIdsNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        || _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        |	|	| _        |
|
| _        ||| _        ||| _        |	|| _        dS dS )z8UpdateActivityCouponRequest - a model defined in SwaggerN)r   _configuration_activity_id_allow_close_icon_auto_send_time_count
_coupon_id_cut_off_time	_duration_id_is_viewer_level_limit_is_watch_live_limit_rule_send_coupon_type_viewer_level_config_idsdiscriminatorr   r	   r
   r   r   r   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   r   r   r   r#   s                  /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdklivesaas20230801/models/update_activity_coupon_request.py__init__z$UpdateActivityCouponRequest.__init__C   s7   !*__N, !%#!&*#$(!
!%(,%!&'$4D!%"0DDJ &DN# ,D$DM ,)>D&*':D$DI'$4D!".+BD((( /.    c                     | j         S )zGets the activity_id of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The activity_id of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        )r$   r2   s    r3   r   z'UpdateActivityCouponRequest.activity_idq   s       r5   c                 N    | j         j        r|t          d          || _        dS )zSets the activity_id of this UpdateActivityCouponRequest.


        :param activity_id: The activity_id of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        Nz3Invalid value for `activity_id`, must not be `None`)r#   client_side_validation
ValueErrorr$   )r2   r   s     r3   r   z'UpdateActivityCouponRequest.activity_id{   s5     5 	T+:MRSSS'r5   c                     | j         S )zGets the allow_close_icon of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The allow_close_icon of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: bool
        r%   r7   s    r3   r	   z,UpdateActivityCouponRequest.allow_close_icon        %%r5   c                     || _         dS )zSets the allow_close_icon of this UpdateActivityCouponRequest.


        :param allow_close_icon: The allow_close_icon of this UpdateActivityCouponRequest.  # noqa: E501
        :type: bool
        Nr<   )r2   r	   s     r3   r	   z,UpdateActivityCouponRequest.allow_close_icon        "2r5   c                     | j         S )zGets the auto_send_time of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The auto_send_time of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r&   r7   s    r3   r
   z*UpdateActivityCouponRequest.auto_send_time   s     ##r5   c                     || _         dS )zSets the auto_send_time of this UpdateActivityCouponRequest.


        :param auto_send_time: The auto_send_time of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrA   )r2   r
   s     r3   r
   z*UpdateActivityCouponRequest.auto_send_time   s      .r5   c                     | j         S )zGets the count of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The count of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r'   r7   s    r3   r   z!UpdateActivityCouponRequest.count   s     {r5   c                     || _         dS )zSets the count of this UpdateActivityCouponRequest.


        :param count: The count of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrD   )r2   r   s     r3   r   z!UpdateActivityCouponRequest.count   s     r5   c                     | j         S )zGets the coupon_id of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The coupon_id of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r(   r7   s    r3   r   z%UpdateActivityCouponRequest.coupon_id   s     r5   c                     || _         dS )zSets the coupon_id of this UpdateActivityCouponRequest.


        :param coupon_id: The coupon_id of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrG   )r2   r   s     r3   r   z%UpdateActivityCouponRequest.coupon_id   s     $r5   c                     | j         S )zGets the cut_off_time of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The cut_off_time of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r)   r7   s    r3   r   z(UpdateActivityCouponRequest.cut_off_time   s     !!r5   c                     || _         dS )zSets the cut_off_time of this UpdateActivityCouponRequest.


        :param cut_off_time: The cut_off_time of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrJ   )r2   r   s     r3   r   z(UpdateActivityCouponRequest.cut_off_time   s     *r5   c                     | j         S )zGets the duration of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The duration of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r*   r7   s    r3   r   z$UpdateActivityCouponRequest.duration   s     ~r5   c                     || _         dS )zSets the duration of this UpdateActivityCouponRequest.


        :param duration: The duration of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrM   )r2   r   s     r3   r   z$UpdateActivityCouponRequest.duration   s     "r5   c                     | j         S )zGets the id of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The id of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        )r+   r7   s    r3   r   zUpdateActivityCouponRequest.id  s     xr5   c                 N    | j         j        r|t          d          || _        dS )zSets the id of this UpdateActivityCouponRequest.


        :param id: The id of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        Nz*Invalid value for `id`, must not be `None`)r#   r9   r:   r+   )r2   r   s     r3   r   zUpdateActivityCouponRequest.id  s1     5 	K"*IJJJr5   c                     | j         S )zGets the is_viewer_level_limit of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The is_viewer_level_limit of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r,   r7   s    r3   r   z1UpdateActivityCouponRequest.is_viewer_level_limit  s     **r5   c                     || _         dS )zSets the is_viewer_level_limit of this UpdateActivityCouponRequest.


        :param is_viewer_level_limit: The is_viewer_level_limit of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrR   )r2   r   s     r3   r   z1UpdateActivityCouponRequest.is_viewer_level_limit'  s     '<###r5   c                     | j         S )zGets the is_watch_live_limit of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The is_watch_live_limit of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r-   r7   s    r3   r   z/UpdateActivityCouponRequest.is_watch_live_limit2  s     ((r5   c                     || _         dS )zSets the is_watch_live_limit of this UpdateActivityCouponRequest.


        :param is_watch_live_limit: The is_watch_live_limit of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrU   )r2   r   s     r3   r   z/UpdateActivityCouponRequest.is_watch_live_limit<  s     %8!!!r5   c                     | j         S )zGets the rule of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The rule of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r.   r7   s    r3   r   z UpdateActivityCouponRequest.ruleG  s     zr5   c                     || _         dS )zSets the rule of this UpdateActivityCouponRequest.


        :param rule: The rule of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        NrX   )r2   r   s     r3   r   z UpdateActivityCouponRequest.ruleQ  s     


r5   c                     | j         S )zGets the send_coupon_type of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The send_coupon_type of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: int
        r/   r7   s    r3   r   z,UpdateActivityCouponRequest.send_coupon_type\  r=   r5   c                     || _         dS )zSets the send_coupon_type of this UpdateActivityCouponRequest.


        :param send_coupon_type: The send_coupon_type of this UpdateActivityCouponRequest.  # noqa: E501
        :type: int
        Nr[   )r2   r   s     r3   r   z,UpdateActivityCouponRequest.send_coupon_typef  r?   r5   c                     | j         S )zGets the viewer_level_config_ids of this UpdateActivityCouponRequest.  # noqa: E501


        :return: The viewer_level_config_ids of this UpdateActivityCouponRequest.  # noqa: E501
        :rtype: list[int]
        r0   r7   s    r3   r   z3UpdateActivityCouponRequest.viewer_level_config_idsq  s     ,,r5   c                     || _         dS )zSets the viewer_level_config_ids of this UpdateActivityCouponRequest.


        :param viewer_level_config_ids: The viewer_level_config_ids of this UpdateActivityCouponRequest.  # noqa: E501
        :type: list[int]
        Nr^   )r2   r   s     r3   r   z3UpdateActivityCouponRequest.viewer_level_config_ids{  s     )@%%%r5   c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrrb   )xs    r3   <lambda>z5UpdateActivityCouponRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r5   rb   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rb   r   rc   )items    r3   rf   z5UpdateActivityCouponRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r5   )six	iteritemsswagger_typesgetattr
isinstancelistmaprd   rb   dictitems
issubclassr   )r2   resultattr_valuekeys         r3   rb   z#UpdateActivityCouponRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t1488 	$"jjll $ $
U#sr5   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrb   r7   s    r3   to_strz"UpdateActivityCouponRequest.to_str  s    ~dllnn---r5   c                 *    |                                  S )zFor `print` and `pprint`)r|   r7   s    r3   __repr__z$UpdateActivityCouponRequest.__repr__  s    {{}}r5   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrn   r   rb   r2   others     r3   __eq__z"UpdateActivityCouponRequest.__eq__  s5    %!<== 	5||~~00r5   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r3   __ne__z"UpdateActivityCouponRequest.__ne__  s5    %!<== 	4||~~00r5   )NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rl   attribute_mapr4   propertyr   setterr	   r
   r   r   r   r   r   r   r   r   r   r   rb   r|   r~   r   r    r5   r3   r   r      s        
 "!&$!#. M" $,($!51,#9 M ,C ,C ,C ,C\ ! ! X! 
( 
( 
( & & X& 2 2 2 $ $ X$ . . .   X \  \   X $ $ $ " " X" * * *   X _" " _"   X Y
 
 Y
 + + X+ !< < "!< ) ) X) 8 8  8   X 
[  [ & & X& 2 2 2 - - X- #@ @ $#@  6. . .  1 1 11 1 1 1 1r5   r   )r   rz   rerj   volcenginesdkcore.configurationr   objectr   r   r5   r3   <module>r      s|      				 



 9 9 9 9 9 9_1 _1 _1 _1 _1& _1 _1 _1 _1 _1r5   