gravitino.dto.responses.version_response.VersionResponse¶
- class gravitino.dto.responses.version_response.VersionResponse(_code: int, _version: VersionDTO)¶
Bases:
BaseResponse
Represents a response containing version of Gravitino.
- __init__(_code: int, _version: VersionDTO) None ¶
Methods
__init__
(_code, _version)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 data.
version
()Attributes
dataclass_json_config
- validate()¶
Validates the response data.
- Raise:
IllegalArgumentException if name or audit information is not set.