package org.zendesk.client.v2.model.events;

import org.zendesk.client.v2.model.Via;

import com.fasterxml.jackson.annotation.JsonProperty;

public class AgentMacroReferenceEvent extends Event {

    private static final long serialVersionUID = 1L;

    private Long macroId;
    private String macroTitle;
    private Via via;

    @JsonProperty("macro_id")
    public Long getMacroId() {
        return macroId;
    }

    public void setMacroId(Long macroId) {
        this.macroId = macroId;
    }

    @JsonProperty("macro_title")
    public String getMacroTitle() {
        return macroTitle;
    }

    public void setMacroTitle(String macroTitle) {
        this.macroTitle = macroTitle;
    }

    public Via getVia() {
        return via;
    }

    public void setVia(Via via) {
        this.via = via;
    }

    @Override
    public String toString() {
        // TODO A real implementation
        return null;
    }
}

@@ -870,37 +870,261 @@
     
-// TODO A real implementation
+final StringBuilder sb = new StringBuilder(%22AgentMacroReferenceEvent%7B%22);%0A        sb.append(%22macroId=%22).append(macroId);%0A        sb.append(%22, macroTitle='%22).append(macroTitle).append('%5C'');%0A        sb.append(%22, via=%22).append(via);%0A        sb.append('%7D');
 %0A   
@@ -1139,12 +1139,21 @@
 urn 
-null
+sb.toString()
 ;%0A  

Add a real toString