All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.tiogasolutions.notify.pub.common.TopicInfo Maven / Gradle / Ivy

There is a newer version: 5.1.4
Show newest version
package org.tiogasolutions.notify.pub.common;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by harlan on 5/22/15.
 */
public final class TopicInfo {
  private final String name;
  private final long count;

  @JsonCreator
  public TopicInfo(@JsonProperty("name") String name,
                   @JsonProperty("count") long count) {
    this.name = name;
    this.count = count;
  }

  public String getName() {
    return name;
  }

  public long getCount() {
    return count;
  }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy