
    ~ifT                     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 )\AddControlPolicyRequestzsNOTE: 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prioprotorepeat_daysz	list[int]repeat_end_timerepeat_start_timerepeat_typesourcebool)source_type
start_timestatusActionDescriptionDestPortDestPortTypeDestinationDestinationType	DirectionEndTimeInternetFirewallIdIpTypePrioProto
RepeatDaysRepeatEndTimeRepeatStartTime
RepeatType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 )z4AddControlPolicyRequest - 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_prio_proto_repeat_days_repeat_end_time_repeat_start_time_repeat_type_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/add_control_policy_request.py__init__z AddControlPolicyRequest.__init__Q   s   !*__N, # !%%)"
  $"&  !"*D &DN%"0D& 0"$DM+(<D%"DLDI
"*D&#2D (%6D""*D&!(DO DKKK     c                     | j         S )zGets the action of this AddControlPolicyRequest.  # noqa: E501


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


        :param action: The action of this AddControlPolicyRequest.  # 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AddControlPolicyRequest.action   s{     5 	O&.MNNN6666 	n,,F//  
 rK   c                     | j         S )zGets the description of this AddControlPolicyRequest.  # noqa: E501


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


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


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


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


        :return: The dest_port_type of this AddControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r6   rM   s    rI   r
   z&AddControlPolicyRequest.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 AddControlPolicyRequest.


        :param dest_port_type: The dest_port_type of this AddControlPolicyRequest.  # 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&AddControlPolicyRequest.dest_port_type   s[     !'*6 	n44N77  
  .rK   c                     | j         S )zGets the destination of this AddControlPolicyRequest.  # noqa: E501


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


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


        :return: The destination_type of this AddControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r8   rM   s    rI   r   z(AddControlPolicyRequest.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 AddControlPolicyRequest.


        :param destination_type: The destination_type of this AddControlPolicyRequest.  # 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(AddControlPolicyRequest.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 AddControlPolicyRequest.  # noqa: E501


        :return: The direction of this AddControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r9   rM   s    rI   r   z!AddControlPolicyRequest.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 AddControlPolicyRequest.


        :param direction: The direction of this AddControlPolicyRequest.  # 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!AddControlPolicyRequest.direction2  sz     5 	R):KPQQQ6 	//I	>22  
 $rK   c                     | j         S )zGets the end_time of this AddControlPolicyRequest.  # noqa: E501


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


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


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


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


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


        :param ip_type: The ip_type of this AddControlPolicyRequest.  # 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AddControlPolicyRequest.ip_typez  sW     6 	~--G00  
  rK   c                     | j         S )zGets the prio of this AddControlPolicyRequest.  # noqa: E501


        :return: The prio of this AddControlPolicyRequest.  # noqa: E501
        :rtype: int
        r=   rM   s    rI   r   zAddControlPolicyRequest.prio  s     zrK   c                     || _         dS )zSets the prio of this AddControlPolicyRequest.


        :param prio: The prio of this AddControlPolicyRequest.  # noqa: E501
        :type: int
        Nrz   )rH   r   s     rI   r   zAddControlPolicyRequest.prio  s     


rK   c                     | j         S )zGets the proto of this AddControlPolicyRequest.  # noqa: E501


        :return: The proto of this AddControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r>   rM   s    rI   r   zAddControlPolicyRequest.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 AddControlPolicyRequest.


        :param proto: The proto of this AddControlPolicyRequest.  # 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AddControlPolicyRequest.proto  s{     5 	N%-LMMM6666 	^++E~..  
 rK   c                     | j         S )zGets the repeat_days of this AddControlPolicyRequest.  # noqa: E501


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


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


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


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


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


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


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


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


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


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


        :return: The source_type of this AddControlPolicyRequest.  # noqa: E501
        :rtype: str
        )rD   rM   s    rI   r   z#AddControlPolicyRequest.source_type1  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 AddControlPolicyRequest.


        :param source_type: The source_type of this AddControlPolicyRequest.  # 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#AddControlPolicyRequest.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 AddControlPolicyRequest.  # noqa: E501


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


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


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


        :param status: The status of this AddControlPolicyRequest.  # noqa: E501
        :type: bool
        Nr   )rH   r   s     rI   r   zAddControlPolicyRequest.statusn  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>z1AddControlPolicyRequest.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   z1AddControlPolicyRequest.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AddControlPolicyRequest.to_dicty  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t-t44 	$"jjll $ $
U#srK   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rM   s    rI   to_strzAddControlPolicyRequest.to_str  s    ~dllnn---rK   c                 *    |                                  S )zFor `print` and `pprint`)r   rM   s    rI   __repr__z AddControlPolicyRequest.__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AddControlPolicyRequest.__eq__  s5    %!899 	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AddControlPolicyRequest.__ne__  s5    %!899 	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!" 	%#$ )  M.(} 	Z 	.	
 	} 	- 	[ 	I 	 4 	8 	 	 	| 	? 	.  	|!" 	(#$ $!)  M.<! <! <! <!|   X ]  ]& ! ! X! ( ( (   X $ $ $ $ $ X$ . . ." ! ! X! 
( 
( 
( & & X& 2 2 2&   X $ $ $&   X _" " _" * * X*  : : ! :   X ^    ^ "   X 
[  [   X \  \& ! ! X! ( ( ( % % X% 0 0 0 ' ' X' 4 4 4 ! ! 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R
1 R
1 R
1 R
1 R
1f R
1 R
1 R
1 R
1 R
1rK   