
    ~i2                     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Z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d Zd Zd Zd Zd Zd	S ) UpdateViewingRestrictionResponsezsNOTE: This class is auto generated by the swagger code generator program.

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


        :return: The activity_id of this UpdateViewingRestrictionResponse.  # noqa: E501
        :rtype: int
        r   r   s    r   r	   z,UpdateViewingRestrictionResponse.activity_idA   s       r   c                     || _         dS )zSets the activity_id of this UpdateViewingRestrictionResponse.


        :param activity_id: The activity_id of this UpdateViewingRestrictionResponse.  # noqa: E501
        :type: int
        Nr   )r   r	   s     r   r	   z,UpdateViewingRestrictionResponse.activity_idK   s     (r   c                     | j         S )a  Gets the sub_viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501


        :return: The sub_viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501
        :rtype: SubViewingRestrictionForUpdateViewingRestrictionOutput
        r   r   s    r   r
   z8UpdateViewingRestrictionResponse.sub_viewing_restrictionV   s     ,,r   c                     || _         dS )a  Sets the sub_viewing_restriction of this UpdateViewingRestrictionResponse.


        :param sub_viewing_restriction: The sub_viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501
        :type: SubViewingRestrictionForUpdateViewingRestrictionOutput
        Nr   )r   r
   s     r   r
   z8UpdateViewingRestrictionResponse.sub_viewing_restriction`   s     )@%%%r   c                     | j         S )a  Gets the viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501


        :return: The viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501
        :rtype: ViewingRestrictionForUpdateViewingRestrictionOutput
        r   r   s    r   r   z4UpdateViewingRestrictionResponse.viewing_restrictionk   s     ((r   c                     || _         dS )a  Sets the viewing_restriction of this UpdateViewingRestrictionResponse.


        :param viewing_restriction: The viewing_restriction of this UpdateViewingRestrictionResponse.  # noqa: E501
        :type: ViewingRestrictionForUpdateViewingRestrictionOutput
        Nr!   )r   r   s     r   r   z4UpdateViewingRestrictionResponse.viewing_restrictionu   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>z:UpdateViewingRestrictionResponse.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   r)   z:UpdateViewingRestrictionResponse.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(UpdateViewingRestrictionResponse.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t6== 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr%   r   s    r   to_strz'UpdateViewingRestrictionResponse.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r?   r   s    r   __repr__z)UpdateViewingRestrictionResponse.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr1   r   r%   r   others     r   __eq__z'UpdateViewingRestrictionResponse.__eq__   s5    %!ABB 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrC   rD   s     r   __ne__z'UpdateViewingRestrictionResponse.__ne__   s5    %!ABB 	4||~~00r   )NNNN)__name__
__module____qualname____doc__r/   attribute_mapr   propertyr	   setterr
   r   r%   r?   rA   rF   rH    r   r   r   r      sa        
 #[T M $#:3 M; ; ; ;$ ! ! X! ( ( ( - - X- #@ @ $#@ ) ) X) 8 8  8  6. . .  1 1 11 1 1 1 1r   r   )rL   r=   rer-   volcenginesdkcore.configurationr   objectr   rP   r   r   <module>rT      s|      				 



 9 9 9 9 9 9Y1 Y1 Y1 Y1 Y1v Y1 Y1 Y1 Y1 Y1r   