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

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

There is a newer version: 3.15.0
Show newest version
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