Package com.openai.models.responses
Class ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation
-
- All Implemented Interfaces:
public final class ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation
A citation for a web resource used to generate a model response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder
A builder for UrlCitation.
-
Method Summary
Modifier and Type Method Description final Long
endIndex()
The index of the last character of the URL citation in the message. final Long
startIndex()
The index of the first character of the URL citation in the message. final String
title()
The title of the web resource. final JsonValue
_type()
The type of the URL citation. final String
url()
The URL of the web resource. final JsonField<Long>
_endIndex()
The index of the last character of the URL citation in the message. final JsonField<Long>
_startIndex()
The index of the first character of the URL citation in the message. final JsonField<String>
_title()
The title of the web resource. final JsonField<String>
_url()
The URL of the web resource. final Map<String, JsonValue>
_additionalProperties()
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation
validate()
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder
builder()
Returns a mutable builder for constructing an instance of UrlCitation. -
-
Method Detail
-
startIndex
final Long startIndex()
The index of the first character of the URL citation in the message.
-
_endIndex
final JsonField<Long> _endIndex()
The index of the last character of the URL citation in the message.
-
_startIndex
final JsonField<Long> _startIndex()
The index of the first character of the URL citation in the message.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation validate()
-
toBuilder
final ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder toBuilder()
-
builder
final static ResponseTextAnnotationDeltaEvent.Annotation.UrlCitation.Builder builder()
Returns a mutable builder for constructing an instance of UrlCitation.
The following fields are required:
.endIndex() .startIndex() .title() .url()
-
-
-
-