Skip to content

Commit

Permalink
feat: allow conference participant to be any endpoint (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaymo Kang authored Apr 23, 2021
1 parent ed7d434 commit 92bbb35
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ public static ParticipantUpdater updater(final String pathConferenceSid,
*/
public static ParticipantCreator creator(final String pathAccountSid,
final String pathConferenceSid,
final com.twilio.type.PhoneNumber from,
final com.twilio.type.PhoneNumber to) {
final com.twilio.type.Endpoint from,
final com.twilio.type.Endpoint to) {
return new ParticipantCreator(pathAccountSid, pathConferenceSid, from, to);
}

Expand All @@ -157,8 +157,8 @@ public static ParticipantCreator creator(final String pathAccountSid,
* @return ParticipantCreator capable of executing the create
*/
public static ParticipantCreator creator(final String pathConferenceSid,
final com.twilio.type.PhoneNumber from,
final com.twilio.type.PhoneNumber to) {
final com.twilio.type.Endpoint from,
final com.twilio.type.Endpoint to) {
return new ParticipantCreator(pathConferenceSid, from, to);
}

Expand Down Expand Up @@ -489,4 +489,4 @@ public int hashCode() {
status,
uri);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
public class ParticipantCreator extends Creator<Participant> {
private String pathAccountSid;
private final String pathConferenceSid;
private final com.twilio.type.PhoneNumber from;
private final com.twilio.type.PhoneNumber to;
private final com.twilio.type.Endpoint from;
private final com.twilio.type.Endpoint to;
private URI statusCallback;
private HttpMethod statusCallbackMethod;
private List<String> statusCallbackEvent;
Expand Down Expand Up @@ -73,8 +73,8 @@ public class ParticipantCreator extends Creator<Participant> {
* this call.
*/
public ParticipantCreator(final String pathConferenceSid,
final com.twilio.type.PhoneNumber from,
final com.twilio.type.PhoneNumber to) {
final com.twilio.type.Endpoint from,
final com.twilio.type.Endpoint to) {
this.pathConferenceSid = pathConferenceSid;
this.from = from;
this.to = to;
Expand All @@ -92,8 +92,8 @@ public ParticipantCreator(final String pathConferenceSid,
*/
public ParticipantCreator(final String pathAccountSid,
final String pathConferenceSid,
final com.twilio.type.PhoneNumber from,
final com.twilio.type.PhoneNumber to) {
final com.twilio.type.Endpoint from,
final com.twilio.type.Endpoint to) {
this.pathAccountSid = pathAccountSid;
this.pathConferenceSid = pathConferenceSid;
this.from = from;
Expand Down Expand Up @@ -921,4 +921,4 @@ private void addPostParams(final Request request) {
request.addPostParam("RecordingTrack", recordingTrack);
}
}
}
}

0 comments on commit 92bbb35

Please sign in to comment.