@@ -30,11 +30,17 @@ public class CallOptions {
3030 * The callId of the call that created this call (if one exists).
3131 */
3232 private String parentCallId ;
33-
3433 /**
3534 * Parameter privacyMode will not log the text as required by PCI compliance.
3635 */
3736 private Boolean privacyMode ;
37+ /**
38+ * The URL that FreeClimb should use to handle this phone call.
39+ * If an applicationId or parentCallId have already been provided,
40+ * this callConnectUrl attribute will be used as a replacement of the
41+ * callConnectUrl originally assigned in the application or parent call.
42+ */
43+ private String callConnectUrl ;
3844
3945 /**
4046 * Create an empty {@code CallOptions} object. Set only values that are desired
@@ -46,6 +52,7 @@ public CallOptions() {
4652 timeout = null ;
4753 parentCallId = null ;
4854 privacyMode = null ;
55+ callConnectUrl = null ;
4956 }
5057
5158 /**
@@ -92,6 +99,15 @@ public void setParentCallId(String parentCallId) {
9299 public void setPrivacyMode (Boolean privacyMode ) {
93100 this .privacyMode = privacyMode ;
94101 }
102+
103+ /**
104+ * Sets the callConnectUrl field.
105+ *
106+ * @param callConnectUrl Value to set callConnectUrl.
107+ */
108+ public void setCallConnectUrl (String callConnectUrl ) {
109+ this .callConnectUrl = callConnectUrl ;
110+ }
95111
96112 /**
97113 * Retrieve the sendDigits value.
@@ -140,4 +156,13 @@ public Boolean getPrivacyMode() {
140156 return this .privacyMode ;
141157 }
142158
159+ /**
160+ * Retrieve the callConnectUrl value.
161+ *
162+ * @return The callConnectUrl value of the object.
163+ */
164+ public String getCallConnectUrl () {
165+ return this .callConnectUrl ;
166+ }
167+
143168}
0 commit comments