Package com.courier.models.auditevents
Class AuditEventListResponse.Builder
-
- All Implemented Interfaces:
public final class AuditEventListResponse.BuilderA builder for AuditEventListResponse.
-
-
Method Summary
-
-
Method Detail
-
paging
final AuditEventListResponse.Builder paging(Paging paging)
-
paging
final AuditEventListResponse.Builder paging(JsonField<Paging> paging)
Sets Builder.paging to an arbitrary JSON value.
You should usually call Builder.paging with a well-typed Paging value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
results
final AuditEventListResponse.Builder results(List<AuditEvent> results)
-
results
final AuditEventListResponse.Builder results(JsonField<List<AuditEvent>> results)
Sets Builder.results to an arbitrary JSON value.
You should usually call Builder.results with a well-typed
List<AuditEvent>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addResult
final AuditEventListResponse.Builder addResult(AuditEvent result)
Adds a single AuditEvent to results.
-
additionalProperties
final AuditEventListResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AuditEventListResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AuditEventListResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AuditEventListResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AuditEventListResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AuditEventListResponse build()
Returns an immutable instance of AuditEventListResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.paging() .results()
-
-
-
-