Package app.knock.api.models.tenants
Class TenantListPageResponse.Builder
-
- All Implemented Interfaces:
public final class TenantListPageResponse.BuilderA builder for TenantListPageResponse.
-
-
Method Summary
-
-
Method Detail
-
entries
final TenantListPageResponse.Builder entries(List<Tenant> entries)
A list of tenants.
-
entries
final TenantListPageResponse.Builder entries(JsonField<List<Tenant>> entries)
Sets Builder.entries to an arbitrary JSON value.
You should usually call Builder.entries with a well-typed
List<Tenant>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEntry
final TenantListPageResponse.Builder addEntry(Tenant entry)
-
pageInfo
final TenantListPageResponse.Builder pageInfo(PageInfo pageInfo)
Pagination information for a list of resources.
-
pageInfo
final TenantListPageResponse.Builder pageInfo(JsonField<PageInfo> pageInfo)
Sets Builder.pageInfo to an arbitrary JSON value.
You should usually call Builder.pageInfo with a well-typed PageInfo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final TenantListPageResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final TenantListPageResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final TenantListPageResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final TenantListPageResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final TenantListPageResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final TenantListPageResponse build()
Returns an immutable instance of TenantListPageResponse.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.entries() .pageInfo()
-
-
-
-