Package ai.extend.wrapper.webhooks
Class SignedDataUrlPayload
- java.lang.Object
-
- ai.extend.wrapper.webhooks.SignedDataUrlPayload
-
public class SignedDataUrlPayload extends java.lang.ObjectRepresents a signed URL payload from a webhook event.When webhooks are configured to use signed URLs, the payload contains a URL to fetch the full data rather than the data itself. This is used for large payloads that exceed webhook size limits.
-
-
Constructor Summary
Constructors Constructor Description SignedDataUrlPayload(java.lang.String data, java.lang.String id, java.lang.String object, java.util.Map<java.lang.String,java.lang.Object> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetData()Returns the signed URL to fetch the full payload.java.lang.StringgetId()Returns the ID of the run/resource.java.util.Map<java.lang.String,java.lang.Object>getMetadata()Returns optional metadata passed when the run was created.java.lang.StringgetObject()Returns the object type discriminator.java.lang.StringtoString()
-
-
-
Method Detail
-
getData
public java.lang.String getData()
Returns the signed URL to fetch the full payload. This URL expires in 1 hour.
-
getId
public java.lang.String getId()
Returns the ID of the run/resource.
-
getObject
public java.lang.String getObject()
Returns the object type discriminator. Always "signed_data_url" for signed URL payloads.
-
getMetadata
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
Returns optional metadata passed when the run was created.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-