gravitino.dto.requests.tag_update_request.TagUpdateRequestBase¶
- class gravitino.dto.requests.tag_update_request.TagUpdateRequestBase¶
Bases:
RESTRequest,ABC- __init__()¶
Methods
__init__()from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])schema(*[, infer_missing, only, exclude, ...])Returns the tag change.
to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])validate()Ensures that a constructed instance of a REST message is valid according to the REST spec.
Attributes
dataclass_json_config- abstract tag_change() TagChange¶
Returns the tag change.
- Raises:
NotImplementedError: if the method is not implemented.
- Returns:
TagUpdateRequestBase: the tag change.
- abstract validate()¶
Ensures that a constructed instance of a REST message is valid according to the REST spec.
This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.
- Raises:
IllegalArgumentException: If the message is not valid.