net.servicestack.client.sse.UpdateEventSubscriber Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
A client library to call your ServiceStack webservices.
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; }
}