io.getstream.core.models.BatchDeleteActivitiesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stream-java Show documentation
Show all versions of stream-java Show documentation
Stream Feeds Java Client for backend and android integrations
package io.getstream.core.models;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BatchDeleteActivitiesRequest {
private final List activities;
public BatchDeleteActivitiesRequest(List activities) {
this.activities = activities;
}
public List getActivities() {
return activities;
}
public static class ActivityToDelete {
private final String id;
private final List removeFromFeeds;
public ActivityToDelete(
@JsonProperty("id") String id,
@JsonProperty("remove_from_feeds") List removeFromFeeds) {
this.id = id;
this.removeFromFeeds = removeFromFeeds;
}
public String getId() {
return id;
}
public List getRemoveFromFeeds() {
return removeFromFeeds;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy