Builder

public final class Builder

A builder for UrlCitation.

Functions

Link copied to clipboard
public final UrlCitation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final UrlCitation build()

Returns an immutable instance of UrlCitation.

Link copied to clipboard
public final UrlCitation.Builder endIndex(JsonField<Integer> endIndex)

Sets Builder.endIndex to an arbitrary JSON value.

public final UrlCitation.Builder endIndex(Integer endIndex)

End of the attributed segment, exclusive.

Link copied to clipboard
public final UrlCitation.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final UrlCitation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
Link copied to clipboard
public final UrlCitation.Builder startIndex(JsonField<Integer> startIndex)

Sets Builder.startIndex to an arbitrary JSON value.

public final UrlCitation.Builder startIndex(Integer startIndex)

Start of segment of the response that is attributed to this source.

Link copied to clipboard
public final UrlCitation.Builder title(JsonField<String> title)

Sets Builder.title to an arbitrary JSON value.

public final UrlCitation.Builder title(String title)

The title of the URL.

Link copied to clipboard
public final UrlCitation.Builder type(JsonValue type)

Sets the field to an arbitrary JSON value.

Link copied to clipboard
public final UrlCitation.Builder url(JsonField<String> url)

Sets Builder.url to an arbitrary JSON value.

public final UrlCitation.Builder url(String url)

The URL.