gravitino.dto.responses.catalog_list_response.CatalogListResponse¶
- class gravitino.dto.responses.catalog_list_response.CatalogListResponse(_code: int, _catalogs: List[CatalogDTO])¶
Bases:
BaseResponse
Represents a response for a list of catalogs with their information.
- __init__(_code: int, _catalogs: List[CatalogDTO]) None ¶
Methods
__init__
(_code, _catalogs)catalogs
()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
- validate()¶
Validates the response code. @throws IllegalArgumentException if code value is negative.