gravitino.dto.responses.tag_response.TagResponse

class gravitino.dto.responses.tag_response.TagResponse(_code: int, _tag: TagDTO = None)

Bases: BaseResponse

Represents a response for a tag.

__init__(_code: int, _tag: TagDTO = None) None

Methods

__init__(_code[, _tag])

code()

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

tag()

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.