gravitino.dto.responses.set_response.SetResponse¶
- class gravitino.dto.responses.set_response.SetResponse(_code: int, _set: bool)¶
Bases:
BaseResponseRepresents a response for a set operation.
- __init__(_code: int, _set: bool) None¶
Methods
__init__(_code, _set)code()from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])schema(*[, infer_missing, only, exclude, ...])set()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.