package datamodel;

import com.fasterxml.jackson.databind.JsonNode;

/**
 * Message compliant with the ones accepted by the event hub
 */
public class EventHubMessage {
    private String component;
    private String object;
    private String[] labels;
    private String type;
    private JsonNode data;
    private String timestamp;
    private String token;

    public String getComponent() {
        return component;
    }

    public void setComponent(String component) {
        this.component = component;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public String[] getLabels() {
        return labels;
    }

    public void setLabels(String[] labels) {
        this.labels = labels;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public JsonNode getData() {
        return data;
    }

    public void setData(JsonNode data) {
        this.data = data;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

}

@@ -308,28 +308,26 @@
     private 
-Stri
+lo
 ng timestamp
@@ -1074,28 +1074,26 @@
 %0A    public 
-Stri
+lo
 ng getTimest
@@ -1162,20 +1162,18 @@
 mestamp(
-Stri
+lo
 ng times

Change type for timestamp.