
    ~i%V                     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
    fwcenter

    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	 i ddddddddddddd	dd
dddddddddddddddddddddddZi ddddddddddddd	dd
ddd dd!dd"dd#dd$dd%dd&dd'dd(d)d*d+dZd[d-Zed.             Zej	        d/             Zed0             Z
e
j	        d1             Z
ed2             Zej	        d3             Zed4             Zej	        d5             Zed6             Zej	        d7             Zed8             Zej	        d9             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	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZedH             Zej	        dI             ZedJ             Zej	        dK             ZedL             Zej	        dM             ZedN             Zej	        dO             ZedP             Zej	        dQ             ZedR             Zej	        dS             ZedT             Zej	        dU             ZdV ZdW ZdX ZdY Z dZ Z!d,S )\ModifyControlPolicyRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    actionstrdescription	dest_portdest_port_typedestinationdestination_type	directionend_timeintinternet_firewall_idip_typeprotorepeat_daysz	list[int]repeat_end_timerepeat_start_timerepeat_typerule_idsourcebool)source_type
start_timestatusActionDescriptionDestPortDestPortTypeDestinationDestinationType	DirectionEndTimeInternetFirewallIdIpTypeProto
RepeatDaysRepeatEndTimeRepeatStartTime
RepeatTypeRuleIdSource
SourceType	StartTimeStatusNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _        ||| _        ||| _        || _        || _        || _        ||| _        |	|	| _        |
|
| _         || _!        ||| _"        ||| _#        ||| _$        ||| _%        || _&        || _'        || _(        ||| _)        |	|| _*        dS dS )z7ModifyControlPolicyRequest - a model defined in SwaggerN)+r   _configuration_action_description
_dest_port_dest_port_type_destination_destination_type
_direction	_end_time_internet_firewall_id_ip_type_proto_repeat_days_repeat_end_time_repeat_start_time_repeat_type_rule_id_source_source_type_start_time_statusdiscriminatorr   r   r	   r
   r   r   r   r   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   r   r   r   r   r   r   r2   s                         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkfwcenter/models/modify_control_policy_request.py__init__z#ModifyControlPolicyRequest.__init__Q   s   !*__N, # !%%)"  $"&  !"*D &DN%"0D& 0"$DM+(<D%"DL
"*D&#2D (%6D""*D&!(DO DKKK     c                     | j         S )zGets the action of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The action of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r3   rH   s    rI   r   z!ModifyControlPolicyRequest.action        |rK   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the action of this ModifyControlPolicyRequest.


        :param action: The action of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `action`, must not be `None`)acceptdenymonitorz4Invalid value for `action` ({0}), must be one of {1})r2   client_side_validation
ValueErrorformatr3   )rH   r   allowed_valuess      rI   r   z!ModifyControlPolicyRequest.action   s{     5 	O&.MNNN6666 	n,,F//  
 rK   c                     | j         S )zGets the description of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The description of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        r4   rM   s    rI   r   z&ModifyControlPolicyRequest.description          rK   c                     || _         dS )zSets the description of this ModifyControlPolicyRequest.


        :param description: The description of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        NrX   )rH   r   s     rI   r   z&ModifyControlPolicyRequest.description        (rK   c                     | j         S )zGets the dest_port of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The dest_port of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        r5   rM   s    rI   r	   z$ModifyControlPolicyRequest.dest_port        rK   c                     || _         dS )zSets the dest_port of this ModifyControlPolicyRequest.


        :param dest_port: The dest_port of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nr]   )rH   r	   s     rI   r	   z$ModifyControlPolicyRequest.dest_port   s     $rK   c                     | j         S )zGets the dest_port_type of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The dest_port_type of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r6   rM   s    rI   r
   z)ModifyControlPolicyRequest.dest_port_type   s     ##rK   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the dest_port_type of this ModifyControlPolicyRequest.


        :param dest_port_type: The dest_port_type of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        portgroupz<Invalid value for `dest_port_type` ({0}), must be one of {1}N)r2   rS   rT   rU   r6   )rH   r
   rV   s      rI   r
   z)ModifyControlPolicyRequest.dest_port_type   s[     !'*6 	n44N77  
  .rK   c                     | j         S )zGets the destination of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The destination of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r7   rM   s    rI   r   z&ModifyControlPolicyRequest.destination   rY   rK   c                 N    | j         j        r|t          d          || _        dS )zSets the destination of this ModifyControlPolicyRequest.


        :param destination: The destination of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `destination`, must not be `None`)r2   rS   rT   r7   )rH   r   s     rI   r   z&ModifyControlPolicyRequest.destination   s5     5 	T+:MRSSS'rK   c                     | j         S )zGets the destination_type of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The destination_type of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r8   rM   s    rI   r   z+ModifyControlPolicyRequest.destination_type	  s     %%rK   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the destination_type of this ModifyControlPolicyRequest.


        :param destination_type: The destination_type of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz8Invalid value for `destination_type`, must not be `None`)netlocationrc   domainz>Invalid value for `destination_type` ({0}), must be one of {1})r2   rS   rT   rU   r8   )rH   r   rV   s      rI   r   z+ModifyControlPolicyRequest.destination_type  s     5 	Y:J:RWXXX???6 	 66P(.99  
 "2rK   c                     | j         S )zGets the direction of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The direction of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r9   rM   s    rI   r   z$ModifyControlPolicyRequest.direction'  r^   rK   c                     | j         j        r|t          d          ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the direction of this ModifyControlPolicyRequest.


        :param direction: The direction of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `direction`, must not be `None`inoutz7Invalid value for `direction` ({0}), must be one of {1})r2   rS   rT   rU   r9   )rH   r   rV   s      rI   r   z$ModifyControlPolicyRequest.direction1  sz     5 	R):KPQQQ6 	//I	>22  
 $rK   c                     | j         S )zGets the end_time of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The end_time of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: int
        r:   rM   s    rI   r   z#ModifyControlPolicyRequest.end_timeE  s     ~rK   c                     || _         dS )zSets the end_time of this ModifyControlPolicyRequest.


        :param end_time: The end_time of this ModifyControlPolicyRequest.  # noqa: E501
        :type: int
        Nrp   )rH   r   s     rI   r   z#ModifyControlPolicyRequest.end_timeO  s     "rK   c                     | j         S )zGets the internet_firewall_id of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The internet_firewall_id of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        r;   rM   s    rI   r   z/ModifyControlPolicyRequest.internet_firewall_idZ  s     ))rK   c                     || _         dS )zSets the internet_firewall_id of this ModifyControlPolicyRequest.


        :param internet_firewall_id: The internet_firewall_id of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nrs   )rH   r   s     rI   r   z/ModifyControlPolicyRequest.internet_firewall_idd  s     &:"""rK   c                     | j         S )zGets the ip_type of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The ip_type of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r<   rM   s    rI   r   z"ModifyControlPolicyRequest.ip_typeo       }rK   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the ip_type of this ModifyControlPolicyRequest.


        :param ip_type: The ip_type of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        v4v6z5Invalid value for `ip_type` ({0}), must be one of {1}N)r2   rS   rT   rU   r<   )rH   r   rV   s      rI   r   z"ModifyControlPolicyRequest.ip_typey  sW     6 	~--G00  
  rK   c                     | j         S )zGets the proto of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The proto of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r=   rM   s    rI   r   z ModifyControlPolicyRequest.proto  s     {rK   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the proto of this ModifyControlPolicyRequest.


        :param proto: The proto of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz-Invalid value for `proto`, must not be `None`)ICMPTCPUDPANYz3Invalid value for `proto` ({0}), must be one of {1})r2   rS   rT   rU   r=   )rH   r   rV   s      rI   r   z ModifyControlPolicyRequest.proto  s{     5 	N%-LMMM6666 	^++E~..  
 rK   c                     | j         S )zGets the repeat_days of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The repeat_days of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: list[int]
        r>   rM   s    rI   r   z&ModifyControlPolicyRequest.repeat_days  rY   rK   c                     || _         dS )zSets the repeat_days of this ModifyControlPolicyRequest.


        :param repeat_days: The repeat_days of this ModifyControlPolicyRequest.  # noqa: E501
        :type: list[int]
        Nr   )rH   r   s     rI   r   z&ModifyControlPolicyRequest.repeat_days  r[   rK   c                     | j         S )zGets the repeat_end_time of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The repeat_end_time of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        r?   rM   s    rI   r   z*ModifyControlPolicyRequest.repeat_end_time  s     $$rK   c                     || _         dS )zSets the repeat_end_time of this ModifyControlPolicyRequest.


        :param repeat_end_time: The repeat_end_time of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nr   )rH   r   s     rI   r   z*ModifyControlPolicyRequest.repeat_end_time  s     !0rK   c                     | j         S )zGets the repeat_start_time of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The repeat_start_time of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        r@   rM   s    rI   r   z,ModifyControlPolicyRequest.repeat_start_time  s     &&rK   c                     || _         dS )zSets the repeat_start_time of this ModifyControlPolicyRequest.


        :param repeat_start_time: The repeat_start_time of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nr   )rH   r   s     rI   r   z,ModifyControlPolicyRequest.repeat_start_time  s     #4rK   c                     | j         S )zGets the repeat_type of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The repeat_type of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )rA   rM   s    rI   r   z&ModifyControlPolicyRequest.repeat_type  rY   rK   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the repeat_type of this ModifyControlPolicyRequest.


        :param repeat_type: The repeat_type of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        )	PermanentOnceDailyWeeklyMonthlyz9Invalid value for `repeat_type` ({0}), must be one of {1}N)r2   rS   rT   rU   rA   )rH   r   rV   s      rI   r   z&ModifyControlPolicyRequest.repeat_type  s]     MLL6 	>11K^44  
 (rK   c                     | j         S )zGets the rule_id of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The rule_id of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )rB   rM   s    rI   r   z"ModifyControlPolicyRequest.rule_id  rv   rK   c                 N    | j         j        r|t          d          || _        dS )zSets the rule_id of this ModifyControlPolicyRequest.


        :param rule_id: The rule_id of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `rule_id`, must not be `None`)r2   rS   rT   rB   )rH   r   s     rI   r   z"ModifyControlPolicyRequest.rule_id  s1     5 	P'/NOOOrK   c                     | j         S )zGets the source of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The source of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )rC   rM   s    rI   r   z!ModifyControlPolicyRequest.source  rN   rK   c                 N    | j         j        r|t          d          || _        dS )zSets the source of this ModifyControlPolicyRequest.


        :param source: The source of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `source`, must not be `None`)r2   rS   rT   rC   )rH   r   s     rI   r   z!ModifyControlPolicyRequest.source%  s1     5 	O&.MNNNrK   c                     | j         S )zGets the source_type of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The source_type of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: str
        )rD   rM   s    rI   r   z&ModifyControlPolicyRequest.source_type2  rY   rK   c                     | j         j        r|t          d          g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the source_type of this ModifyControlPolicyRequest.


        :param source_type: The source_type of this ModifyControlPolicyRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `source_type`, must not be `None`)rh   ri   rc   z9Invalid value for `source_type` ({0}), must be one of {1})r2   rS   rT   rU   rD   )rH   r   rV   s      rI   r   z&ModifyControlPolicyRequest.source_type<  s     5 	T+:MRSSS5556 	>11K^44  
 (rK   c                     | j         S )zGets the start_time of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The start_time of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: int
        rE   rM   s    rI   r   z%ModifyControlPolicyRequest.start_timeP  s     rK   c                     || _         dS )zSets the start_time of this ModifyControlPolicyRequest.


        :param start_time: The start_time of this ModifyControlPolicyRequest.  # noqa: E501
        :type: int
        Nr   )rH   r   s     rI   r   z%ModifyControlPolicyRequest.start_timeZ  s     &rK   c                     | j         S )zGets the status of this ModifyControlPolicyRequest.  # noqa: E501


        :return: The status of this ModifyControlPolicyRequest.  # noqa: E501
        :rtype: bool
        rF   rM   s    rI   r   z!ModifyControlPolicyRequest.statuse  rN   rK   c                     || _         dS )zSets the status of this ModifyControlPolicyRequest.


        :param status: The status of this ModifyControlPolicyRequest.  # noqa: E501
        :type: bool
        Nr   )rH   r   s     rI   r   z!ModifyControlPolicyRequest.statuso  s     rK   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    rI   <lambda>z4ModifyControlPolicyRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk rK   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rI   r   z4ModifyControlPolicyRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< rK   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rH   resultattr_valuekeys         rI   r   z"ModifyControlPolicyRequest.to_dictz  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#srK   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rM   s    rI   to_strz!ModifyControlPolicyRequest.to_str  s    ~dllnn---rK   c                 *    |                                  S )zFor `print` and `pprint`)r   rM   s    rI   __repr__z#ModifyControlPolicyRequest.__repr__  s    {{}}rK   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rH   others     rI   __eq__z!ModifyControlPolicyRequest.__eq__  s5    %!;<< 	5||~~00rK   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rI   __ne__z!ModifyControlPolicyRequest.__ne__  s5    %!;<< 	4||~~00rK   )NNNNNNNNNNNNNNNNNNNNN)"__name__
__module____qualname____doc__r   attribute_maprJ   propertyr   setterr   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    rK   rI   r   r      s        
%u 	U 	%	
 	u 	E 	U 	E 	 	5 	 	{ 	5 	U 	u  	5!" 	%#$ )  M.(} 	Z 	.	
 	} 	- 	[ 	I 	 4 	8 	 	| 	? 	. 	|  	8!" 	(#$ $!)  M.;! ;! ;! ;!z   X ]  ]& ! ! X! ( ( (   X $ $ $ $ $ X$ . . ." ! ! X! 
( 
( 
( & & X& 2 2 2&   X $ $ $&   X _" " _" * * X*  : : ! :   X ^    ^ "   X \  \& ! ! X! ( ( ( % % X% 0 0 0 ' ' X' 4 4 4 ! ! X! ( ( ("   X ^
  
  ^
    X ]
 
 ]
 ! ! X! ( ( (&     X  & & &   X ]  ]  6. . .  1 1 11 1 1 1 1rK   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rK   rI   <module>r      s|      				 



 9 9 9 9 9 9S
1 S
1 S
1 S
1 S
1 S
1 S
1 S
1 S
1 S
1rK   