com.pubnub.api.builder.dto.UnsubscribeOperation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pubnub Show documentation
Show all versions of pubnub Show documentation
PubNub is a cross-platform client-to-client (1:1 and 1:many) push service in the cloud, capable of
broadcasting real-time messages to millions of web and mobile clients simultaneously, in less than a quarter
second!
The newest version!
// Generated by delombok at Fri Jun 30 11:22:25 PDT 2017
package com.pubnub.api.builder.dto;
import java.util.List;
public class UnsubscribeOperation {
private List channels;
private List channelGroups;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
UnsubscribeOperation(final List channels, final List channelGroups) {
this.channels = channels;
this.channelGroups = channelGroups;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static class UnsubscribeOperationBuilder {
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private List channels;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private List channelGroups;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
UnsubscribeOperationBuilder() {
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UnsubscribeOperationBuilder channels(final List channels) {
this.channels = channels;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UnsubscribeOperationBuilder channelGroups(final List channelGroups) {
this.channelGroups = channelGroups;
return this;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public UnsubscribeOperation build() {
return new UnsubscribeOperation(channels, channelGroups);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public java.lang.String toString() {
return "UnsubscribeOperation.UnsubscribeOperationBuilder(channels=" + this.channels + ", channelGroups=" + this.channelGroups + ")";
}
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public static UnsubscribeOperationBuilder builder() {
return new UnsubscribeOperationBuilder();
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public List getChannels() {
return this.channels;
}
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
public List getChannelGroups() {
return this.channelGroups;
}
}