diff --git a/src/main/java/com/twilio/rest/api/v2010/account/incomingphonenumber/AssignedAddOn.java b/src/main/java/com/twilio/rest/api/v2010/account/incomingphonenumber/AssignedAddOn.java index dbc181b7d7..cb3e76d463 100644 --- a/src/main/java/com/twilio/rest/api/v2010/account/incomingphonenumber/AssignedAddOn.java +++ b/src/main/java/com/twilio/rest/api/v2010/account/incomingphonenumber/AssignedAddOn.java @@ -41,7 +41,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class AssignedAddOn extends Resource { - private static final long serialVersionUID = 31086980826580L; + private static final long serialVersionUID = 114193682949091L; public static AssignedAddOnCreator creator(final String resourceSid, final String installedAddOnSid){ return new AssignedAddOnCreator(resourceSid, installedAddOnSid); @@ -114,7 +114,7 @@ public static AssignedAddOn fromJson(final InputStream json, final ObjectMapper private final String resourceSid; private final String friendlyName; private final String description; - private final Map _configuration; + private final Map configuration; private final String uniqueName; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -139,7 +139,7 @@ private AssignedAddOn( final String description, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("unique_name") final String uniqueName, @@ -161,7 +161,7 @@ private AssignedAddOn( this.resourceSid = resourceSid; this.friendlyName = friendlyName; this.description = description; - this._configuration = _configuration; + this.configuration = configuration; this.uniqueName = uniqueName; this.dateCreated = DateConverter.rfc2822DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.rfc2822DateTimeFromString(dateUpdated); @@ -184,8 +184,8 @@ public final String getFriendlyName() { public final String getDescription() { return this.description; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final String getUniqueName() { return this.uniqueName; @@ -215,12 +215,12 @@ public boolean equals(final Object o) { AssignedAddOn other = (AssignedAddOn) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(resourceSid, other.resourceSid) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(description, other.description) && Objects.equals(_configuration, other._configuration) && Objects.equals(uniqueName, other.uniqueName) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(uri, other.uri) && Objects.equals(subresourceUris, other.subresourceUris) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(resourceSid, other.resourceSid) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(description, other.description) && Objects.equals(configuration, other.configuration) && Objects.equals(uniqueName, other.uniqueName) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(uri, other.uri) && Objects.equals(subresourceUris, other.subresourceUris) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, resourceSid, friendlyName, description, _configuration, uniqueName, dateCreated, dateUpdated, uri, subresourceUris); + return Objects.hash(sid, accountSid, resourceSid, friendlyName, description, configuration, uniqueName, dateCreated, dateUpdated, uri, subresourceUris); } } diff --git a/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java b/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java index 1dc630f117..8290e19e26 100644 --- a/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java +++ b/src/main/java/com/twilio/rest/chat/v2/service/channel/Webhook.java @@ -43,7 +43,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class Webhook extends Resource { - private static final long serialVersionUID = 255428526997916L; + private static final long serialVersionUID = 201752828404640L; public static WebhookCreator creator(final String serviceSid, final String channelSid, final Webhook.Type type){ return new WebhookCreator(serviceSid, channelSid, type); @@ -147,7 +147,7 @@ public static Type forValue(final String value) { private final String channelSid; private final String type; private final URI url; - private final Map _configuration; + private final Map configuration; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -172,7 +172,7 @@ private Webhook( final URI url, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("date_created") final String dateCreated, @@ -186,7 +186,7 @@ private Webhook( this.channelSid = channelSid; this.type = type; this.url = url; - this._configuration = _configuration; + this.configuration = configuration; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); } @@ -209,8 +209,8 @@ public final String getType() { public final URI getUrl() { return this.url; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final ZonedDateTime getDateCreated() { return this.dateCreated; @@ -231,12 +231,12 @@ public boolean equals(final Object o) { Webhook other = (Webhook) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(serviceSid, other.serviceSid) && Objects.equals(channelSid, other.channelSid) && Objects.equals(type, other.type) && Objects.equals(url, other.url) && Objects.equals(_configuration, other._configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(serviceSid, other.serviceSid) && Objects.equals(channelSid, other.channelSid) && Objects.equals(type, other.type) && Objects.equals(url, other.url) && Objects.equals(configuration, other.configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, serviceSid, channelSid, type, url, _configuration, dateCreated, dateUpdated); + return Objects.hash(sid, accountSid, serviceSid, channelSid, type, url, configuration, dateCreated, dateUpdated); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/conversation/Webhook.java b/src/main/java/com/twilio/rest/conversations/v1/conversation/Webhook.java index e30358e7c0..077dd4de4a 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/conversation/Webhook.java +++ b/src/main/java/com/twilio/rest/conversations/v1/conversation/Webhook.java @@ -43,7 +43,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class Webhook extends Resource { - private static final long serialVersionUID = 157004449040271L; + private static final long serialVersionUID = 253771507397775L; public static WebhookCreator creator(final String conversationSid, final Webhook.Target target){ return new WebhookCreator(conversationSid, target); @@ -146,7 +146,7 @@ public static Target forValue(final String value) { private final String conversationSid; private final String target; private final URI url; - private final Map _configuration; + private final Map configuration; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -168,7 +168,7 @@ private Webhook( final URI url, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("date_created") final String dateCreated, @@ -181,7 +181,7 @@ private Webhook( this.conversationSid = conversationSid; this.target = target; this.url = url; - this._configuration = _configuration; + this.configuration = configuration; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); } @@ -201,8 +201,8 @@ public final String getTarget() { public final URI getUrl() { return this.url; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final ZonedDateTime getDateCreated() { return this.dateCreated; @@ -223,12 +223,12 @@ public boolean equals(final Object o) { Webhook other = (Webhook) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(conversationSid, other.conversationSid) && Objects.equals(target, other.target) && Objects.equals(url, other.url) && Objects.equals(_configuration, other._configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(conversationSid, other.conversationSid) && Objects.equals(target, other.target) && Objects.equals(url, other.url) && Objects.equals(configuration, other.configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, conversationSid, target, url, _configuration, dateCreated, dateUpdated); + return Objects.hash(sid, accountSid, conversationSid, target, url, configuration, dateCreated, dateUpdated); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/Webhook.java b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/Webhook.java index 3dc5d19844..39139fb9f5 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/Webhook.java +++ b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/Webhook.java @@ -43,7 +43,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class Webhook extends Resource { - private static final long serialVersionUID = 213737444613229L; + private static final long serialVersionUID = 228548505277204L; public static WebhookCreator creator(final String chatServiceSid, final String conversationSid, final Webhook.Target target){ return new WebhookCreator(chatServiceSid, conversationSid, target); @@ -147,7 +147,7 @@ public static Target forValue(final String value) { private final String conversationSid; private final String target; private final URI url; - private final Map _configuration; + private final Map configuration; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -172,7 +172,7 @@ private Webhook( final URI url, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("date_created") final String dateCreated, @@ -186,7 +186,7 @@ private Webhook( this.conversationSid = conversationSid; this.target = target; this.url = url; - this._configuration = _configuration; + this.configuration = configuration; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); } @@ -209,8 +209,8 @@ public final String getTarget() { public final URI getUrl() { return this.url; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final ZonedDateTime getDateCreated() { return this.dateCreated; @@ -231,12 +231,12 @@ public boolean equals(final Object o) { Webhook other = (Webhook) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(chatServiceSid, other.chatServiceSid) && Objects.equals(conversationSid, other.conversationSid) && Objects.equals(target, other.target) && Objects.equals(url, other.url) && Objects.equals(_configuration, other._configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(chatServiceSid, other.chatServiceSid) && Objects.equals(conversationSid, other.conversationSid) && Objects.equals(target, other.target) && Objects.equals(url, other.url) && Objects.equals(configuration, other.configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, chatServiceSid, conversationSid, target, url, _configuration, dateCreated, dateUpdated); + return Objects.hash(sid, accountSid, chatServiceSid, conversationSid, target, url, configuration, dateCreated, dateUpdated); } } diff --git a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/Webhook.java b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/Webhook.java index d8c271b5c3..22468f354b 100644 --- a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/Webhook.java +++ b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/Webhook.java @@ -43,7 +43,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class Webhook extends Resource { - private static final long serialVersionUID = 255428526997916L; + private static final long serialVersionUID = 201752828404640L; public static WebhookCreator creator(final String serviceSid, final String channelSid, final Webhook.Type type){ return new WebhookCreator(serviceSid, channelSid, type); @@ -147,7 +147,7 @@ public static Type forValue(final String value) { private final String channelSid; private final String type; private final URI url; - private final Map _configuration; + private final Map configuration; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -172,7 +172,7 @@ private Webhook( final URI url, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("date_created") final String dateCreated, @@ -186,7 +186,7 @@ private Webhook( this.channelSid = channelSid; this.type = type; this.url = url; - this._configuration = _configuration; + this.configuration = configuration; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); } @@ -209,8 +209,8 @@ public final String getType() { public final URI getUrl() { return this.url; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final ZonedDateTime getDateCreated() { return this.dateCreated; @@ -231,12 +231,12 @@ public boolean equals(final Object o) { Webhook other = (Webhook) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(serviceSid, other.serviceSid) && Objects.equals(channelSid, other.channelSid) && Objects.equals(type, other.type) && Objects.equals(url, other.url) && Objects.equals(_configuration, other._configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(serviceSid, other.serviceSid) && Objects.equals(channelSid, other.channelSid) && Objects.equals(type, other.type) && Objects.equals(url, other.url) && Objects.equals(configuration, other.configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, serviceSid, channelSid, type, url, _configuration, dateCreated, dateUpdated); + return Objects.hash(sid, accountSid, serviceSid, channelSid, type, url, configuration, dateCreated, dateUpdated); } } diff --git a/src/main/java/com/twilio/rest/preview/marketplace/InstalledAddOn.java b/src/main/java/com/twilio/rest/preview/marketplace/InstalledAddOn.java index 7d2751498d..54fca146d1 100644 --- a/src/main/java/com/twilio/rest/preview/marketplace/InstalledAddOn.java +++ b/src/main/java/com/twilio/rest/preview/marketplace/InstalledAddOn.java @@ -42,7 +42,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class InstalledAddOn extends Resource { - private static final long serialVersionUID = 273636414062023L; + private static final long serialVersionUID = 250400645130930L; public static InstalledAddOnCreator creator(final String availableAddOnSid, final Boolean acceptTermsOfService){ return new InstalledAddOnCreator(availableAddOnSid, acceptTermsOfService); @@ -105,7 +105,7 @@ public static InstalledAddOn fromJson(final InputStream json, final ObjectMapper private final String accountSid; private final String friendlyName; private final String description; - private final Map _configuration; + private final Map configuration; private final String uniqueName; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; @@ -127,7 +127,7 @@ private InstalledAddOn( final String description, @JsonProperty("configuration") - final Map _configuration, + final Map configuration, @JsonProperty("unique_name") final String uniqueName, @@ -148,7 +148,7 @@ private InstalledAddOn( this.accountSid = accountSid; this.friendlyName = friendlyName; this.description = description; - this._configuration = _configuration; + this.configuration = configuration; this.uniqueName = uniqueName; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); @@ -168,8 +168,8 @@ public final String getFriendlyName() { public final String getDescription() { return this.description; } - public final Map get_configuration() { - return this._configuration; + public final Map getConfiguration() { + return this.configuration; } public final String getUniqueName() { return this.uniqueName; @@ -199,12 +199,12 @@ public boolean equals(final Object o) { InstalledAddOn other = (InstalledAddOn) o; - return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(description, other.description) && Objects.equals(_configuration, other._configuration) && Objects.equals(uniqueName, other.uniqueName) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(url, other.url) && Objects.equals(links, other.links) ; + return Objects.equals(sid, other.sid) && Objects.equals(accountSid, other.accountSid) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(description, other.description) && Objects.equals(configuration, other.configuration) && Objects.equals(uniqueName, other.uniqueName) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(url, other.url) && Objects.equals(links, other.links) ; } @Override public int hashCode() { - return Objects.hash(sid, accountSid, friendlyName, description, _configuration, uniqueName, dateCreated, dateUpdated, url, links); + return Objects.hash(sid, accountSid, friendlyName, description, configuration, uniqueName, dateCreated, dateUpdated, url, links); } } diff --git a/src/main/java/com/twilio/rest/taskrouter/v1/workspace/Workflow.java b/src/main/java/com/twilio/rest/taskrouter/v1/workspace/Workflow.java index 1259f67143..fb6616d20c 100644 --- a/src/main/java/com/twilio/rest/taskrouter/v1/workspace/Workflow.java +++ b/src/main/java/com/twilio/rest/taskrouter/v1/workspace/Workflow.java @@ -42,7 +42,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) @ToString public class Workflow extends Resource { - private static final long serialVersionUID = 74532736863709L; + private static final long serialVersionUID = 204168447451968L; public static WorkflowCreator creator(final String workspaceSid, final String friendlyName, final String configuration){ return new WorkflowCreator(workspaceSid, friendlyName, configuration); @@ -103,7 +103,7 @@ public static Workflow fromJson(final InputStream json, final ObjectMapper objec private final String accountSid; private final URI assignmentCallbackUrl; - private final String _configuration; + private final String configuration; private final ZonedDateTime dateCreated; private final ZonedDateTime dateUpdated; private final String documentContentType; @@ -124,7 +124,7 @@ private Workflow( final URI assignmentCallbackUrl, @JsonProperty("configuration") - final String _configuration, + final String configuration, @JsonProperty("date_created") final String dateCreated, @@ -158,7 +158,7 @@ private Workflow( ) { this.accountSid = accountSid; this.assignmentCallbackUrl = assignmentCallbackUrl; - this._configuration = _configuration; + this.configuration = configuration; this.dateCreated = DateConverter.iso8601DateTimeFromString(dateCreated); this.dateUpdated = DateConverter.iso8601DateTimeFromString(dateUpdated); this.documentContentType = documentContentType; @@ -177,8 +177,8 @@ public final String getAccountSid() { public final URI getAssignmentCallbackUrl() { return this.assignmentCallbackUrl; } - public final String get_configuration() { - return this._configuration; + public final String getConfiguration() { + return this.configuration; } public final ZonedDateTime getDateCreated() { return this.dateCreated; @@ -223,12 +223,12 @@ public boolean equals(final Object o) { Workflow other = (Workflow) o; - return Objects.equals(accountSid, other.accountSid) && Objects.equals(assignmentCallbackUrl, other.assignmentCallbackUrl) && Objects.equals(_configuration, other._configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(documentContentType, other.documentContentType) && Objects.equals(fallbackAssignmentCallbackUrl, other.fallbackAssignmentCallbackUrl) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(sid, other.sid) && Objects.equals(taskReservationTimeout, other.taskReservationTimeout) && Objects.equals(workspaceSid, other.workspaceSid) && Objects.equals(url, other.url) && Objects.equals(links, other.links) ; + return Objects.equals(accountSid, other.accountSid) && Objects.equals(assignmentCallbackUrl, other.assignmentCallbackUrl) && Objects.equals(configuration, other.configuration) && Objects.equals(dateCreated, other.dateCreated) && Objects.equals(dateUpdated, other.dateUpdated) && Objects.equals(documentContentType, other.documentContentType) && Objects.equals(fallbackAssignmentCallbackUrl, other.fallbackAssignmentCallbackUrl) && Objects.equals(friendlyName, other.friendlyName) && Objects.equals(sid, other.sid) && Objects.equals(taskReservationTimeout, other.taskReservationTimeout) && Objects.equals(workspaceSid, other.workspaceSid) && Objects.equals(url, other.url) && Objects.equals(links, other.links) ; } @Override public int hashCode() { - return Objects.hash(accountSid, assignmentCallbackUrl, _configuration, dateCreated, dateUpdated, documentContentType, fallbackAssignmentCallbackUrl, friendlyName, sid, taskReservationTimeout, workspaceSid, url, links); + return Objects.hash(accountSid, assignmentCallbackUrl, configuration, dateCreated, dateUpdated, documentContentType, fallbackAssignmentCallbackUrl, friendlyName, sid, taskReservationTimeout, workspaceSid, url, links); } }