def METHOD_NAME(cls, _schema):
    if cls._schema_error_detail_read is not None:
        _schema.additional_info = cls._schema_error_detail_read.additional_info
        _schema.code = cls._schema_error_detail_read.code
        _schema.details = cls._schema_error_detail_read.details
        _schema.message = cls._schema_error_detail_read.message
        _schema.target = cls._schema_error_detail_read.target
        return
    cls._schema_error_detail_read = _schema_error_detail_read = AAZObjectType()
    error_detail_read = _schema_error_detail_read
    error_detail_read.additional_info = AAZListType(
        serialized_name="additionalInfo",
        flags={"read_only": True},
    )
    error_detail_read.code = AAZStrType(
        flags={"read_only": True},
    )
    error_detail_read.details = AAZListType(
        flags={"read_only": True},
    )
    error_detail_read.message = AAZStrType(
        flags={"read_only": True},
    )
    error_detail_read.target = AAZStrType(
        flags={"read_only": True},
    )
    additional_info = _schema_error_detail_read.additional_info
    additional_info.Element = AAZObjectType()
    _element = _schema_error_detail_read.additional_info.Element
    _element.type = AAZStrType(
        flags={"read_only": True},
    )
    details = _schema_error_detail_read.details
    details.Element = AAZObjectType()
    cls.METHOD_NAME(details.Element)
    _schema.additional_info = cls._schema_error_detail_read.additional_info
    _schema.code = cls._schema_error_detail_read.code
    _schema.details = cls._schema_error_detail_read.details
    _schema.message = cls._schema_error_detail_read.message
    _schema.target = cls._schema_error_detail_read.target