Skip to content

Commit

Permalink
adding filtering based on message type
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhnewatiya-plivo committed Sep 29, 2023
1 parent 19a4873 commit 7affc4c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/plivo/api/models/message/MessageLister.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class MessageLister extends Lister<Message> {
private String tendlcCampaignID = null;
private String tendlcRegistrationStatus = null;
private String destinationCountryIso2 = null;
private MessageType messageType = null;
private String conversationID = null;
private String conversationOrigin = null;

Expand Down Expand Up @@ -66,6 +67,10 @@ public String destinationCountryIso2() {
return this.destinationCountryIso2;
}

public MessageType messageType() {
return this.messageType;
}

public String conversationID() {
return this.conversationID;
}
Expand Down Expand Up @@ -120,6 +125,11 @@ public MessageLister powerpackID(final String powerpackID) {
return this;
}

public MessageLister messageType(final MessageType messageType) {
this.messageType = messageType;
return this;
}

public MessageLister conversationID(final String conversationID) {
this.conversationID = conversationID;
return this;
Expand Down

0 comments on commit 7affc4c

Please sign in to comment.