
    ~iC                     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
    volc_observe

    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                   b   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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(ZdPd*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ed3             Zej	        d4             Zed5             Zej	        d6             Zed7             Zej	        d8             Zed9             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dA             Zej	        dB             ZedC             Zej	        dD             ZedE             Zej	        dF             ZedG             Zej	        dH             ZedI             Zej	        dJ             ZdK ZdL ZdM ZdN ZdO Zd)S )QCreateEventRuleRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    contact_group_idsz	list[str]contact_methodsdescriptionstreffective_time$EffectiveTimeForCreateEventRuleInputendpointevent_bus_nameevent_source
event_typefilter_patternzdict(str, object)levelmessage_queuez)list[MessageQueueForCreateEventRuleInput]notify_templatesz+list[NotifyTemplateForCreateEventRuleInput]	rule_namestatus
tls_targetz&list[TLSTargetForCreateEventRuleInput]webhook_idsContactGroupIdsContactMethodsDescriptionEffectiveTimeEndpointEventBusNameEventSource	EventTypeFilterPatternLevelMessageQueueNotifyTemplatesRuleNameStatus	TLSTarget
WebhookIdsNc                 6   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        || _        ||| _        |	|	| _        |
| _        ||| _        ||| _        || _        ||| _         ||| _!        |	|| _"        dS dS )z3CreateEventRuleRequest - a model defined in SwaggerN)#r   _configuration_contact_group_ids_contact_methods_description_effective_time	_endpoint_event_bus_name_event_source_event_type_filter_pattern_level_message_queue_notify_templates
_rule_name_status_tls_target_webhook_idsdiscriminatorr   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)   s                     /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvolcobserve/models/create_event_rule_request.py__init__zCreateEventRuleRequest.__init__I   sm   !*__N,"& $ ##!#"!% !(%6D"&#2D "*D%"0D$DM,(!(DO%"0D
$!.D'$4D!" DK!(DO"*D #"    c                     | j         S )zGets the contact_group_ids of this CreateEventRuleRequest.  # noqa: E501


        :return: The contact_group_ids of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[str]
        r*   r;   s    r<   r   z(CreateEventRuleRequest.contact_group_ids~   s     &&r>   c                     || _         dS )zSets the contact_group_ids of this CreateEventRuleRequest.


        :param contact_group_ids: The contact_group_ids of this CreateEventRuleRequest.  # noqa: E501
        :type: list[str]
        Nr@   )r;   r   s     r<   r   z(CreateEventRuleRequest.contact_group_ids   s     #4r>   c                     | j         S )zGets the contact_methods of this CreateEventRuleRequest.  # noqa: E501


        :return: The contact_methods of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[str]
        r+   rA   s    r<   r   z&CreateEventRuleRequest.contact_methods   s     $$r>   c                     || _         dS )zSets the contact_methods of this CreateEventRuleRequest.


        :param contact_methods: The contact_methods of this CreateEventRuleRequest.  # noqa: E501
        :type: list[str]
        NrD   )r;   r   s     r<   r   z&CreateEventRuleRequest.contact_methods   s     !0r>   c                     | j         S )zGets the description of this CreateEventRuleRequest.  # noqa: E501


        :return: The description of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        r,   rA   s    r<   r   z"CreateEventRuleRequest.description          r>   c                     || _         dS )zSets the description of this CreateEventRuleRequest.


        :param description: The description of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        NrG   )r;   r   s     r<   r   z"CreateEventRuleRequest.description        (r>   c                     | j         S )zGets the effective_time of this CreateEventRuleRequest.  # noqa: E501


        :return: The effective_time of this CreateEventRuleRequest.  # noqa: E501
        :rtype: EffectiveTimeForCreateEventRuleInput
        r-   rA   s    r<   r
   z%CreateEventRuleRequest.effective_time        ##r>   c                     || _         dS )zSets the effective_time of this CreateEventRuleRequest.


        :param effective_time: The effective_time of this CreateEventRuleRequest.  # noqa: E501
        :type: EffectiveTimeForCreateEventRuleInput
        NrL   )r;   r
   s     r<   r
   z%CreateEventRuleRequest.effective_time         .r>   c                     | j         S )zGets the endpoint of this CreateEventRuleRequest.  # noqa: E501


        :return: The endpoint of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        r.   rA   s    r<   r   zCreateEventRuleRequest.endpoint   s     ~r>   c                     || _         dS )zSets the endpoint of this CreateEventRuleRequest.


        :param endpoint: The endpoint of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        NrQ   )r;   r   s     r<   r   zCreateEventRuleRequest.endpoint   s     "r>   c                     | j         S )zGets the event_bus_name of this CreateEventRuleRequest.  # noqa: E501


        :return: The event_bus_name of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        )r/   rA   s    r<   r   z%CreateEventRuleRequest.event_bus_name   rM   r>   c                     | j         j        r|t          d          dg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the event_bus_name of this CreateEventRuleRequest.


        :param event_bus_name: The event_bus_name of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `event_bus_name`, must not be `None`defaultz<Invalid value for `event_bus_name` ({0}), must be one of {1})r)   client_side_validation
ValueErrorformatr/   )r;   r   allowed_valuess      r<   r   z%CreateEventRuleRequest.event_bus_name   s{     5 	W.:PUVVV#6 	n44N77  
  .r>   c                     | j         S )zGets the event_source of this CreateEventRuleRequest.  # noqa: E501


        :return: The event_source of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        )r0   rA   s    r<   r   z#CreateEventRuleRequest.event_source  s     !!r>   c                 N    | j         j        r|t          d          || _        dS )zSets the event_source of this CreateEventRuleRequest.


        :param event_source: The event_source of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `event_source`, must not be `None`)r)   rV   rW   r0   )r;   r   s     r<   r   z#CreateEventRuleRequest.event_source  s5     5 	U,:NSTTT)r>   c                     | j         S )zGets the event_type of this CreateEventRuleRequest.  # noqa: E501


        :return: The event_type of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[str]
        r1   rA   s    r<   r   z!CreateEventRuleRequest.event_type       r>   c                     || _         dS )zSets the event_type of this CreateEventRuleRequest.


        :param event_type: The event_type of this CreateEventRuleRequest.  # noqa: E501
        :type: list[str]
        Nr]   )r;   r   s     r<   r   z!CreateEventRuleRequest.event_type&       &r>   c                     | j         S )zGets the filter_pattern of this CreateEventRuleRequest.  # noqa: E501


        :return: The filter_pattern of this CreateEventRuleRequest.  # noqa: E501
        :rtype: dict(str, object)
        r2   rA   s    r<   r   z%CreateEventRuleRequest.filter_pattern1  rM   r>   c                     || _         dS )zSets the filter_pattern of this CreateEventRuleRequest.


        :param filter_pattern: The filter_pattern of this CreateEventRuleRequest.  # noqa: E501
        :type: dict(str, object)
        Nrb   )r;   r   s     r<   r   z%CreateEventRuleRequest.filter_pattern;  rO   r>   c                     | j         S )zGets the level of this CreateEventRuleRequest.  # noqa: E501


        :return: The level of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        )r3   rA   s    r<   r   zCreateEventRuleRequest.levelF  s     {r>   c                 N    | j         j        r|t          d          || _        dS )zSets the level of this CreateEventRuleRequest.


        :param level: The level of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        Nz-Invalid value for `level`, must not be `None`)r)   rV   rW   r3   )r;   r   s     r<   r   zCreateEventRuleRequest.levelP  s1     5 	N%-LMMMr>   c                     | j         S )zGets the message_queue of this CreateEventRuleRequest.  # noqa: E501


        :return: The message_queue of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[MessageQueueForCreateEventRuleInput]
        r4   rA   s    r<   r   z$CreateEventRuleRequest.message_queue]  s     ""r>   c                     || _         dS )zSets the message_queue of this CreateEventRuleRequest.


        :param message_queue: The message_queue of this CreateEventRuleRequest.  # noqa: E501
        :type: list[MessageQueueForCreateEventRuleInput]
        Nrg   )r;   r   s     r<   r   z$CreateEventRuleRequest.message_queueg  s     ,r>   c                     | j         S )zGets the notify_templates of this CreateEventRuleRequest.  # noqa: E501


        :return: The notify_templates of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[NotifyTemplateForCreateEventRuleInput]
        r5   rA   s    r<   r   z'CreateEventRuleRequest.notify_templatesr  s     %%r>   c                     || _         dS )zSets the notify_templates of this CreateEventRuleRequest.


        :param notify_templates: The notify_templates of this CreateEventRuleRequest.  # noqa: E501
        :type: list[NotifyTemplateForCreateEventRuleInput]
        Nrj   )r;   r   s     r<   r   z'CreateEventRuleRequest.notify_templates|  s     "2r>   c                     | j         S )zGets the rule_name of this CreateEventRuleRequest.  # noqa: E501


        :return: The rule_name of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        )r6   rA   s    r<   r   z CreateEventRuleRequest.rule_name  s     r>   c                    | j         j        r|t          d          | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the rule_name of this CreateEventRuleRequest.


        :param rule_name: The rule_name of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `rule_name`, must not be `None`   zIInvalid value for `rule_name`, length must be less than or equal to `127`   zJInvalid value for `rule_name`, length must be greater than or equal to `2`)r)   rV   rW   lenr6   )r;   r   s     r<   r   z CreateEventRuleRequest.rule_name  s     5 	R):KPQQQ6 	j%#i..3*>*>hiii6 	k%#i..1*<*<ijjj#r>   c                     | j         S )zGets the status of this CreateEventRuleRequest.  # noqa: E501


        :return: The status of this CreateEventRuleRequest.  # noqa: E501
        :rtype: str
        )r7   rA   s    r<   r   zCreateEventRuleRequest.status  s     |r>   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the status of this CreateEventRuleRequest.


        :param status: The status of this CreateEventRuleRequest.  # noqa: E501
        :type: str
        enabledisablez4Invalid value for `status` ({0}), must be one of {1}N)r)   rV   rW   rX   r7   )r;   r   rY   s      r<   r   zCreateEventRuleRequest.status  sX     #I.6 	n,,F//  
 r>   c                     | j         S )zGets the tls_target of this CreateEventRuleRequest.  # noqa: E501


        :return: The tls_target of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[TLSTargetForCreateEventRuleInput]
        r8   rA   s    r<   r   z!CreateEventRuleRequest.tls_target  r^   r>   c                     || _         dS )zSets the tls_target of this CreateEventRuleRequest.


        :param tls_target: The tls_target of this CreateEventRuleRequest.  # noqa: E501
        :type: list[TLSTargetForCreateEventRuleInput]
        Nrv   )r;   r   s     r<   r   z!CreateEventRuleRequest.tls_target  r`   r>   c                     | j         S )zGets the webhook_ids of this CreateEventRuleRequest.  # noqa: E501


        :return: The webhook_ids of this CreateEventRuleRequest.  # noqa: E501
        :rtype: list[str]
        r9   rA   s    r<   r   z"CreateEventRuleRequest.webhook_ids  rH   r>   c                     || _         dS )zSets the webhook_ids of this CreateEventRuleRequest.


        :param webhook_ids: The webhook_ids of this CreateEventRuleRequest.  # noqa: E501
        :type: list[str]
        Nry   )r;   r   s     r<   r   z"CreateEventRuleRequest.webhook_ids  rJ   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>z0CreateEventRuleRequest.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   z0CreateEventRuleRequest.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CreateEventRuleRequest.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pformatr}   rA   s    r<   to_strzCreateEventRuleRequest.to_str  s    ~dllnn---r>   c                 *    |                                  S )zFor `print` and `pprint`)r   rA   s    r<   __repr__zCreateEventRuleRequest.__repr__	  s    {{}}r>   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r}   r;   others     r<   __eq__zCreateEventRuleRequest.__eq__  s5    %!788 	5||~~00r>   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r<   __ne__zCreateEventRuleRequest.__ne__  s5    %!788 	4||~~00r>   )NNNNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r   attribute_mapr=   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      s        
[; 	u 	@	
 	E 	% 	 	k 	- 	 	D 	I 	U 	% 	>  	{!M&.+ 	} 	/	
 	J 	. 	 	k 	/ 	 	 	- 	Z 	( 	k  	|!M&3+ 3+ 3+ 3+j ' ' X' 4 4 4 % % X% 0 0 0 ! ! X! ( ( ( $ $ X$ . . .   X _" " _" $ $ X$ . . .& " " X" 
* 
* 
*     X  & & & $ $ X$ . . .   X \
 
 \
 # # X# , , , & & X& 2 2 2   X $ $ $$   X ]  ]"     X  & & & ! ! X! ( ( (  6. . .  1 1 11 1 1 1 1r>   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   r>   r<   <module>r      s|      				 



 9 9 9 9 9 9C1 C1 C1 C1 C1V C1 C1 C1 C1 C1r>   