Class UsageModerationsResponse
-
- All Implemented Interfaces:
public final class UsageModerationsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUsageModerationsResponse.BuilderA builder for UsageModerationsResponse.
public final classUsageModerationsResponse.Data
-
Method Summary
Modifier and Type Method Description final List<UsageModerationsResponse.Data>data()final BooleanhasMore()final Optional<String>nextPage()final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("page")final JsonField<List<UsageModerationsResponse.Data>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_nextPage()Returns the raw JSON value of nextPage. final Map<String, JsonValue>_additionalProperties()final UsageModerationsResponse.BuildertoBuilder()final UsageModerationsResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UsageModerationsResponse.Builderbuilder()Returns a mutable builder for constructing an instance of UsageModerationsResponse. -
-
Method Detail
-
data
final List<UsageModerationsResponse.Data> data()
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("page")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<UsageModerationsResponse.Data>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_nextPage
final JsonField<String> _nextPage()
Returns the raw JSON value of nextPage.
Unlike nextPage, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UsageModerationsResponse.Builder toBuilder()
-
validate
final UsageModerationsResponse 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 UsageModerationsResponse.Builder builder()
Returns a mutable builder for constructing an instance of UsageModerationsResponse.
The following fields are required:
.data() .hasMore() .nextPage()
-
-
-
-