Class WebhookListPageResponse
-
- All Implemented Interfaces:
public final class WebhookListPageResponseA page of organization webhook endpoints.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWebhookListPageResponse.BuilderA builder for WebhookListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<BetaOrganizationWebhookEndpoint>data()The organization webhook endpoints on this page. final BooleanhasMore()Whether more endpoints follow this page in list order. final Optional<String>firstId()First ID in the datalist.final Optional<String>lastId()Last ID in the datalist.final JsonField<List<BetaOrganizationWebhookEndpoint>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final WebhookListPageResponse.BuildertoBuilder()final WebhookListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WebhookListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of WebhookListPageResponse. -
-
Method Detail
-
data
final List<BetaOrganizationWebhookEndpoint> data()
The organization webhook endpoints on this page.
-
hasMore
final Boolean hasMore()
Whether more endpoints follow this page in list order. With
before_id, only endpoints before the cursor count.
-
lastId
final Optional<String> lastId()
Last ID in the
datalist. Can be used as theafter_idfor the next page.
-
_data
final JsonField<List<BetaOrganizationWebhookEndpoint>> _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.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, this method doesn't throw if the JSON field has an unexpected type.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final WebhookListPageResponse.Builder toBuilder()
-
validate
final WebhookListPageResponse 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 WebhookListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of WebhookListPageResponse.
The following fields are required:
.data() .hasMore()
-
-
-
-