File tree Expand file tree Collapse file tree 4 files changed +46
-1
lines changed
src/main/java/com/vailsys/freeclimb/api/call Expand file tree Collapse file tree 4 files changed +46
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
6
6
7
7
## [ Unreleased]
8
8
None
9
+ <a name="4.1.3"</a >
10
+ ## [ 4.1.3] 2021-11-3
11
+ ### Added
12
+ - 1 new property ` active ` for CallSearchFilters and Call
9
13
<a name="4.1.2"</a >
10
14
## [ 3.0.2] 2021-8-3
11
15
### Added
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ group = 'com.github.FreeClimbAPI'
9
9
10
10
sourceCompatibility = 1.7 // java 7
11
11
targetCompatibility = 1.7
12
- version = ' 4.1.1 '
12
+ version = ' 4.1.3 '
13
13
14
14
repositories {
15
15
mavenCentral()
Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ public class Call extends FreeClimbCommon {
52
52
* CallingNumber from which the call was placed.
53
53
*/
54
54
private String phoneNumberId ;
55
+ /**
56
+ * Additional paramter to support queries of active or terminated calls.
57
+ */
58
+ private boolean active ;
55
59
/**
56
60
* This represents the current status or state of this call.
57
61
*
@@ -167,6 +171,15 @@ public String getPhoneNumberId() {
167
171
return this .phoneNumberId ;
168
172
}
169
173
174
+ /**
175
+ * Retrieve the value of the active filter
176
+ *
177
+ * @return whether the call was active or not
178
+ */
179
+ public String getActive () {
180
+ return this .active ;
181
+ }
182
+
170
183
/**
171
184
* Retrieve the status for this call from the object.
172
185
*
@@ -327,6 +340,12 @@ public boolean equals(Call that) {
327
340
result = result && that .status == null ;
328
341
}
329
342
343
+ if (this .active != null ) {
344
+ result = result && this .active .equals (that .active );
345
+ } else {
346
+ result = result && that .active == null ;
347
+ }
348
+
330
349
if (this .startTime != null ) {
331
350
result = result && this .startTime .equals (that .startTime );
332
351
} else {
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ public class CallsSearchFilters extends Filters {
43
43
* The callId of the call that spawned this one.
44
44
*/
45
45
private String parentCallId ;
46
+ /**
47
+ * Additional paramter to support queries of active or terminated calls.
48
+ */
49
+ private boolean active ;
46
50
47
51
/**
48
52
* Retrieve the value of the to (DNIS) filter.
@@ -129,6 +133,15 @@ public String getParentCallId() {
129
133
return this .parentCallId ;
130
134
}
131
135
136
+ /**
137
+ * Retrieve the value of the active filter
138
+ *
139
+ * @return whether the call was active or not
140
+ */
141
+ public String getActive () {
142
+ return this .active ;
143
+ }
144
+
132
145
/**
133
146
* Set this to filter for calls that are to the provided number (search by
134
147
* DNIS).
@@ -204,4 +217,13 @@ public void setEndTime(Long endTime) {
204
217
public void setParentCallId (String parentCallId ) {
205
218
this .parentCallId = parentCallId ;
206
219
}
220
+
221
+ /**
222
+ * Set the active filter to support queries of active or terminated calls
223
+ *
224
+ * @param active whether the call was active or not
225
+ */
226
+ public void setActive (boolean active ) {
227
+ this .active = active ;
228
+ }
207
229
}
You can’t perform that action at this time.
0 commit comments