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

net.servicestack.client.sse.UpdateEventSubscriber Maven / Gradle / Ivy

The newest version!
package net.servicestack.client.sse;

import net.servicestack.client.DataMember;
import net.servicestack.client.IPost;
import net.servicestack.client.IReturn;
import net.servicestack.client.Route;

import java.util.ArrayList;

/**
 * Created by mythz on 2/12/2017.
 */

@Route(Path="/event-subscribers/{Id}", Verbs="POST")
public class UpdateEventSubscriber implements IReturn, IPost
{
    @DataMember(Order=1)
    public String Id = null;

    @DataMember(Order=2)
    public ArrayList SubscribeChannels = null;

    @DataMember(Order=3)
    public ArrayList UnsubscribeChannels = null;

    public String getId() { return Id; }
    public UpdateEventSubscriber setId(String value) { this.Id = value; return this; }
    public ArrayList getSubscribeChannels() { return SubscribeChannels; }
    public UpdateEventSubscriber setSubscribeChannels(ArrayList value) { this.SubscribeChannels = value; return this; }
    public ArrayList getUnsubscribeChannels() { return UnsubscribeChannels; }
    public UpdateEventSubscriber setUnsubscribeChannels(ArrayList value) { this.UnsubscribeChannels = value; return this; }
    private static Object responseType = UpdateEventSubscriberResponse.class;
    public Object getResponseType() { return responseType; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy