aries_cloudagent.protocols.connections.v1_0.models package

Submodules

aries_cloudagent.protocols.connections.v1_0.models.connection_detail module

An object for containing the connection request/response DID information.

class aries_cloudagent.protocols.connections.v1_0.models.connection_detail.ConnectionDetail(*, did: Optional[str] = None, did_doc: Optional[DIDDoc] = None, **kwargs)[source]

Bases: BaseModel

Class representing the details of a connection.

class Meta[source]

Bases: object

ConnectionDetail metadata.

schema_class = 'ConnectionDetailSchema'
property did: str

Accessor for the connection DID.

Returns

The DID for this connection

property did_doc: DIDDoc

Accessor for the connection DID Document.

Returns

The DIDDoc for this connection

class aries_cloudagent.protocols.connections.v1_0.models.connection_detail.ConnectionDetailSchema(*args: Any, **kwargs: Any)[source]

Bases: BaseModelSchema

ConnectionDetail schema.

class Meta[source]

Bases: object

ConnectionDetailSchema metadata.

model_class

alias of ConnectionDetail

class aries_cloudagent.protocols.connections.v1_0.models.connection_detail.DIDDocWrapper(*args: Any, **kwargs: Any)[source]

Bases: Field

Field that loads and serializes DIDDoc.