
    UEj                        d Z ddlmZ ddlmZmZ ddlmZ ddl	m
Z
mZmZ ddlmZ ddlmZ dd	lmZmZmZ  G d
 de      Z G d de      Z G d de      Z G d de      Zy)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations   )	BaseModelUNSET_SENTINEL)pingwebhookrequest)FieldMetadataPathParamMetadataRequestMetadata)model_serializer)Optional)	AnnotatedNotRequired	TypedDictc                      e Zd ZU ded<   y)PingWebhookGlobalsTypedDictNotRequired[str]api_versionN__name__
__module____qualname____annotations__     [/var/www/html/qr/venv/lib/python3.12/site-packages/google/genai/_gaos/models/pingwebhook.pyr   r      s    !!+r   r   c                  <    e Zd ZU dZded<   	  ed      d        Zy)PingWebhookGlobalsN^Annotated[Optional[str], FieldMetadata(path=PathParamMetadata(style='simple', explode=False))]r   wrapmodec                   t        dg      } ||       }i }t        |       j                  j                         D ]L  \  }}|j                  xs |}|j                  ||j                  |            }|t        k7  sA|||vsH|||<   N |S )Nr   settypemodel_fieldsitemsaliasgetr   	selfhandleroptional_fields
serializedmnfkvals	            r   serialize_modelz"PingWebhookGlobals.serialize_model(   s    }o.T]
J++113 	DAq1A..JNN1$56Cn$?a&>AaD	 r   )r   r   r   r   r   r   r4   r   r   r   r   r   !   s2     	    ,6" #r   r   c                  0    e Zd ZU ded<   	 ded<   	 ded<   y)PingWebhookRequestParamstridr   r   z@NotRequired[webhooks_pingwebhookrequest.PingWebhookRequestParam]bodyNr   r   r   r   r6   r6   9   s     G "!+
JJr   r6   c                  X    e Zd ZU ded<   	 dZded<   	 dZded<   	  ed	      d
        Zy)PingWebhookRequestzTAnnotated[str, FieldMetadata(path=PathParamMetadata(style='simple', explode=False))]r8   Nr   r   zAnnotated[Optional[webhooks_pingwebhookrequest.PingWebhookRequest], FieldMetadata(request=RequestMetadata(media_type='application/json'))]r9   r   r    c                   t        ddg      } ||       }i }t        |       j                  j                         D ]L  \  }}|j                  xs |}|j                  ||j                  |            }|t        k7  sA|||vsH|||<   N |S )Nr   r9   r#   r*   s	            r   r4   z"PingWebhookRequest.serialize_modelX   s    }f56T]
J++113 	DAq1A..JNN1$56Cn$?a&>AaD	 r   )r   r   r   r   r   r9   r   r4   r   r   r   r;   r;   D   sZ    	  	    ,
 	 	   6" #r   r;   N)__doc__
__future__r   typesr   r   types.webhooksr   webhooks_pingwebhookrequestutilsr   r	   r
   pydanticr   typingr   typing_extensionsr   r   r   r   r   r6   r;   r   r   r   <module>rF      sV   " H " - N E E %  ? ?,) ,
 0i " "r   