diff --git a/src/main/java/com/twilio/rest/chat/v1/ServiceUpdater.java b/src/main/java/com/twilio/rest/chat/v1/ServiceUpdater.java index 2fbb1d3325..b6e1d9fd44 100644 --- a/src/main/java/com/twilio/rest/chat/v1/ServiceUpdater.java +++ b/src/main/java/com/twilio/rest/chat/v1/ServiceUpdater.java @@ -442,7 +442,7 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageEnabled != null) { - request.addPostParam("NotificationsNewMessageEnabled", notificationsNewMessageEnabled.toString()); + request.addPostParam("Notifications.NewMessage.Enabled", notificationsNewMessageEnabled.toString()); } if (notificationsNewMessageTemplate != null) { @@ -450,7 +450,7 @@ private void addPostParams(final Request request) { } if (notificationsAddedToChannelEnabled != null) { - request.addPostParam("NotificationsAddedToChannelEnabled", notificationsAddedToChannelEnabled.toString()); + request.addPostParam("Notifications.AddedToChannel.Enabled", notificationsAddedToChannelEnabled.toString()); } if (notificationsAddedToChannelTemplate != null) { @@ -458,7 +458,7 @@ private void addPostParams(final Request request) { } if (notificationsRemovedFromChannelEnabled != null) { - request.addPostParam("NotificationsRemovedFromChannelEnabled", notificationsRemovedFromChannelEnabled.toString()); + request.addPostParam("Notifications.RemovedFromChannel.Enabled", notificationsRemovedFromChannelEnabled.toString()); } if (notificationsRemovedFromChannelTemplate != null) { @@ -466,7 +466,7 @@ private void addPostParams(final Request request) { } if (notificationsInvitedToChannelEnabled != null) { - request.addPostParam("NotificationsInvitedToChannelEnabled", notificationsInvitedToChannelEnabled.toString()); + request.addPostParam("Notifications.InvitedToChannel.Enabled", notificationsInvitedToChannelEnabled.toString()); } if (notificationsInvitedToChannelTemplate != null) { @@ -492,139 +492,139 @@ private void addPostParams(final Request request) { } if (webhooksOnMessageSendUrl != null) { - request.addPostParam("WebhooksOnMessageSendUrl", webhooksOnMessageSendUrl.toString()); + request.addPostParam("Webhooks.OnMessageSend.Url", webhooksOnMessageSendUrl.toString()); } if (webhooksOnMessageSendMethod != null) { - request.addPostParam("WebhooksOnMessageSendMethod", webhooksOnMessageSendMethod.toString()); + request.addPostParam("Webhooks.OnMessageSend.Method", webhooksOnMessageSendMethod.toString()); } if (webhooksOnMessageUpdateUrl != null) { - request.addPostParam("WebhooksOnMessageUpdateUrl", webhooksOnMessageUpdateUrl.toString()); + request.addPostParam("Webhooks.OnMessageUpdate.Url", webhooksOnMessageUpdateUrl.toString()); } if (webhooksOnMessageUpdateMethod != null) { - request.addPostParam("WebhooksOnMessageUpdateMethod", webhooksOnMessageUpdateMethod.toString()); + request.addPostParam("Webhooks.OnMessageUpdate.Method", webhooksOnMessageUpdateMethod.toString()); } if (webhooksOnMessageRemoveUrl != null) { - request.addPostParam("WebhooksOnMessageRemoveUrl", webhooksOnMessageRemoveUrl.toString()); + request.addPostParam("Webhooks.OnMessageRemove.Url", webhooksOnMessageRemoveUrl.toString()); } if (webhooksOnMessageRemoveMethod != null) { - request.addPostParam("WebhooksOnMessageRemoveMethod", webhooksOnMessageRemoveMethod.toString()); + request.addPostParam("Webhooks.OnMessageRemove.Method", webhooksOnMessageRemoveMethod.toString()); } if (webhooksOnChannelAddUrl != null) { - request.addPostParam("WebhooksOnChannelAddUrl", webhooksOnChannelAddUrl.toString()); + request.addPostParam("Webhooks.OnChannelAdd.Url", webhooksOnChannelAddUrl.toString()); } if (webhooksOnChannelAddMethod != null) { - request.addPostParam("WebhooksOnChannelAddMethod", webhooksOnChannelAddMethod.toString()); + request.addPostParam("Webhooks.OnChannelAdd.Method", webhooksOnChannelAddMethod.toString()); } if (webhooksOnChannelDestroyUrl != null) { - request.addPostParam("WebhooksOnChannelDestroyUrl", webhooksOnChannelDestroyUrl.toString()); + request.addPostParam("Webhooks.OnChannelDestroy.Url", webhooksOnChannelDestroyUrl.toString()); } if (webhooksOnChannelDestroyMethod != null) { - request.addPostParam("WebhooksOnChannelDestroyMethod", webhooksOnChannelDestroyMethod.toString()); + request.addPostParam("Webhooks.OnChannelDestroy.Method", webhooksOnChannelDestroyMethod.toString()); } if (webhooksOnChannelUpdateUrl != null) { - request.addPostParam("WebhooksOnChannelUpdateUrl", webhooksOnChannelUpdateUrl.toString()); + request.addPostParam("Webhooks.OnChannelUpdate.Url", webhooksOnChannelUpdateUrl.toString()); } if (webhooksOnChannelUpdateMethod != null) { - request.addPostParam("WebhooksOnChannelUpdateMethod", webhooksOnChannelUpdateMethod.toString()); + request.addPostParam("Webhooks.OnChannelUpdate.Method", webhooksOnChannelUpdateMethod.toString()); } if (webhooksOnMemberAddUrl != null) { - request.addPostParam("WebhooksOnMemberAddUrl", webhooksOnMemberAddUrl.toString()); + request.addPostParam("Webhooks.OnMemberAdd.Url", webhooksOnMemberAddUrl.toString()); } if (webhooksOnMemberAddMethod != null) { - request.addPostParam("WebhooksOnMemberAddMethod", webhooksOnMemberAddMethod.toString()); + request.addPostParam("Webhooks.OnMemberAdd.Method", webhooksOnMemberAddMethod.toString()); } if (webhooksOnMemberRemoveUrl != null) { - request.addPostParam("WebhooksOnMemberRemoveUrl", webhooksOnMemberRemoveUrl.toString()); + request.addPostParam("Webhooks.OnMemberRemove.Url", webhooksOnMemberRemoveUrl.toString()); } if (webhooksOnMemberRemoveMethod != null) { - request.addPostParam("WebhooksOnMemberRemoveMethod", webhooksOnMemberRemoveMethod.toString()); + request.addPostParam("Webhooks.OnMemberRemove.Method", webhooksOnMemberRemoveMethod.toString()); } if (webhooksOnMessageSentUrl != null) { - request.addPostParam("WebhooksOnMessageSentUrl", webhooksOnMessageSentUrl.toString()); + request.addPostParam("Webhooks.OnMessageSent.Url", webhooksOnMessageSentUrl.toString()); } if (webhooksOnMessageSentMethod != null) { - request.addPostParam("WebhooksOnMessageSentMethod", webhooksOnMessageSentMethod.toString()); + request.addPostParam("Webhooks.OnMessageSent.Method", webhooksOnMessageSentMethod.toString()); } if (webhooksOnMessageUpdatedUrl != null) { - request.addPostParam("WebhooksOnMessageUpdatedUrl", webhooksOnMessageUpdatedUrl.toString()); + request.addPostParam("Webhooks.OnMessageUpdated.Url", webhooksOnMessageUpdatedUrl.toString()); } if (webhooksOnMessageUpdatedMethod != null) { - request.addPostParam("WebhooksOnMessageUpdatedMethod", webhooksOnMessageUpdatedMethod.toString()); + request.addPostParam("Webhooks.OnMessageUpdated.Method", webhooksOnMessageUpdatedMethod.toString()); } if (webhooksOnMessageRemovedUrl != null) { - request.addPostParam("WebhooksOnMessageRemovedUrl", webhooksOnMessageRemovedUrl.toString()); + request.addPostParam("Webhooks.OnMessageRemoved.Url", webhooksOnMessageRemovedUrl.toString()); } if (webhooksOnMessageRemovedMethod != null) { - request.addPostParam("WebhooksOnMessageRemovedMethod", webhooksOnMessageRemovedMethod.toString()); + request.addPostParam("Webhooks.OnMessageRemoved.Method", webhooksOnMessageRemovedMethod.toString()); } if (webhooksOnChannelAddedUrl != null) { - request.addPostParam("WebhooksOnChannelAddedUrl", webhooksOnChannelAddedUrl.toString()); + request.addPostParam("Webhooks.OnChannelAdded.Url", webhooksOnChannelAddedUrl.toString()); } if (webhooksOnChannelAddedMethod != null) { - request.addPostParam("WebhooksOnChannelAddedMethod", webhooksOnChannelAddedMethod.toString()); + request.addPostParam("Webhooks.OnChannelAdded.Method", webhooksOnChannelAddedMethod.toString()); } if (webhooksOnChannelDestroyedUrl != null) { - request.addPostParam("WebhooksOnChannelDestroyedUrl", webhooksOnChannelDestroyedUrl.toString()); + request.addPostParam("Webhooks.OnChannelDestroyed.Url", webhooksOnChannelDestroyedUrl.toString()); } if (webhooksOnChannelDestroyedMethod != null) { - request.addPostParam("WebhooksOnChannelDestroyedMethod", webhooksOnChannelDestroyedMethod.toString()); + request.addPostParam("Webhooks.OnChannelDestroyed.Method", webhooksOnChannelDestroyedMethod.toString()); } if (webhooksOnChannelUpdatedUrl != null) { - request.addPostParam("WebhooksOnChannelUpdatedUrl", webhooksOnChannelUpdatedUrl.toString()); + request.addPostParam("Webhooks.OnChannelUpdated.Url", webhooksOnChannelUpdatedUrl.toString()); } if (webhooksOnChannelUpdatedMethod != null) { - request.addPostParam("WebhooksOnChannelUpdatedMethod", webhooksOnChannelUpdatedMethod.toString()); + request.addPostParam("Webhooks.OnChannelUpdated.Method", webhooksOnChannelUpdatedMethod.toString()); } if (webhooksOnMemberAddedUrl != null) { - request.addPostParam("WebhooksOnMemberAddedUrl", webhooksOnMemberAddedUrl.toString()); + request.addPostParam("Webhooks.OnMemberAdded.Url", webhooksOnMemberAddedUrl.toString()); } if (webhooksOnMemberAddedMethod != null) { - request.addPostParam("WebhooksOnMemberAddedMethod", webhooksOnMemberAddedMethod.toString()); + request.addPostParam("Webhooks.OnMemberAdded.Method", webhooksOnMemberAddedMethod.toString()); } if (webhooksOnMemberRemovedUrl != null) { - request.addPostParam("WebhooksOnMemberRemovedUrl", webhooksOnMemberRemovedUrl.toString()); + request.addPostParam("Webhooks.OnMemberRemoved.Url", webhooksOnMemberRemovedUrl.toString()); } if (webhooksOnMemberRemovedMethod != null) { - request.addPostParam("WebhooksOnMemberRemovedMethod", webhooksOnMemberRemovedMethod.toString()); + request.addPostParam("Webhooks.OnMemberRemoved.Method", webhooksOnMemberRemovedMethod.toString()); } if (limitsChannelMembers != null) { - request.addPostParam("LimitsChannelMembers", limitsChannelMembers.toString()); + request.addPostParam("Limits.ChannelMembers", limitsChannelMembers.toString()); } if (limitsUserChannels != null) { - request.addPostParam("LimitsUserChannels", limitsUserChannels.toString()); + request.addPostParam("Limits.UserChannels", limitsUserChannels.toString()); } } diff --git a/src/main/java/com/twilio/rest/chat/v2/ServiceUpdater.java b/src/main/java/com/twilio/rest/chat/v2/ServiceUpdater.java index dc01673e41..bc0d7dc1de 100644 --- a/src/main/java/com/twilio/rest/chat/v2/ServiceUpdater.java +++ b/src/main/java/com/twilio/rest/chat/v2/ServiceUpdater.java @@ -263,7 +263,7 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageEnabled != null) { - request.addPostParam("NotificationsNewMessageEnabled", notificationsNewMessageEnabled.toString()); + request.addPostParam("Notifications.NewMessage.Enabled", notificationsNewMessageEnabled.toString()); } if (notificationsNewMessageTemplate != null) { @@ -275,11 +275,11 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageBadgeCountEnabled != null) { - request.addPostParam("NotificationsNewMessageBadgeCountEnabled", notificationsNewMessageBadgeCountEnabled.toString()); + request.addPostParam("Notifications.NewMessage.BadgeCountEnabled", notificationsNewMessageBadgeCountEnabled.toString()); } if (notificationsAddedToChannelEnabled != null) { - request.addPostParam("NotificationsAddedToChannelEnabled", notificationsAddedToChannelEnabled.toString()); + request.addPostParam("Notifications.AddedToChannel.Enabled", notificationsAddedToChannelEnabled.toString()); } if (notificationsAddedToChannelTemplate != null) { @@ -291,7 +291,7 @@ private void addPostParams(final Request request) { } if (notificationsRemovedFromChannelEnabled != null) { - request.addPostParam("NotificationsRemovedFromChannelEnabled", notificationsRemovedFromChannelEnabled.toString()); + request.addPostParam("Notifications.RemovedFromChannel.Enabled", notificationsRemovedFromChannelEnabled.toString()); } if (notificationsRemovedFromChannelTemplate != null) { @@ -303,7 +303,7 @@ private void addPostParams(final Request request) { } if (notificationsInvitedToChannelEnabled != null) { - request.addPostParam("NotificationsInvitedToChannelEnabled", notificationsInvitedToChannelEnabled.toString()); + request.addPostParam("Notifications.InvitedToChannel.Enabled", notificationsInvitedToChannelEnabled.toString()); } if (notificationsInvitedToChannelTemplate != null) { @@ -333,11 +333,11 @@ private void addPostParams(final Request request) { } if (limitsChannelMembers != null) { - request.addPostParam("LimitsChannelMembers", limitsChannelMembers.toString()); + request.addPostParam("Limits.ChannelMembers", limitsChannelMembers.toString()); } if (limitsUserChannels != null) { - request.addPostParam("LimitsUserChannels", limitsUserChannels.toString()); + request.addPostParam("Limits.UserChannels", limitsUserChannels.toString()); } if (mediaCompatibilityMessage != null) { @@ -353,7 +353,7 @@ private void addPostParams(final Request request) { } if (notificationsLogEnabled != null) { - request.addPostParam("NotificationsLogEnabled", notificationsLogEnabled.toString()); + request.addPostParam("Notifications.LogEnabled", notificationsLogEnabled.toString()); } } diff --git a/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookCreator.java b/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookCreator.java index df81791d50..f5809281ee 100644 --- a/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookCreator.java +++ b/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookCreator.java @@ -119,7 +119,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -139,7 +139,7 @@ private void addPostParams(final Request request) { } if (configurationRetryCount != null) { - request.addPostParam("ConfigurationRetryCount", configurationRetryCount.toString()); + request.addPostParam("Configuration.RetryCount", configurationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookUpdater.java b/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookUpdater.java index 776bba3de3..67a270811f 100644 --- a/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookUpdater.java +++ b/src/main/java/com/twilio/rest/chat/v2/service/channel/WebhookUpdater.java @@ -110,7 +110,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -130,7 +130,7 @@ private void addPostParams(final Request request) { } if (configurationRetryCount != null) { - request.addPostParam("ConfigurationRetryCount", configurationRetryCount.toString()); + request.addPostParam("Configuration.RetryCount", configurationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationCreator.java b/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationCreator.java index f6cf6db495..398823ce48 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationCreator.java +++ b/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationCreator.java @@ -136,11 +136,11 @@ private void addPostParams(final Request request) { } if (autoCreationEnabled != null) { - request.addPostParam("AutoCreationEnabled", autoCreationEnabled.toString()); + request.addPostParam("AutoCreation.Enabled", autoCreationEnabled.toString()); } if (autoCreationType != null) { - request.addPostParam("AutoCreationType", autoCreationType.toString()); + request.addPostParam("AutoCreation.Type", autoCreationType.toString()); } if (autoCreationConversationServiceSid != null) { @@ -152,7 +152,7 @@ private void addPostParams(final Request request) { } if (autoCreationWebhookMethod != null) { - request.addPostParam("AutoCreationWebhookMethod", autoCreationWebhookMethod.toString()); + request.addPostParam("AutoCreation.WebhookMethod", autoCreationWebhookMethod.toString()); } if (autoCreationWebhookFilters != null) { @@ -166,7 +166,7 @@ private void addPostParams(final Request request) { } if (autoCreationStudioRetryCount != null) { - request.addPostParam("AutoCreationStudioRetryCount", autoCreationStudioRetryCount.toString()); + request.addPostParam("AutoCreation.StudioRetryCount", autoCreationStudioRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationUpdater.java b/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationUpdater.java index 58f7393c4a..1dc2f9f4a7 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationUpdater.java +++ b/src/main/java/com/twilio/rest/conversations/v1/AddressConfigurationUpdater.java @@ -116,11 +116,11 @@ private void addPostParams(final Request request) { } if (autoCreationEnabled != null) { - request.addPostParam("AutoCreationEnabled", autoCreationEnabled.toString()); + request.addPostParam("AutoCreation.Enabled", autoCreationEnabled.toString()); } if (autoCreationType != null) { - request.addPostParam("AutoCreationType", autoCreationType.toString()); + request.addPostParam("AutoCreation.Type", autoCreationType.toString()); } if (autoCreationConversationServiceSid != null) { @@ -132,7 +132,7 @@ private void addPostParams(final Request request) { } if (autoCreationWebhookMethod != null) { - request.addPostParam("AutoCreationWebhookMethod", autoCreationWebhookMethod.toString()); + request.addPostParam("AutoCreation.WebhookMethod", autoCreationWebhookMethod.toString()); } if (autoCreationWebhookFilters != null) { @@ -146,7 +146,7 @@ private void addPostParams(final Request request) { } if (autoCreationStudioRetryCount != null) { - request.addPostParam("AutoCreationStudioRetryCount", autoCreationStudioRetryCount.toString()); + request.addPostParam("AutoCreation.StudioRetryCount", autoCreationStudioRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookCreator.java b/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookCreator.java index 94a41355aa..98fdf03c65 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookCreator.java +++ b/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookCreator.java @@ -116,7 +116,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -136,7 +136,7 @@ private void addPostParams(final Request request) { } if (configurationReplayAfter != null) { - request.addPostParam("ConfigurationReplayAfter", configurationReplayAfter.toString()); + request.addPostParam("Configuration.ReplayAfter", configurationReplayAfter.toString()); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookUpdater.java b/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookUpdater.java index f2c177d56e..d8e7bc29cc 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookUpdater.java +++ b/src/main/java/com/twilio/rest/conversations/v1/conversation/WebhookUpdater.java @@ -102,7 +102,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { diff --git a/src/main/java/com/twilio/rest/conversations/v1/service/configuration/NotificationUpdater.java b/src/main/java/com/twilio/rest/conversations/v1/service/configuration/NotificationUpdater.java index c9eef7dca0..c6e2ad4c64 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/service/configuration/NotificationUpdater.java +++ b/src/main/java/com/twilio/rest/conversations/v1/service/configuration/NotificationUpdater.java @@ -131,7 +131,7 @@ private void addPostParams(final Request request) { } if (newMessageEnabled != null) { - request.addPostParam("NewMessageEnabled", newMessageEnabled.toString()); + request.addPostParam("NewMessage.Enabled", newMessageEnabled.toString()); } if (newMessageTemplate != null) { @@ -143,11 +143,11 @@ private void addPostParams(final Request request) { } if (newMessageBadgeCountEnabled != null) { - request.addPostParam("NewMessageBadgeCountEnabled", newMessageBadgeCountEnabled.toString()); + request.addPostParam("NewMessage.BadgeCountEnabled", newMessageBadgeCountEnabled.toString()); } if (addedToConversationEnabled != null) { - request.addPostParam("AddedToConversationEnabled", addedToConversationEnabled.toString()); + request.addPostParam("AddedToConversation.Enabled", addedToConversationEnabled.toString()); } if (addedToConversationTemplate != null) { @@ -159,7 +159,7 @@ private void addPostParams(final Request request) { } if (removedFromConversationEnabled != null) { - request.addPostParam("RemovedFromConversationEnabled", removedFromConversationEnabled.toString()); + request.addPostParam("RemovedFromConversation.Enabled", removedFromConversationEnabled.toString()); } if (removedFromConversationTemplate != null) { @@ -171,7 +171,7 @@ private void addPostParams(final Request request) { } if (newMessageWithMediaEnabled != null) { - request.addPostParam("NewMessageWithMediaEnabled", newMessageWithMediaEnabled.toString()); + request.addPostParam("NewMessage.WithMedia.Enabled", newMessageWithMediaEnabled.toString()); } if (newMessageWithMediaTemplate != null) { diff --git a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookCreator.java b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookCreator.java index 8a1dd9d0e4..e3d757fe08 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookCreator.java +++ b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookCreator.java @@ -119,7 +119,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -139,7 +139,7 @@ private void addPostParams(final Request request) { } if (configurationReplayAfter != null) { - request.addPostParam("ConfigurationReplayAfter", configurationReplayAfter.toString()); + request.addPostParam("Configuration.ReplayAfter", configurationReplayAfter.toString()); } } diff --git a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookUpdater.java b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookUpdater.java index 9a16c6a860..8f8b97b256 100644 --- a/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookUpdater.java +++ b/src/main/java/com/twilio/rest/conversations/v1/service/conversation/WebhookUpdater.java @@ -105,7 +105,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { diff --git a/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowCreator.java b/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowCreator.java index 907e3f5e9f..e7fdf32c1d 100644 --- a/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowCreator.java +++ b/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowCreator.java @@ -185,7 +185,7 @@ private void addPostParams(final Request request) { } if (integrationUrl != null) { - request.addPostParam("IntegrationUrl", integrationUrl.toString()); + request.addPostParam("Integration.Url", integrationUrl.toString()); } if (integrationWorkspaceSid != null) { @@ -201,15 +201,15 @@ private void addPostParams(final Request request) { } if (integrationTimeout != null) { - request.addPostParam("IntegrationTimeout", integrationTimeout.toString()); + request.addPostParam("Integration.Timeout", integrationTimeout.toString()); } if (integrationPriority != null) { - request.addPostParam("IntegrationPriority", integrationPriority.toString()); + request.addPostParam("Integration.Priority", integrationPriority.toString()); } if (integrationCreationOnMessage != null) { - request.addPostParam("IntegrationCreationOnMessage", integrationCreationOnMessage.toString()); + request.addPostParam("Integration.CreationOnMessage", integrationCreationOnMessage.toString()); } if (longLived != null) { @@ -221,7 +221,7 @@ private void addPostParams(final Request request) { } if (integrationRetryCount != null) { - request.addPostParam("IntegrationRetryCount", integrationRetryCount.toString()); + request.addPostParam("Integration.RetryCount", integrationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowUpdater.java b/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowUpdater.java index 596499e7df..b52eeef1f8 100644 --- a/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowUpdater.java +++ b/src/main/java/com/twilio/rest/flexapi/v1/FlexFlowUpdater.java @@ -181,7 +181,7 @@ private void addPostParams(final Request request) { } if (integrationUrl != null) { - request.addPostParam("IntegrationUrl", integrationUrl.toString()); + request.addPostParam("Integration.Url", integrationUrl.toString()); } if (integrationWorkspaceSid != null) { @@ -197,15 +197,15 @@ private void addPostParams(final Request request) { } if (integrationTimeout != null) { - request.addPostParam("IntegrationTimeout", integrationTimeout.toString()); + request.addPostParam("Integration.Timeout", integrationTimeout.toString()); } if (integrationPriority != null) { - request.addPostParam("IntegrationPriority", integrationPriority.toString()); + request.addPostParam("Integration.Priority", integrationPriority.toString()); } if (integrationCreationOnMessage != null) { - request.addPostParam("IntegrationCreationOnMessage", integrationCreationOnMessage.toString()); + request.addPostParam("Integration.CreationOnMessage", integrationCreationOnMessage.toString()); } if (longLived != null) { @@ -217,7 +217,7 @@ private void addPostParams(final Request request) { } if (integrationRetryCount != null) { - request.addPostParam("IntegrationRetryCount", integrationRetryCount.toString()); + request.addPostParam("Integration.RetryCount", integrationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/ipmessaging/v1/ServiceUpdater.java b/src/main/java/com/twilio/rest/ipmessaging/v1/ServiceUpdater.java index 39f1091cab..fe5bfbd976 100644 --- a/src/main/java/com/twilio/rest/ipmessaging/v1/ServiceUpdater.java +++ b/src/main/java/com/twilio/rest/ipmessaging/v1/ServiceUpdater.java @@ -442,7 +442,7 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageEnabled != null) { - request.addPostParam("NotificationsNewMessageEnabled", notificationsNewMessageEnabled.toString()); + request.addPostParam("Notifications.NewMessage.Enabled", notificationsNewMessageEnabled.toString()); } if (notificationsNewMessageTemplate != null) { @@ -450,7 +450,7 @@ private void addPostParams(final Request request) { } if (notificationsAddedToChannelEnabled != null) { - request.addPostParam("NotificationsAddedToChannelEnabled", notificationsAddedToChannelEnabled.toString()); + request.addPostParam("Notifications.AddedToChannel.Enabled", notificationsAddedToChannelEnabled.toString()); } if (notificationsAddedToChannelTemplate != null) { @@ -458,7 +458,7 @@ private void addPostParams(final Request request) { } if (notificationsRemovedFromChannelEnabled != null) { - request.addPostParam("NotificationsRemovedFromChannelEnabled", notificationsRemovedFromChannelEnabled.toString()); + request.addPostParam("Notifications.RemovedFromChannel.Enabled", notificationsRemovedFromChannelEnabled.toString()); } if (notificationsRemovedFromChannelTemplate != null) { @@ -466,7 +466,7 @@ private void addPostParams(final Request request) { } if (notificationsInvitedToChannelEnabled != null) { - request.addPostParam("NotificationsInvitedToChannelEnabled", notificationsInvitedToChannelEnabled.toString()); + request.addPostParam("Notifications.InvitedToChannel.Enabled", notificationsInvitedToChannelEnabled.toString()); } if (notificationsInvitedToChannelTemplate != null) { @@ -492,139 +492,139 @@ private void addPostParams(final Request request) { } if (webhooksOnMessageSendUrl != null) { - request.addPostParam("WebhooksOnMessageSendUrl", webhooksOnMessageSendUrl.toString()); + request.addPostParam("Webhooks.OnMessageSend.Url", webhooksOnMessageSendUrl.toString()); } if (webhooksOnMessageSendMethod != null) { - request.addPostParam("WebhooksOnMessageSendMethod", webhooksOnMessageSendMethod.toString()); + request.addPostParam("Webhooks.OnMessageSend.Method", webhooksOnMessageSendMethod.toString()); } if (webhooksOnMessageUpdateUrl != null) { - request.addPostParam("WebhooksOnMessageUpdateUrl", webhooksOnMessageUpdateUrl.toString()); + request.addPostParam("Webhooks.OnMessageUpdate.Url", webhooksOnMessageUpdateUrl.toString()); } if (webhooksOnMessageUpdateMethod != null) { - request.addPostParam("WebhooksOnMessageUpdateMethod", webhooksOnMessageUpdateMethod.toString()); + request.addPostParam("Webhooks.OnMessageUpdate.Method", webhooksOnMessageUpdateMethod.toString()); } if (webhooksOnMessageRemoveUrl != null) { - request.addPostParam("WebhooksOnMessageRemoveUrl", webhooksOnMessageRemoveUrl.toString()); + request.addPostParam("Webhooks.OnMessageRemove.Url", webhooksOnMessageRemoveUrl.toString()); } if (webhooksOnMessageRemoveMethod != null) { - request.addPostParam("WebhooksOnMessageRemoveMethod", webhooksOnMessageRemoveMethod.toString()); + request.addPostParam("Webhooks.OnMessageRemove.Method", webhooksOnMessageRemoveMethod.toString()); } if (webhooksOnChannelAddUrl != null) { - request.addPostParam("WebhooksOnChannelAddUrl", webhooksOnChannelAddUrl.toString()); + request.addPostParam("Webhooks.OnChannelAdd.Url", webhooksOnChannelAddUrl.toString()); } if (webhooksOnChannelAddMethod != null) { - request.addPostParam("WebhooksOnChannelAddMethod", webhooksOnChannelAddMethod.toString()); + request.addPostParam("Webhooks.OnChannelAdd.Method", webhooksOnChannelAddMethod.toString()); } if (webhooksOnChannelDestroyUrl != null) { - request.addPostParam("WebhooksOnChannelDestroyUrl", webhooksOnChannelDestroyUrl.toString()); + request.addPostParam("Webhooks.OnChannelDestroy.Url", webhooksOnChannelDestroyUrl.toString()); } if (webhooksOnChannelDestroyMethod != null) { - request.addPostParam("WebhooksOnChannelDestroyMethod", webhooksOnChannelDestroyMethod.toString()); + request.addPostParam("Webhooks.OnChannelDestroy.Method", webhooksOnChannelDestroyMethod.toString()); } if (webhooksOnChannelUpdateUrl != null) { - request.addPostParam("WebhooksOnChannelUpdateUrl", webhooksOnChannelUpdateUrl.toString()); + request.addPostParam("Webhooks.OnChannelUpdate.Url", webhooksOnChannelUpdateUrl.toString()); } if (webhooksOnChannelUpdateMethod != null) { - request.addPostParam("WebhooksOnChannelUpdateMethod", webhooksOnChannelUpdateMethod.toString()); + request.addPostParam("Webhooks.OnChannelUpdate.Method", webhooksOnChannelUpdateMethod.toString()); } if (webhooksOnMemberAddUrl != null) { - request.addPostParam("WebhooksOnMemberAddUrl", webhooksOnMemberAddUrl.toString()); + request.addPostParam("Webhooks.OnMemberAdd.Url", webhooksOnMemberAddUrl.toString()); } if (webhooksOnMemberAddMethod != null) { - request.addPostParam("WebhooksOnMemberAddMethod", webhooksOnMemberAddMethod.toString()); + request.addPostParam("Webhooks.OnMemberAdd.Method", webhooksOnMemberAddMethod.toString()); } if (webhooksOnMemberRemoveUrl != null) { - request.addPostParam("WebhooksOnMemberRemoveUrl", webhooksOnMemberRemoveUrl.toString()); + request.addPostParam("Webhooks.OnMemberRemove.Url", webhooksOnMemberRemoveUrl.toString()); } if (webhooksOnMemberRemoveMethod != null) { - request.addPostParam("WebhooksOnMemberRemoveMethod", webhooksOnMemberRemoveMethod.toString()); + request.addPostParam("Webhooks.OnMemberRemove.Method", webhooksOnMemberRemoveMethod.toString()); } if (webhooksOnMessageSentUrl != null) { - request.addPostParam("WebhooksOnMessageSentUrl", webhooksOnMessageSentUrl.toString()); + request.addPostParam("Webhooks.OnMessageSent.Url", webhooksOnMessageSentUrl.toString()); } if (webhooksOnMessageSentMethod != null) { - request.addPostParam("WebhooksOnMessageSentMethod", webhooksOnMessageSentMethod.toString()); + request.addPostParam("Webhooks.OnMessageSent.Method", webhooksOnMessageSentMethod.toString()); } if (webhooksOnMessageUpdatedUrl != null) { - request.addPostParam("WebhooksOnMessageUpdatedUrl", webhooksOnMessageUpdatedUrl.toString()); + request.addPostParam("Webhooks.OnMessageUpdated.Url", webhooksOnMessageUpdatedUrl.toString()); } if (webhooksOnMessageUpdatedMethod != null) { - request.addPostParam("WebhooksOnMessageUpdatedMethod", webhooksOnMessageUpdatedMethod.toString()); + request.addPostParam("Webhooks.OnMessageUpdated.Method", webhooksOnMessageUpdatedMethod.toString()); } if (webhooksOnMessageRemovedUrl != null) { - request.addPostParam("WebhooksOnMessageRemovedUrl", webhooksOnMessageRemovedUrl.toString()); + request.addPostParam("Webhooks.OnMessageRemoved.Url", webhooksOnMessageRemovedUrl.toString()); } if (webhooksOnMessageRemovedMethod != null) { - request.addPostParam("WebhooksOnMessageRemovedMethod", webhooksOnMessageRemovedMethod.toString()); + request.addPostParam("Webhooks.OnMessageRemoved.Method", webhooksOnMessageRemovedMethod.toString()); } if (webhooksOnChannelAddedUrl != null) { - request.addPostParam("WebhooksOnChannelAddedUrl", webhooksOnChannelAddedUrl.toString()); + request.addPostParam("Webhooks.OnChannelAdded.Url", webhooksOnChannelAddedUrl.toString()); } if (webhooksOnChannelAddedMethod != null) { - request.addPostParam("WebhooksOnChannelAddedMethod", webhooksOnChannelAddedMethod.toString()); + request.addPostParam("Webhooks.OnChannelAdded.Method", webhooksOnChannelAddedMethod.toString()); } if (webhooksOnChannelDestroyedUrl != null) { - request.addPostParam("WebhooksOnChannelDestroyedUrl", webhooksOnChannelDestroyedUrl.toString()); + request.addPostParam("Webhooks.OnChannelDestroyed.Url", webhooksOnChannelDestroyedUrl.toString()); } if (webhooksOnChannelDestroyedMethod != null) { - request.addPostParam("WebhooksOnChannelDestroyedMethod", webhooksOnChannelDestroyedMethod.toString()); + request.addPostParam("Webhooks.OnChannelDestroyed.Method", webhooksOnChannelDestroyedMethod.toString()); } if (webhooksOnChannelUpdatedUrl != null) { - request.addPostParam("WebhooksOnChannelUpdatedUrl", webhooksOnChannelUpdatedUrl.toString()); + request.addPostParam("Webhooks.OnChannelUpdated.Url", webhooksOnChannelUpdatedUrl.toString()); } if (webhooksOnChannelUpdatedMethod != null) { - request.addPostParam("WebhooksOnChannelUpdatedMethod", webhooksOnChannelUpdatedMethod.toString()); + request.addPostParam("Webhooks.OnChannelUpdated.Method", webhooksOnChannelUpdatedMethod.toString()); } if (webhooksOnMemberAddedUrl != null) { - request.addPostParam("WebhooksOnMemberAddedUrl", webhooksOnMemberAddedUrl.toString()); + request.addPostParam("Webhooks.OnMemberAdded.Url", webhooksOnMemberAddedUrl.toString()); } if (webhooksOnMemberAddedMethod != null) { - request.addPostParam("WebhooksOnMemberAddedMethod", webhooksOnMemberAddedMethod.toString()); + request.addPostParam("Webhooks.OnMemberAdded.Method", webhooksOnMemberAddedMethod.toString()); } if (webhooksOnMemberRemovedUrl != null) { - request.addPostParam("WebhooksOnMemberRemovedUrl", webhooksOnMemberRemovedUrl.toString()); + request.addPostParam("Webhooks.OnMemberRemoved.Url", webhooksOnMemberRemovedUrl.toString()); } if (webhooksOnMemberRemovedMethod != null) { - request.addPostParam("WebhooksOnMemberRemovedMethod", webhooksOnMemberRemovedMethod.toString()); + request.addPostParam("Webhooks.OnMemberRemoved.Method", webhooksOnMemberRemovedMethod.toString()); } if (limitsChannelMembers != null) { - request.addPostParam("LimitsChannelMembers", limitsChannelMembers.toString()); + request.addPostParam("Limits.ChannelMembers", limitsChannelMembers.toString()); } if (limitsUserChannels != null) { - request.addPostParam("LimitsUserChannels", limitsUserChannels.toString()); + request.addPostParam("Limits.UserChannels", limitsUserChannels.toString()); } } diff --git a/src/main/java/com/twilio/rest/ipmessaging/v2/ServiceUpdater.java b/src/main/java/com/twilio/rest/ipmessaging/v2/ServiceUpdater.java index 15a6a79332..73245808e3 100644 --- a/src/main/java/com/twilio/rest/ipmessaging/v2/ServiceUpdater.java +++ b/src/main/java/com/twilio/rest/ipmessaging/v2/ServiceUpdater.java @@ -263,7 +263,7 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageEnabled != null) { - request.addPostParam("NotificationsNewMessageEnabled", notificationsNewMessageEnabled.toString()); + request.addPostParam("Notifications.NewMessage.Enabled", notificationsNewMessageEnabled.toString()); } if (notificationsNewMessageTemplate != null) { @@ -275,11 +275,11 @@ private void addPostParams(final Request request) { } if (notificationsNewMessageBadgeCountEnabled != null) { - request.addPostParam("NotificationsNewMessageBadgeCountEnabled", notificationsNewMessageBadgeCountEnabled.toString()); + request.addPostParam("Notifications.NewMessage.BadgeCountEnabled", notificationsNewMessageBadgeCountEnabled.toString()); } if (notificationsAddedToChannelEnabled != null) { - request.addPostParam("NotificationsAddedToChannelEnabled", notificationsAddedToChannelEnabled.toString()); + request.addPostParam("Notifications.AddedToChannel.Enabled", notificationsAddedToChannelEnabled.toString()); } if (notificationsAddedToChannelTemplate != null) { @@ -291,7 +291,7 @@ private void addPostParams(final Request request) { } if (notificationsRemovedFromChannelEnabled != null) { - request.addPostParam("NotificationsRemovedFromChannelEnabled", notificationsRemovedFromChannelEnabled.toString()); + request.addPostParam("Notifications.RemovedFromChannel.Enabled", notificationsRemovedFromChannelEnabled.toString()); } if (notificationsRemovedFromChannelTemplate != null) { @@ -303,7 +303,7 @@ private void addPostParams(final Request request) { } if (notificationsInvitedToChannelEnabled != null) { - request.addPostParam("NotificationsInvitedToChannelEnabled", notificationsInvitedToChannelEnabled.toString()); + request.addPostParam("Notifications.InvitedToChannel.Enabled", notificationsInvitedToChannelEnabled.toString()); } if (notificationsInvitedToChannelTemplate != null) { @@ -333,11 +333,11 @@ private void addPostParams(final Request request) { } if (limitsChannelMembers != null) { - request.addPostParam("LimitsChannelMembers", limitsChannelMembers.toString()); + request.addPostParam("Limits.ChannelMembers", limitsChannelMembers.toString()); } if (limitsUserChannels != null) { - request.addPostParam("LimitsUserChannels", limitsUserChannels.toString()); + request.addPostParam("Limits.UserChannels", limitsUserChannels.toString()); } if (mediaCompatibilityMessage != null) { @@ -353,7 +353,7 @@ private void addPostParams(final Request request) { } if (notificationsLogEnabled != null) { - request.addPostParam("NotificationsLogEnabled", notificationsLogEnabled.toString()); + request.addPostParam("Notifications.LogEnabled", notificationsLogEnabled.toString()); } } diff --git a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookCreator.java b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookCreator.java index f91ebd1a37..a8fda7c1b8 100644 --- a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookCreator.java +++ b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookCreator.java @@ -119,7 +119,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -139,7 +139,7 @@ private void addPostParams(final Request request) { } if (configurationRetryCount != null) { - request.addPostParam("ConfigurationRetryCount", configurationRetryCount.toString()); + request.addPostParam("Configuration.RetryCount", configurationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookUpdater.java b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookUpdater.java index d56d48309a..ba6633b515 100644 --- a/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookUpdater.java +++ b/src/main/java/com/twilio/rest/ipmessaging/v2/service/channel/WebhookUpdater.java @@ -110,7 +110,7 @@ private void addPostParams(final Request request) { } if (configurationMethod != null) { - request.addPostParam("ConfigurationMethod", configurationMethod.toString()); + request.addPostParam("Configuration.Method", configurationMethod.toString()); } if (configurationFilters != null) { @@ -130,7 +130,7 @@ private void addPostParams(final Request request) { } if (configurationRetryCount != null) { - request.addPostParam("ConfigurationRetryCount", configurationRetryCount.toString()); + request.addPostParam("Configuration.RetryCount", configurationRetryCount.toString()); } } diff --git a/src/main/java/com/twilio/rest/verify/v2/ServiceCreator.java b/src/main/java/com/twilio/rest/verify/v2/ServiceCreator.java index 86ddea4ba0..678d86a3ca 100644 --- a/src/main/java/com/twilio/rest/verify/v2/ServiceCreator.java +++ b/src/main/java/com/twilio/rest/verify/v2/ServiceCreator.java @@ -182,7 +182,7 @@ private void addPostParams(final Request request) { } if (pushIncludeDate != null) { - request.addPostParam("PushIncludeDate", pushIncludeDate.toString()); + request.addPostParam("Push.IncludeDate", pushIncludeDate.toString()); } if (pushApnCredentialSid != null) { @@ -198,15 +198,15 @@ private void addPostParams(final Request request) { } if (totpTimeStep != null) { - request.addPostParam("TotpTimeStep", totpTimeStep.toString()); + request.addPostParam("Totp.TimeStep", totpTimeStep.toString()); } if (totpCodeLength != null) { - request.addPostParam("TotpCodeLength", totpCodeLength.toString()); + request.addPostParam("Totp.CodeLength", totpCodeLength.toString()); } if (totpSkew != null) { - request.addPostParam("TotpSkew", totpSkew.toString()); + request.addPostParam("Totp.Skew", totpSkew.toString()); } if (defaultTemplateSid != null) { diff --git a/src/main/java/com/twilio/rest/verify/v2/ServiceUpdater.java b/src/main/java/com/twilio/rest/verify/v2/ServiceUpdater.java index 195d4d74a7..58fd5d35b3 100644 --- a/src/main/java/com/twilio/rest/verify/v2/ServiceUpdater.java +++ b/src/main/java/com/twilio/rest/verify/v2/ServiceUpdater.java @@ -183,7 +183,7 @@ private void addPostParams(final Request request) { } if (pushIncludeDate != null) { - request.addPostParam("PushIncludeDate", pushIncludeDate.toString()); + request.addPostParam("Push.IncludeDate", pushIncludeDate.toString()); } if (pushApnCredentialSid != null) { @@ -199,15 +199,15 @@ private void addPostParams(final Request request) { } if (totpTimeStep != null) { - request.addPostParam("TotpTimeStep", totpTimeStep.toString()); + request.addPostParam("Totp.TimeStep", totpTimeStep.toString()); } if (totpCodeLength != null) { - request.addPostParam("TotpCodeLength", totpCodeLength.toString()); + request.addPostParam("Totp.CodeLength", totpCodeLength.toString()); } if (totpSkew != null) { - request.addPostParam("TotpSkew", totpSkew.toString()); + request.addPostParam("Totp.Skew", totpSkew.toString()); } if (defaultTemplateSid != null) { diff --git a/src/main/java/com/twilio/rest/verify/v2/service/entity/FactorUpdater.java b/src/main/java/com/twilio/rest/verify/v2/service/entity/FactorUpdater.java index 618431fd2a..9fc181f21f 100644 --- a/src/main/java/com/twilio/rest/verify/v2/service/entity/FactorUpdater.java +++ b/src/main/java/com/twilio/rest/verify/v2/service/entity/FactorUpdater.java @@ -129,19 +129,19 @@ private void addPostParams(final Request request) { } if (configTimeStep != null) { - request.addPostParam("ConfigTimeStep", configTimeStep.toString()); + request.addPostParam("Config.TimeStep", configTimeStep.toString()); } if (configSkew != null) { - request.addPostParam("ConfigSkew", configSkew.toString()); + request.addPostParam("Config.Skew", configSkew.toString()); } if (configCodeLength != null) { - request.addPostParam("ConfigCodeLength", configCodeLength.toString()); + request.addPostParam("Config.CodeLength", configCodeLength.toString()); } if (configAlg != null) { - request.addPostParam("ConfigAlg", configAlg.toString()); + request.addPostParam("Config.Alg", configAlg.toString()); } if (configNotificationPlatform != null) { diff --git a/src/main/java/com/twilio/rest/verify/v2/service/entity/NewFactorCreator.java b/src/main/java/com/twilio/rest/verify/v2/service/entity/NewFactorCreator.java index 320438441a..babde28355 100644 --- a/src/main/java/com/twilio/rest/verify/v2/service/entity/NewFactorCreator.java +++ b/src/main/java/com/twilio/rest/verify/v2/service/entity/NewFactorCreator.java @@ -163,7 +163,7 @@ private void addPostParams(final Request request) { } if (configNotificationPlatform != null) { - request.addPostParam("ConfigNotificationPlatform", configNotificationPlatform.toString()); + request.addPostParam("Config.NotificationPlatform", configNotificationPlatform.toString()); } if (configNotificationToken != null) { @@ -179,19 +179,19 @@ private void addPostParams(final Request request) { } if (configTimeStep != null) { - request.addPostParam("ConfigTimeStep", configTimeStep.toString()); + request.addPostParam("Config.TimeStep", configTimeStep.toString()); } if (configSkew != null) { - request.addPostParam("ConfigSkew", configSkew.toString()); + request.addPostParam("Config.Skew", configSkew.toString()); } if (configCodeLength != null) { - request.addPostParam("ConfigCodeLength", configCodeLength.toString()); + request.addPostParam("Config.CodeLength", configCodeLength.toString()); } if (configAlg != null) { - request.addPostParam("ConfigAlg", configAlg.toString()); + request.addPostParam("Config.Alg", configAlg.toString()); } if (metadata != null) {