
    ~i#                     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 )z
    cdn

    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ddZd	d
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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 )#UpdateSharedConfigRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    +AllowIpAccessRuleForUpdateSharedConfigInput0AllowRefererAccessRuleForUpdateSharedConfigInput)CommonMatchListForUpdateSharedConfigInputstr*DenyIpAccessRuleForUpdateSharedConfigInput/DenyRefererAccessRuleForUpdateSharedConfigInput)allow_ip_access_ruleallow_referer_access_rulecommon_match_listconfig_namedeny_ip_access_ruledeny_referer_access_ruleAllowIpAccessRuleAllowRefererAccessRuleCommonMatchList
ConfigNameDenyIpAccessRuleDenyRefererAccessRuleNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        ||| _
        ||| _        || _        ||| _        |	|| _        dS dS )z6UpdateSharedConfigRequest - a model defined in SwaggerN)r   _configuration_allow_ip_access_rule_allow_referer_access_rule_common_match_list_config_name_deny_ip_access_rule_deny_referer_access_rulediscriminatorr   r   r   r   r   r   )selfr   r   r   r   r   r   r   s           }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkcdn/models/update_shared_config_request.py__init__z"UpdateSharedConfigRequest.__init__5   s    !*__N,%)"*.'"& $(!)-&!+(<D%$0-FD*(%6D"&*':D$#/,DD))) 0/    c                     | j         S )zGets the allow_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The allow_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: AllowIpAccessRuleForUpdateSharedConfigInput
        r   r!   s    r"   r   z.UpdateSharedConfigRequest.allow_ip_access_ruleO   s     ))r$   c                     || _         dS )zSets the allow_ip_access_rule of this UpdateSharedConfigRequest.


        :param allow_ip_access_rule: The allow_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :type: AllowIpAccessRuleForUpdateSharedConfigInput
        Nr&   )r!   r   s     r"   r   z.UpdateSharedConfigRequest.allow_ip_access_ruleY   s     &:"""r$   c                     | j         S )zGets the allow_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The allow_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: AllowRefererAccessRuleForUpdateSharedConfigInput
        r   r'   s    r"   r   z3UpdateSharedConfigRequest.allow_referer_access_ruled   s     ..r$   c                     || _         dS )a	  Sets the allow_referer_access_rule of this UpdateSharedConfigRequest.


        :param allow_referer_access_rule: The allow_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :type: AllowRefererAccessRuleForUpdateSharedConfigInput
        Nr*   )r!   r   s     r"   r   z3UpdateSharedConfigRequest.allow_referer_access_rulen   s     +D'''r$   c                     | j         S )zGets the common_match_list of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The common_match_list of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: CommonMatchListForUpdateSharedConfigInput
        r   r'   s    r"   r   z+UpdateSharedConfigRequest.common_match_listy   s     &&r$   c                     || _         dS )zSets the common_match_list of this UpdateSharedConfigRequest.


        :param common_match_list: The common_match_list of this UpdateSharedConfigRequest.  # noqa: E501
        :type: CommonMatchListForUpdateSharedConfigInput
        Nr-   )r!   r   s     r"   r   z+UpdateSharedConfigRequest.common_match_list   s     #4r$   c                     | j         S )zGets the config_name of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The config_name of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r"   r   z%UpdateSharedConfigRequest.config_name   s       r$   c                 N    | j         j        r|t          d          || _        dS )zSets the config_name of this UpdateSharedConfigRequest.


        :param config_name: The config_name of this UpdateSharedConfigRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `config_name`, must not be `None`)r   client_side_validation
ValueErrorr   )r!   r   s     r"   r   z%UpdateSharedConfigRequest.config_name   s5     5 	T+:MRSSS'r$   c                     | j         S )zGets the deny_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The deny_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: DenyIpAccessRuleForUpdateSharedConfigInput
        r   r'   s    r"   r   z-UpdateSharedConfigRequest.deny_ip_access_rule   s     ((r$   c                     || _         dS )zSets the deny_ip_access_rule of this UpdateSharedConfigRequest.


        :param deny_ip_access_rule: The deny_ip_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :type: DenyIpAccessRuleForUpdateSharedConfigInput
        Nr4   )r!   r   s     r"   r   z-UpdateSharedConfigRequest.deny_ip_access_rule   s     %8!!!r$   c                     | j         S )zGets the deny_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501


        :return: The deny_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :rtype: DenyRefererAccessRuleForUpdateSharedConfigInput
        r   r'   s    r"   r   z2UpdateSharedConfigRequest.deny_referer_access_rule   s     --r$   c                     || _         dS )a  Sets the deny_referer_access_rule of this UpdateSharedConfigRequest.


        :param deny_referer_access_rule: The deny_referer_access_rule of this UpdateSharedConfigRequest.  # noqa: E501
        :type: DenyRefererAccessRuleForUpdateSharedConfigInput
        Nr7   )r!   r   s     r"   r   z2UpdateSharedConfigRequest.deny_referer_access_rule   s     *B&&&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>z3UpdateSharedConfigRequest.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?   z3UpdateSharedConfigRequest.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!UpdateSharedConfigRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t/6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 UpdateSharedConfigRequest.to_str   s    ~dllnn---r$   c                 *    |                                  S )zFor `print` and `pprint`)rU   r'   s    r"   __repr__z"UpdateSharedConfigRequest.__repr__   s    {{}}r$   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrG   r   r;   r!   others     r"   __eq__z UpdateSharedConfigRequest.__eq__   s5    %!:;; 	5||~~00r$   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrY   rZ   s     r"   __ne__z UpdateSharedConfigRequest.__ne__   s5    %!:;; 	4||~~00r$   )NNNNNNN)__name__
__module____qualname____doc__rE   attribute_mapr#   propertyr   setterr   r   r   r   r   r;   rU   rW   r\   r^    r$   r"   r   r      s)        
 !N%WHK$U M !4%=.#1$; ME E E E4 * * X*  : : ! : / / X/ %D D &%D ' ' X' 4 4 4 ! ! X! 
( 
( 
( ) ) X) 8 8  8 . . X. $B B %$B  6. . .  1 1 11 1 1 1 1r$   r   )rb   rS   rerC   volcenginesdkcore.configurationr   objectr   rf   r$   r"   <module>rj      s|      				 



 9 9 9 9 9 9h1 h1 h1 h1 h1 h1 h1 h1 h1 h1r$   