gravitino.dto.responses.statistic_list_response.StatisticListResponse

class gravitino.dto.responses.statistic_list_response.StatisticListResponse(_code: int, _statistics: list[gravitino.dto.stats.statistic_dto.StatisticDTO])

Bases: BaseResponse

Represents a response containing a list of statistics.

__init__(_code: int, _statistics: list[gravitino.dto.stats.statistic_dto.StatisticDTO]) None

Methods

__init__(_code, _statistics)

code()

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

validate()

Validates the response code.

Attributes

dataclass_json_config

statistics

validate() None

Validates the response code. @throws IllegalArgumentException if code value is negative.