aries_cloudagent.protocols.revocation_notification.v2_0.models package¶
Submodules¶
aries_cloudagent.protocols.revocation_notification.v2_0.models.rev_notification_record module¶
Store revocation notification details until revocation is published.
-
class
aries_cloudagent.protocols.revocation_notification.v2_0.models.rev_notification_record.
RevNotificationRecord
(*, revocation_notification_id: str = None, rev_reg_id: str = None, cred_rev_id: str = None, connection_id: str = None, thread_id: str = None, comment: str = None, version: str = None, **kwargs)[source]¶ Bases:
aries_cloudagent.messaging.models.base_record.BaseRecord
Revocation Notification Record.
-
class
Meta
[source]¶ Bases:
object
RevNotificationRecord Meta.
-
schema_class
= 'RevNotificationRecordSchema'¶
-
-
RECORD_ID_NAME
= 'revocation_notification_id'¶
-
RECORD_TYPE
= 'revocation_notification'¶
-
TAG_NAMES
= {'connection_id', 'cred_rev_id', 'rev_reg_id', 'version'}¶
-
classmethod
query_by_ids
(session: aries_cloudagent.core.profile.ProfileSession, cred_rev_id: str, rev_reg_id: str) → aries_cloudagent.protocols.revocation_notification.v2_0.models.rev_notification_record.RevNotificationRecord[source]¶ Retrieve revocation notification record by cred rev id and/or rev reg id.
Parameters: - session – the profile session to use
- cred_rev_id – the cred rev id by which to filter
- rev_reg_id – the rev reg id by which to filter
-
classmethod
query_by_rev_reg_id
(session: aries_cloudagent.core.profile.ProfileSession, rev_reg_id: str) → Sequence[aries_cloudagent.protocols.revocation_notification.v1_0.models.rev_notification_record.RevNotificationRecord][source]¶ Retrieve revocation notification records by rev reg id.
Parameters: - session – the profile session to use
- rev_reg_id – the rev reg id by which to filter
-
record_value
¶ Return record value.
-
revocation_notification_id
¶ Return record id.
-
class
-
class
aries_cloudagent.protocols.revocation_notification.v2_0.models.rev_notification_record.
RevNotificationRecordSchema
(*args, **kwargs)[source]¶ Bases:
aries_cloudagent.messaging.models.base_record.BaseRecordSchema
Revocation Notification Record Schema.
-
class
Meta
[source]¶ Bases:
object
RevNotificationRecordSchema Meta.
-
model_class
= 'RevNotificationRecord'¶
-
unknown
¶ Used by autodoc_mock_imports.
-
-
comment
¶ Used by autodoc_mock_imports.
-
connection_id
¶ Used by autodoc_mock_imports.
-
cred_rev_id
¶ Used by autodoc_mock_imports.
-
rev_reg_id
¶ Used by autodoc_mock_imports.
-
thread_id
¶ Used by autodoc_mock_imports.
-
version
¶ Used by autodoc_mock_imports.
-
class