From 69ecad749dc02c7f7254aad8308e57c95c979701 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Portier Date: Thu, 23 Nov 2023 15:03:54 +0100 Subject: [PATCH] docs/style: code cleaning --- .../sdk/domains/numbers/models/CallbackConfiguration.java | 2 -- .../src/main/com/sinch/sdk/domains/numbers/models/Money.java | 2 -- .../com/sinch/sdk/domains/numbers/models/NumberPattern.java | 2 -- .../src/main/com/sinch/sdk/domains/numbers/models/Region.java | 1 - .../models/requests/ActiveNumberListRequestParameters.java | 1 - .../models/requests/ActiveNumberUpdateRequestParameters.java | 1 - .../ActiveNumberUpdateSMSConfigurationRequestParameters.java | 1 - .../ActiveNumberUpdateVoiceConfigurationRequestParameters.java | 2 -- .../requests/AvailableNumberListAllRequestParameters.java | 1 - .../requests/AvailableNumberRentAnyRequestParameters.java | 1 - .../models/requests/AvailableNumberRentRequestParameters.java | 1 - .../requests/AvailableRegionListAllRequestParameters.java | 1 - .../requests/CallbackConfigurationUpdateRequestParameters.java | 2 -- .../models/requests/RentSMSConfigurationRequestParameters.java | 1 - .../sms/adapters/converters/ParametersDtoConverter.java | 1 - .../sinch/sdk/domains/sms/models/DeliveryReportErrorCode.java | 1 - client/src/main/com/sinch/sdk/domains/sms/models/Group.java | 2 -- .../main/com/sinch/sdk/domains/sms/models/GroupAutoUpdate.java | 3 --- .../sinch/sdk/domains/sms/models/GroupAutoUpdateKeyword.java | 3 --- .../requests/StartVerificationFlashCallRequestParameters.java | 1 - .../models/requests/StartVerificationRequestParameters.java | 1 - .../models/response/StartVerificationResponse.java | 1 - .../models/response/StartVerificationResponseCallout.java | 1 - .../models/response/StartVerificationResponseFlashCall.java | 1 - .../models/response/StartVerificationResponseSMS.java | 1 - .../models/response/StartVerificationResponseSeamless.java | 1 - .../com/sinch/sdk/auth/adapters/BearerAuthManagerTest.java | 1 - .../sms/models/requests/BatchesListRequestParametersTest.java | 2 -- core/src/main/com/sinch/sdk/core/http/URLParameter.java | 2 +- 29 files changed, 1 insertion(+), 40 deletions(-) diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/CallbackConfiguration.java b/client/src/main/com/sinch/sdk/domains/numbers/models/CallbackConfiguration.java index 9fc758ae..f24915c2 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/CallbackConfiguration.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/CallbackConfiguration.java @@ -1,7 +1,5 @@ package com.sinch.sdk.domains.numbers.models; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; - /** * Callback configuration * diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/Money.java b/client/src/main/com/sinch/sdk/domains/numbers/models/Money.java index c9d63ee5..8303c14b 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/Money.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/Money.java @@ -1,7 +1,5 @@ package com.sinch.sdk.domains.numbers.models; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; - /** * An object giving details on currency code and the amount charged. * diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/NumberPattern.java b/client/src/main/com/sinch/sdk/domains/numbers/models/NumberPattern.java index 9505827e..4d589a2e 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/NumberPattern.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/NumberPattern.java @@ -1,7 +1,5 @@ package com.sinch.sdk.domains.numbers.models; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; - /** * An object enabling to identify number by pattern * diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/Region.java b/client/src/main/com/sinch/sdk/domains/numbers/models/Region.java index c4b26ae9..dba8f7ca 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/Region.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/Region.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import java.util.Collection; /** diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberListRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberListRequestParameters.java index 377f53b2..ddf58417 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberListRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberListRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import com.sinch.sdk.domains.numbers.models.Capability; import com.sinch.sdk.domains.numbers.models.NumberPattern; import com.sinch.sdk.domains.numbers.models.NumberType; diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateRequestParameters.java index 734cb6e8..8cc04bdb 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import java.util.Optional; /** diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateSMSConfigurationRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateSMSConfigurationRequestParameters.java index 93ca4008..7c67aaf6 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateSMSConfigurationRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateSMSConfigurationRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import java.util.Optional; /*** diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateVoiceConfigurationRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateVoiceConfigurationRequestParameters.java index 0989c0a6..a27c9461 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateVoiceConfigurationRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/ActiveNumberUpdateVoiceConfigurationRequestParameters.java @@ -1,7 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; - /*** * SMS configuration parameters request to update an active number for a project * @since 1.0 diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberListAllRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberListAllRequestParameters.java index 65be9f07..cb26cbc5 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberListAllRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberListAllRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import com.sinch.sdk.domains.numbers.models.Capability; import com.sinch.sdk.domains.numbers.models.NumberPattern; import com.sinch.sdk.domains.numbers.models.NumberType; diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentAnyRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentAnyRequestParameters.java index 72235ff0..3501b8fd 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentAnyRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentAnyRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import com.sinch.sdk.domains.numbers.models.Capability; import com.sinch.sdk.domains.numbers.models.NumberPattern; import com.sinch.sdk.domains.numbers.models.NumberType; diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentRequestParameters.java index 8227363a..e1b04c06 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableNumberRentRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import java.util.Optional; /** diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableRegionListAllRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableRegionListAllRequestParameters.java index 543e89e4..bd3f9bb1 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableRegionListAllRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/AvailableRegionListAllRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import com.sinch.sdk.domains.numbers.models.NumberType; import java.util.Collection; import java.util.Optional; diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/CallbackConfigurationUpdateRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/CallbackConfigurationUpdateRequestParameters.java index 3afb2f88..eeb30b2c 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/CallbackConfigurationUpdateRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/CallbackConfigurationUpdateRequestParameters.java @@ -1,7 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; - /** * Parameters request to update callback configuration * diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/RentSMSConfigurationRequestParameters.java b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/RentSMSConfigurationRequestParameters.java index 9820089c..7df93647 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/requests/RentSMSConfigurationRequestParameters.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/requests/RentSMSConfigurationRequestParameters.java @@ -1,6 +1,5 @@ package com.sinch.sdk.domains.numbers.models.requests; -import com.sinch.sdk.domains.numbers.models.ActiveNumber.Builder; import java.util.Optional; /** diff --git a/client/src/main/com/sinch/sdk/domains/sms/adapters/converters/ParametersDtoConverter.java b/client/src/main/com/sinch/sdk/domains/sms/adapters/converters/ParametersDtoConverter.java index 73515eff..a82be356 100644 --- a/client/src/main/com/sinch/sdk/domains/sms/adapters/converters/ParametersDtoConverter.java +++ b/client/src/main/com/sinch/sdk/domains/sms/adapters/converters/ParametersDtoConverter.java @@ -68,5 +68,4 @@ public static ParameterObjDto convert(Parameters parameters) { }); return dto; } - ; } diff --git a/client/src/main/com/sinch/sdk/domains/sms/models/DeliveryReportErrorCode.java b/client/src/main/com/sinch/sdk/domains/sms/models/DeliveryReportErrorCode.java index 5dda5cab..e2b57a2f 100644 --- a/client/src/main/com/sinch/sdk/domains/sms/models/DeliveryReportErrorCode.java +++ b/client/src/main/com/sinch/sdk/domains/sms/models/DeliveryReportErrorCode.java @@ -22,7 +22,6 @@ public class DeliveryReportErrorCode extends EnumDynamicOAS site) * * @param name The name of the parameter.