Class JobListResponse.Builder
-
- All Implemented Interfaces:
public final class JobListResponse.BuilderA builder for JobListResponse.
-
-
Method Summary
-
-
Method Detail
-
items
final JobListResponse.Builder items(List<ScanReport> items)
List of items. If no matching items are found, then
[]will be returned.
-
items
final JobListResponse.Builder items(JsonField<List<ScanReport>> items)
Sets Builder.items to an arbitrary JSON value.
You should usually call Builder.items with a well-typed
List<ScanReport>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addItem
final JobListResponse.Builder addItem(ScanReport item)
Adds a single ScanReport to items.
-
limit
final JobListResponse.Builder limit(Long limit)
Maximum number of items to return
-
limit
final JobListResponse.Builder limit(JsonField<Long> limit)
Sets Builder.limit to an arbitrary JSON value.
You should usually call Builder.limit with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
offset
final JobListResponse.Builder offset(Long offset)
Begin returning the results from this offset
-
offset
final JobListResponse.Builder offset(JsonField<Long> offset)
Sets Builder.offset to an arbitrary JSON value.
You should usually call Builder.offset with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
total
final JobListResponse.Builder total(Double total)
Total number of items available based on the query criteria.
-
total
final JobListResponse.Builder total(JsonField<Double> total)
Sets Builder.total to an arbitrary JSON value.
You should usually call Builder.total with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final JobListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final JobListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final JobListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final JobListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final JobListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final JobListResponse build()
Returns an immutable instance of JobListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.items() .limit() .offset() .total()
-
-
-
-