Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update reserved words #717

Merged
merged 1 commit into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final String uniqueName;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;
Expand All @@ -139,7 +139,7 @@ private AssignedAddOn(
final String description,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("unique_name")
final String uniqueName,
Expand All @@ -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);
Expand All @@ -184,8 +184,8 @@ public final String getFriendlyName() {
public final String getDescription() {
return this.description;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final String getUniqueName() {
return this.uniqueName;
Expand Down Expand Up @@ -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);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;

Expand All @@ -172,7 +172,7 @@ private Webhook(
final URI url,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("date_created")
final String dateCreated,
Expand All @@ -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);
}
Expand All @@ -209,8 +209,8 @@ public final String getType() {
public final URI getUrl() {
return this.url;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final ZonedDateTime getDateCreated() {
return this.dateCreated;
Expand All @@ -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);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;

Expand All @@ -168,7 +168,7 @@ private Webhook(
final URI url,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("date_created")
final String dateCreated,
Expand All @@ -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);
}
Expand All @@ -201,8 +201,8 @@ public final String getTarget() {
public final URI getUrl() {
return this.url;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final ZonedDateTime getDateCreated() {
return this.dateCreated;
Expand All @@ -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);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;

Expand All @@ -172,7 +172,7 @@ private Webhook(
final URI url,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("date_created")
final String dateCreated,
Expand All @@ -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);
}
Expand All @@ -209,8 +209,8 @@ public final String getTarget() {
public final URI getUrl() {
return this.url;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final ZonedDateTime getDateCreated() {
return this.dateCreated;
Expand All @@ -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);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;

Expand All @@ -172,7 +172,7 @@ private Webhook(
final URI url,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("date_created")
final String dateCreated,
Expand All @@ -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);
}
Expand All @@ -209,8 +209,8 @@ public final String getType() {
public final URI getUrl() {
return this.url;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final ZonedDateTime getDateCreated() {
return this.dateCreated;
Expand All @@ -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);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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<String, Object> _configuration;
private final Map<String, Object> configuration;
private final String uniqueName;
private final ZonedDateTime dateCreated;
private final ZonedDateTime dateUpdated;
Expand All @@ -127,7 +127,7 @@ private InstalledAddOn(
final String description,

@JsonProperty("configuration")
final Map<String, Object> _configuration,
final Map<String, Object> configuration,

@JsonProperty("unique_name")
final String uniqueName,
Expand All @@ -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);
Expand All @@ -168,8 +168,8 @@ public final String getFriendlyName() {
public final String getDescription() {
return this.description;
}
public final Map<String, Object> get_configuration() {
return this._configuration;
public final Map<String, Object> getConfiguration() {
return this.configuration;
}
public final String getUniqueName() {
return this.uniqueName;
Expand Down Expand Up @@ -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);
}

}
Expand Down
Loading