8000 [Librarian] Regenerated @ 73b5ebbcea6174c1ca9b7006933e573916343189 · twilio/twilio-java@2783477 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2783477

Browse files
committed
[Librarian] Regenerated @ 73b5ebbcea6174c1ca9b7006933e573916343189
1 parent 19935d4 commit 2783477

File tree

33 files changed

+317
-69
lines changed

33 files changed

+317
-69
lines changed

CHANGES.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
11
twilio-java changelog
22
=====================
33

4+
[2022-02-23] Version 8.27.0
5+
---------------------------
6+
**Library - Chore**
7+
- [PR #671](https://github.com/twilio/twilio-java/pull/671): archunit 0.23.0. Thanks to [@sullis](https://github.com/sullis)!
8+
9+
**Api**
10+
- Add `uri` to `stream` resource
11+
- Add A2P Registration Fee category (`a2p-registration-fee`) to usage records
12+
- Detected a bug and removed optional boolean include_soft_deleted parameter to retrieve soft deleted recordings. **(breaking change)**
13+
- Add optional boolean include_soft_deleted parameter to retrieve soft deleted recordings.
14+
15+
**Numbers**
16+
- Unrevert valid_until and sort filter params added to List Bundles resource
17+
- Revert valid_until and sort filter params added to List Bundles resource
18+
- Update sorting params added to List Bundles resource in the previous release
19+
20+
**Preview**
21+
- Moved `web_channels` from preview to beta under `flex-api` **(breaking change)**
22+
23+
**Taskrouter**
24+
- Add `ETag` as Response Header to List of Task, Reservation & Worker
25+
26+
**Verify**
27+
- Add `ttl` and `date_created` properties to `AccessTokens`.
28+
- Remove outdated documentation commentary to contact sales. Product is already in public beta.
29+
- Add optional `metadata` to factors.
30+
31+
**Twiml**
32+
- Add new Polly Neural voices
33+
34+
435
[2022-02-09] Version 8.26.0
536
---------------------------
637
**Library - Chore**

src/main/java/com/twilio/rest/api/v2010/account/call/Siprec.java

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@JsonIgnoreProperties(ignoreUnknown = true)
3636
@ToString
3737
public class Siprec extends Resource {
38-
private static final long serialVersionUID = 268819701788968L;
38+
private static final long serialVersionUID = 120054953189179L;
3939

4040
public enum Track {
4141
INBOUND_TRACK("inbound_track"),
@@ -207,6 +207,7 @@ public static Siprec fromJson(final InputStream json, final ObjectMapper objectM
207207
private final String name;
208208
private final Siprec.Status status;
209209
private final ZonedDateTime dateUpdated;
210+
private final String uri;
210211

211212
@JsonCreator
212213
private Siprec(@JsonProperty("sid")
@@ -220,13 +221,16 @@ private Siprec(@JsonProperty("sid")
220221
@JsonProperty("status")
221222
final Siprec.Status status,
222223
@JsonProperty("date_updated")
223-
final String dateUpdated) {
224+
final String dateUpdated,
225+
@JsonProperty("uri")
226+
final String uri) {
224227
this.sid = sid;
225228
this.accountSid = accountSid;
226229
this.callSid = callSid;
227230
this.name = name;
228231
this.status = status;
229232
this.dateUpdated = DateConverter.rfc2822DateTimeFromString(dateUpdated);
233+
this.uri = uri;
230234
}
231235

232236
/**
@@ -284,6 +288,15 @@ public final ZonedDateTime getDateUpdated() {
284288
return this.dateUpdated;
285289
}
286290

291+
/**
292+
* Returns The URI of the resource, relative to `https://api.twilio.com`.
293+
*
294+
* @return The URI of the resource, relative to `https://api.twilio.com`
295+
*/
296+
public final String getUri() {
297+
return this.uri;
298+
}
299+
287300
@Override
288301
public boolean equals(final Object o) {
289302
if (this == o) {
@@ -301,7 +314,8 @@ public boolean equals(final Object o) {
301314
Objects.equals(callSid, other.callSid) &&
302315
Objects.equals(name, other.name) &&
303316
Objects.equals(status, other.status) &&
304-
Objects.equals(dateUpdated, other.dateUpdated);
317+
Objects.equals(dateUpdated, other.dateUpdated) &&
318+
Objects.equals(uri, other.uri);
305319
}
306320

307321
@Override
@@ -311,6 +325,7 @@ public int hashCode() {
311325
callSid,
312326
name,
313327
status,
314-
dateUpdated);
328+
dateUpdated,
329+
uri);
315330
}
316331
}

src/main/java/com/twilio/rest/api/v2010/account/call/Stream.java

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
@JsonIgnoreProperties(ignoreUnknown = true)
3636
@ToString
3737
public class Stream extends Resource {
38-
private static final long serialVersionUID = 38543034135914L;
38+
private static final long serialVersionUID = 166175647314314L;
3939

4040
public enum Track {
4141
INBOUND_TRACK("inbound_track"),
@@ -207,6 +207,7 @@ public static Stream fromJson(final InputStream json, final ObjectMapper objectM
207207
private final String name;
208208
private final Stream.Status status;
209209
private final ZonedDateTime dateUpdated;
210+
private final String uri;
210211

211212
@JsonCreator
212213
private Stream(@JsonProperty("sid")
@@ -220,13 +221,16 @@ private Stream(@JsonProperty("sid")
220221
@JsonProperty("status")
221222
final Stream.Status status,
222223
@JsonProperty("date_updated")
223-
final String dateUpdated) {
224+
final String dateUpdated,
225+
@JsonProperty("uri")
226+
final String uri) {
224227
this.sid = sid;
225228
this.accountSid = accountSid;
226229
this.callSid = callSid;
227230
this.name = name;
228231
this.status = status;
229232
this.dateUpdated = DateConverter.rfc2822DateTimeFromString(dateUpdated);
233+
this.uri = uri;
230234
}
231235

232236
/**
@@ -284,6 +288,15 @@ public final ZonedDateTime getDateUpdated() {
284288
return this.dateUpdated;
285289
}
286290

291+
/**
292+
* Returns The URI of the resource, relative to `https://api.twilio.com`.
293+
*
294+
* @return The URI of the resource, relative to `https://api.twilio.com`
295+
*/
296+
public final String getUri() {
297+
return this.uri;
298+
}
299+
287300
@Override
288301
public boolean equals(final Object o) {
289302
if (this == o) {
@@ -301,7 +314,8 @@ public boolean equals(final Object o) {
301314
Objects.equals(callSid, other.callSid) &&
302315
Objects.equals(name, other.name) &&
303316
Objects.equals(status, other.status) &&
304-
Objects.equals(dateUpdated, other.dateUpdated);
317+
Objects.equals(dateUpdated, other.dateUpdated) &&
318+
Objects.equals(uri, other.uri);
305319
}
306320

307321
@Override
@@ -311,6 +325,7 @@ public int hashCode() {
311325
callSid,
312326
name,
313327
status,
314-
dateUpdated);
328+
dateUpdated,
329+
uri);
315330
}
316331
}

src/main/java/com/twilio/rest/api/v2010/account/usage/Record.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class Record extends Resource {
4141
private static final long serialVersionUID = 112524731658607L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/Trigger.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class Trigger extends Resource {
3939
private static final long serialVersionUID = 174561249107274L;
4040

4141
public enum UsageCategory {
42+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4243
AGENT_CONFERENCE("agent-conference"),
4344
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4445
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/record/AllTime.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class AllTime extends Resource {
4141
private static final long serialVersionUID = 139859396821865L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/record/Daily.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class Daily extends Resource {
4141
private static final long serialVersionUID = 244970500292554L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/record/LastMonth.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class LastMonth extends Resource {
4141
private static final long serialVersionUID = 263660164098858L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/record/Monthly.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class Monthly extends Resource {
4141
private static final long serialVersionUID = 189664300873381L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

src/main/java/com/twilio/rest/api/v2010/account/usage/record/ThisMonth.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ public class ThisMonth extends Resource {
4141
private static final long serialVersionUID = 238486971620797L;
4242

4343
public enum Category {
44+
A2P_REGISTRATION_FEES("a2p-registration-fees"),
4445
AGENT_CONFERENCE("agent-conference"),
4546
ANSWERING_MACHINE_DETECTION("answering-machine-detection"),
4647
AUTHY_AUTHENTICATIONS("authy-authentications"),

0 commit comments

Comments
 (0)
0