package com.ctrip.framework.apollo.core.dto;

/**
 * @author Jason Song(song_s@ctrip.com)
 */
public class ApolloConfigNotification {
  private String namespaceName;
  private long notificationId;

  //for json converter
  public ApolloConfigNotification() {
  }

  public ApolloConfigNotification(String namespaceName, long notificationId) {
    this.namespaceName = namespaceName;
    this.notificationId = notificationId;
  }

  public String getNamespaceName() {
    return namespaceName;
  }

  public long getNotificationId() {
    return notificationId;
  }

  @Override
  public String toString() {
    return "ApolloConfigNotification{" +
        "namespaceName='" + namespaceName + '\'' +
        ", notificationId=" + notificationId +
        '}';
  }
}

@@ -559,16 +559,218 @@
 d;%0A  %7D%0A%0A
+  public void setNamespaceName(String namespaceName) %7B%0A    this.namespaceName = namespaceName;%0A  %7D%0A%0A  public void setNotificationId(long notificationId) %7B%0A    this.notificationId = notificationId;%0A  %7D%0A%0A
   @Overr

add back setter for ApolloConfigNotification