-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added membershipType to Memberships and ChannelMembers APIs
Introduced new API with userId instead of UUID and possibility to include optional data in respons. See MemberInclude and MembershipInclude.
- Loading branch information
1 parent
51da946
commit c8ae89e
Showing
86 changed files
with
3,184 additions
and
388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...main/java/com/pubnub/api/java/endpoints/objects_api/members/GetChannelMembersBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.pubnub.api.java.endpoints.objects_api.members; | ||
|
||
import com.pubnub.api.java.endpoints.Endpoint; | ||
import com.pubnub.api.java.endpoints.objects_api.utils.PNSortKey; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.MemberInclude; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.PNGetChannelMembersResult; | ||
|
||
public interface GetChannelMembersBuilder extends Endpoint<PNGetChannelMembersResult> { | ||
GetChannelMembersBuilder limit(Integer limit); | ||
GetChannelMembersBuilder page(com.pubnub.api.models.consumer.objects.PNPage page); | ||
GetChannelMembersBuilder filter(String filter); | ||
GetChannelMembersBuilder sort(java.util.Collection<PNSortKey> sort); | ||
GetChannelMembersBuilder include(MemberInclude include); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...n/java/com/pubnub/api/java/endpoints/objects_api/members/ManageChannelMembersBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.pubnub.api.java.endpoints.objects_api.members; | ||
|
||
import com.pubnub.api.java.endpoints.Endpoint; | ||
import com.pubnub.api.java.endpoints.objects_api.utils.PNSortKey; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.MemberInclude; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.PNManageChannelMembersResult; | ||
|
||
import java.util.Collection; | ||
|
||
public interface ManageChannelMembersBuilder extends Endpoint<PNManageChannelMembersResult> { | ||
ManageChannelMembersBuilder limit(Integer limit); | ||
ManageChannelMembersBuilder page(com.pubnub.api.models.consumer.objects.PNPage page); | ||
ManageChannelMembersBuilder filter(String filter); | ||
ManageChannelMembersBuilder sort(Collection<PNSortKey> sort); | ||
ManageChannelMembersBuilder include(MemberInclude include); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...n/java/com/pubnub/api/java/endpoints/objects_api/members/RemoveChannelMembersBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.pubnub.api.java.endpoints.objects_api.members; | ||
|
||
import com.pubnub.api.java.endpoints.Endpoint; | ||
import com.pubnub.api.java.endpoints.objects_api.utils.PNSortKey; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.MemberInclude; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.PNRemoveChannelMembersResult; | ||
|
||
import java.util.Collection; | ||
|
||
public interface RemoveChannelMembersBuilder extends Endpoint<PNRemoveChannelMembersResult> { | ||
RemoveChannelMembersBuilder limit(Integer limit); | ||
RemoveChannelMembersBuilder page(com.pubnub.api.models.consumer.objects.PNPage page); | ||
RemoveChannelMembersBuilder filter(String filter); | ||
RemoveChannelMembersBuilder sort(Collection<PNSortKey> sort); | ||
RemoveChannelMembersBuilder include(MemberInclude include); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...main/java/com/pubnub/api/java/endpoints/objects_api/members/SetChannelMembersBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.pubnub.api.java.endpoints.objects_api.members; | ||
|
||
import com.pubnub.api.java.endpoints.Endpoint; | ||
import com.pubnub.api.java.endpoints.objects_api.utils.PNSortKey; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.MemberInclude; | ||
import com.pubnub.api.java.models.consumer.objects_api.member.PNSetChannelMembersResult; | ||
|
||
import java.util.Collection; | ||
|
||
public interface SetChannelMembersBuilder extends Endpoint<PNSetChannelMembersResult> { | ||
SetChannelMembers limit(Integer limit); | ||
SetChannelMembers page(com.pubnub.api.models.consumer.objects.PNPage page); | ||
SetChannelMembers filter(String filter); | ||
SetChannelMembers sort(Collection<PNSortKey> sort); | ||
SetChannelMembers include(MemberInclude include); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
.../java/com/pubnub/api/java/endpoints/objects_api/memberships/ManageMembershipsBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.pubnub.api.java.endpoints.objects_api.memberships; | ||
|
||
import com.pubnub.api.java.endpoints.Endpoint; | ||
import com.pubnub.api.java.endpoints.objects_api.utils.PNSortKey; | ||
import com.pubnub.api.java.models.consumer.objects_api.membership.MembershipInclude; | ||
import com.pubnub.api.java.models.consumer.objects_api.membership.PNManageMembershipResult; | ||
|
||
import java.util.Collection; | ||
|
||
public interface ManageMembershipsBuilder extends Endpoint<PNManageMembershipResult> { | ||
ManageMembershipsBuilder userId(String userId); | ||
ManageMembershipsBuilder limit(Integer limit); | ||
ManageMembershipsBuilder page(com.pubnub.api.models.consumer.objects.PNPage page); | ||
ManageMembershipsBuilder filter(String filter); | ||
ManageMembershipsBuilder sort(Collection<PNSortKey> sort); | ||
ManageMembershipsBuilder include(MembershipInclude include); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.