Class AlloyListResponse.Builder
-
- All Implemented Interfaces:
public final class AlloyListResponse.BuilderA builder for AlloyListResponse.
-
-
Method Summary
-
-
Method Detail
-
data
final AlloyListResponse.Builder data(List<AlloyListResponse.Data> data)
List of Alloys
-
data
final AlloyListResponse.Builder data(JsonField<List<AlloyListResponse.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 AlloyListResponse.Builder addData(AlloyListResponse.Data data)
Adds a single Data to Builder.data.
-
paginationMetadata
final AlloyListResponse.Builder paginationMetadata(AlloyListResponse.PaginationMetadata paginationMetadata)
Pagination metadata
-
paginationMetadata
final AlloyListResponse.Builder paginationMetadata(JsonField<AlloyListResponse.PaginationMetadata> paginationMetadata)
Sets Builder.paginationMetadata to an arbitrary JSON value.
You should usually call Builder.paginationMetadata with a well-typed PaginationMetadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
_sv
final AlloyListResponse.Builder _sv(AlloyListResponse._Sv _sv)
Schema version
-
_sv
final AlloyListResponse.Builder _sv(JsonField<AlloyListResponse._Sv> _sv)
Sets Builder._sv to an arbitrary JSON value.
You should usually call Builder._sv with a well-typed _Sv value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AlloyListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AlloyListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AlloyListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AlloyListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AlloyListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AlloyListResponse build()
Returns an immutable instance of AlloyListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data() .paginationMetadata()
-
-
-
-