class ThingMessageLog implements Serializable {

    private String id;

    private String thingId;

    private long createTime;

    private long timestamp;

    private ThingLogType type;

    private String content;

    public static ThingMessageLog of(TimeSeriesData data, String thingIdProperty) {<FILL_FUNCTION_BODY>}

    @Override
    public String toString() {
        return ObjectMappers.toJsonString(this);
    }
}

        ThingMessageLog log = data.as(ThingMessageLog.class);
        log.thingId = data.getString(thingIdProperty, log.thingId);
        return log;
    
<no_super_class>