gravitino.dto.responses.credential_response.CredentialResponse¶
- class gravitino.dto.responses.credential_response.CredentialResponse(_code: int, _credentials: List[CredentialDTO])¶
Bases:
BaseResponse
Response for credential response.
- __init__(_code: int, _credentials: List[CredentialDTO]) None ¶
Methods
__init__
(_code, _credentials)code
()credentials
()from_dict
(kvs, *[, infer_missing])from_json
(s, *[, parse_float, parse_int, ...])schema
(*[, infer_missing, only, exclude, ...])to_dict
([encode_json])to_json
(*[, skipkeys, ensure_ascii, ...])validate
()Validates the response data.
Attributes
dataclass_json_config
- validate()¶
Validates the response data.
- Raises:
IllegalArgumentException if credentials are None.