gravitino.dto.responses.owner_response.OwnerResponse¶
- class gravitino.dto.responses.owner_response.OwnerResponse(_code: int, _owner: OwnerDTO | None = None)¶
Bases:
BaseResponseRepresents a response for the get owner operation.
Methods
__init__(_code[, _owner])code()from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])owner()schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])validate()Validates the response code.
Attributes
dataclass_json_config- validate() None¶
Validates the response code. @throws IllegalArgumentException if code value is negative.