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: Optional[str] = None, rev_reg_id: Optional[str] = None, cred_rev_id: Optional[str] = None, connection_id: Optional[str] = None, thread_id: Optional[str] = None, comment: Optional[str] = None, version: Optional[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'}
- async 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
- async classmethod query_by_rev_reg_id(session: aries_cloudagent.core.profile.ProfileSession, rev_reg_id: str) Sequence[aries_cloudagent.protocols.revocation_notification.v2_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
- class aries_cloudagent.protocols.revocation_notification.v2_0.models.rev_notification_record.RevNotificationRecordSchema(*args: Any, **kwargs: Any)[source]
Bases:
marshmallow.
Revocation Notification Record Schema.
- class Meta[source]
Bases:
object
RevNotificationRecordSchema Meta.
- model_class = 'RevNotificationRecord'
- comment
- connection_id
- cred_rev_id
- rev_reg_id
- thread_id
- version