From 8936c9087f0baa5a6d4dd64fe542070e74dac8f7 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Portier Date: Tue, 16 Jan 2024 11:54:22 +0100 Subject: [PATCH 1/3] fix-serializeUUID warnings --- .../models/requests/ActiveNumberListRequestParameters.java | 6 +++++- .../numbers/models/responses/ActiveNumberListResponse.java | 2 +- .../main/com/sinch/sdk/domains/sms/models/Parameters.java | 2 ++ .../com/sinch/sdk/core/exceptions/ApiMappingException.java | 2 ++ core/src/main/com/sinch/sdk/core/utils/databind/Mapper.java | 2 ++ .../test/java/com/sinch/sdk/core/http/HttpMapperTest.java | 4 +++- 6 files changed, 15 insertions(+), 3 deletions(-) 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 229197fc..43f7cbed 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 @@ -94,6 +94,10 @@ public static Builder builder() { return new Builder(); } + public static Builder builder(ActiveNumberListRequestParameters parameters) { + return new Builder(parameters); + } + public static class Builder { OptionalValue regionCode = OptionalValue.empty(); @@ -106,7 +110,7 @@ public static class Builder { private Builder() {} - public Builder(ActiveNumberListRequestParameters parameters) { + private Builder(ActiveNumberListRequestParameters parameters) { parameters.regionCode.ifPresent(this::setRegionCode); parameters.type.ifPresent(this::setType); parameters.numberPattern.ifPresent(this::setNumberPattern); diff --git a/client/src/main/com/sinch/sdk/domains/numbers/models/responses/ActiveNumberListResponse.java b/client/src/main/com/sinch/sdk/domains/numbers/models/responses/ActiveNumberListResponse.java index c16c8681..4321f150 100644 --- a/client/src/main/com/sinch/sdk/domains/numbers/models/responses/ActiveNumberListResponse.java +++ b/client/src/main/com/sinch/sdk/domains/numbers/models/responses/ActiveNumberListResponse.java @@ -35,7 +35,7 @@ public ActiveNumberListResponse nextPage() { throw new NoSuchElementException("Reached the last page of the API response"); } ActiveNumberListRequestParameters.Builder newParameters = - new ActiveNumberListRequestParameters.Builder(page.getParameters()); + ActiveNumberListRequestParameters.builder(page.getParameters()); newParameters.setPageToken(page.getNextPageToken()); return service.list(newParameters.build()); } diff --git a/client/src/main/com/sinch/sdk/domains/sms/models/Parameters.java b/client/src/main/com/sinch/sdk/domains/sms/models/Parameters.java index 1921bb5a..45e7209b 100644 --- a/client/src/main/com/sinch/sdk/domains/sms/models/Parameters.java +++ b/client/src/main/com/sinch/sdk/domains/sms/models/Parameters.java @@ -8,6 +8,8 @@ public class Parameters extends HashMap { + private static final long serialVersionUID = 1L; + public Parameters(Collection list) { super(list.stream().collect(Collectors.toMap(entry -> entry.key, entry -> entry))); } diff --git a/core/src/main/com/sinch/sdk/core/exceptions/ApiMappingException.java b/core/src/main/com/sinch/sdk/core/exceptions/ApiMappingException.java index f9d4cafb..4c031ad2 100644 --- a/core/src/main/com/sinch/sdk/core/exceptions/ApiMappingException.java +++ b/core/src/main/com/sinch/sdk/core/exceptions/ApiMappingException.java @@ -3,6 +3,8 @@ /** Sinch Client exception related to payload parsing/mapping error */ public class ApiMappingException extends ApiException { + private static final long serialVersionUID = 1L; + /** * Exception throw when parsing a payload was causing an issue * diff --git a/core/src/main/com/sinch/sdk/core/utils/databind/Mapper.java b/core/src/main/com/sinch/sdk/core/utils/databind/Mapper.java index 0c7be3d8..5f2279b3 100644 --- a/core/src/main/com/sinch/sdk/core/utils/databind/Mapper.java +++ b/core/src/main/com/sinch/sdk/core/utils/databind/Mapper.java @@ -113,6 +113,8 @@ public void serializeAsField( private static class FilteringIntrospection extends JacksonAnnotationIntrospector { + private static final long serialVersionUID = 1L; + @Override public Object findFilterId(Annotated ac) { diff --git a/core/src/test/java/com/sinch/sdk/core/http/HttpMapperTest.java b/core/src/test/java/com/sinch/sdk/core/http/HttpMapperTest.java index 1f29bc94..dd07bc29 100644 --- a/core/src/test/java/com/sinch/sdk/core/http/HttpMapperTest.java +++ b/core/src/test/java/com/sinch/sdk/core/http/HttpMapperTest.java @@ -259,7 +259,9 @@ public UninitializedFilterSerialization setOptional(String value) { @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) - public static class HashMapSerialization extends HashMap {} + public static class HashMapSerialization extends HashMap { + private static final long serialVersionUID = 1L; + } public static class DefaultSerialization { From 4c55a6e67e3f9191cf8476c13afe255cf638454a Mon Sep 17 00:00:00 2001 From: Jean-Pierre Portier Date: Tue, 6 Feb 2024 09:05:35 +0100 Subject: [PATCH 2/3] feat: Sync with generated source (fixing 'serializable class XXX has no definition of serialVersionUID warning') --- .../numbers/models/dto/v1/ActiveNumberDto.java | 1 + .../models/dto/v1/ActiveNumberRequestDto.java | 1 + .../models/dto/v1/ActiveNumbersResponseDto.java | 1 + .../numbers/models/dto/v1/AvailableNumberDto.java | 1 + .../models/dto/v1/AvailableNumbersResponseDto.java | 1 + .../numbers/models/dto/v1/AvailableRegionDto.java | 1 + .../domains/numbers/models/dto/v1/BadRequestDto.java | 2 ++ .../models/dto/v1/CallbackConfigurationDto.java | 1 + .../dto/v1/CallbackConfigurationUpdateDto.java | 1 + .../numbers/models/dto/v1/CallbackPayloadDto.java | 1 + .../numbers/models/dto/v1/FieldViolationDto.java | 1 + .../numbers/models/dto/v1/InternalErrorDto.java | 1 + .../numbers/models/dto/v1/InternalErrorErrorDto.java | 2 ++ .../numbers/models/dto/v1/InvalidArgumentDto.java | 1 + .../models/dto/v1/InvalidArgumentErrorDto.java | 2 ++ .../models/dto/v1/ListAvailableNumberRequestDto.java | 1 + .../dto/v1/ListAvailableRegionsResponseDto.java | 1 + .../sdk/domains/numbers/models/dto/v1/MoneyDto.java | 1 + .../domains/numbers/models/dto/v1/NotFoundDto.java | 1 + .../numbers/models/dto/v1/NotFoundErrorDto.java | 2 ++ .../models/dto/v1/NumberPatternPatternDto.java | 1 + .../models/dto/v1/NumberPatternSearchPatternDto.java | 1 + .../models/dto/v1/RentAnyNumberRequestDto.java | 1 + .../v1/RentAnyNumberRequestSmsConfigurationDto.java | 1 + .../RentAnyNumberRequestVoiceConfigurationDto.java | 1 + .../numbers/models/dto/v1/RentNumberRequestDto.java | 1 + .../numbers/models/dto/v1/SMSConfigurationDto.java | 1 + .../models/dto/v1/ScheduledProvisioningDto.java | 1 + .../models/dto/v1/ScheduledVoiceProvisioningDto.java | 1 + .../numbers/models/dto/v1/SearchPatternDto.java | 1 + .../numbers/models/dto/v1/VoiceConfigurationDto.java | 1 + .../sdk/domains/sms/models/dto/v1/AddKeywordDto.java | 1 + .../models/dto/v1/ApiBatchListBatchesInnerDto.java | 11 ++++++++--- .../domains/sms/models/dto/v1/ApiBatchListDto.java | 1 + .../sms/models/dto/v1/ApiDeliveryFeedbackDto.java | 1 + .../sms/models/dto/v1/ApiGroupAutoUpdateDto.java | 1 + .../sdk/domains/sms/models/dto/v1/ApiGroupDto.java | 1 + .../domains/sms/models/dto/v1/ApiGroupListDto.java | 1 + .../domains/sms/models/dto/v1/ApiInboundListDto.java | 1 + .../domains/sms/models/dto/v1/ApiMoMessageDto.java | 1 + .../models/dto/v1/ApiUpdateBinaryMtMessageDto.java | 1 + .../sms/models/dto/v1/ApiUpdateMmsMtMessageDto.java | 1 + .../sms/models/dto/v1/ApiUpdateMtMessageDto.java | 1 + .../sms/models/dto/v1/ApiUpdateTextMtMessageDto.java | 1 + .../domains/sms/models/dto/v1/BinaryRequestDto.java | 1 + .../domains/sms/models/dto/v1/BinaryResponseDto.java | 1 + .../sms/models/dto/v1/CreateGroupResponseDto.java | 1 + .../domains/sms/models/dto/v1/DeliveryReportDto.java | 1 + .../sms/models/dto/v1/DeliveryReportListDto.java | 1 + .../sms/models/dto/v1/DryRun200ResponseDto.java | 1 + .../v1/DryRun200ResponsePerRecipientInnerDto.java | 1 + .../sms/models/dto/v1/ErrorResponseObjDto.java | 1 + .../sms/models/dto/v1/GroupAutoUpdateDto.java | 1 + .../sms/models/dto/v1/GroupObjectAutoUpdateDto.java | 1 + .../dto/v1/GroupObjectAutoUpdateRemoveDto.java | 1 + .../domains/sms/models/dto/v1/GroupObjectDto.java | 1 + .../sdk/domains/sms/models/dto/v1/InboundDto.java | 11 ++++++++--- .../sdk/domains/sms/models/dto/v1/MOBinaryDto.java | 1 + .../sdk/domains/sms/models/dto/v1/MOTextDto.java | 1 + .../sdk/domains/sms/models/dto/v1/MediaBodyDto.java | 1 + .../domains/sms/models/dto/v1/MediaRequestDto.java | 1 + .../domains/sms/models/dto/v1/MediaResponseDto.java | 1 + .../sms/models/dto/v1/MessageDeliveryStatusDto.java | 1 + .../domains/sms/models/dto/v1/ParameterObjDto.java | 1 + .../models/dto/v1/ParameterObjParameterKeyDto.java | 1 + .../models/dto/v1/RecipientDeliveryReportDto.java | 1 + .../domains/sms/models/dto/v1/RemoveKeywordDto.java | 1 + .../sms/models/dto/v1/ReplaceGroupRequestDto.java | 1 + .../sms/models/dto/v1/SendSMS201ResponseDto.java | 12 +++++++++--- .../domains/sms/models/dto/v1/SendSMSRequestDto.java | 12 +++++++++--- .../domains/sms/models/dto/v1/TextRequestDto.java | 1 + .../domains/sms/models/dto/v1/TextResponseDto.java | 1 + .../models/dto/v1/UpdateBatchMessageRequestDto.java | 11 ++++++++--- .../dto/v1/UpdateGroupRequestAutoUpdateAddDto.java | 1 + .../dto/v1/UpdateGroupRequestAutoUpdateDto.java | 1 + .../v1/UpdateGroupRequestAutoUpdateRemoveDto.java | 1 + .../sms/models/dto/v1/UpdateGroupRequestDto.java | 1 + .../dto/v1/AutoInitiateVerificationResponseDto.java | 1 + .../v1/CalloutInitiateVerificationResponseDto.java | 1 + .../models/dto/v1/CalloutOptionsDto.java | 1 + .../models/dto/v1/CalloutOptionsSpeechDto.java | 11 ++++++++--- .../verification/models/dto/v1/CalloutSpeechDto.java | 1 + .../dto/v1/CalloutVerificationReportRequestDto.java | 1 + .../v1/FlashCallInitiateVerificationResponseDto.java | 1 + .../models/dto/v1/FlashcallOptionsDto.java | 1 + .../v1/FlashcallVerificationReportRequestDto.java | 1 + .../verification/models/dto/v1/IdentityDto.java | 1 + ...nitiateVerificationResourceCalloutOptionsDto.java | 11 ++++++++--- .../dto/v1/InitiateVerificationResourceDto.java | 1 + ...tiateVerificationResourceFlashCallOptionsDto.java | 11 ++++++++--- .../v1/InitiateVerificationResourceIdentityDto.java | 11 ++++++++--- .../v1/InitiateVerificationResourceMetadataDto.java | 11 ++++++++--- .../v1/InitiateVerificationResourceMethodDto.java | 11 ++++++++--- ...itiateVerificationResourceSeamlessOptionsDto.java | 11 ++++++++--- .../InitiateVerificationResourceSmsOptionsDto.java | 11 ++++++++--- ...itiateVerificationResourceWhatsappOptionsDto.java | 11 ++++++++--- .../dto/v1/InitiateVerificationResponseAutoDto.java | 11 ++++++++--- .../v1/InitiateVerificationResponseCalloutDto.java | 11 ++++++++--- .../dto/v1/InitiateVerificationResponseDto.java | 1 + .../v1/InitiateVerificationResponseFlashCallDto.java | 11 ++++++++--- .../v1/InitiateVerificationResponseMaxPriceDto.java | 11 ++++++++--- .../v1/InitiateVerificationResponseSeamlessDto.java | 11 ++++++++--- .../dto/v1/InitiateVerificationResponseSmsDto.java | 11 ++++++++--- .../v1/InitiateVerificationResponseWhatsappDto.java | 11 ++++++++--- .../domains/verification/models/dto/v1/MoneyDto.java | 1 + .../v1/SeamlessInitiateVerificationResponseDto.java | 1 + .../models/dto/v1/SeamlessOptionsDto.java | 1 + .../verification/models/dto/v1/ServiceReplyDto.java | 1 + .../models/dto/v1/SimSwapResourceDto.java | 1 + .../models/dto/v1/SimSwapResponseDto.java | 1 + .../dto/v1/SmsInitiateVerificationResponseDto.java | 1 + .../verification/models/dto/v1/SmsOptionsDto.java | 1 + .../dto/v1/SmsVerificationReportRequestDto.java | 1 + .../dto/v1/VerificationMetadataCellularDto.java | 1 + .../models/dto/v1/VerificationMetadataDeviceDto.java | 11 ++++++++--- .../models/dto/v1/VerificationMetadataDto.java | 1 + .../VerificationMetadataNetworkInfoCellularDto.java | 11 ++++++++--- .../v1/VerificationMetadataNetworkInfoDataDto.java | 11 ++++++++--- .../dto/v1/VerificationMetadataNetworkInfoDto.java | 11 ++++++++--- .../dto/v1/VerificationMetadataOperatorDto.java | 11 ++++++++--- .../dto/v1/VerificationMetadataPermissionsDto.java | 11 ++++++++--- ...erificationMetadataSimCardInfoCollection1Dto.java | 11 ++++++++--- ...VerificationMetadataSimCardInfoCollectionDto.java | 1 + .../dto/v1/VerificationMetadataSimCardInfoDto.java | 1 + .../dto/v1/VerificationMetadataSimCardsInfoDto.java | 11 ++++++++--- .../models/dto/v1/VerificationMetadataSimDto.java | 11 ++++++++--- .../dto/v1/VerificationPriceInformationDto.java | 1 + ...ificationPriceInformationTerminationPriceDto.java | 11 ++++++++--- ...ficationPriceInformationVerificationPriceDto.java | 11 ++++++++--- .../VerificationReportRequestResourceCalloutDto.java | 11 ++++++++--- .../dto/v1/VerificationReportRequestResourceDto.java | 1 + ...erificationReportRequestResourceFlashcallDto.java | 11 ++++++++--- .../v1/VerificationReportRequestResourceSmsDto.java | 11 ++++++++--- ...VerificationReportRequestResourceWhatsappDto.java | 11 ++++++++--- .../models/dto/v1/VerificationResourceLinkDto.java | 1 + .../models/dto/v1/VerificationResponseDto.java | 1 + .../dto/v1/VerificationResponseIdentityDto.java | 11 ++++++++--- .../models/dto/v1/VerificationResponsePriceDto.java | 11 ++++++++--- .../v1/WhatsappInitiateVerificationResponseDto.java | 1 + .../models/dto/v1/WhatsappOptionsDto.java | 1 + .../dto/v1/WhatsappVerificationReportRequestDto.java | 1 + .../voice/models/dto/v1/AceRequestAllOfAmdDto.java | 2 ++ .../domains/voice/models/dto/v1/AceRequestDto.java | 2 ++ .../domains/voice/models/dto/v1/CallHeaderDto.java | 1 + .../domains/voice/models/dto/v1/CallbacksDto.java | 1 + .../domains/voice/models/dto/v1/CallbacksUrlDto.java | 1 + .../voice/models/dto/v1/CalloutRequestDto.java | 2 ++ ...erenceCalloutRequestConferenceDtmfOptionsDto.java | 1 + .../models/dto/v1/ConferenceCalloutRequestDto.java | 1 + .../voice/models/dto/v1/CustomCalloutRequestDto.java | 1 + .../domains/voice/models/dto/v1/DestinationDto.java | 1 + .../domains/voice/models/dto/v1/DiceRequestDto.java | 2 ++ .../sdk/domains/voice/models/dto/v1/ErrorDto.java | 1 + .../voice/models/dto/v1/GetCallResponseObjDto.java | 1 + .../models/dto/v1/GetCalloutResponseObjDto.java | 1 + .../models/dto/v1/GetConferenceInfoResponseDto.java | 1 + ...etConferenceInfoResponseParticipantsInnerDto.java | 1 + .../models/dto/v1/GetNumbersResponseObjDto.java | 1 + .../dto/v1/GetNumbersResponseObjNumbersInnerDto.java | 1 + .../voice/models/dto/v1/GetQueryNumberDto.java | 1 + .../voice/models/dto/v1/GetQueryNumberNumberDto.java | 1 + .../voice/models/dto/v1/GetRecordingFileInfoDto.java | 1 + .../domains/voice/models/dto/v1/IceRequestDto.java | 2 ++ .../v1/ManageConferenceParticipantRequestDto.java | 1 + .../sdk/domains/voice/models/dto/v1/MenuDto.java | 1 + .../voice/models/dto/v1/NotifyErrorRequestDto.java | 1 + .../voice/models/dto/v1/NotifyRequestDto.java | 2 ++ .../sdk/domains/voice/models/dto/v1/OptionDto.java | 1 + .../models/dto/v1/PieRequestAllOfMenuResultDto.java | 1 + .../domains/voice/models/dto/v1/PieRequestDto.java | 2 ++ .../sdk/domains/voice/models/dto/v1/PriceDto.java | 1 + .../voice/models/dto/v1/SVAMLRequestBodyDto.java | 1 + ...amlActionConnectConfConferenceDtmfOptionsDto.java | 1 + .../models/dto/v1/SvamlActionConnectConfDto.java | 2 ++ .../models/dto/v1/SvamlActionConnectMxpDto.java | 2 ++ .../models/dto/v1/SvamlActionConnectPstnAmdDto.java | 1 + .../models/dto/v1/SvamlActionConnectPstnDto.java | 2 ++ .../models/dto/v1/SvamlActionConnectSipDto.java | 2 ++ .../voice/models/dto/v1/SvamlActionContinueDto.java | 2 ++ .../domains/voice/models/dto/v1/SvamlActionDto.java | 10 +++++++--- .../voice/models/dto/v1/SvamlActionHangupDto.java | 2 ++ .../voice/models/dto/v1/SvamlActionParkDto.java | 2 ++ .../voice/models/dto/v1/SvamlActionRunMenuDto.java | 2 ++ .../models/dto/v1/SvamlInstructionAnswerDto.java | 2 ++ .../voice/models/dto/v1/SvamlInstructionDto.java | 12 +++++++++--- .../models/dto/v1/SvamlInstructionPlayFilesDto.java | 2 ++ .../voice/models/dto/v1/SvamlInstructionSayDto.java | 2 ++ .../models/dto/v1/SvamlInstructionSendDtmfDto.java | 2 ++ .../models/dto/v1/SvamlInstructionSetCookieDto.java | 2 ++ .../dto/v1/SvamlInstructionStartRecordingDto.java | 2 ++ .../v1/SvamlInstructionStartRecordingOptionsDto.java | 1 + ...StartRecordingOptionsTranscriptionOptionsDto.java | 1 + .../dto/v1/SvamlInstructionStopRecordingDto.java | 2 ++ .../voice/models/dto/v1/TtsCalloutRequestDto.java | 1 + .../voice/models/dto/v1/UnassignNumbersDto.java | 1 + .../voice/models/dto/v1/UpdateNumbersDto.java | 1 + .../models/dto/v1/WebhooksCallEventRequestDto.java | 1 + .../voice/models/dto/v1/WebhooksEventDto.java | 11 ++++++++--- .../voice/models/dto/v1/WebhooksEventRequestDto.java | 1 + 199 files changed, 514 insertions(+), 123 deletions(-) diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberDto.java index d6982683..8cf444ab 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberDto.java @@ -42,6 +42,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ActiveNumberDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber"; private String phoneNumber; private boolean phoneNumberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberRequestDto.java index 8c4de38c..196a633e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumberRequestDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ActiveNumberRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_DISPLAY_NAME = "displayName"; private String displayName; private boolean displayNameDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumbersResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumbersResponseDto.java index 2b6012a2..b794b67f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumbersResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ActiveNumbersResponseDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ActiveNumbersResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ACTIVE_NUMBERS = "activeNumbers"; private List activeNumbers; private boolean activeNumbersDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumberDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumberDto.java index ae711d2e..2968b35e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumberDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumberDto.java @@ -41,6 +41,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AvailableNumberDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber"; private String phoneNumber; private boolean phoneNumberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumbersResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumbersResponseDto.java index 305b0fe9..b90d7d65 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumbersResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableNumbersResponseDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AvailableNumbersResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_AVAILABLE_NUMBERS = "availableNumbers"; private List availableNumbers; private boolean availableNumbersDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableRegionDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableRegionDto.java index 7ed3d312..a5324f12 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableRegionDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/AvailableRegionDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AvailableRegionDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_REGION_CODE = "regionCode"; private String regionCode; private boolean regionCodeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/BadRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/BadRequestDto.java index fc30b2a2..f85023e1 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/BadRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/BadRequestDto.java @@ -28,6 +28,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class BadRequestDto { + private static final long serialVersionUID = 1L; + /** Gets or Sets type */ public enum TypeEnum { BADREQUEST("BadRequest"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationDto.java index a5e6b4ca..72cc929a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallbackConfigurationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PROJECT_ID = "projectId"; private String projectId; private boolean projectIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationUpdateDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationUpdateDto.java index 6f0391d8..0242614a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationUpdateDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackConfigurationUpdateDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallbackConfigurationUpdateDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_HMAC_SECRET = "hmacSecret"; private String hmacSecret; private boolean hmacSecretDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackPayloadDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackPayloadDto.java index 6ec5074e..d4825f68 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackPayloadDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/CallbackPayloadDto.java @@ -35,6 +35,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallbackPayloadDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_EVENT_ID = "eventId"; private String eventId; private boolean eventIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/FieldViolationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/FieldViolationDto.java index 234b8fa1..725c70b7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/FieldViolationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/FieldViolationDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class FieldViolationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIELD = "field"; private String field; private boolean fieldDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorDto.java index 97201b13..54561db6 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InternalErrorDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ERROR = "error"; private InternalErrorErrorDto error; private boolean errorDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorErrorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorErrorDto.java index 6e25e500..179fe7da 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorErrorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InternalErrorErrorDto.java @@ -33,6 +33,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InternalErrorErrorDto { + private static final long serialVersionUID = 1L; + /** Gets or Sets code */ public enum CodeEnum { NUMBER_500(500), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentDto.java index e0904bcb..8aa6cc13 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InvalidArgumentDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ERROR = "error"; private InvalidArgumentErrorDto error; private boolean errorDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentErrorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentErrorDto.java index a020e8f5..b8be73ce 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentErrorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/InvalidArgumentErrorDto.java @@ -33,6 +33,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InvalidArgumentErrorDto { + private static final long serialVersionUID = 1L; + /** Gets or Sets code */ public enum CodeEnum { NUMBER_400(400), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableNumberRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableNumberRequestDto.java index 41581df2..07ffdebb 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableNumberRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableNumberRequestDto.java @@ -32,6 +32,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ListAvailableNumberRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER_PATTERN = "NumberPattern"; private NumberPatternPatternDto numberPattern; private boolean numberPatternDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableRegionsResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableRegionsResponseDto.java index 6a9b2e6e..26bfa1d7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableRegionsResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ListAvailableRegionsResponseDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ListAvailableRegionsResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_AVAILABLE_REGIONS = "availableRegions"; private List availableRegions; private boolean availableRegionsDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/MoneyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/MoneyDto.java index 79884c4d..00380544 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/MoneyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/MoneyDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MoneyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CURRENCY_CODE = "currencyCode"; private String currencyCode; private boolean currencyCodeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundDto.java index 595b102c..e1cdec21 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class NotFoundDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ERROR = "error"; private NotFoundErrorDto error; private boolean errorDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundErrorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundErrorDto.java index dab41fb1..8feca4dd 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundErrorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NotFoundErrorDto.java @@ -33,6 +33,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class NotFoundErrorDto { + private static final long serialVersionUID = 1L; + /** Gets or Sets code */ public enum CodeEnum { NUMBER_404(404), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternPatternDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternPatternDto.java index 1f53ecdd..0dce6f84 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternPatternDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternPatternDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class NumberPatternPatternDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER_PATTERN = "NumberPattern"; private SearchPatternDto numberPattern; private boolean numberPatternDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternSearchPatternDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternSearchPatternDto.java index ce454358..7790fa1e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternSearchPatternDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/NumberPatternSearchPatternDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class NumberPatternSearchPatternDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER_PATTERN_SEARCH_PATTERN = "NumberPatternSearchPattern"; private String numberPatternSearchPattern; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestDto.java index 8562c1e4..ca9fc64a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RentAnyNumberRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_REGION_CODE = "regionCode"; private String regionCode; private boolean regionCodeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestSmsConfigurationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestSmsConfigurationDto.java index f78e90c9..22cdf017 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestSmsConfigurationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestSmsConfigurationDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RentAnyNumberRequestSmsConfigurationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SERVICE_PLAN_ID = "servicePlanId"; private String servicePlanId; private boolean servicePlanIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestVoiceConfigurationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestVoiceConfigurationDto.java index 1ce15c06..7c5ed1e6 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestVoiceConfigurationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentAnyNumberRequestVoiceConfigurationDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RentAnyNumberRequestVoiceConfigurationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; private boolean appIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentNumberRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentNumberRequestDto.java index ee281077..3ad04c3a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentNumberRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/RentNumberRequestDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RentNumberRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SMS_CONFIGURATION = "smsConfiguration"; private RentAnyNumberRequestSmsConfigurationDto smsConfiguration; private boolean smsConfigurationDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SMSConfigurationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SMSConfigurationDto.java index 950660ed..2c8a4448 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SMSConfigurationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SMSConfigurationDto.java @@ -34,6 +34,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SMSConfigurationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SERVICE_PLAN_ID = "servicePlanId"; private String servicePlanId; private boolean servicePlanIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledProvisioningDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledProvisioningDto.java index 19316e25..55b4f710 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledProvisioningDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledProvisioningDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ScheduledProvisioningDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SERVICE_PLAN_ID = "servicePlanId"; private String servicePlanId; private boolean servicePlanIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledVoiceProvisioningDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledVoiceProvisioningDto.java index ecae0016..ff30ef8c 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledVoiceProvisioningDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/ScheduledVoiceProvisioningDto.java @@ -33,6 +33,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ScheduledVoiceProvisioningDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; private boolean appIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SearchPatternDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SearchPatternDto.java index 01215ebc..a951be43 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SearchPatternDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/SearchPatternDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SearchPatternDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PATTERN = "pattern"; private String pattern; private boolean patternDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/VoiceConfigurationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/VoiceConfigurationDto.java index 01885c4e..1ff52986 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/VoiceConfigurationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/numbers/models/dto/v1/VoiceConfigurationDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VoiceConfigurationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_APP_ID = "appId"; private String appId; private boolean appIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/AddKeywordDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/AddKeywordDto.java index 28b04ba9..11893e28 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/AddKeywordDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/AddKeywordDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AddKeywordDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIRST_WORD = "first_word"; private String firstWord; private boolean firstWordDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListBatchesInnerDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListBatchesInnerDto.java index d150a6cf..96563da4 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListBatchesInnerDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListBatchesInnerDto.java @@ -38,11 +38,13 @@ @JsonDeserialize(using = ApiBatchListBatchesInnerDto.ApiBatchListBatchesInnerDtoDeserializer.class) @JsonSerialize(using = ApiBatchListBatchesInnerDto.ApiBatchListBatchesInnerDtoSerializer.class) -public class ApiBatchListBatchesInnerDto extends AbstractOpenApiSchema { +public final class ApiBatchListBatchesInnerDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(ApiBatchListBatchesInnerDto.class.getName()); - public static class ApiBatchListBatchesInnerDtoSerializer + public static final class ApiBatchListBatchesInnerDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public ApiBatchListBatchesInnerDtoSerializer(Class t) { super(t); } @@ -59,8 +61,11 @@ public void serialize( } } - public static class ApiBatchListBatchesInnerDtoDeserializer + public static final class ApiBatchListBatchesInnerDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public ApiBatchListBatchesInnerDtoDeserializer() { this(ApiBatchListBatchesInnerDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListDto.java index 31a6cdaa..b81877b2 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiBatchListDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiBatchListDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COUNT = "count"; private Long count; private boolean countDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiDeliveryFeedbackDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiDeliveryFeedbackDto.java index 94a44d6e..00723696 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiDeliveryFeedbackDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiDeliveryFeedbackDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiDeliveryFeedbackDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_RECIPIENTS = "recipients"; private List recipients; private boolean recipientsDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupAutoUpdateDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupAutoUpdateDto.java index 374566fc..413acc36 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupAutoUpdateDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupAutoUpdateDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiGroupAutoUpdateDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private String to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupDto.java index d0d6fbff..3daa9566 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupDto.java @@ -37,6 +37,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiGroupDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupListDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupListDto.java index c988c4f1..95244172 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupListDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiGroupListDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiGroupListDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COUNT = "count"; private Long count; private boolean countDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiInboundListDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiInboundListDto.java index 27831667..a174cd18 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiInboundListDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiInboundListDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiInboundListDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COUNT = "count"; private Long count; private boolean countDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiMoMessageDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiMoMessageDto.java index 0be8dcfe..40c256fe 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiMoMessageDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiMoMessageDto.java @@ -55,6 +55,7 @@ @JsonSubTypes.Type(value = MOTextDto.class, name = "MOText"), }) public class ApiMoMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private String from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateBinaryMtMessageDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateBinaryMtMessageDto.java index 6c18fb45..0c450211 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateBinaryMtMessageDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateBinaryMtMessageDto.java @@ -40,6 +40,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiUpdateBinaryMtMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private String from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMmsMtMessageDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMmsMtMessageDto.java index bc06cff4..736c6828 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMmsMtMessageDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMmsMtMessageDto.java @@ -41,6 +41,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiUpdateMmsMtMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private String from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMtMessageDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMtMessageDto.java index 2f75814b..c5ec8d85 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMtMessageDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateMtMessageDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiUpdateMtMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private String from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateTextMtMessageDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateTextMtMessageDto.java index 600442be..7423abd0 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateTextMtMessageDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ApiUpdateTextMtMessageDto.java @@ -40,6 +40,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ApiUpdateTextMtMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private String from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryRequestDto.java index d4739217..f70b7dd7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryRequestDto.java @@ -46,6 +46,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class BinaryRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private List to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryResponseDto.java index 30bee154..3e7b5bb7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/BinaryResponseDto.java @@ -50,6 +50,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class BinaryResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/CreateGroupResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/CreateGroupResponseDto.java index 9aaf38ec..1c0ec275 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/CreateGroupResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/CreateGroupResponseDto.java @@ -37,6 +37,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CreateGroupResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportDto.java index 1515cca8..20ad2b4e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportDto.java @@ -34,6 +34,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class DeliveryReportDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_BATCH_ID = "batch_id"; private String batchId; private boolean batchIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportListDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportListDto.java index ee5534f1..fdae1d13 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportListDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DeliveryReportListDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class DeliveryReportListDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COUNT = "count"; private Long count; private boolean countDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponseDto.java index c9b45f3b..ca00e9cf 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponseDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class DryRun200ResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER_OF_RECIPIENTS = "number_of_recipients"; private Integer numberOfRecipients; private boolean numberOfRecipientsDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponsePerRecipientInnerDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponsePerRecipientInnerDto.java index 96646cd8..84d608ec 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponsePerRecipientInnerDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/DryRun200ResponsePerRecipientInnerDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class DryRun200ResponsePerRecipientInnerDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_RECIPIENT = "recipient"; private String recipient; private boolean recipientDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ErrorResponseObjDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ErrorResponseObjDto.java index 12cbea13..cecd3af3 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ErrorResponseObjDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ErrorResponseObjDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ErrorResponseObjDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupAutoUpdateDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupAutoUpdateDto.java index 78315473..f4d844aa 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupAutoUpdateDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupAutoUpdateDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GroupAutoUpdateDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private String to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateDto.java index a416eeb9..217dde72 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GroupObjectAutoUpdateDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private String to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateRemoveDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateRemoveDto.java index 5740db6d..7036c404 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateRemoveDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectAutoUpdateRemoveDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GroupObjectAutoUpdateRemoveDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIRST_WORD = "first_word"; private String firstWord; private boolean firstWordDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectDto.java index 7b3e99f5..b93ee452 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/GroupObjectDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GroupObjectDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NAME = "name"; private String name; private boolean nameDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/InboundDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/InboundDto.java index 944ecd15..4c8880cb 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/InboundDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/InboundDto.java @@ -38,10 +38,12 @@ @JsonDeserialize(using = InboundDto.InboundDtoDeserializer.class) @JsonSerialize(using = InboundDto.InboundDtoSerializer.class) -public class InboundDto extends AbstractOpenApiSchema { +public final class InboundDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InboundDto.class.getName()); - public static class InboundDtoSerializer extends StdSerializer { + public static final class InboundDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InboundDtoSerializer(Class t) { super(t); } @@ -57,7 +59,10 @@ public void serialize(InboundDto value, JsonGenerator jgen, SerializerProvider p } } - public static class InboundDtoDeserializer extends StdDeserializer { + public static final class InboundDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InboundDtoDeserializer() { this(InboundDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOBinaryDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOBinaryDto.java index d73dba65..2a11c7fa 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOBinaryDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOBinaryDto.java @@ -45,6 +45,7 @@ property = "type", visible = true) public class MOBinaryDto extends ApiMoMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_BODY = "body"; private String body; private boolean bodyDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOTextDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOTextDto.java index f003b060..a57f53a5 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOTextDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MOTextDto.java @@ -41,6 +41,7 @@ property = "type", visible = true) public class MOTextDto extends ApiMoMessageDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_BODY = "body"; private String body; private boolean bodyDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaBodyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaBodyDto.java index bb539494..60c73d68 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaBodyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaBodyDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MediaBodyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_URL = "url"; private String url; private boolean urlDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaRequestDto.java index 63bfb3c5..798495db 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaRequestDto.java @@ -42,6 +42,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MediaRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private List to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaResponseDto.java index 0e0d731d..b58e59ad 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MediaResponseDto.java @@ -46,6 +46,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MediaResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MessageDeliveryStatusDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MessageDeliveryStatusDto.java index c2185160..b49b976b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MessageDeliveryStatusDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/MessageDeliveryStatusDto.java @@ -32,6 +32,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MessageDeliveryStatusDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private Integer code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjDto.java index c136df19..4bb1132a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjDto.java @@ -34,6 +34,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ParameterObjDto extends HashMap { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_LEFT_CURLY_BRACKET_PARAMETER_KEY_RIGHT_CURLY_BRACKET = "{parameter_key}"; private ParameterObjParameterKeyDto leftCurlyBracketParameterKeyRightCurlyBracket; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjParameterKeyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjParameterKeyDto.java index fa1b54d3..983ee6d9 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjParameterKeyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ParameterObjParameterKeyDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ParameterObjParameterKeyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_LEFT_CURLY_BRACKET_MSISDN_RIGHT_CURLY_BRACKET = "{msisdn}"; private String leftCurlyBracketMsisdnRightCurlyBracket; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RecipientDeliveryReportDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RecipientDeliveryReportDto.java index e0214679..e25eab0c 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RecipientDeliveryReportDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RecipientDeliveryReportDto.java @@ -40,6 +40,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RecipientDeliveryReportDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_AT = "at"; private OffsetDateTime at; private boolean atDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RemoveKeywordDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RemoveKeywordDto.java index 951a46b5..42efbf53 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RemoveKeywordDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/RemoveKeywordDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class RemoveKeywordDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIRST_WORD = "first_word"; private String firstWord; private boolean firstWordDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ReplaceGroupRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ReplaceGroupRequestDto.java index 04fbbda5..742c3a48 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ReplaceGroupRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/ReplaceGroupRequestDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ReplaceGroupRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_MEMBERS = "members"; private List members; private boolean membersDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMS201ResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMS201ResponseDto.java index 0f06cc9e..0b8445d5 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMS201ResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMS201ResponseDto.java @@ -38,10 +38,13 @@ @JsonDeserialize(using = SendSMS201ResponseDto.SendSMS201ResponseDtoDeserializer.class) @JsonSerialize(using = SendSMS201ResponseDto.SendSMS201ResponseDtoSerializer.class) -public class SendSMS201ResponseDto extends AbstractOpenApiSchema { +public final class SendSMS201ResponseDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SendSMS201ResponseDto.class.getName()); - public static class SendSMS201ResponseDtoSerializer extends StdSerializer { + public static final class SendSMS201ResponseDtoSerializer + extends StdSerializer { + private static final long serialVersionUID = 1L; + public SendSMS201ResponseDtoSerializer(Class t) { super(t); } @@ -58,8 +61,11 @@ public void serialize( } } - public static class SendSMS201ResponseDtoDeserializer + public static final class SendSMS201ResponseDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public SendSMS201ResponseDtoDeserializer() { this(SendSMS201ResponseDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMSRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMSRequestDto.java index b9d9b882..9f98ae6f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMSRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/SendSMSRequestDto.java @@ -38,10 +38,12 @@ @JsonDeserialize(using = SendSMSRequestDto.SendSMSRequestDtoDeserializer.class) @JsonSerialize(using = SendSMSRequestDto.SendSMSRequestDtoSerializer.class) -public class SendSMSRequestDto extends AbstractOpenApiSchema { +public final class SendSMSRequestDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SendSMSRequestDto.class.getName()); - public static class SendSMSRequestDtoSerializer extends StdSerializer { + public static final class SendSMSRequestDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public SendSMSRequestDtoSerializer(Class t) { super(t); } @@ -57,7 +59,11 @@ public void serialize(SendSMSRequestDto value, JsonGenerator jgen, SerializerPro } } - public static class SendSMSRequestDtoDeserializer extends StdDeserializer { + public static final class SendSMSRequestDtoDeserializer + extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public SendSMSRequestDtoDeserializer() { this(SendSMSRequestDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextRequestDto.java index 6294249a..168674d7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextRequestDto.java @@ -46,6 +46,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class TextRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private List to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextResponseDto.java index 046127d2..ccb4671f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/TextResponseDto.java @@ -50,6 +50,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class TextResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateBatchMessageRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateBatchMessageRequestDto.java index ed09d10e..ba713b13 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateBatchMessageRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateBatchMessageRequestDto.java @@ -39,11 +39,13 @@ @JsonDeserialize( using = UpdateBatchMessageRequestDto.UpdateBatchMessageRequestDtoDeserializer.class) @JsonSerialize(using = UpdateBatchMessageRequestDto.UpdateBatchMessageRequestDtoSerializer.class) -public class UpdateBatchMessageRequestDto extends AbstractOpenApiSchema { +public final class UpdateBatchMessageRequestDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(UpdateBatchMessageRequestDto.class.getName()); - public static class UpdateBatchMessageRequestDtoSerializer + public static final class UpdateBatchMessageRequestDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public UpdateBatchMessageRequestDtoSerializer(Class t) { super(t); } @@ -60,8 +62,11 @@ public void serialize( } } - public static class UpdateBatchMessageRequestDtoDeserializer + public static final class UpdateBatchMessageRequestDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public UpdateBatchMessageRequestDtoDeserializer() { this(UpdateBatchMessageRequestDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateAddDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateAddDto.java index e78144f1..d2554e5a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateAddDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateAddDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UpdateGroupRequestAutoUpdateAddDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIRST_WORD = "first_word"; private String firstWord; private boolean firstWordDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateDto.java index e5d4b110..f5a081e3 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UpdateGroupRequestAutoUpdateDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TO = "to"; private String to; private boolean toDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateRemoveDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateRemoveDto.java index 239882d8..f0b42e69 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateRemoveDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestAutoUpdateRemoveDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UpdateGroupRequestAutoUpdateRemoveDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FIRST_WORD = "first_word"; private String firstWord; private boolean firstWordDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestDto.java index a3603fbc..6c678847 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/sms/models/dto/v1/UpdateGroupRequestDto.java @@ -33,6 +33,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UpdateGroupRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NAME = "name"; private String name; private boolean nameDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/AutoInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/AutoInitiateVerificationResponseDto.java index cb4fe30e..2f51bb2d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/AutoInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/AutoInitiateVerificationResponseDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AutoInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_METHODS_ORDER = "methodsOrder"; private List methodsOrder; private boolean methodsOrderDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutInitiateVerificationResponseDto.java index a1cb8657..e8840ce6 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutInitiateVerificationResponseDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CalloutInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SUB_VERIFICATION_ID = "subVerificationId"; private String subVerificationId; private boolean subVerificationIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsDto.java index 8b5e3c00..83fff652 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CalloutOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsSpeechDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsSpeechDto.java index 770d42cf..32431e73 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsSpeechDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutOptionsSpeechDto.java @@ -37,11 +37,13 @@ @JsonDeserialize(using = CalloutOptionsSpeechDto.CalloutOptionsSpeechDtoDeserializer.class) @JsonSerialize(using = CalloutOptionsSpeechDto.CalloutOptionsSpeechDtoSerializer.class) -public class CalloutOptionsSpeechDto extends AbstractOpenApiSchema { +public final class CalloutOptionsSpeechDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(CalloutOptionsSpeechDto.class.getName()); - public static class CalloutOptionsSpeechDtoSerializer + public static final class CalloutOptionsSpeechDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public CalloutOptionsSpeechDtoSerializer(Class t) { super(t); } @@ -58,8 +60,11 @@ public void serialize( } } - public static class CalloutOptionsSpeechDtoDeserializer + public static final class CalloutOptionsSpeechDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public CalloutOptionsSpeechDtoDeserializer() { this(CalloutOptionsSpeechDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutSpeechDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutSpeechDto.java index 5c185a70..03035f82 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutSpeechDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutSpeechDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CalloutSpeechDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_GREETING = "greeting"; private String greeting; private boolean greetingDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutVerificationReportRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutVerificationReportRequestDto.java index 0a904fa9..32c75e31 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutVerificationReportRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/CalloutVerificationReportRequestDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CalloutVerificationReportRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashCallInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashCallInitiateVerificationResponseDto.java index 20fa48f0..77734ee8 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashCallInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashCallInitiateVerificationResponseDto.java @@ -35,6 +35,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class FlashCallInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CLI = "cli"; private String cli; private boolean cliDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallOptionsDto.java index d83a2e91..56a756fd 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallOptionsDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class FlashcallOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CLI = "cli"; private String cli; private boolean cliDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallVerificationReportRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallVerificationReportRequestDto.java index f5274b9d..d0b40385 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallVerificationReportRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/FlashcallVerificationReportRequestDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class FlashcallVerificationReportRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CLI = "cli"; private String cli; private boolean cliDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/IdentityDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/IdentityDto.java index b9cb4eb6..8d02681e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/IdentityDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/IdentityDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class IdentityDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TYPE = "type"; private String type; private boolean typeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceCalloutOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceCalloutOptionsDto.java index d38b5ba0..187f40ff 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceCalloutOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceCalloutOptionsDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceCalloutOptionsDto .InitiateVerificationResourceCalloutOptionsDtoSerializer.class) -public class InitiateVerificationResourceCalloutOptionsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceCalloutOptionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceCalloutOptionsDto.class.getName()); - public static class InitiateVerificationResourceCalloutOptionsDtoSerializer + public static final class InitiateVerificationResourceCalloutOptionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceCalloutOptionsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceCalloutOptionsDtoDeserializer + public static final class InitiateVerificationResourceCalloutOptionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceCalloutOptionsDtoDeserializer() { this(InitiateVerificationResourceCalloutOptionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceDto.java index 609d0739..b2fbef20 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InitiateVerificationResourceDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_IDENTITY = "identity"; private InitiateVerificationResourceIdentityDto identity; private boolean identityDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceFlashCallOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceFlashCallOptionsDto.java index b8206c72..45bc7bb4 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceFlashCallOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceFlashCallOptionsDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceFlashCallOptionsDto .InitiateVerificationResourceFlashCallOptionsDtoSerializer.class) -public class InitiateVerificationResourceFlashCallOptionsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceFlashCallOptionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceFlashCallOptionsDto.class.getName()); - public static class InitiateVerificationResourceFlashCallOptionsDtoSerializer + public static final class InitiateVerificationResourceFlashCallOptionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceFlashCallOptionsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceFlashCallOptionsDtoDeserializer + public static final class InitiateVerificationResourceFlashCallOptionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceFlashCallOptionsDtoDeserializer() { this(InitiateVerificationResourceFlashCallOptionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceIdentityDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceIdentityDto.java index cc62094f..46df10ad 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceIdentityDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceIdentityDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceIdentityDto.InitiateVerificationResourceIdentityDtoSerializer .class) -public class InitiateVerificationResourceIdentityDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceIdentityDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceIdentityDto.class.getName()); - public static class InitiateVerificationResourceIdentityDtoSerializer + public static final class InitiateVerificationResourceIdentityDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceIdentityDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceIdentityDtoDeserializer + public static final class InitiateVerificationResourceIdentityDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceIdentityDtoDeserializer() { this(InitiateVerificationResourceIdentityDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMetadataDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMetadataDto.java index 16bc1ad1..8285c842 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMetadataDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMetadataDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceMetadataDto.InitiateVerificationResourceMetadataDtoSerializer .class) -public class InitiateVerificationResourceMetadataDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceMetadataDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceMetadataDto.class.getName()); - public static class InitiateVerificationResourceMetadataDtoSerializer + public static final class InitiateVerificationResourceMetadataDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceMetadataDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceMetadataDtoDeserializer + public static final class InitiateVerificationResourceMetadataDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceMetadataDtoDeserializer() { this(InitiateVerificationResourceMetadataDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMethodDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMethodDto.java index 5c58292c..db7ef4b7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMethodDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceMethodDto.java @@ -42,12 +42,14 @@ @JsonSerialize( using = InitiateVerificationResourceMethodDto.InitiateVerificationResourceMethodDtoSerializer.class) -public class InitiateVerificationResourceMethodDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceMethodDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceMethodDto.class.getName()); - public static class InitiateVerificationResourceMethodDtoSerializer + public static final class InitiateVerificationResourceMethodDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceMethodDtoSerializer( Class t) { super(t); @@ -67,8 +69,11 @@ public void serialize( } } - public static class InitiateVerificationResourceMethodDtoDeserializer + public static final class InitiateVerificationResourceMethodDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceMethodDtoDeserializer() { this(InitiateVerificationResourceMethodDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSeamlessOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSeamlessOptionsDto.java index 6d8fea68..36822e58 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSeamlessOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSeamlessOptionsDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceSeamlessOptionsDto .InitiateVerificationResourceSeamlessOptionsDtoSerializer.class) -public class InitiateVerificationResourceSeamlessOptionsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceSeamlessOptionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceSeamlessOptionsDto.class.getName()); - public static class InitiateVerificationResourceSeamlessOptionsDtoSerializer + public static final class InitiateVerificationResourceSeamlessOptionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceSeamlessOptionsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceSeamlessOptionsDtoDeserializer + public static final class InitiateVerificationResourceSeamlessOptionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceSeamlessOptionsDtoDeserializer() { this(InitiateVerificationResourceSeamlessOptionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSmsOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSmsOptionsDto.java index 157f0513..35f60735 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSmsOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceSmsOptionsDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceSmsOptionsDto .InitiateVerificationResourceSmsOptionsDtoSerializer.class) -public class InitiateVerificationResourceSmsOptionsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceSmsOptionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceSmsOptionsDto.class.getName()); - public static class InitiateVerificationResourceSmsOptionsDtoSerializer + public static final class InitiateVerificationResourceSmsOptionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceSmsOptionsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceSmsOptionsDtoDeserializer + public static final class InitiateVerificationResourceSmsOptionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceSmsOptionsDtoDeserializer() { this(InitiateVerificationResourceSmsOptionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceWhatsappOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceWhatsappOptionsDto.java index cabacf31..7bd39c7f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceWhatsappOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResourceWhatsappOptionsDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResourceWhatsappOptionsDto .InitiateVerificationResourceWhatsappOptionsDtoSerializer.class) -public class InitiateVerificationResourceWhatsappOptionsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResourceWhatsappOptionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResourceWhatsappOptionsDto.class.getName()); - public static class InitiateVerificationResourceWhatsappOptionsDtoSerializer + public static final class InitiateVerificationResourceWhatsappOptionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceWhatsappOptionsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResourceWhatsappOptionsDtoDeserializer + public static final class InitiateVerificationResourceWhatsappOptionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResourceWhatsappOptionsDtoDeserializer() { this(InitiateVerificationResourceWhatsappOptionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseAutoDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseAutoDto.java index 8e4e9908..d76b8aff 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseAutoDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseAutoDto.java @@ -40,12 +40,14 @@ InitiateVerificationResponseAutoDto.InitiateVerificationResponseAutoDtoDeserializer.class) @JsonSerialize( using = InitiateVerificationResponseAutoDto.InitiateVerificationResponseAutoDtoSerializer.class) -public class InitiateVerificationResponseAutoDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseAutoDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseAutoDto.class.getName()); - public static class InitiateVerificationResponseAutoDtoSerializer + public static final class InitiateVerificationResponseAutoDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseAutoDtoSerializer( Class t) { super(t); @@ -63,8 +65,11 @@ public void serialize( } } - public static class InitiateVerificationResponseAutoDtoDeserializer + public static final class InitiateVerificationResponseAutoDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseAutoDtoDeserializer() { this(InitiateVerificationResponseAutoDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseCalloutDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseCalloutDto.java index ba08dc2e..9d5ea057 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseCalloutDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseCalloutDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResponseCalloutDto.InitiateVerificationResponseCalloutDtoSerializer .class) -public class InitiateVerificationResponseCalloutDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseCalloutDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseCalloutDto.class.getName()); - public static class InitiateVerificationResponseCalloutDtoSerializer + public static final class InitiateVerificationResponseCalloutDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseCalloutDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResponseCalloutDtoDeserializer + public static final class InitiateVerificationResponseCalloutDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseCalloutDtoDeserializer() { this(InitiateVerificationResponseCalloutDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseDto.java index d4178f9a..c7be595b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseDto.java @@ -39,6 +39,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class InitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseFlashCallDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseFlashCallDto.java index ec53e320..af68b404 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseFlashCallDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseFlashCallDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResponseFlashCallDto.InitiateVerificationResponseFlashCallDtoSerializer .class) -public class InitiateVerificationResponseFlashCallDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseFlashCallDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseFlashCallDto.class.getName()); - public static class InitiateVerificationResponseFlashCallDtoSerializer + public static final class InitiateVerificationResponseFlashCallDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseFlashCallDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResponseFlashCallDtoDeserializer + public static final class InitiateVerificationResponseFlashCallDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseFlashCallDtoDeserializer() { this(InitiateVerificationResponseFlashCallDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseMaxPriceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseMaxPriceDto.java index db41939c..eae811df 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseMaxPriceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseMaxPriceDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResponseMaxPriceDto.InitiateVerificationResponseMaxPriceDtoSerializer .class) -public class InitiateVerificationResponseMaxPriceDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseMaxPriceDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseMaxPriceDto.class.getName()); - public static class InitiateVerificationResponseMaxPriceDtoSerializer + public static final class InitiateVerificationResponseMaxPriceDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseMaxPriceDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResponseMaxPriceDtoDeserializer + public static final class InitiateVerificationResponseMaxPriceDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseMaxPriceDtoDeserializer() { this(InitiateVerificationResponseMaxPriceDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSeamlessDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSeamlessDto.java index 2cba23d0..52c96730 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSeamlessDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSeamlessDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResponseSeamlessDto.InitiateVerificationResponseSeamlessDtoSerializer .class) -public class InitiateVerificationResponseSeamlessDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseSeamlessDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseSeamlessDto.class.getName()); - public static class InitiateVerificationResponseSeamlessDtoSerializer + public static final class InitiateVerificationResponseSeamlessDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseSeamlessDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResponseSeamlessDtoDeserializer + public static final class InitiateVerificationResponseSeamlessDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseSeamlessDtoDeserializer() { this(InitiateVerificationResponseSeamlessDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSmsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSmsDto.java index 69e3a730..36d06164 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSmsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseSmsDto.java @@ -39,12 +39,14 @@ using = InitiateVerificationResponseSmsDto.InitiateVerificationResponseSmsDtoDeserializer.class) @JsonSerialize( using = InitiateVerificationResponseSmsDto.InitiateVerificationResponseSmsDtoSerializer.class) -public class InitiateVerificationResponseSmsDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseSmsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseSmsDto.class.getName()); - public static class InitiateVerificationResponseSmsDtoSerializer + public static final class InitiateVerificationResponseSmsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseSmsDtoSerializer( Class t) { super(t); @@ -62,8 +64,11 @@ public void serialize( } } - public static class InitiateVerificationResponseSmsDtoDeserializer + public static final class InitiateVerificationResponseSmsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseSmsDtoDeserializer() { this(InitiateVerificationResponseSmsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseWhatsappDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseWhatsappDto.java index 46199e89..13c664f3 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseWhatsappDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/InitiateVerificationResponseWhatsappDto.java @@ -43,12 +43,14 @@ using = InitiateVerificationResponseWhatsappDto.InitiateVerificationResponseWhatsappDtoSerializer .class) -public class InitiateVerificationResponseWhatsappDto extends AbstractOpenApiSchema { +public final class InitiateVerificationResponseWhatsappDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(InitiateVerificationResponseWhatsappDto.class.getName()); - public static class InitiateVerificationResponseWhatsappDtoSerializer + public static final class InitiateVerificationResponseWhatsappDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseWhatsappDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class InitiateVerificationResponseWhatsappDtoDeserializer + public static final class InitiateVerificationResponseWhatsappDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public InitiateVerificationResponseWhatsappDtoDeserializer() { this(InitiateVerificationResponseWhatsappDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/MoneyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/MoneyDto.java index 1b252116..55462140 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/MoneyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/MoneyDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MoneyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CURRENCY_ID = "currencyId"; private String currencyId; private boolean currencyIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessInitiateVerificationResponseDto.java index 6479d245..3c02ae49 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessInitiateVerificationResponseDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SeamlessInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TARGET_URI = "targetUri"; private String targetUri; private boolean targetUriDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessOptionsDto.java index ad1cc34a..f69406ca 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SeamlessOptionsDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SeamlessOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_END_USER_IP = "endUserIp"; private String endUserIp; private boolean endUserIpDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/ServiceReplyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/ServiceReplyDto.java index 8795d414..4bd2b335 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/ServiceReplyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/ServiceReplyDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ServiceReplyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_RESULT = "result"; private Integer result; private boolean resultDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResourceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResourceDto.java index 38451cc6..27648ddf 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResourceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResourceDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SimSwapResourceDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER = "number"; private String number; private boolean numberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResponseDto.java index c5dece24..39317f4f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SimSwapResponseDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SimSwapResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsInitiateVerificationResponseDto.java index 505d7986..89bb2cde 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsInitiateVerificationResponseDto.java @@ -33,6 +33,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SmsInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TEMPLATE = "template"; private String template; private boolean templateDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsOptionsDto.java index 9b2f9e00..01d056d9 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsOptionsDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SmsOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsVerificationReportRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsVerificationReportRequestDto.java index f3b81487..8eacfcff 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsVerificationReportRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/SmsVerificationReportRequestDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SmsVerificationReportRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataCellularDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataCellularDto.java index 30772938..8416f07b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataCellularDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataCellularDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationMetadataCellularDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SIGNAL_LEVEL = "signalLevel"; private Integer signalLevel; private boolean signalLevelDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDeviceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDeviceDto.java index fbda3b19..b70b27ba 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDeviceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDeviceDto.java @@ -38,11 +38,13 @@ @JsonDeserialize( using = VerificationMetadataDeviceDto.VerificationMetadataDeviceDtoDeserializer.class) @JsonSerialize(using = VerificationMetadataDeviceDto.VerificationMetadataDeviceDtoSerializer.class) -public class VerificationMetadataDeviceDto extends AbstractOpenApiSchema { +public final class VerificationMetadataDeviceDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataDeviceDto.class.getName()); - public static class VerificationMetadataDeviceDtoSerializer + public static final class VerificationMetadataDeviceDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataDeviceDtoSerializer(Class t) { super(t); } @@ -59,8 +61,11 @@ public void serialize( } } - public static class VerificationMetadataDeviceDtoDeserializer + public static final class VerificationMetadataDeviceDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataDeviceDtoDeserializer() { this(VerificationMetadataDeviceDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDto.java index 82fc9617..1c43a984 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataDto.java @@ -43,6 +43,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationMetadataDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_OS = "os"; private String os; private boolean osDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoCellularDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoCellularDto.java index 3b63d9e0..d0edc1ed 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoCellularDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoCellularDto.java @@ -43,12 +43,14 @@ using = VerificationMetadataNetworkInfoCellularDto .VerificationMetadataNetworkInfoCellularDtoSerializer.class) -public class VerificationMetadataNetworkInfoCellularDto extends AbstractOpenApiSchema { +public final class VerificationMetadataNetworkInfoCellularDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataNetworkInfoCellularDto.class.getName()); - public static class VerificationMetadataNetworkInfoCellularDtoSerializer + public static final class VerificationMetadataNetworkInfoCellularDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoCellularDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationMetadataNetworkInfoCellularDtoDeserializer + public static final class VerificationMetadataNetworkInfoCellularDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoCellularDtoDeserializer() { this(VerificationMetadataNetworkInfoCellularDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDataDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDataDto.java index 54833762..1d4c0315 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDataDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDataDto.java @@ -43,12 +43,14 @@ using = VerificationMetadataNetworkInfoDataDto.VerificationMetadataNetworkInfoDataDtoSerializer .class) -public class VerificationMetadataNetworkInfoDataDto extends AbstractOpenApiSchema { +public final class VerificationMetadataNetworkInfoDataDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataNetworkInfoDataDto.class.getName()); - public static class VerificationMetadataNetworkInfoDataDtoSerializer + public static final class VerificationMetadataNetworkInfoDataDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoDataDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationMetadataNetworkInfoDataDtoDeserializer + public static final class VerificationMetadataNetworkInfoDataDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoDataDtoDeserializer() { this(VerificationMetadataNetworkInfoDataDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDto.java index 211c8cf9..15e2d6b0 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataNetworkInfoDto.java @@ -39,12 +39,14 @@ using = VerificationMetadataNetworkInfoDto.VerificationMetadataNetworkInfoDtoDeserializer.class) @JsonSerialize( using = VerificationMetadataNetworkInfoDto.VerificationMetadataNetworkInfoDtoSerializer.class) -public class VerificationMetadataNetworkInfoDto extends AbstractOpenApiSchema { +public final class VerificationMetadataNetworkInfoDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataNetworkInfoDto.class.getName()); - public static class VerificationMetadataNetworkInfoDtoSerializer + public static final class VerificationMetadataNetworkInfoDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoDtoSerializer( Class t) { super(t); @@ -62,8 +64,11 @@ public void serialize( } } - public static class VerificationMetadataNetworkInfoDtoDeserializer + public static final class VerificationMetadataNetworkInfoDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataNetworkInfoDtoDeserializer() { this(VerificationMetadataNetworkInfoDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataOperatorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataOperatorDto.java index b928efd3..57560e53 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataOperatorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataOperatorDto.java @@ -39,12 +39,14 @@ using = VerificationMetadataOperatorDto.VerificationMetadataOperatorDtoDeserializer.class) @JsonSerialize( using = VerificationMetadataOperatorDto.VerificationMetadataOperatorDtoSerializer.class) -public class VerificationMetadataOperatorDto extends AbstractOpenApiSchema { +public final class VerificationMetadataOperatorDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataOperatorDto.class.getName()); - public static class VerificationMetadataOperatorDtoSerializer + public static final class VerificationMetadataOperatorDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataOperatorDtoSerializer(Class t) { super(t); } @@ -61,8 +63,11 @@ public void serialize( } } - public static class VerificationMetadataOperatorDtoDeserializer + public static final class VerificationMetadataOperatorDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataOperatorDtoDeserializer() { this(VerificationMetadataOperatorDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataPermissionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataPermissionsDto.java index a11c7b81..8ba98f9a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataPermissionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataPermissionsDto.java @@ -39,12 +39,14 @@ using = VerificationMetadataPermissionsDto.VerificationMetadataPermissionsDtoDeserializer.class) @JsonSerialize( using = VerificationMetadataPermissionsDto.VerificationMetadataPermissionsDtoSerializer.class) -public class VerificationMetadataPermissionsDto extends AbstractOpenApiSchema { +public final class VerificationMetadataPermissionsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataPermissionsDto.class.getName()); - public static class VerificationMetadataPermissionsDtoSerializer + public static final class VerificationMetadataPermissionsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataPermissionsDtoSerializer( Class t) { super(t); @@ -62,8 +64,11 @@ public void serialize( } } - public static class VerificationMetadataPermissionsDtoDeserializer + public static final class VerificationMetadataPermissionsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataPermissionsDtoDeserializer() { this(VerificationMetadataPermissionsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollection1Dto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollection1Dto.java index e3cf60d5..f6a4e32d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollection1Dto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollection1Dto.java @@ -43,12 +43,14 @@ using = VerificationMetadataSimCardInfoCollection1Dto .VerificationMetadataSimCardInfoCollection1DtoSerializer.class) -public class VerificationMetadataSimCardInfoCollection1Dto extends AbstractOpenApiSchema { +public final class VerificationMetadataSimCardInfoCollection1Dto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataSimCardInfoCollection1Dto.class.getName()); - public static class VerificationMetadataSimCardInfoCollection1DtoSerializer + public static final class VerificationMetadataSimCardInfoCollection1DtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataSimCardInfoCollection1DtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationMetadataSimCardInfoCollection1DtoDeserializer + public static final class VerificationMetadataSimCardInfoCollection1DtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataSimCardInfoCollection1DtoDeserializer() { this(VerificationMetadataSimCardInfoCollection1Dto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollectionDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollectionDto.java index 6509b1c8..ca4b64ef 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollectionDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoCollectionDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationMetadataSimCardInfoCollectionDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_1 = "1"; private VerificationMetadataSimCardInfoCollection1Dto _1; private boolean _1Defined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoDto.java index b98ba8e7..3c39008a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardInfoDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationMetadataSimCardInfoDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_OPERATOR = "operator"; private VerificationMetadataOperatorDto operator; private boolean operatorDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardsInfoDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardsInfoDto.java index 3350166b..dda7d3b0 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardsInfoDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimCardsInfoDto.java @@ -40,12 +40,14 @@ VerificationMetadataSimCardsInfoDto.VerificationMetadataSimCardsInfoDtoDeserializer.class) @JsonSerialize( using = VerificationMetadataSimCardsInfoDto.VerificationMetadataSimCardsInfoDtoSerializer.class) -public class VerificationMetadataSimCardsInfoDto extends AbstractOpenApiSchema { +public final class VerificationMetadataSimCardsInfoDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataSimCardsInfoDto.class.getName()); - public static class VerificationMetadataSimCardsInfoDtoSerializer + public static final class VerificationMetadataSimCardsInfoDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataSimCardsInfoDtoSerializer( Class t) { super(t); @@ -63,8 +65,11 @@ public void serialize( } } - public static class VerificationMetadataSimCardsInfoDtoDeserializer + public static final class VerificationMetadataSimCardsInfoDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataSimCardsInfoDtoDeserializer() { this(VerificationMetadataSimCardsInfoDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimDto.java index 2447ea12..3be929e5 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationMetadataSimDto.java @@ -37,11 +37,13 @@ @JsonDeserialize(using = VerificationMetadataSimDto.VerificationMetadataSimDtoDeserializer.class) @JsonSerialize(using = VerificationMetadataSimDto.VerificationMetadataSimDtoSerializer.class) -public class VerificationMetadataSimDto extends AbstractOpenApiSchema { +public final class VerificationMetadataSimDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationMetadataSimDto.class.getName()); - public static class VerificationMetadataSimDtoSerializer + public static final class VerificationMetadataSimDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationMetadataSimDtoSerializer(Class t) { super(t); } @@ -58,8 +60,11 @@ public void serialize( } } - public static class VerificationMetadataSimDtoDeserializer + public static final class VerificationMetadataSimDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationMetadataSimDtoDeserializer() { this(VerificationMetadataSimDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationDto.java index d295779d..c3cc5063 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationPriceInformationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_VERIFICATION_PRICE = "verificationPrice"; private VerificationPriceInformationVerificationPriceDto verificationPrice; private boolean verificationPriceDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationTerminationPriceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationTerminationPriceDto.java index 3f46767a..2384e723 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationTerminationPriceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationTerminationPriceDto.java @@ -43,12 +43,14 @@ using = VerificationPriceInformationTerminationPriceDto .VerificationPriceInformationTerminationPriceDtoSerializer.class) -public class VerificationPriceInformationTerminationPriceDto extends AbstractOpenApiSchema { +public final class VerificationPriceInformationTerminationPriceDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationPriceInformationTerminationPriceDto.class.getName()); - public static class VerificationPriceInformationTerminationPriceDtoSerializer + public static final class VerificationPriceInformationTerminationPriceDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationPriceInformationTerminationPriceDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationPriceInformationTerminationPriceDtoDeserializer + public static final class VerificationPriceInformationTerminationPriceDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationPriceInformationTerminationPriceDtoDeserializer() { this(VerificationPriceInformationTerminationPriceDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationVerificationPriceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationVerificationPriceDto.java index 5868163d..73bac9cf 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationVerificationPriceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationPriceInformationVerificationPriceDto.java @@ -43,12 +43,14 @@ using = VerificationPriceInformationVerificationPriceDto .VerificationPriceInformationVerificationPriceDtoSerializer.class) -public class VerificationPriceInformationVerificationPriceDto extends AbstractOpenApiSchema { +public final class VerificationPriceInformationVerificationPriceDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationPriceInformationVerificationPriceDto.class.getName()); - public static class VerificationPriceInformationVerificationPriceDtoSerializer + public static final class VerificationPriceInformationVerificationPriceDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationPriceInformationVerificationPriceDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationPriceInformationVerificationPriceDtoDeserializer + public static final class VerificationPriceInformationVerificationPriceDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationPriceInformationVerificationPriceDtoDeserializer() { this(VerificationPriceInformationVerificationPriceDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceCalloutDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceCalloutDto.java index edc3d5a0..10dcfdcf 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceCalloutDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceCalloutDto.java @@ -43,12 +43,14 @@ using = VerificationReportRequestResourceCalloutDto .VerificationReportRequestResourceCalloutDtoSerializer.class) -public class VerificationReportRequestResourceCalloutDto extends AbstractOpenApiSchema { +public final class VerificationReportRequestResourceCalloutDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationReportRequestResourceCalloutDto.class.getName()); - public static class VerificationReportRequestResourceCalloutDtoSerializer + public static final class VerificationReportRequestResourceCalloutDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceCalloutDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationReportRequestResourceCalloutDtoDeserializer + public static final class VerificationReportRequestResourceCalloutDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceCalloutDtoDeserializer() { this(VerificationReportRequestResourceCalloutDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceDto.java index d8093416..b40a4f1d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceDto.java @@ -32,6 +32,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationReportRequestResourceDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_METHOD = "method"; private VerificationMethodDto method; private boolean methodDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceFlashcallDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceFlashcallDto.java index ccc9b3f6..d2b7f07b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceFlashcallDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceFlashcallDto.java @@ -43,12 +43,14 @@ using = VerificationReportRequestResourceFlashcallDto .VerificationReportRequestResourceFlashcallDtoSerializer.class) -public class VerificationReportRequestResourceFlashcallDto extends AbstractOpenApiSchema { +public final class VerificationReportRequestResourceFlashcallDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationReportRequestResourceFlashcallDto.class.getName()); - public static class VerificationReportRequestResourceFlashcallDtoSerializer + public static final class VerificationReportRequestResourceFlashcallDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceFlashcallDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationReportRequestResourceFlashcallDtoDeserializer + public static final class VerificationReportRequestResourceFlashcallDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceFlashcallDtoDeserializer() { this(VerificationReportRequestResourceFlashcallDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceSmsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceSmsDto.java index 5ef1b52f..029bc026 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceSmsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceSmsDto.java @@ -43,12 +43,14 @@ using = VerificationReportRequestResourceSmsDto.VerificationReportRequestResourceSmsDtoSerializer .class) -public class VerificationReportRequestResourceSmsDto extends AbstractOpenApiSchema { +public final class VerificationReportRequestResourceSmsDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationReportRequestResourceSmsDto.class.getName()); - public static class VerificationReportRequestResourceSmsDtoSerializer + public static final class VerificationReportRequestResourceSmsDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceSmsDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationReportRequestResourceSmsDtoDeserializer + public static final class VerificationReportRequestResourceSmsDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceSmsDtoDeserializer() { this(VerificationReportRequestResourceSmsDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceWhatsappDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceWhatsappDto.java index 295855d9..5c47c275 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceWhatsappDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationReportRequestResourceWhatsappDto.java @@ -43,12 +43,14 @@ using = VerificationReportRequestResourceWhatsappDto .VerificationReportRequestResourceWhatsappDtoSerializer.class) -public class VerificationReportRequestResourceWhatsappDto extends AbstractOpenApiSchema { +public final class VerificationReportRequestResourceWhatsappDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationReportRequestResourceWhatsappDto.class.getName()); - public static class VerificationReportRequestResourceWhatsappDtoSerializer + public static final class VerificationReportRequestResourceWhatsappDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceWhatsappDtoSerializer( Class t) { super(t); @@ -68,8 +70,11 @@ public void serialize( } } - public static class VerificationReportRequestResourceWhatsappDtoDeserializer + public static final class VerificationReportRequestResourceWhatsappDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationReportRequestResourceWhatsappDtoDeserializer() { this(VerificationReportRequestResourceWhatsappDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResourceLinkDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResourceLinkDto.java index 95809722..75dcb983 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResourceLinkDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResourceLinkDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationResourceLinkDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_REL = "rel"; private String rel; private boolean relDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseDto.java index 9c4ae2c5..ea14922f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseDto.java @@ -37,6 +37,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class VerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseIdentityDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseIdentityDto.java index f841cc8c..d4f42fc4 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseIdentityDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponseIdentityDto.java @@ -39,12 +39,14 @@ using = VerificationResponseIdentityDto.VerificationResponseIdentityDtoDeserializer.class) @JsonSerialize( using = VerificationResponseIdentityDto.VerificationResponseIdentityDtoSerializer.class) -public class VerificationResponseIdentityDto extends AbstractOpenApiSchema { +public final class VerificationResponseIdentityDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationResponseIdentityDto.class.getName()); - public static class VerificationResponseIdentityDtoSerializer + public static final class VerificationResponseIdentityDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationResponseIdentityDtoSerializer(Class t) { super(t); } @@ -61,8 +63,11 @@ public void serialize( } } - public static class VerificationResponseIdentityDtoDeserializer + public static final class VerificationResponseIdentityDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationResponseIdentityDtoDeserializer() { this(VerificationResponseIdentityDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponsePriceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponsePriceDto.java index 78ad406d..02b05a87 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponsePriceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/VerificationResponsePriceDto.java @@ -38,11 +38,13 @@ @JsonDeserialize( using = VerificationResponsePriceDto.VerificationResponsePriceDtoDeserializer.class) @JsonSerialize(using = VerificationResponsePriceDto.VerificationResponsePriceDtoSerializer.class) -public class VerificationResponsePriceDto extends AbstractOpenApiSchema { +public final class VerificationResponsePriceDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(VerificationResponsePriceDto.class.getName()); - public static class VerificationResponsePriceDtoSerializer + public static final class VerificationResponsePriceDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public VerificationResponsePriceDtoSerializer(Class t) { super(t); } @@ -59,8 +61,11 @@ public void serialize( } } - public static class VerificationResponsePriceDtoDeserializer + public static final class VerificationResponsePriceDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public VerificationResponsePriceDtoDeserializer() { this(VerificationResponsePriceDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappInitiateVerificationResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappInitiateVerificationResponseDto.java index 2b1125f2..c63ad647 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappInitiateVerificationResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappInitiateVerificationResponseDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class WhatsappInitiateVerificationResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_SUB_VERIFICATION_ID = "subVerificationId"; private String subVerificationId; private boolean subVerificationIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappOptionsDto.java index 4a0650cf..3286f789 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappOptionsDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class WhatsappOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappVerificationReportRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappVerificationReportRequestDto.java index 229235d2..b6d55c2b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappVerificationReportRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/verification/models/dto/v1/WhatsappVerificationReportRequestDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class WhatsappVerificationReportRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CODE = "code"; private String code; private boolean codeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestAllOfAmdDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestAllOfAmdDto.java index 0116938e..4f41afbe 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestAllOfAmdDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestAllOfAmdDto.java @@ -33,6 +33,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class AceRequestAllOfAmdDto { + private static final long serialVersionUID = 1L; + /** The determination by the system of who answered the call. */ public enum StatusEnum { MACHINE("machine"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestDto.java index 92d374c7..4cf01771 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/AceRequestDto.java @@ -47,6 +47,8 @@ property = "event", visible = true) public class AceRequestDto extends WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; + /** Must have the value `ace`. */ public enum EventEnum { ACE("ace"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallHeaderDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallHeaderDto.java index 2db5e459..cdcac76b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallHeaderDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallHeaderDto.java @@ -28,6 +28,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallHeaderDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_KEY = "key"; private String key; private boolean keyDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksDto.java index 257e1853..090a6543 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallbacksDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_URL = "url"; private CallbacksUrlDto url; private boolean urlDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksUrlDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksUrlDto.java index 7718c721..62ded3c3 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksUrlDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CallbacksUrlDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CallbacksUrlDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PRIMARY = "primary"; private String primary; private boolean primaryDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CalloutRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CalloutRequestDto.java index 5f31438e..01163c1a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CalloutRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CalloutRequestDto.java @@ -35,6 +35,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CalloutRequestDto { + private static final long serialVersionUID = 1L; + /** Sets the type of callout. */ public enum MethodEnum { CONFERENCECALLOUT("conferenceCallout"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestConferenceDtmfOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestConferenceDtmfOptionsDto.java index 93cdea21..fb234126 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestConferenceDtmfOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestConferenceDtmfOptionsDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ConferenceCalloutRequestConferenceDtmfOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_MODE = "mode"; private String mode; private boolean modeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestDto.java index c988f60c..94422216 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ConferenceCalloutRequestDto.java @@ -42,6 +42,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ConferenceCalloutRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_DESTINATION = "destination"; private DestinationDto destination; private boolean destinationDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CustomCalloutRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CustomCalloutRequestDto.java index 42ac8c7f..3ada2a82 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CustomCalloutRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/CustomCalloutRequestDto.java @@ -36,6 +36,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class CustomCalloutRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CLI = "cli"; private String cli; private boolean cliDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DestinationDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DestinationDto.java index b89d5361..08179211 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DestinationDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DestinationDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class DestinationDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TYPE = "type"; private DestinationTypeDto type; private boolean typeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DiceRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DiceRequestDto.java index d5b93b60..0c987c1a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DiceRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/DiceRequestDto.java @@ -56,6 +56,8 @@ property = "event", visible = true) public class DiceRequestDto extends WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; + /** Must have the value `dice`. */ public enum EventEnum { DICE("dice"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ErrorDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ErrorDto.java index a670012f..36f7a28e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ErrorDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ErrorDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ErrorDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_STATUS = "status"; private String status; private boolean statusDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCallResponseObjDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCallResponseObjDto.java index a1280346..bd4a057b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCallResponseObjDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCallResponseObjDto.java @@ -40,6 +40,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetCallResponseObjDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_FROM = "from"; private DestinationDto from; private boolean fromDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCalloutResponseObjDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCalloutResponseObjDto.java index 7f4671cf..3bb1dba9 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCalloutResponseObjDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetCalloutResponseObjDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetCalloutResponseObjDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CALL_ID = "callId"; private String callId; private boolean callIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseDto.java index 4fced25e..df68afc0 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetConferenceInfoResponseDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_PARTICIPANTS = "participants"; private List participants; private boolean participantsDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseParticipantsInnerDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseParticipantsInnerDto.java index e27aa474..ff2e1ac9 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseParticipantsInnerDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetConferenceInfoResponseParticipantsInnerDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetConferenceInfoResponseParticipantsInnerDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CLI = "cli"; private String cli; private boolean cliDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjDto.java index 7355b61f..3a31bfe5 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjDto.java @@ -26,6 +26,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetNumbersResponseObjDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBERS = "numbers"; private List numbers; private boolean numbersDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjNumbersInnerDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjNumbersInnerDto.java index 4171af3a..e8f0a393 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjNumbersInnerDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetNumbersResponseObjNumbersInnerDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetNumbersResponseObjNumbersInnerDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER = "number"; private String number; private boolean numberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberDto.java index 557a663d..148a7a8f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetQueryNumberDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER = "number"; private GetQueryNumberNumberDto number; private boolean numberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberNumberDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberNumberDto.java index d5b5f7ea..a80ef63b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberNumberDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetQueryNumberNumberDto.java @@ -32,6 +32,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetQueryNumberNumberDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COUNTRY_ID = "countryId"; private String countryId; private boolean countryIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetRecordingFileInfoDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetRecordingFileInfoDto.java index 3e284616..b7cdd776 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetRecordingFileInfoDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/GetRecordingFileInfoDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class GetRecordingFileInfoDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_KEY = "key"; private String key; private boolean keyDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/IceRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/IceRequestDto.java index fe744f07..256220d7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/IceRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/IceRequestDto.java @@ -57,6 +57,8 @@ property = "event", visible = true) public class IceRequestDto extends WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; + /** Must have the value `ice`. */ public enum EventEnum { ICE("ice"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ManageConferenceParticipantRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ManageConferenceParticipantRequestDto.java index ea32d32b..dc614419 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ManageConferenceParticipantRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/ManageConferenceParticipantRequestDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class ManageConferenceParticipantRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_COMMAND = "command"; private String command; private boolean commandDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/MenuDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/MenuDto.java index 7153b254..137c70a5 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/MenuDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/MenuDto.java @@ -35,6 +35,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class MenuDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ID = "id"; private String id; private boolean idDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyErrorRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyErrorRequestDto.java index 6f6f1b35..4eb42d8e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyErrorRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyErrorRequestDto.java @@ -33,6 +33,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class NotifyErrorRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_EVENT = "event"; private String event; private boolean eventDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyRequestDto.java index 0dbb4833..f91e29a1 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/NotifyRequestDto.java @@ -44,6 +44,8 @@ property = "event", visible = true) public class NotifyRequestDto extends WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; + /** Must have the value `notify`. */ public enum EventEnum { NOTIFY("notify"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/OptionDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/OptionDto.java index 28e1e7c5..d3ba2c6b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/OptionDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/OptionDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class OptionDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_DTMF = "dtmf"; private String dtmf; private boolean dtmfDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestAllOfMenuResultDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestAllOfMenuResultDto.java index 8cd2ba6a..c2fe826e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestAllOfMenuResultDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestAllOfMenuResultDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class PieRequestAllOfMenuResultDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_MENU_ID = "menuId"; private String menuId; private boolean menuIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestDto.java index 62a066f2..ea2a446f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PieRequestDto.java @@ -47,6 +47,8 @@ property = "event", visible = true) public class PieRequestDto extends WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; + /** Must have the value `pie`. */ public enum EventEnum { PIE("pie"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PriceDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PriceDto.java index e66bfbad..01d5791b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PriceDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/PriceDto.java @@ -24,6 +24,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class PriceDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_CURRENCY_ID = "currencyId"; private String currencyId; private boolean currencyIdDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SVAMLRequestBodyDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SVAMLRequestBodyDto.java index 98446842..dce7862d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SVAMLRequestBodyDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SVAMLRequestBodyDto.java @@ -33,6 +33,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SVAMLRequestBodyDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_INSTRUCTIONS = "instructions"; private List instructions; private boolean instructionsDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfConferenceDtmfOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfConferenceDtmfOptionsDto.java index 75799926..8f8cc911 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfConferenceDtmfOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfConferenceDtmfOptionsDto.java @@ -31,6 +31,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectConfConferenceDtmfOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_MODE = "mode"; private String mode; private boolean modeDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfDto.java index 249bce92..67bf0cab 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectConfDto.java @@ -34,6 +34,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectConfDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `connectConf`. */ public enum NameEnum { CONNECTCONF("connectConf"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectMxpDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectMxpDto.java index 737bb597..29d11c44 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectMxpDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectMxpDto.java @@ -35,6 +35,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectMxpDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `connectMxp`. */ public enum NameEnum { CONNECTMXP("connectMxp"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnAmdDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnAmdDto.java index 5753bfc0..48a657f4 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnAmdDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnAmdDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectPstnAmdDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; private boolean enabledDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnDto.java index c9ecd1be..1a15505e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectPstnDto.java @@ -40,6 +40,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectPstnDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `connectPstn`. */ public enum NameEnum { CONNECTPSTN("connectPstn"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectSipDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectSipDto.java index 5c7bb913..5b59ee5a 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectSipDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionConnectSipDto.java @@ -40,6 +40,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionConnectSipDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `connectSip`. */ public enum NameEnum { CONNECTSIP("connectSip"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionContinueDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionContinueDto.java index b8785fca..04bdfd0d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionContinueDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionContinueDto.java @@ -29,6 +29,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionContinueDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `continue`. */ public enum NameEnum { CONTINUE("continue"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionDto.java index 710d1ee3..ce3184d8 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionDto.java @@ -35,10 +35,12 @@ @JsonDeserialize(using = SvamlActionDto.SvamlActionDtoDeserializer.class) @JsonSerialize(using = SvamlActionDto.SvamlActionDtoSerializer.class) -public class SvamlActionDto extends AbstractOpenApiSchema { +public final class SvamlActionDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SvamlActionDto.class.getName()); - public static class SvamlActionDtoSerializer extends StdSerializer { + public static final class SvamlActionDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public SvamlActionDtoSerializer(Class t) { super(t); } @@ -54,7 +56,9 @@ public void serialize(SvamlActionDto value, JsonGenerator jgen, SerializerProvid } } - public static class SvamlActionDtoDeserializer extends StdDeserializer { + public static final class SvamlActionDtoDeserializer extends StdDeserializer { + private static final long serialVersionUID = 1L; + public SvamlActionDtoDeserializer() { this(SvamlActionDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionHangupDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionHangupDto.java index 4ca2e8c3..2f3d052f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionHangupDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionHangupDto.java @@ -32,6 +32,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionHangupDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `hangup`. */ public enum NameEnum { HANGUP("hangup"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionParkDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionParkDto.java index 39adca32..fb9331ef 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionParkDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionParkDto.java @@ -37,6 +37,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionParkDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `park`. */ public enum NameEnum { PARK("park"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionRunMenuDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionRunMenuDto.java index 21bf3cce..180907f3 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionRunMenuDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlActionRunMenuDto.java @@ -45,6 +45,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlActionRunMenuDto { + private static final long serialVersionUID = 1L; + /** The name property. Must have the value `runMenu`. */ public enum NameEnum { RUNMENU("runMenu"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionAnswerDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionAnswerDto.java index 222a2a12..09fc11ce 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionAnswerDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionAnswerDto.java @@ -26,6 +26,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionAnswerDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `answer`. */ public enum NameEnum { ANSWER("answer"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionDto.java index 8bb69272..291d36b6 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionDto.java @@ -35,10 +35,13 @@ @JsonDeserialize(using = SvamlInstructionDto.SvamlInstructionDtoDeserializer.class) @JsonSerialize(using = SvamlInstructionDto.SvamlInstructionDtoSerializer.class) -public class SvamlInstructionDto extends AbstractOpenApiSchema { +public final class SvamlInstructionDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(SvamlInstructionDto.class.getName()); - public static class SvamlInstructionDtoSerializer extends StdSerializer { + public static final class SvamlInstructionDtoSerializer + extends StdSerializer { + private static final long serialVersionUID = 1L; + public SvamlInstructionDtoSerializer(Class t) { super(t); } @@ -55,7 +58,10 @@ public void serialize( } } - public static class SvamlInstructionDtoDeserializer extends StdDeserializer { + public static final class SvamlInstructionDtoDeserializer + extends StdDeserializer { + private static final long serialVersionUID = 1L; + public SvamlInstructionDtoDeserializer() { this(SvamlInstructionDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionPlayFilesDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionPlayFilesDto.java index 341e2250..156fa852 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionPlayFilesDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionPlayFilesDto.java @@ -35,6 +35,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionPlayFilesDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `playFiles`. */ public enum NameEnum { PLAYFILES("playFiles"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSayDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSayDto.java index 3e43ddbe..4b22bcfb 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSayDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSayDto.java @@ -33,6 +33,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionSayDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `say`. */ public enum NameEnum { SAY("say"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSendDtmfDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSendDtmfDto.java index d987f98a..e231db5f 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSendDtmfDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSendDtmfDto.java @@ -29,6 +29,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionSendDtmfDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `sendDtmf`. */ public enum NameEnum { SENDDTMF("sendDtmf"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSetCookieDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSetCookieDto.java index 3b8f3e37..7765f5f4 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSetCookieDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionSetCookieDto.java @@ -30,6 +30,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionSetCookieDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `setCookie`. */ public enum NameEnum { SETCOOKIE("setCookie"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingDto.java index 683764e2..57147b13 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingDto.java @@ -29,6 +29,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionStartRecordingDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `startRecording`. */ public enum NameEnum { STARTRECORDING("startRecording"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsDto.java index 586a098d..0d115a67 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionStartRecordingOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_DESTINATION_URL = "destinationUrl"; private String destinationUrl; private boolean destinationUrlDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsTranscriptionOptionsDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsTranscriptionOptionsDto.java index 2bc71ce9..42b1ad0b 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsTranscriptionOptionsDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStartRecordingOptionsTranscriptionOptionsDto.java @@ -27,6 +27,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionStartRecordingOptionsTranscriptionOptionsDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_ENABLED = "enabled"; private Boolean enabled; private boolean enabledDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStopRecordingDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStopRecordingDto.java index f3701464..1c050c39 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStopRecordingDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/SvamlInstructionStopRecordingDto.java @@ -26,6 +26,8 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class SvamlInstructionStopRecordingDto { + private static final long serialVersionUID = 1L; + /** The `name` property. Must have the value `stopRecording`. */ public enum NameEnum { STOPRECORDING("stopRecording"), diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/TtsCalloutRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/TtsCalloutRequestDto.java index cefcf0b8..fa43eba7 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/TtsCalloutRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/TtsCalloutRequestDto.java @@ -39,6 +39,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class TtsCalloutRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_DESTINATION = "destination"; private DestinationDto destination; private boolean destinationDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UnassignNumbersDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UnassignNumbersDto.java index 0e841118..3590399e 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UnassignNumbersDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UnassignNumbersDto.java @@ -30,6 +30,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UnassignNumbersDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBER = "number"; private String number; private boolean numberDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UpdateNumbersDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UpdateNumbersDto.java index fd33acf6..812b0fd1 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UpdateNumbersDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/UpdateNumbersDto.java @@ -32,6 +32,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class UpdateNumbersDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_NUMBERS = "numbers"; private List numbers; private boolean numbersDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksCallEventRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksCallEventRequestDto.java index 96132adb..657a9c7d 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksCallEventRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksCallEventRequestDto.java @@ -29,6 +29,7 @@ @JsonFilter("uninitializedFilter") @JsonInclude(value = JsonInclude.Include.CUSTOM) public class WebhooksCallEventRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_TIMESTAMP = "timestamp"; private OffsetDateTime timestamp; private boolean timestampDefined = false; diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventDto.java index c7c9fc74..d839ce04 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventDto.java @@ -38,10 +38,12 @@ @JsonDeserialize(using = WebhooksEventDto.WebhooksEventDtoDeserializer.class) @JsonSerialize(using = WebhooksEventDto.WebhooksEventDtoSerializer.class) -public class WebhooksEventDto extends AbstractOpenApiSchema { +public final class WebhooksEventDto extends AbstractOpenApiSchema { private static final Logger log = Logger.getLogger(WebhooksEventDto.class.getName()); - public static class WebhooksEventDtoSerializer extends StdSerializer { + public static final class WebhooksEventDtoSerializer extends StdSerializer { + private static final long serialVersionUID = 1L; + public WebhooksEventDtoSerializer(Class t) { super(t); } @@ -57,7 +59,10 @@ public void serialize(WebhooksEventDto value, JsonGenerator jgen, SerializerProv } } - public static class WebhooksEventDtoDeserializer extends StdDeserializer { + public static final class WebhooksEventDtoDeserializer extends StdDeserializer { + + private static final long serialVersionUID = 1L; + public WebhooksEventDtoDeserializer() { this(WebhooksEventDto.class); } diff --git a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventRequestDto.java b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventRequestDto.java index f3bae9c6..d6594fce 100644 --- a/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventRequestDto.java +++ b/openapi-contracts/src/main/com/sinch/sdk/domains/voice/models/dto/v1/WebhooksEventRequestDto.java @@ -50,6 +50,7 @@ @JsonSubTypes.Type(value = PieRequestDto.class, name = "pieRequest"), }) public class WebhooksEventRequestDto { + private static final long serialVersionUID = 1L; public static final String JSON_PROPERTY_EVENT = "event"; private String event; private boolean eventDefined = false; From 23ba78487ee053fd9b9f28e6a65a40ba7b69e6a6 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Portier Date: Tue, 6 Feb 2024 09:28:47 +0100 Subject: [PATCH 3/3] build: Fix 'The encoding used to copy filtered properties files have not been set' warning --- pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index 7c7ffde6..f411a3d5 100644 --- a/pom.xml +++ b/pom.xml @@ -92,6 +92,13 @@ + + maven-resources-plugin + 3.3.1 + + UTF-8 + + org.apache.maven.plugins maven-javadoc-plugin