Class TemplateListResponse
-
- All Implemented Interfaces:
public final class TemplateListResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTemplateListResponse.BuilderA builder for TemplateListResponse.
public final classTemplateListResponse.TypeAlways set to
list. Represents the type of this object.public final classTemplateListResponse.Item
-
Method Summary
Modifier and Type Method Description final BooleanhasMore()Set to true when there are more pages that can be retrieved. final TemplateListResponse.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<List<TemplateListResponse.Item>>items()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<TemplateListResponse.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<List<TemplateListResponse.Item>>_items()Returns the raw JSON value of items. final JsonField<String>_nextUrl()Returns the raw JSON value of nextUrl. final Map<String, JsonValue>_additionalProperties()final TemplateListResponse.BuildertoBuilder()final TemplateListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static TemplateListResponse.Builderbuilder()Returns a mutable builder for constructing an instance of TemplateListResponse. -
-
Method Detail
-
type
final TemplateListResponse.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_moreis set to true
-
items
final Optional<List<TemplateListResponse.Item>> items()
-
nextUrl
final Optional<String> nextUrl()
A url that may be used to generate fetch the next set of results. Defined only when
has_moreis 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.
-
_type
final JsonField<TemplateListResponse.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.
-
_items
final JsonField<List<TemplateListResponse.Item>> _items()
Returns the raw JSON value of items.
Unlike items, 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 TemplateListResponse.Builder toBuilder()
-
validate
final TemplateListResponse validate()
-
builder
final static TemplateListResponse.Builder builder()
Returns a mutable builder for constructing an instance of TemplateListResponse.
The following fields are required:
.hasMore() .type() .url()
-
-
-
-