Module mydata_did.v1_0.models.json_ld_processed_response_model
Expand source code
from marshmallow import fields
from aries_cloudagent.messaging.models.base import BaseModel, BaseModelSchema
from aries_cloudagent.messaging.valid import UUIDFour
class JSONLDProcessedResponseBody(BaseModel):
"""json-ld/1.0/processed-data-response message body"""
class Meta:
"""json-ld/1.0/processed-data-response message body metadata"""
schema_class = "JSONLDProcessedResponseBodySchema"
def __init__(
self,
*,
framed_base64: str = None,
combined_hash_base64: str = None,
**kwargs
):
"""json-ld/1.0/processed-data-response message body init"""
super().__init__(**kwargs)
# Set attributes
self.framed_base64 = framed_base64
self.combined_hash_base64 = combined_hash_base64
class JSONLDProcessedResponseBodySchema(BaseModelSchema):
"""json-ld/1.0/processed-data-response message body schema"""
class Meta:
"""json-ld/1.0/processed-data-response message body schema metadata"""
model_class = JSONLDProcessedResponseBody
# JSON-LD framed data
framed_base64 = fields.Str(
description="JSON-LD framed data",
)
# Combined hash ( JSON-LD data + signature options )
combined_hash_base64 = fields.Str(
description="Combined hash ( JSON-LD data + signature options )",
)
Classes
class JSONLDProcessedResponseBody (*, framed_base64: str = None, combined_hash_base64: str = None, **kwargs)
-
json-ld/1.0/processed-data-response message body
json-ld/1.0/processed-data-response message body init
Expand source code
class JSONLDProcessedResponseBody(BaseModel): """json-ld/1.0/processed-data-response message body""" class Meta: """json-ld/1.0/processed-data-response message body metadata""" schema_class = "JSONLDProcessedResponseBodySchema" def __init__( self, *, framed_base64: str = None, combined_hash_base64: str = None, **kwargs ): """json-ld/1.0/processed-data-response message body init""" super().__init__(**kwargs) # Set attributes self.framed_base64 = framed_base64 self.combined_hash_base64 = combined_hash_base64
Ancestors
- aries_cloudagent.messaging.models.base.BaseModel
- abc.ABC
Class variables
var Meta
-
json-ld/1.0/processed-data-response message body metadata
class JSONLDProcessedResponseBodySchema (*args, **kwargs)
-
json-ld/1.0/processed-data-response message body schema
Initialize BaseModelSchema.
Raises
TypeError
- If model_class is not set on Meta
Expand source code
class JSONLDProcessedResponseBodySchema(BaseModelSchema): """json-ld/1.0/processed-data-response message body schema""" class Meta: """json-ld/1.0/processed-data-response message body schema metadata""" model_class = JSONLDProcessedResponseBody # JSON-LD framed data framed_base64 = fields.Str( description="JSON-LD framed data", ) # Combined hash ( JSON-LD data + signature options ) combined_hash_base64 = fields.Str( description="Combined hash ( JSON-LD data + signature options )", )
Ancestors
- aries_cloudagent.messaging.models.base.BaseModelSchema
- marshmallow.schema.Schema
- marshmallow.base.SchemaABC
Class variables
var Meta
-
json-ld/1.0/processed-data-response message body schema metadata
var opts