gravitino.dto.authorization.owner_dto.OwnerDTO¶
- class gravitino.dto.authorization.owner_dto.OwnerDTO(_name: str, _type: Type)¶
Bases:
OwnerRepresents an Owner Data Transfer Object (DTO).
Methods
__init__(_name, _type)from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])name()The name of the owner.
schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])type()The type of the owner.
- class Type(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
EnumThe type of the owner.
- name() → str¶
The name of the owner.
- Returns:
str: The name of the owner.