Class TenantListResponse
-
- All Implemented Interfaces:
public final class TenantListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantListResponse.BuilderA builder for TenantListResponse.
public final classTenantListResponse.TypeAlways set to "list". Represents the type of this object.
-
Method Summary
Modifier and Type Method Description final BooleanhasMore()Set to true when there are more pages that can be retrieved. final List<Tenant>items()An array of Tenants final TenantListResponse.Typetype()Always set to "list". final Stringurl()A url that may be used to generate these results. final Optional<String>cursor()A pointer to the next page of results. final Optional<String>nextUrl()A url that may be used to generate fetch the next set of results. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<List<Tenant>>_items()Returns the raw JSON value of items. final JsonField<TenantListResponse.Type>_type()Returns the raw JSON value of type. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_cursor()Returns the raw JSON value of cursor. final JsonField<String>_nextUrl()Returns the raw JSON value of nextUrl. final Map<String, JsonValue>_additionalProperties()final TenantListResponse.BuildertoBuilder()final TenantListResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TenantListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TenantListResponse. -
-
Method Detail
-
type
final TenantListResponse.Type type()
Always set to "list". Represents the type of this object.
-
cursor
final Optional<String> cursor()
A pointer to the next page of results. Defined only when has_more is set to true.
-
nextUrl
final Optional<String> nextUrl()
A url that may be used to generate fetch the next set of results. Defined only when has_more is set to true
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_items
final JsonField<List<Tenant>> _items()
Returns the raw JSON value of items.
Unlike items, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<TenantListResponse.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_cursor
final JsonField<String> _cursor()
Returns the raw JSON value of cursor.
Unlike cursor, this method doesn't throw if the JSON field has an unexpected type.
-
_nextUrl
final JsonField<String> _nextUrl()
Returns the raw JSON value of nextUrl.
Unlike nextUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final TenantListResponse.Builder toBuilder()
-
validate
final TenantListResponse validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static TenantListResponse.Builder builder()
Returns a mutable builder for constructing an instance of TenantListResponse.
The following fields are required:
.hasMore() .items() .type() .url()
-
-
-
-