gravitino.dto.responses.drop_response.DropResponse¶
- class gravitino.dto.responses.drop_response.DropResponse(_code: int, _dropped: bool)¶
Bases:
BaseResponse
Represents a response for a drop operation.
- __init__(_code: int, _dropped: bool) None ¶
Methods
__init__
(_code, _dropped)code
()dropped
()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.