
    ~if)                     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ddZd	d
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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 ))AddSharedConfigRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    (AllowIpAccessRuleForAddSharedConfigInput-AllowRefererAccessRuleForAddSharedConfigInput&CommonMatchListForAddSharedConfigInputstr'DenyIpAccessRuleForAddSharedConfigInput,DenyRefererAccessRuleForAddSharedConfigInput)allow_ip_access_ruleallow_referer_access_rulecommon_match_listconfig_nameconfig_typedeny_ip_access_ruledeny_referer_access_ruleprojectAllowIpAccessRuleAllowRefererAccessRuleCommonMatchList
ConfigName
ConfigTypeDenyIpAccessRuleDenyRefererAccessRuleProjectNc
                 >   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        || _        || _        ||| _        ||| _        |	|| _        dS dS )z3AddSharedConfigRequest - a model defined in SwaggerN)r   _configuration_allow_ip_access_rule_allow_referer_access_rule_common_match_list_config_name_config_type_deny_ip_access_rule_deny_referer_access_rule_projectdiscriminatorr   r   r   r   r   r   r   r   )
selfr   r   r   r   r   r   r   r   r   s
             z/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkcdn/models/add_shared_config_request.py__init__zAddSharedConfigRequest.__init__9   s    !*__N,%)"*.'"&  $(!)-&!+(<D%$0-FD*(%6D"&&*':D$#/,DD)"DLLL     c                     | j         S )zGets the allow_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501


        :return: The allow_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :rtype: AllowIpAccessRuleForAddSharedConfigInput
        r   r'   s    r(   r   z+AddSharedConfigRequest.allow_ip_access_ruleX   s     ))r*   c                     || _         dS )zSets the allow_ip_access_rule of this AddSharedConfigRequest.


        :param allow_ip_access_rule: The allow_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :type: AllowIpAccessRuleForAddSharedConfigInput
        Nr,   )r'   r   s     r(   r   z+AddSharedConfigRequest.allow_ip_access_ruleb   s     &:"""r*   c                     | j         S )zGets the allow_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501


        :return: The allow_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :rtype: AllowRefererAccessRuleForAddSharedConfigInput
        r   r-   s    r(   r   z0AddSharedConfigRequest.allow_referer_access_rulem   s     ..r*   c                     || _         dS )a   Sets the allow_referer_access_rule of this AddSharedConfigRequest.


        :param allow_referer_access_rule: The allow_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :type: AllowRefererAccessRuleForAddSharedConfigInput
        Nr0   )r'   r   s     r(   r   z0AddSharedConfigRequest.allow_referer_access_rulew   s     +D'''r*   c                     | j         S )zGets the common_match_list of this AddSharedConfigRequest.  # noqa: E501


        :return: The common_match_list of this AddSharedConfigRequest.  # noqa: E501
        :rtype: CommonMatchListForAddSharedConfigInput
        r    r-   s    r(   r   z(AddSharedConfigRequest.common_match_list   s     &&r*   c                     || _         dS )zSets the common_match_list of this AddSharedConfigRequest.


        :param common_match_list: The common_match_list of this AddSharedConfigRequest.  # noqa: E501
        :type: CommonMatchListForAddSharedConfigInput
        Nr3   )r'   r   s     r(   r   z(AddSharedConfigRequest.common_match_list   s     #4r*   c                     | j         S )zGets the config_name of this AddSharedConfigRequest.  # noqa: E501


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


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


        :return: The config_type of this AddSharedConfigRequest.  # noqa: E501
        :rtype: str
        )r"   r-   s    r(   r   z"AddSharedConfigRequest.config_type   r6   r*   c                 N    | j         j        r|t          d          || _        dS )zSets the config_type of this AddSharedConfigRequest.


        :param config_type: The config_type of this AddSharedConfigRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `config_type`, must not be `None`)r   r8   r9   r"   )r'   r   s     r(   r   z"AddSharedConfigRequest.config_type   r:   r*   c                     | j         S )zGets the deny_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501


        :return: The deny_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :rtype: DenyIpAccessRuleForAddSharedConfigInput
        r#   r-   s    r(   r   z*AddSharedConfigRequest.deny_ip_access_rule   s     ((r*   c                     || _         dS )zSets the deny_ip_access_rule of this AddSharedConfigRequest.


        :param deny_ip_access_rule: The deny_ip_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :type: DenyIpAccessRuleForAddSharedConfigInput
        Nr>   )r'   r   s     r(   r   z*AddSharedConfigRequest.deny_ip_access_rule   s     %8!!!r*   c                     | j         S )zGets the deny_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501


        :return: The deny_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :rtype: DenyRefererAccessRuleForAddSharedConfigInput
        r$   r-   s    r(   r   z/AddSharedConfigRequest.deny_referer_access_rule   s     --r*   c                     || _         dS )zSets the deny_referer_access_rule of this AddSharedConfigRequest.


        :param deny_referer_access_rule: The deny_referer_access_rule of this AddSharedConfigRequest.  # noqa: E501
        :type: DenyRefererAccessRuleForAddSharedConfigInput
        NrA   )r'   r   s     r(   r   z/AddSharedConfigRequest.deny_referer_access_rule   s     *B&&&r*   c                     | j         S )zGets the project of this AddSharedConfigRequest.  # noqa: E501


        :return: The project of this AddSharedConfigRequest.  # noqa: E501
        :rtype: str
        r%   r-   s    r(   r   zAddSharedConfigRequest.project   s     }r*   c                     || _         dS )zSets the project of this AddSharedConfigRequest.


        :param project: The project of this AddSharedConfigRequest.  # noqa: E501
        :type: str
        NrD   )r'   r   s     r(   r   zAddSharedConfigRequest.project   s      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hasattrrH   )xs    r(   <lambda>z0AddSharedConfigRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r*   rH   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rH   r   rI   )items    r(   rL   z0AddSharedConfigRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r*   )six	iteritemsswagger_typesgetattr
isinstancelistmaprJ   rH   dictitems
issubclassr   )r'   resultattr_valuekeys         r(   rH   zAddSharedConfigRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t,d33 	$"jjll $ $
U#sr*   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrH   r-   s    r(   to_strzAddSharedConfigRequest.to_str  s    ~dllnn---r*   c                 *    |                                  S )zFor `print` and `pprint`)rb   r-   s    r(   __repr__zAddSharedConfigRequest.__repr__#  s    {{}}r*   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrT   r   rH   r'   others     r(   __eq__zAddSharedConfigRequest.__eq__'  s5    %!788 	5||~~00r*   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrf   rg   s     r(   __ne__zAddSharedConfigRequest.__ne__.  s5    %!788 	4||~~00r*   )	NNNNNNNNN)__name__
__module____qualname____doc__rR   attribute_mapr)   propertyr   setterr   r   r   r   r   r   r   rH   rb   rd   ri   rk    r*   r(   r   r      s        
 !K%TEH$R	 	M !4%=.##1$;	 	M# # # #> * * X*  : : ! : / / X/ %D D &%D ' ' X' 4 4 4 ! ! X! 
( 
( 
( ! ! X! 
( 
( 
( ) ) X) 8 8  8 . . X. $B B %$B   X ^    ^   6. . .  1 1 11 1 1 1 1r*   r   )ro   r`   rerP   volcenginesdkcore.configurationr   objectr   rs   r*   r(   <module>rw      s|      				 



 9 9 9 9 9 9]1 ]1 ]1 ]1 ]1V ]1 ]1 ]1 ]1 ]1r*   