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;
    }
}

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() {
        final StringBuilder sb = new StringBuilder("AgentMacroReferenceEvent{");
        sb.append("macroId=").append(macroId);
        sb.append(", macroTitle='").append(macroTitle).append('\'');
        sb.append(", via=").append(via);
        sb.append('}');
        return sb.toString();
    }
}

Add a real toString