
    ~it                     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                   .   e Zd ZdZ	 dddddZddd	d
dZd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d Zd Zd Zd ZdS )UpdateViewingRestrictionRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intbool5SubViewingRestrictionForUpdateViewingRestrictionInput2ViewingRestrictionForUpdateViewingRestrictionInput)activity_id!is_sub_viewing_restriction_enablesub_viewing_restrictionviewing_restriction
ActivityIdIsSubViewingRestrictionEnableSubViewingRestrictionViewingRestrictionNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _        ||| _	        |	|| _
        dS dS )z<UpdateViewingRestrictionRequest - a model defined in SwaggerN)r   _configuration_activity_id"_is_sub_viewing_restriction_enable_sub_viewing_restriction_viewing_restrictiondiscriminatorr
   r   r   r   )selfr
   r   r   r   r   s         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdklivesaas20230801/models/update_viewing_restriction_request.py__init__z(UpdateViewingRestrictionRequest.__init__1   s    !*__N, 26/(,%$(!!&,85VD2".+BD(*':D$$$ +*    c                     | j         S )zGets the activity_id of this UpdateViewingRestrictionRequest.  # noqa: E501


        :return: The activity_id of this UpdateViewingRestrictionRequest.  # noqa: E501
        :rtype: int
        )r   r   s    r   r
   z+UpdateViewingRestrictionRequest.activity_idE   s       r   c                 N    | j         j        r|t          d          || _        dS )zSets the activity_id of this UpdateViewingRestrictionRequest.


        :param activity_id: The activity_id of this UpdateViewingRestrictionRequest.  # noqa: E501
        :type: int
        Nz3Invalid value for `activity_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r
   s     r   r
   z+UpdateViewingRestrictionRequest.activity_idO   s5     5 	T+:MRSSS'r   c                     | j         S )zGets the is_sub_viewing_restriction_enable of this UpdateViewingRestrictionRequest.  # noqa: E501


        :return: The is_sub_viewing_restriction_enable of this UpdateViewingRestrictionRequest.  # noqa: E501
        :rtype: bool
        r   r   s    r   r   zAUpdateViewingRestrictionRequest.is_sub_viewing_restriction_enable\   s     66r   c                     || _         dS )a  Sets the is_sub_viewing_restriction_enable of this UpdateViewingRestrictionRequest.


        :param is_sub_viewing_restriction_enable: The is_sub_viewing_restriction_enable of this UpdateViewingRestrictionRequest.  # noqa: E501
        :type: bool
        Nr#   )r   r   s     r   r   zAUpdateViewingRestrictionRequest.is_sub_viewing_restriction_enablef   s     3T///r   c                     | j         S )a  Gets the sub_viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501


        :return: The sub_viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501
        :rtype: SubViewingRestrictionForUpdateViewingRestrictionInput
        r   r   s    r   r   z7UpdateViewingRestrictionRequest.sub_viewing_restrictionq   s     ,,r   c                     || _         dS )a  Sets the sub_viewing_restriction of this UpdateViewingRestrictionRequest.


        :param sub_viewing_restriction: The sub_viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501
        :type: SubViewingRestrictionForUpdateViewingRestrictionInput
        Nr&   )r   r   s     r   r   z7UpdateViewingRestrictionRequest.sub_viewing_restriction{   s     )@%%%r   c                     | j         S )a  Gets the viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501


        :return: The viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501
        :rtype: ViewingRestrictionForUpdateViewingRestrictionInput
        r   r   s    r   r   z3UpdateViewingRestrictionRequest.viewing_restriction   s     ((r   c                     || _         dS )a  Sets the viewing_restriction of this UpdateViewingRestrictionRequest.


        :param viewing_restriction: The viewing_restriction of this UpdateViewingRestrictionRequest.  # noqa: E501
        :type: ViewingRestrictionForUpdateViewingRestrictionInput
        Nr)   )r   r   s     r   r   z3UpdateViewingRestrictionRequest.viewing_restriction   s     %8!!!r   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hasattrr-   )xs    r   <lambda>z9UpdateViewingRestrictionRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r-   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r-   r   r.   )items    r   r1   z9UpdateViewingRestrictionRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr/   r-   dictitems
issubclassr   )r   resultattr_valuekeys         r   r-   z'UpdateViewingRestrictionRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t5t<< 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr-   r   s    r   to_strz&UpdateViewingRestrictionRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rG   r   s    r   __repr__z(UpdateViewingRestrictionRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr9   r   r-   r   others     r   __eq__z&UpdateViewingRestrictionRequest.__eq__   s5    %!@AA 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrK   rL   s     r   __ne__z&UpdateViewingRestrictionRequest.__ne__   s5    %!@AA 	4||~~00r   )NNNNN)__name__
__module____qualname____doc__r7   attribute_mapr   propertyr
   setterr   r   r   r-   rG   rI   rN   rP    r   r   r   r      s        
 -3#ZS	 M $-L#:3	 M; ; ; ;( ! ! X! 
( 
( 
( 7 7 X7 '-T T .-T - - X- #@ @ $#@ ) ) X) 8 8  8  6. . .  1 1 11 1 1 1 1r   r   )rT   rE   rer5   volcenginesdkcore.configurationr   objectr   rX   r   r   <module>r\      s|      				 



 9 9 9 9 9 9t1 t1 t1 t1 t1f t1 t1 t1 t1 t1r   