RulesListResponse

public final class RulesListResponse

Class representation of the nested list envelope returned by GET /v3/rules.

Constructors

Link copied to clipboard
public RulesListResponse RulesListResponse(@Json(name = "data") RulesListData data, @Json(name = "request_id") String requestId)

Properties

Link copied to clipboard
private final RulesListData data

Nested list payload.

Link copied to clipboard
private final String requestId

The request ID.

Functions

Link copied to clipboard
public final RulesListData getData()

Nested list payload.

Link copied to clipboard
public final String getRequestId()

The request ID.

Link copied to clipboard

Convert the nested rules list envelope into the SDK's standard list response.