Class GetMediaUploadUrlRequest

java.lang.Object
com.langfuse.client.resources.media.types.GetMediaUploadUrlRequest

public final class GetMediaUploadUrlRequest extends Object
  • Method Details

    • getTraceId

      public String getTraceId()
      Returns:
      The trace ID associated with the media record
    • getObservationId

      public Optional<String> getObservationId()
      Returns:
      The observation ID associated with the media record. If the media record is associated directly with a trace, this will be null.
    • getContentType

      public MediaContentType getContentType()
    • getContentLength

      public int getContentLength()
      Returns:
      The size of the media record in bytes
    • getSha256Hash

      public String getSha256Hash()
      Returns:
      The SHA-256 hash of the media record
    • getField

      public String getField()
      Returns:
      The trace / observation field the media record is associated with. This can be one of input, output, metadata
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static GetMediaUploadUrlRequest.TraceIdStage builder()