Class UsageAudioSpeechesResponse.Builder
-
- All Implemented Interfaces:
public final class UsageAudioSpeechesResponse.BuilderA builder for UsageAudioSpeechesResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final UsageAudioSpeechesResponse.Builder data(List<UsageAudioSpeechesResponse.Data> data)
-
data
final UsageAudioSpeechesResponse.Builder data(JsonField<List<UsageAudioSpeechesResponse.Data>> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data with a well-typed
List<Data>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addData
final UsageAudioSpeechesResponse.Builder addData(UsageAudioSpeechesResponse.Data data)
Adds a single Data to Builder.data.
-
hasMore
final UsageAudioSpeechesResponse.Builder hasMore(Boolean hasMore)
-
hasMore
final UsageAudioSpeechesResponse.Builder hasMore(JsonField<Boolean> hasMore)
Sets Builder.hasMore to an arbitrary JSON value.
You should usually call Builder.hasMore with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
nextPage
final UsageAudioSpeechesResponse.Builder nextPage(String nextPage)
-
nextPage
final UsageAudioSpeechesResponse.Builder nextPage(Optional<String> nextPage)
Alias for calling Builder.nextPage with
nextPage.orElse(null).
-
nextPage
final UsageAudioSpeechesResponse.Builder nextPage(JsonField<String> nextPage)
Sets Builder.nextPage to an arbitrary JSON value.
You should usually call Builder.nextPage with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
object_
final UsageAudioSpeechesResponse.Builder object_(JsonValue object_)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("page")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final UsageAudioSpeechesResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final UsageAudioSpeechesResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final UsageAudioSpeechesResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final UsageAudioSpeechesResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final UsageAudioSpeechesResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final UsageAudioSpeechesResponse build()
Returns an immutable instance of UsageAudioSpeechesResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-