
    ~i9                     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                   r   e Zd ZdZ	 dddddddddddddddZddd	d
dddddddddddZd8d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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	        d0             Zed1             Zej	        d2             Zd3 Zd4 Zd5 Zd6 Zd7 ZdS )9DescribeControlPolicyRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z	list[str]strintz
list[bool])actiondescriptiondestination	directioninternet_firewall_idip_type	order_dirpage_number	page_sizeprotorepeat_typerule_idsourcestatusActionDescriptionDestination	DirectionInternetFirewallIdIpTypeOrderDir
PageNumberPageSizeProto
RepeatTypeRuleIdSourceStatusNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z9DescribeControlPolicyRequest - a model defined in SwaggerN)r   _configuration_action_description_destination
_direction_internet_firewall_id_ip_type
_order_dir_page_number
_page_size_proto_repeat_type_rule_id_source_statusdiscriminatorr   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%   s                   /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkfwcenter/models/describe_control_policy_request.py__init__z%DescribeControlPolicyRequest.__init__E   sI   !*__N,  %)"  ! DK"*D"*D"+(<D%"DL &DN"*D &DNDJ"*D"DL DK DKKK     c                     | j         S )zGets the action of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The action of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: list[str]
        r&   r5   s    r6   r   z#DescribeControlPolicyRequest.actionw        |r8   c                     || _         dS )zSets the action of this DescribeControlPolicyRequest.


        :param action: The action of this DescribeControlPolicyRequest.  # noqa: E501
        :type: list[str]
        Nr:   )r5   r   s     r6   r   z#DescribeControlPolicyRequest.action        r8   c                     | j         S )zGets the description of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The description of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        r'   r;   s    r6   r	   z(DescribeControlPolicyRequest.description          r8   c                     || _         dS )zSets the description of this DescribeControlPolicyRequest.


        :param description: The description of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        Nr@   )r5   r	   s     r6   r	   z(DescribeControlPolicyRequest.description        (r8   c                     | j         S )zGets the destination of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The destination of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        r(   r;   s    r6   r
   z(DescribeControlPolicyRequest.destination   rA   r8   c                     || _         dS )zSets the destination of this DescribeControlPolicyRequest.


        :param destination: The destination of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        NrE   )r5   r
   s     r6   r
   z(DescribeControlPolicyRequest.destination   rC   r8   c                     | j         S )zGets the direction of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The direction of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r)   r;   s    r6   r   z&DescribeControlPolicyRequest.direction        r8   c                     | j         j        r|t          d          ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the direction of this DescribeControlPolicyRequest.


        :param direction: The direction of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `direction`, must not be `None`inoutz7Invalid value for `direction` ({0}), must be one of {1})r%   client_side_validation
ValueErrorformatr)   )r5   r   allowed_valuess      r6   r   z&DescribeControlPolicyRequest.direction   sz     5 	R):KPQQQ6 	//I	>22  
 $r8   c                     | j         S )zGets the internet_firewall_id of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The internet_firewall_id of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        r*   r;   s    r6   r   z1DescribeControlPolicyRequest.internet_firewall_id   s     ))r8   c                     || _         dS )zSets the internet_firewall_id of this DescribeControlPolicyRequest.


        :param internet_firewall_id: The internet_firewall_id of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        NrQ   )r5   r   s     r6   r   z1DescribeControlPolicyRequest.internet_firewall_id   s     &:"""r8   c                     | j         S )zGets the ip_type of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The ip_type of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r+   r;   s    r6   r   z$DescribeControlPolicyRequest.ip_type        }r8   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the ip_type of this DescribeControlPolicyRequest.


        :param ip_type: The ip_type of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        v4v6z5Invalid value for `ip_type` ({0}), must be one of {1}N)r%   rL   rM   rN   r+   )r5   r   rO   s      r6   r   z$DescribeControlPolicyRequest.ip_type   sW     6 	~--G00  
  r8   c                     | j         S )zGets the order_dir of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The order_dir of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        )r,   r;   s    r6   r   z&DescribeControlPolicyRequest.order_dir  rH   r8   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the order_dir of this DescribeControlPolicyRequest.


        :param order_dir: The order_dir of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        ascdescz7Invalid value for `order_dir` ({0}), must be one of {1}N)r%   rL   rM   rN   r,   )r5   r   rO   s      r6   r   z&DescribeControlPolicyRequest.order_dir  sW      6 	//I	>22  
 $r8   c                     | j         S )zGets the page_number of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The page_number of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: int
        r-   r;   s    r6   r   z(DescribeControlPolicyRequest.page_number!  rA   r8   c                     || _         dS )zSets the page_number of this DescribeControlPolicyRequest.


        :param page_number: The page_number of this DescribeControlPolicyRequest.  # noqa: E501
        :type: int
        Nr]   )r5   r   s     r6   r   z(DescribeControlPolicyRequest.page_number+  rC   r8   c                     | j         S )zGets the page_size of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The page_size of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: int
        )r.   r;   s    r6   r   z&DescribeControlPolicyRequest.page_size6  rH   r8   c                 Z    | j         j        r||dk    rt          d          || _        dS )zSets the page_size of this DescribeControlPolicyRequest.


        :param page_size: The page_size of this DescribeControlPolicyRequest.  # noqa: E501
        :type: int
        Ni  zKInvalid value for `page_size`, must be a value less than or equal to `1000`)r%   rL   rM   r.   )r5   r   s     r6   r   z&DescribeControlPolicyRequest.page_size@  s=     6 	l%)d*:*:jkkk#r8   c                     | j         S )zGets the proto of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The proto of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: list[str]
        r/   r;   s    r6   r   z"DescribeControlPolicyRequest.protoN  s     {r8   c                     || _         dS )zSets the proto of this DescribeControlPolicyRequest.


        :param proto: The proto of this DescribeControlPolicyRequest.  # noqa: E501
        :type: list[str]
        Nrb   )r5   r   s     r6   r   z"DescribeControlPolicyRequest.protoX  s     r8   c                     | j         S )zGets the repeat_type of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The repeat_type of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: list[str]
        r0   r;   s    r6   r   z(DescribeControlPolicyRequest.repeat_typec  rA   r8   c                     || _         dS )zSets the repeat_type of this DescribeControlPolicyRequest.


        :param repeat_type: The repeat_type of this DescribeControlPolicyRequest.  # noqa: E501
        :type: list[str]
        Nre   )r5   r   s     r6   r   z(DescribeControlPolicyRequest.repeat_typem  rC   r8   c                     | j         S )zGets the rule_id of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The rule_id of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        r1   r;   s    r6   r   z$DescribeControlPolicyRequest.rule_idx  rT   r8   c                     || _         dS )zSets the rule_id of this DescribeControlPolicyRequest.


        :param rule_id: The rule_id of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        Nrh   )r5   r   s     r6   r   z$DescribeControlPolicyRequest.rule_id  s      r8   c                     | j         S )zGets the source of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The source of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: str
        r2   r;   s    r6   r   z#DescribeControlPolicyRequest.source  r<   r8   c                     || _         dS )zSets the source of this DescribeControlPolicyRequest.


        :param source: The source of this DescribeControlPolicyRequest.  # noqa: E501
        :type: str
        Nrk   )r5   r   s     r6   r   z#DescribeControlPolicyRequest.source  r>   r8   c                     | j         S )zGets the status of this DescribeControlPolicyRequest.  # noqa: E501


        :return: The status of this DescribeControlPolicyRequest.  # noqa: E501
        :rtype: list[bool]
        r3   r;   s    r6   r   z#DescribeControlPolicyRequest.status  r<   r8   c                     || _         dS )zSets the status of this DescribeControlPolicyRequest.


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



 9 9 9 9 9 9P1 P1 P1 P1 P16 P1 P1 P1 P1 P1r8   