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

io.getstream.core.models.PaginatedNotificationGroup Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.getstream.core.models;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class PaginatedNotificationGroup extends Paginated> {
  private final int unread;
  private final int unseen;

  @JsonCreator
  public PaginatedNotificationGroup(
      @JsonProperty("next") String next,
      @JsonProperty("results") List> results,
      @JsonProperty("duration") String duration,
      @JsonProperty("unread") int unread,
      @JsonProperty("unseen") int unseen) {
    super(next, results, duration);

    this.unread = unread;
    this.unseen = unseen;
  }

  public int getUnread() {
    return this.unread;
  }

  public int getUnseen() {
    return this.unseen;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy