From 026bd8dcfbd641ad0bf145561232898cca0d4f0c Mon Sep 17 00:00:00 2001 From: amitsendinblue Date: Fri, 12 Mar 2021 18:24:14 +0530 Subject: [PATCH] v5.2.0 --- README.md | 11 +- build.gradle | 2 +- build.sbt | 2 +- docs/ContactsApi.md | 36 +-- docs/CreateEmailCampaign.md | 2 +- docs/CreateSmsCampaign.md | 2 +- docs/CreateSmtpEmail.md | 3 +- docs/EmailCampaignsApi.md | 12 +- docs/FoldersApi.md | 8 +- docs/GetAccountPlan.md | 4 +- docs/GetCampaignOverview.md | 2 +- docs/GetContactCampaignStatsOpened.md | 2 +- ...etContactCampaignStatsTransacAttributes.md | 2 +- docs/GetContactDetails.md | 4 +- docs/GetEmailCampaign.md | 8 +- docs/GetEmailEventReportEvents.md | 2 +- docs/GetExtendedCampaignOverview.md | 8 +- docs/GetExtendedContactDetails.md | 4 +- ...etExtendedContactDetailsStatisticsLinks.md | 2 +- ...dedContactDetailsStatisticsMessagesSent.md | 2 +- ...tExtendedContactDetailsStatisticsOpened.md | 2 +- ...sticsUnsubscriptionsAdminUnsubscription.md | 2 +- ...isticsUnsubscriptionsUserUnsubscription.md | 2 +- docs/GetExtendedList.md | 2 +- docs/GetReportsReports.md | 2 +- docs/GetSmsCampaign.md | 6 +- docs/GetSmsCampaignOverview.md | 6 +- docs/GetSmsEventReportEvents.md | 2 +- docs/GetSmtpTemplateOverview.md | 4 +- docs/GetTransacBlockedContactsContacts.md | 2 +- docs/GetTransacEmailContent.md | 2 +- docs/GetTransacEmailContentEvents.md | 2 +- ...GetTransacEmailsListTransactionalEmails.md | 2 +- docs/GetTransacSmsReportReports.md | 2 +- docs/GetWebhook.md | 4 +- docs/ListsApi.md | 16 +- docs/ProcessApi.md | 4 +- docs/SendSmtpEmail.md | 5 +- docs/SendSmtpEmailMessageVersions.md | 15 ++ docs/SendSmtpEmailReplyTo1.md | 11 + docs/SendSmtpEmailTo1.md | 11 + docs/SmsCampaignsApi.md | 12 +- docs/TransactionalEmailsApi.md | 40 +-- docs/TransactionalSmsApi.md | 20 +- docs/UpdateEmailCampaign.md | 2 +- docs/UpdateSmsCampaign.md | 2 +- pom.xml | 2 +- src/main/java/sendinblue/ApiClient.java | 126 ++++----- src/main/java/sendinblue/ApiException.java | 2 +- src/main/java/sendinblue/Configuration.java | 2 +- src/main/java/sendinblue/Pair.java | 2 +- src/main/java/sendinblue/StringUtil.java | 2 +- src/main/java/sendinblue/auth/ApiKeyAuth.java | 2 +- src/main/java/sendinblue/auth/OAuth.java | 2 +- src/main/java/sibApi/ContactsApi.java | 70 ++--- src/main/java/sibApi/EmailCampaignsApi.java | 18 +- src/main/java/sibApi/FoldersApi.java | 16 +- src/main/java/sibApi/ListsApi.java | 34 +-- src/main/java/sibApi/ProcessApi.java | 8 +- src/main/java/sibApi/SmsCampaignsApi.java | 18 +- .../java/sibApi/TransactionalEmailsApi.java | 80 +++--- src/main/java/sibApi/TransactionalSmsApi.java | 46 ++-- .../java/sibModel/AbTestCampaignResult.java | 2 +- .../AbTestCampaignResultClickedLinks.java | 2 +- .../AbTestCampaignResultStatistics.java | 2 +- .../java/sibModel/AbTestVersionClicks.java | 2 +- .../sibModel/AbTestVersionClicksInner.java | 2 +- .../java/sibModel/AbTestVersionStats.java | 2 +- src/main/java/sibModel/AddChildDomain.java | 2 +- src/main/java/sibModel/AddContactToList.java | 2 +- src/main/java/sibModel/AddCredits.java | 2 +- src/main/java/sibModel/BlockDomain.java | 2 +- src/main/java/sibModel/CreateAttribute.java | 2 +- .../sibModel/CreateAttributeEnumeration.java | 2 +- src/main/java/sibModel/CreateChild.java | 2 +- src/main/java/sibModel/CreateContact.java | 2 +- src/main/java/sibModel/CreateDoiContact.java | 2 +- .../java/sibModel/CreateEmailCampaign.java | 10 +- .../CreateEmailCampaignRecipients.java | 2 +- .../sibModel/CreateEmailCampaignSender.java | 2 +- src/main/java/sibModel/CreateList.java | 2 +- src/main/java/sibModel/CreateModel.java | 2 +- src/main/java/sibModel/CreateReseller.java | 2 +- src/main/java/sibModel/CreateSender.java | 2 +- src/main/java/sibModel/CreateSenderIps.java | 2 +- src/main/java/sibModel/CreateSenderModel.java | 2 +- src/main/java/sibModel/CreateSmsCampaign.java | 10 +- .../sibModel/CreateSmsCampaignRecipients.java | 2 +- src/main/java/sibModel/CreateSmtpEmail.java | 41 ++- .../java/sibModel/CreateSmtpTemplate.java | 2 +- .../sibModel/CreateSmtpTemplateSender.java | 2 +- .../sibModel/CreateUpdateContactModel.java | 2 +- .../java/sibModel/CreateUpdateFolder.java | 2 +- src/main/java/sibModel/CreateWebhook.java | 2 +- src/main/java/sibModel/CreatedProcessId.java | 2 +- src/main/java/sibModel/DeleteHardbounces.java | 2 +- .../java/sibModel/EmailExportRecipients.java | 2 +- src/main/java/sibModel/ErrorModel.java | 2 +- src/main/java/sibModel/GetAccount.java | 2 +- .../GetAccountMarketingAutomation.java | 2 +- src/main/java/sibModel/GetAccountPlan.java | 2 +- src/main/java/sibModel/GetAccountRelay.java | 2 +- .../java/sibModel/GetAccountRelayData.java | 2 +- .../java/sibModel/GetAggregatedReport.java | 2 +- src/main/java/sibModel/GetAttributes.java | 2 +- .../sibModel/GetAttributesAttributes.java | 2 +- .../sibModel/GetAttributesEnumeration.java | 2 +- src/main/java/sibModel/GetBlockedDomains.java | 2 +- .../java/sibModel/GetCampaignOverview.java | 10 +- .../java/sibModel/GetCampaignRecipients.java | 2 +- src/main/java/sibModel/GetCampaignStats.java | 2 +- .../GetChildAccountCreationStatus.java | 2 +- src/main/java/sibModel/GetChildDomain.java | 2 +- src/main/java/sibModel/GetChildDomains.java | 2 +- src/main/java/sibModel/GetChildInfo.java | 2 +- .../java/sibModel/GetChildInfoApiKeys.java | 2 +- .../java/sibModel/GetChildInfoApiKeysV2.java | 2 +- .../java/sibModel/GetChildInfoApiKeysV3.java | 2 +- .../java/sibModel/GetChildInfoCredits.java | 2 +- .../java/sibModel/GetChildInfoStatistics.java | 2 +- src/main/java/sibModel/GetChildrenList.java | 2 +- src/main/java/sibModel/GetClient.java | 2 +- .../sibModel/GetContactCampaignStats.java | 2 +- .../GetContactCampaignStatsClicked.java | 2 +- .../GetContactCampaignStatsOpened.java | 10 +- ...ContactCampaignStatsTransacAttributes.java | 2 +- ...etContactCampaignStatsUnsubscriptions.java | 2 +- src/main/java/sibModel/GetContactDetails.java | 18 +- src/main/java/sibModel/GetContacts.java | 2 +- .../java/sibModel/GetDeviceBrowserStats.java | 2 +- src/main/java/sibModel/GetEmailCampaign.java | 34 +-- src/main/java/sibModel/GetEmailCampaigns.java | 2 +- .../java/sibModel/GetEmailEventReport.java | 2 +- .../sibModel/GetEmailEventReportEvents.java | 10 +- .../sibModel/GetExtendedCampaignOverview.java | 34 +-- .../GetExtendedCampaignOverviewSender.java | 2 +- .../sibModel/GetExtendedCampaignStats.java | 2 +- src/main/java/sibModel/GetExtendedClient.java | 2 +- .../sibModel/GetExtendedClientAddress.java | 2 +- .../sibModel/GetExtendedContactDetails.java | 18 +- .../GetExtendedContactDetailsStatistics.java | 2 +- ...tendedContactDetailsStatisticsClicked.java | 2 +- ...ExtendedContactDetailsStatisticsLinks.java | 10 +- ...dContactDetailsStatisticsMessagesSent.java | 10 +- ...xtendedContactDetailsStatisticsOpened.java | 10 +- ...ntactDetailsStatisticsUnsubscriptions.java | 2 +- ...icsUnsubscriptionsAdminUnsubscription.java | 10 +- ...ticsUnsubscriptionsUserUnsubscription.java | 10 +- src/main/java/sibModel/GetExtendedList.java | 10 +- .../GetExtendedListCampaignStats.java | 2 +- src/main/java/sibModel/GetFolder.java | 2 +- src/main/java/sibModel/GetFolderLists.java | 2 +- src/main/java/sibModel/GetFolders.java | 2 +- src/main/java/sibModel/GetIp.java | 2 +- src/main/java/sibModel/GetIpFromSender.java | 2 +- src/main/java/sibModel/GetIps.java | 2 +- src/main/java/sibModel/GetIpsFromSender.java | 2 +- src/main/java/sibModel/GetList.java | 2 +- src/main/java/sibModel/GetLists.java | 2 +- src/main/java/sibModel/GetProcess.java | 2 +- src/main/java/sibModel/GetProcesses.java | 2 +- src/main/java/sibModel/GetReports.java | 2 +- src/main/java/sibModel/GetReportsReports.java | 2 +- src/main/java/sibModel/GetSendersList.java | 2 +- src/main/java/sibModel/GetSendersListIps.java | 2 +- .../java/sibModel/GetSendersListSenders.java | 2 +- .../java/sibModel/GetSharedTemplateUrl.java | 2 +- src/main/java/sibModel/GetSmsCampaign.java | 26 +- .../java/sibModel/GetSmsCampaignOverview.java | 26 +- .../java/sibModel/GetSmsCampaignStats.java | 2 +- src/main/java/sibModel/GetSmsCampaigns.java | 2 +- src/main/java/sibModel/GetSmsEventReport.java | 2 +- .../sibModel/GetSmsEventReportEvents.java | 10 +- .../sibModel/GetSmtpTemplateOverview.java | 18 +- .../GetSmtpTemplateOverviewSender.java | 2 +- src/main/java/sibModel/GetSmtpTemplates.java | 2 +- src/main/java/sibModel/GetSsoToken.java | 2 +- src/main/java/sibModel/GetStatsByBrowser.java | 2 +- src/main/java/sibModel/GetStatsByDevice.java | 2 +- src/main/java/sibModel/GetStatsByDomain.java | 2 +- .../GetTransacAggregatedSmsReport.java | 2 +- .../sibModel/GetTransacBlockedContacts.java | 2 +- .../GetTransacBlockedContactsContacts.java | 10 +- .../GetTransacBlockedContactsReason.java | 2 +- .../java/sibModel/GetTransacEmailContent.java | 10 +- .../GetTransacEmailContentEvents.java | 10 +- .../java/sibModel/GetTransacEmailsList.java | 2 +- ...tTransacEmailsListTransactionalEmails.java | 10 +- .../java/sibModel/GetTransacSmsReport.java | 2 +- .../sibModel/GetTransacSmsReportReports.java | 2 +- src/main/java/sibModel/GetWebhook.java | 18 +- src/main/java/sibModel/GetWebhooks.java | 2 +- src/main/java/sibModel/ManageIp.java | 2 +- src/main/java/sibModel/PostContactInfo.java | 2 +- .../sibModel/PostContactInfoContacts.java | 2 +- src/main/java/sibModel/PostSendFailed.java | 2 +- .../java/sibModel/PostSendSmsTestFailed.java | 2 +- .../java/sibModel/RemainingCreditModel.java | 2 +- .../sibModel/RemainingCreditModelChild.java | 2 +- .../RemainingCreditModelReseller.java | 2 +- .../java/sibModel/RemoveContactFromList.java | 2 +- src/main/java/sibModel/RemoveCredits.java | 2 +- .../java/sibModel/RequestContactExport.java | 2 +- ...questContactExportCustomContactFilter.java | 2 +- .../java/sibModel/RequestContactImport.java | 2 +- .../sibModel/RequestContactImportNewList.java | 2 +- .../sibModel/RequestSmsRecipientExport.java | 2 +- src/main/java/sibModel/SendEmail.java | 2 +- .../java/sibModel/SendEmailAttachment.java | 2 +- src/main/java/sibModel/SendReport.java | 2 +- src/main/java/sibModel/SendReportEmail.java | 2 +- src/main/java/sibModel/SendSms.java | 2 +- src/main/java/sibModel/SendSmtpEmail.java | 49 +++- .../sibModel/SendSmtpEmailAttachment.java | 2 +- src/main/java/sibModel/SendSmtpEmailBcc.java | 2 +- src/main/java/sibModel/SendSmtpEmailCc.java | 2 +- .../SendSmtpEmailMessageVersions.java | 245 ++++++++++++++++++ .../java/sibModel/SendSmtpEmailReplyTo.java | 2 +- .../java/sibModel/SendSmtpEmailReplyTo1.java | 117 +++++++++ .../java/sibModel/SendSmtpEmailSender.java | 2 +- src/main/java/sibModel/SendSmtpEmailTo.java | 2 +- src/main/java/sibModel/SendSmtpEmailTo1.java | 116 +++++++++ src/main/java/sibModel/SendTemplateEmail.java | 2 +- src/main/java/sibModel/SendTestEmail.java | 2 +- src/main/java/sibModel/SendTestSms.java | 2 +- src/main/java/sibModel/SendTransacSms.java | 2 +- src/main/java/sibModel/UpdateAttribute.java | 2 +- .../sibModel/UpdateAttributeEnumeration.java | 2 +- .../java/sibModel/UpdateCampaignStatus.java | 2 +- src/main/java/sibModel/UpdateChild.java | 2 +- .../sibModel/UpdateChildAccountStatus.java | 2 +- src/main/java/sibModel/UpdateChildDomain.java | 2 +- src/main/java/sibModel/UpdateContact.java | 2 +- .../java/sibModel/UpdateEmailCampaign.java | 10 +- .../UpdateEmailCampaignRecipients.java | 2 +- .../sibModel/UpdateEmailCampaignSender.java | 2 +- src/main/java/sibModel/UpdateList.java | 2 +- src/main/java/sibModel/UpdateSender.java | 2 +- src/main/java/sibModel/UpdateSmsCampaign.java | 10 +- .../java/sibModel/UpdateSmtpTemplate.java | 2 +- .../sibModel/UpdateSmtpTemplateSender.java | 2 +- src/main/java/sibModel/UpdateWebhook.java | 2 +- .../java/sibModel/UploadImageToGallery.java | 2 +- src/test/java/sibApi/ContactsApiTest.java | 8 +- .../java/sibApi/EmailCampaignsApiTest.java | 4 +- src/test/java/sibApi/ListsApiTest.java | 2 +- src/test/java/sibApi/SmsCampaignsApiTest.java | 4 +- .../sibApi/TransactionalEmailsApiTest.java | 10 +- .../java/sibApi/TransactionalSmsApiTest.java | 6 +- 249 files changed, 1295 insertions(+), 707 deletions(-) create mode 100644 docs/SendSmtpEmailMessageVersions.md create mode 100644 docs/SendSmtpEmailReplyTo1.md create mode 100644 docs/SendSmtpEmailTo1.md create mode 100644 src/main/java/sibModel/SendSmtpEmailMessageVersions.java create mode 100644 src/main/java/sibModel/SendSmtpEmailReplyTo1.java create mode 100644 src/main/java/sibModel/SendSmtpEmailTo1.java diff --git a/README.md b/README.md index 817b9f2..3152d41 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Add this dependency to your project's POM: com.sendinblue sib-api-v3-sdk - 5.1.0 + 5.2.0 compile ``` @@ -32,7 +32,7 @@ Add this dependency to your project's POM: Add this dependency to your project's build file: ```groovy -compile "com.sendinblue:sib-api-v3-sdk:5.1.0" +compile "com.sendinblue:sib-api-v3-sdk:5.2.0" ``` ### Others @@ -40,12 +40,12 @@ compile "com.sendinblue:sib-api-v3-sdk:5.1.0" At first generate the JAR by executing: ```shell - mvn package +mvn package ``` Then manually install the following JARs: -* `target/sib-api-v3-sdk-5.1.0.jar` +* `target/sib-api-v3-sdk-5.2.0.jar` * `target/lib/*.jar` ## Getting Started @@ -371,9 +371,12 @@ Class | Method | HTTP request | Description - [SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md) - [SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md) - [SendSmtpEmailCc](docs/SendSmtpEmailCc.md) + - [SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md) - [SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md) + - [SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md) - [SendSmtpEmailSender](docs/SendSmtpEmailSender.md) - [SendSmtpEmailTo](docs/SendSmtpEmailTo.md) + - [SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md) - [SendTemplateEmail](docs/SendTemplateEmail.md) - [SendTestEmail](docs/SendTestEmail.md) - [SendTestSms](docs/SendTestSms.md) diff --git a/build.gradle b/build.gradle index 586a04e..9ca7eb4 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.sendinblue' -version = '5.1.0' +version = '5.2.0' buildscript { repositories { diff --git a/build.sbt b/build.sbt index a704c91..6be8c07 100644 --- a/build.sbt +++ b/build.sbt @@ -2,7 +2,7 @@ lazy val root = (project in file(".")). settings( organization := "com.sendinblue", name := "sib-api-v3-sdk", - version := "5.1.0", + version := "5.2.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index dd2d250..544f2dc 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -770,8 +770,8 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ContactsApi apiInstance = new ContactsApi(); String identifier = "identifier_example"; // String | Email (urlencoded) OR ID of the contact -LocalDate startDate = LocalDate.now(); // LocalDate | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate -LocalDate endDate = LocalDate.now(); // LocalDate | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate +String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate +String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate try { GetContactCampaignStats result = apiInstance.getContactStats(identifier, startDate, endDate); System.out.println(result); @@ -786,8 +786,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **identifier** | **String**| Email (urlencoded) OR ID of the contact | - **startDate** | **LocalDate**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional] - **endDate** | **LocalDate**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional] + **startDate** | **String**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional] + **endDate** | **String**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional] ### Return type @@ -834,8 +834,8 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ContactsApi apiInstance = new ContactsApi(); Long limit = 50L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -OffsetDateTime modifiedSince = OffsetDateTime.now(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String modifiedSince = "modifiedSince_example"; // String | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetContacts result = apiInstance.getContacts(limit, offset, modifiedSince, sort); System.out.println(result); @@ -851,8 +851,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number of documents per page | [optional] [default to 50] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **modifiedSince** | **OffsetDateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **modifiedSince** | **String**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -898,10 +898,10 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ContactsApi apiInstance = new ContactsApi(); Long listId = 789L; // Long | Id of the list -OffsetDateTime modifiedSince = OffsetDateTime.now(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. +String modifiedSince = "modifiedSince_example"; // String | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. Long limit = 50L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetContacts result = apiInstance.getContactsFromList(listId, modifiedSince, limit, offset, sort); System.out.println(result); @@ -916,10 +916,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **Long**| Id of the list | - **modifiedSince** | **OffsetDateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **modifiedSince** | **String**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] **limit** | **Long**| Number of documents per page | [optional] [default to 50] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -1026,7 +1026,7 @@ ContactsApi apiInstance = new ContactsApi(); Long folderId = 789L; // Long | Id of the folder Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetFolderLists result = apiInstance.getFolderLists(folderId, limit, offset, sort); System.out.println(result); @@ -1043,7 +1043,7 @@ Name | Type | Description | Notes **folderId** | **Long**| Id of the folder | **limit** | **Long**| Number of documents per page | [optional] [default to 10] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -1090,7 +1090,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ContactsApi apiInstance = new ContactsApi(); Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetFolders result = apiInstance.getFolders(limit, offset, sort); System.out.println(result); @@ -1106,7 +1106,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number of documents per page | [default to 10] **offset** | **Long**| Index of the first document of the page | [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -1212,7 +1212,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ContactsApi apiInstance = new ContactsApi(); Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetLists result = apiInstance.getLists(limit, offset, sort); System.out.println(result); @@ -1228,7 +1228,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number of documents per page | [optional] [default to 10] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md index 682173b..227aaf2 100644 --- a/docs/CreateEmailCampaign.md +++ b/docs/CreateEmailCampaign.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **htmlContent** | **String** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional] **htmlUrl** | **String** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional] **templateId** | **Long** | Mandatory if htmlContent and htmlUrl are empty. Id of the transactional email template with status 'active'. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional] -**scheduledAt** | [**OffsetDateTime**] | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] +**scheduledAt** | **String** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] **subject** | **String** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional] **replyTo** | **String** | Email on which the campaign recipients will be able to reply to | [optional] **toField** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] diff --git a/docs/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md index b25411f..84d6794 100644 --- a/docs/CreateSmsCampaign.md +++ b/docs/CreateSmsCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **sender** | **String** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** | **content** | **String** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | **recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] +**scheduledAt** | **String** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] diff --git a/docs/CreateSmtpEmail.md b/docs/CreateSmtpEmail.md index 879f164..29e7219 100644 --- a/docs/CreateSmtpEmail.md +++ b/docs/CreateSmtpEmail.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**messageId** | **String** | Message ID of the transactional email sent | +**messageId** | **String** | Message ID of the transactional email sent | [optional] +**messageIds** | **List<String>** | | [optional] diff --git a/docs/EmailCampaignsApi.md b/docs/EmailCampaignsApi.md index 0adbefb..25fe2ef 100644 --- a/docs/EmailCampaignsApi.md +++ b/docs/EmailCampaignsApi.md @@ -349,11 +349,11 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); EmailCampaignsApi apiInstance = new EmailCampaignsApi(); String type = "type_example"; // String | Filter on the type of the campaigns String status = "status_example"; // String | Filter on the status of the campaign -OffsetDateTime startDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) -OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) +String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) +String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) Long limit = 500L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document in the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetEmailCampaigns result = apiInstance.getEmailCampaigns(type, status, startDate, endDate, limit, offset, sort); System.out.println(result); @@ -369,11 +369,11 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **type** | **String**| Filter on the type of the campaigns | [optional] [enum: classic, trigger] **status** | **String**| Filter on the status of the campaign | [optional] [enum: suspended, archive, sent, queued, draft, inProcess] - **startDate** | **OffsetDateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] - **endDate** | **OffsetDateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **startDate** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **endDate** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] **limit** | **Long**| Number of documents per page | [optional] [default to 500] **offset** | **Long**| Index of the first document in the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/FoldersApi.md b/docs/FoldersApi.md index 71166c0..7905262 100644 --- a/docs/FoldersApi.md +++ b/docs/FoldersApi.md @@ -221,7 +221,7 @@ FoldersApi apiInstance = new FoldersApi(); Long folderId = 789L; // Long | Id of the folder Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetFolderLists result = apiInstance.getFolderLists(folderId, limit, offset, sort); System.out.println(result); @@ -238,7 +238,7 @@ Name | Type | Description | Notes **folderId** | **Long**| Id of the folder | **limit** | **Long**| Number of documents per page | [optional] [default to 10] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -285,7 +285,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); FoldersApi apiInstance = new FoldersApi(); Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetFolders result = apiInstance.getFolders(limit, offset, sort); System.out.println(result); @@ -301,7 +301,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number of documents per page | [default to 10] **offset** | **Long**| Index of the first document of the page | [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/GetAccountPlan.md b/docs/GetAccountPlan.md index 71c592a..2d62513 100644 --- a/docs/GetAccountPlan.md +++ b/docs/GetAccountPlan.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **type** | [**TypeEnum**](#TypeEnum) | Displays the plan type of the user | **creditsType** | [**CreditsTypeEnum**](#CreditsTypeEnum) | This is the type of the credit, "Send Limit" is one of the possible types of credit of a user. "Send Limit" implies the total number of emails you can send to the subscribers in your account. | **credits** | **Float** | Remaining credits of the user | -**startDate** | [**LocalDate**] | Date of the period from which the plan will start (only available for "subscription" and "reseller" plan type) | [optional] -**endDate** | [**LocalDate**] | Date of the period from which the plan will end (only available for "subscription" and "reseller" plan type) | [optional] +**startDate** | [**LocalDate**] | Date of the period from which the plan will start (only available for "subscription" and "reseller" plan type) | [optional] +**endDate** | [**LocalDate**] | Date of the period from which the plan will end (only available for "subscription" and "reseller" plan type) | [optional] **userLimit** | **Integer** | Only in case of reseller account. It implies the total number of child accounts you can add to your account. | [optional] diff --git a/docs/GetCampaignOverview.md b/docs/GetCampaignOverview.md index f6d4aac..04f49c1 100644 --- a/docs/GetCampaignOverview.md +++ b/docs/GetCampaignOverview.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **abTesting** | **Boolean** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **subjectA** | **String** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **subjectB** | **String** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] diff --git a/docs/GetContactCampaignStatsOpened.md b/docs/GetContactCampaignStatsOpened.md index 0f52122..d671166 100644 --- a/docs/GetContactCampaignStatsOpened.md +++ b/docs/GetContactCampaignStatsOpened.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **Long** | ID of the campaign which generated the event | **count** | **Long** | Number of openings of the campaign | -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | **ip** | **String** | IP from which the user has opened the campaign | diff --git a/docs/GetContactCampaignStatsTransacAttributes.md b/docs/GetContactCampaignStatsTransacAttributes.md index 24a8847..5176d41 100644 --- a/docs/GetContactCampaignStatsTransacAttributes.md +++ b/docs/GetContactCampaignStatsTransacAttributes.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**orderDate** | [**LocalDate**] | Date of the order | +**orderDate** | [**LocalDate**] | Date of the order | **orderPrice** | **Float** | Price of the order | **orderId** | **Long** | ID of the order | diff --git a/docs/GetContactDetails.md b/docs/GetContactDetails.md index 76686b6..82ae0e6 100644 --- a/docs/GetContactDetails.md +++ b/docs/GetContactDetails.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **id** | **Long** | ID of the contact for which you requested the details | **emailBlacklisted** | **Boolean** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **smsBlacklisted** | **Boolean** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **listIds** | **List<Long>** | | **listUnsubscribed** | **List<Long>** | | [optional] **attributes** | **Object** | Set of attributes of the contact | diff --git a/docs/GetEmailCampaign.md b/docs/GetEmailCampaign.md index 000e7fa..58c6bf9 100644 --- a/docs/GetEmailCampaign.md +++ b/docs/GetEmailCampaign.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **abTesting** | **Boolean** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **subjectA** | **String** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **subjectB** | **String** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] @@ -26,12 +26,12 @@ Name | Type | Description | Notes **htmlContent** | **String** | HTML content of the campaign | **shareLink** | **String** | Link to share the campaign on social medias | [optional] **tag** | **String** | Tag of the campaign | [optional] -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **inlineImageActivation** | **Boolean** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirrorActive** | **Boolean** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional] **recurring** | **Boolean** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times | [optional] -**sentDate** | [**OffsetDateTime**] | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] +**sentDate** | **String** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] **returnBounce** | **Long** | Total number of non-delivered campaigns for a particular campaign id. | [optional] **recipients** | **Object** | | **statistics** | **Object** | | diff --git a/docs/GetEmailEventReportEvents.md b/docs/GetEmailEventReportEvents.md index c33819f..8d8358d 100644 --- a/docs/GetEmailEventReportEvents.md +++ b/docs/GetEmailEventReportEvents.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **String** | Email address which generates the event | -**date** | [**OffsetDateTime**] | UTC date-time on which the event has been generated | +**date** | **String** | UTC date-time on which the event has been generated | **subject** | **String** | Subject of the event | [optional] **messageId** | **String** | Message ID which generated the event | **event** | [**EventEnum**](#EventEnum) | Event which occurred | diff --git a/docs/GetExtendedCampaignOverview.md b/docs/GetExtendedCampaignOverview.md index 25c4210..f514eef 100644 --- a/docs/GetExtendedCampaignOverview.md +++ b/docs/GetExtendedCampaignOverview.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign. Only available if `abTesting` flag of the campaign is `false` | [optional] **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | **String** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **abTesting** | **Boolean** | Status of A/B Test for the campaign. abTesting = false means it is disabled, & abTesting = true means it is enabled. | [optional] **subjectA** | **String** | Subject A of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] **subjectB** | **String** | Subject B of the ab-test campaign. Only available if `abTesting` flag of the campaign is `true` | [optional] @@ -26,12 +26,12 @@ Name | Type | Description | Notes **htmlContent** | **String** | HTML content of the campaign | **shareLink** | **String** | Link to share the campaign on social medias | [optional] **tag** | **String** | Tag of the campaign | [optional] -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **inlineImageActivation** | **Boolean** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirrorActive** | **Boolean** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional] **recurring** | **Boolean** | FOR TRIGGER ONLY ! Type of trigger campaign.recurring = false means contact can receive the same Trigger campaign only once, & recurring = true means contact can receive the same Trigger campaign several times | [optional] -**sentDate** | [**OffsetDateTime**] | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] +**sentDate** | **String** | Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent' | [optional] **returnBounce** | **Long** | Total number of non-delivered campaigns for a particular campaign id. | [optional] diff --git a/docs/GetExtendedContactDetails.md b/docs/GetExtendedContactDetails.md index 579eb3c..88b421d 100644 --- a/docs/GetExtendedContactDetails.md +++ b/docs/GetExtendedContactDetails.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **id** | **Long** | ID of the contact for which you requested the details | **emailBlacklisted** | **Boolean** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **smsBlacklisted** | **Boolean** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **listIds** | **List<Long>** | | **listUnsubscribed** | **List<Long>** | | [optional] **attributes** | **Object** | Set of attributes of the contact | diff --git a/docs/GetExtendedContactDetailsStatisticsLinks.md b/docs/GetExtendedContactDetailsStatisticsLinks.md index c5965cc..5e9fc6a 100644 --- a/docs/GetExtendedContactDetailsStatisticsLinks.md +++ b/docs/GetExtendedContactDetailsStatisticsLinks.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **Long** | Number of clicks on this link for the campaign | -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | **ip** | **String** | IP from which the user has clicked on the link | **url** | **String** | URL of the clicked link | diff --git a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md index 43cd4d5..9411c2e 100644 --- a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +++ b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **Long** | ID of the campaign which generated the event | -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | diff --git a/docs/GetExtendedContactDetailsStatisticsOpened.md b/docs/GetExtendedContactDetailsStatisticsOpened.md index 59cf80b..b105ad3 100644 --- a/docs/GetExtendedContactDetailsStatisticsOpened.md +++ b/docs/GetExtendedContactDetailsStatisticsOpened.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **Long** | ID of the campaign which generated the event | **count** | **Long** | Number of openings for the campaign | -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | **ip** | **String** | IP from which the user has opened the email | diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md index 2185121..bd6c34b 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | **ip** | **String** | IP from which the user has been unsubscribed | [optional] diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md index 09adec1..64c1197 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **Long** | ID of the campaign which generated the event | -**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | +**eventTime** | **String** | UTC date-time of the event | **ip** | **String** | IP from which the user has unsubscribed | [optional] diff --git a/docs/GetExtendedList.md b/docs/GetExtendedList.md index 2d89338..f93cfa9 100644 --- a/docs/GetExtendedList.md +++ b/docs/GetExtendedList.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **totalBlacklisted** | **Long** | Number of blacklisted contacts in the list | **totalSubscribers** | **Long** | Number of contacts in the list | **folderId** | **Long** | ID of the folder | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | **campaignStats** | [**List<GetExtendedListCampaignStats>**](GetExtendedListCampaignStats.md) | | [optional] **dynamicList** | **Boolean** | Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) | [optional] diff --git a/docs/GetReportsReports.md b/docs/GetReportsReports.md index cae2011..203bf9f 100644 --- a/docs/GetReportsReports.md +++ b/docs/GetReportsReports.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**date** | [**LocalDate**] | Date of the statistics | +**date** | [**LocalDate**] | Date of the statistics | **requests** | **Long** | Number of requests for the date | **delivered** | **Long** | Number of delivered emails for the date | **hardBounces** | **Long** | Number of hardbounces for the date | diff --git a/docs/GetSmsCampaign.md b/docs/GetSmsCampaign.md index 23656fd..717d51d 100644 --- a/docs/GetSmsCampaign.md +++ b/docs/GetSmsCampaign.md @@ -8,10 +8,10 @@ Name | Type | Description | Notes **name** | **String** | Name of the SMS Campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the SMS Campaign | **content** | **String** | Content of the SMS Campaign | -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] +**scheduledAt** | **String** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] **sender** | **String** | Sender of the SMS Campaign | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **recipients** | **Object** | | **statistics** | **Object** | | diff --git a/docs/GetSmsCampaignOverview.md b/docs/GetSmsCampaignOverview.md index 0300174..c27b805 100644 --- a/docs/GetSmsCampaignOverview.md +++ b/docs/GetSmsCampaignOverview.md @@ -8,10 +8,10 @@ Name | Type | Description | Notes **name** | **String** | Name of the SMS Campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the SMS Campaign | **content** | **String** | Content of the SMS Campaign | -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] +**scheduledAt** | **String** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | [optional] **sender** | **String** | Sender of the SMS Campaign | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | diff --git a/docs/GetSmsEventReportEvents.md b/docs/GetSmsEventReportEvents.md index 1f15159..ce74982 100644 --- a/docs/GetSmsEventReportEvents.md +++ b/docs/GetSmsEventReportEvents.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **phoneNumber** | **String** | Phone number which has generated the event | [optional] -**date** | [**OffsetDateTime**] | UTC date-time on which the event has been generated | [optional] +**date** | **String** | UTC date-time on which the event has been generated | [optional] **messageId** | **String** | Message ID which generated the event | [optional] **event** | [**EventEnum**](#EventEnum) | Event which occurred | [optional] **reason** | **String** | Reason of bounce (only available if the event is hardbounce or softbounce) | [optional] diff --git a/docs/GetSmtpTemplateOverview.md b/docs/GetSmtpTemplateOverview.md index ba7e644..6fde991 100644 --- a/docs/GetSmtpTemplateOverview.md +++ b/docs/GetSmtpTemplateOverview.md @@ -14,8 +14,8 @@ Name | Type | Description | Notes **toField** | **String** | Customisation of the "to" field for the template | **tag** | **String** | Tag of the template | **htmlContent** | **String** | HTML content of the template | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | **doiTemplate** | **Boolean** | It is true if template is a valid Double opt-in (DOI) template, otherwise it is false. This field will be available only in case of single template detail call. | [optional] diff --git a/docs/GetTransacBlockedContactsContacts.md b/docs/GetTransacBlockedContactsContacts.md index 4c12df2..d6fc43f 100644 --- a/docs/GetTransacBlockedContactsContacts.md +++ b/docs/GetTransacBlockedContactsContacts.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **email** | **String** | Email address of the blocked or unsubscribed contact | **senderEmail** | **String** | Sender email address of the blocked or unsubscribed contact | **reason** | [**GetTransacBlockedContactsReason**](GetTransacBlockedContactsReason.md) | | -**blockedAt** | [**OffsetDateTime**] | Date when the contact was blocked or unsubscribed on | +**blockedAt** | **String** | Date when the contact was blocked or unsubscribed on | diff --git a/docs/GetTransacEmailContent.md b/docs/GetTransacEmailContent.md index 2d7a97a..805f005 100644 --- a/docs/GetTransacEmailContent.md +++ b/docs/GetTransacEmailContent.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **email** | **String** | Email address to which transactional email has been sent | **subject** | **String** | Subject of the sent email | **templateId** | **Long** | Id of the template | [optional] -**date** | [**OffsetDateTime**] | Date on which transactional email was sent | +**date** | **String** | Date on which transactional email was sent | **events** | [**List<GetTransacEmailContentEvents>**](GetTransacEmailContentEvents.md) | Series of events which occurred on the transactional email | **body** | **String** | Actual content of the transactional email that has been sent | **attachmentCount** | **Long** | Count of the attachments that were sent in the email | diff --git a/docs/GetTransacEmailContentEvents.md b/docs/GetTransacEmailContentEvents.md index 88fe325..9060a31 100644 --- a/docs/GetTransacEmailContentEvents.md +++ b/docs/GetTransacEmailContentEvents.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of the event that occurred on the sent email | -**time** | [**OffsetDateTime**] | Time at which the event occurred | +**time** | **String** | Time at which the event occurred | diff --git a/docs/GetTransacEmailsListTransactionalEmails.md b/docs/GetTransacEmailsListTransactionalEmails.md index efbbc45..28b51b3 100644 --- a/docs/GetTransacEmailsListTransactionalEmails.md +++ b/docs/GetTransacEmailsListTransactionalEmails.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **templateId** | **Long** | Id of the template | [optional] **messageId** | **String** | Message Id of the sent email | **uuid** | **String** | Unique id of the email sent to a particular contact | -**date** | [**OffsetDateTime**] | Date on which transactional email was sent | +**date** | **String** | Date on which transactional email was sent | **from** | **String** | Email address of the sender from which the email was sent | [optional] **tags** | **List<String>** | Tags used for your email | [optional] diff --git a/docs/GetTransacSmsReportReports.md b/docs/GetTransacSmsReportReports.md index dfddff1..14293b9 100644 --- a/docs/GetTransacSmsReportReports.md +++ b/docs/GetTransacSmsReportReports.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**date** | [**LocalDate**] | Date for which statistics are retrieved | [optional] +**date** | [**LocalDate**] | Date for which statistics are retrieved | [optional] **requests** | **Long** | Number of requests for the date | [optional] **delivered** | **Long** | Number of delivered SMS for the date | [optional] **hardBounces** | **Long** | Number of hardbounces for the date | [optional] diff --git a/docs/GetWebhook.md b/docs/GetWebhook.md index 1417e88..b7e75ea 100644 --- a/docs/GetWebhook.md +++ b/docs/GetWebhook.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **description** | **String** | Description of the webhook | **events** | **List<String>** | | **type** | [**TypeEnum**](#TypeEnum) | Type of webhook (marketing or transac) | -**createdAt** | [**OffsetDateTime**] | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**] | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | **String** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modifiedAt** | **String** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | diff --git a/docs/ListsApi.md b/docs/ListsApi.md index d5b3858..314da50 100644 --- a/docs/ListsApi.md +++ b/docs/ListsApi.md @@ -224,10 +224,10 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ListsApi apiInstance = new ListsApi(); Long listId = 789L; // Long | Id of the list -OffsetDateTime modifiedSince = OffsetDateTime.now(); // OffsetDateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. +String modifiedSince = "modifiedSince_example"; // String | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. Long limit = 50L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetContacts result = apiInstance.getContactsFromList(listId, modifiedSince, limit, offset, sort); System.out.println(result); @@ -242,10 +242,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **Long**| Id of the list | - **modifiedSince** | **OffsetDateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] + **modifiedSince** | **String**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] **limit** | **Long**| Number of documents per page | [optional] [default to 50] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -293,7 +293,7 @@ ListsApi apiInstance = new ListsApi(); Long folderId = 789L; // Long | Id of the folder Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetFolderLists result = apiInstance.getFolderLists(folderId, limit, offset, sort); System.out.println(result); @@ -310,7 +310,7 @@ Name | Type | Description | Notes **folderId** | **Long**| Id of the folder | **limit** | **Long**| Number of documents per page | [optional] [default to 10] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -416,7 +416,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ListsApi apiInstance = new ListsApi(); Long limit = 10L; // Long | Number of documents per page Long offset = 0L; // Long | Index of the first document of the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetLists result = apiInstance.getLists(limit, offset, sort); System.out.println(result); @@ -432,7 +432,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number of documents per page | [optional] [default to 10] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/ProcessApi.md b/docs/ProcessApi.md index ec4dcfd..ec835a3 100644 --- a/docs/ProcessApi.md +++ b/docs/ProcessApi.md @@ -99,7 +99,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); ProcessApi apiInstance = new ProcessApi(); Long limit = 10L; // Long | Number limitation for the result returned Long offset = 0L; // Long | Beginning point in the list to retrieve from. -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetProcesses result = apiInstance.getProcesses(limit, offset, sort); System.out.println(result); @@ -115,7 +115,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **Long**| Number limitation for the result returned | [optional] [default to 10] **offset** | **Long**| Beginning point in the list to retrieve from. | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md index d7d49e9..c5df15e 100644 --- a/docs/SendSmtpEmail.md +++ b/docs/SendSmtpEmail.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **sender** | [**SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] -**to** | [**List<SendSmtpEmailTo>**](SendSmtpEmailTo.md) | List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | +**to** | [**List<SendSmtpEmailTo>**](SendSmtpEmailTo.md) | Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | [optional] **bcc** | [**List<SendSmtpEmailBcc>**](SendSmtpEmailBcc.md) | List of email addresses and names (optional) of the recipients in bcc | [optional] **cc** | [**List<SendSmtpEmailCc>**](SendSmtpEmailCc.md) | List of email addresses and names (optional) of the recipients in cc | [optional] **htmlContent** | **String** | HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ) | [optional] @@ -14,8 +14,9 @@ Name | Type | Description | Notes **replyTo** | [**SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] **attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the byte array ( Encoded to base64 chunk data at our end ) of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, [{"url":"https://attachment.domain.com/myAttachmentFromUrl.jpg", "name":"My attachment 1.jpg"}, {"content":"byte array exmaple content", "name":"My attachment 2"}]. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional] **headers** | **Object** | Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, `{"sender.ip":"1.2.3.4", "X-Mailin-custom":"some_custom_header"}`. | [optional] -**templateId** | **Long** | Id of the template | [optional] +**templateId** | **Long** | Id of the template. Mandatory if messageVersions are passed | [optional] **params** | **Object** | Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. | [optional] +**messageVersions** | [**List<SendSmtpEmailMessageVersions>**](SendSmtpEmailMessageVersions.md) | You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails | [optional] **tags** | **List<String>** | Tag your emails to find them more easily | [optional] diff --git a/docs/SendSmtpEmailMessageVersions.md b/docs/SendSmtpEmailMessageVersions.md new file mode 100644 index 0000000..172d292 --- /dev/null +++ b/docs/SendSmtpEmailMessageVersions.md @@ -0,0 +1,15 @@ + +# SendSmtpEmailMessageVersions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**to** | [**List<SendSmtpEmailTo1>**](SendSmtpEmailTo1.md) | List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] | +**params** | **Map<String, Object>** | Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. | [optional] +**bcc** | [**List<SendSmtpEmailBcc>**](SendSmtpEmailBcc.md) | List of email addresses and names (optional) of the recipients in bcc | [optional] +**cc** | [**List<SendSmtpEmailCc>**](SendSmtpEmailCc.md) | List of email addresses and names (optional) of the recipients in cc | [optional] +**replyTo** | [**SendSmtpEmailReplyTo1**](SendSmtpEmailReplyTo1.md) | | [optional] +**subject** | **String** | Custom subject specific to message version | [optional] + + + diff --git a/docs/SendSmtpEmailReplyTo1.md b/docs/SendSmtpEmailReplyTo1.md new file mode 100644 index 0000000..8de41d9 --- /dev/null +++ b/docs/SendSmtpEmailReplyTo1.md @@ -0,0 +1,11 @@ + +# SendSmtpEmailReplyTo1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **String** | Email address in reply to | +**name** | **String** | Name in reply to. Maximum allowed characters are 70. | [optional] + + + diff --git a/docs/SendSmtpEmailTo1.md b/docs/SendSmtpEmailTo1.md new file mode 100644 index 0000000..c215440 --- /dev/null +++ b/docs/SendSmtpEmailTo1.md @@ -0,0 +1,11 @@ + +# SendSmtpEmailTo1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **String** | Email address of the recipient | +**name** | **String** | Name of the recipient. **Maximum allowed characters are 70**. | [optional] + + + diff --git a/docs/SmsCampaignsApi.md b/docs/SmsCampaignsApi.md index 784ac5c..971f5fc 100644 --- a/docs/SmsCampaignsApi.md +++ b/docs/SmsCampaignsApi.md @@ -223,11 +223,11 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); SmsCampaignsApi apiInstance = new SmsCampaignsApi(); String status = "status_example"; // String | Status of campaign. -OffsetDateTime startDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) -OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) +String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) +String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) Long limit = 500L; // Long | Number limitation for the result returned Long offset = 0L; // Long | Beginning point in the list to retrieve from. -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetSmsCampaigns result = apiInstance.getSmsCampaigns(status, startDate, endDate, limit, offset, sort); System.out.println(result); @@ -242,11 +242,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **status** | **String**| Status of campaign. | [optional] [enum: suspended, archive, sent, queued, draft, inProcess] - **startDate** | **OffsetDateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] - **endDate** | **OffsetDateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **startDate** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] + **endDate** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) | [optional] **limit** | **Long**| Number limitation for the result returned | [optional] [default to 500] **offset** | **Long**| Beginning point in the list to retrieve from. | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/TransactionalEmailsApi.md b/docs/TransactionalEmailsApi.md index 8372ed5..585b850 100644 --- a/docs/TransactionalEmailsApi.md +++ b/docs/TransactionalEmailsApi.md @@ -355,7 +355,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); TransactionalEmailsApi apiInstance = new TransactionalEmailsApi(); String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' String tag = "tag_example"; // String | Tag of the emails try { GetAggregatedReport result = apiInstance.getAggregatedSmtpReport(startDate, endDate, days, tag); @@ -372,7 +372,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **String**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **String**| Tag of the emails | [optional] ### Return type @@ -479,13 +479,13 @@ Long limit = 50L; // Long | Number limitation for the result returned Long offset = 0L; // Long | Beginning point in the list to retrieve from. String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' String email = "email_example"; // String | Filter the report for a specific email addresses String event = "event_example"; // String | Filter the report for a specific event type String tags = "tags_example"; // String | Filter the report for tags (serialized and urlencoded array) String messageId = "messageId_example"; // String | Filter on a specific message id Long templateId = 789L; // Long | Filter on a specific template id -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetEmailEventReport result = apiInstance.getEmailEventReport(limit, offset, startDate, endDate, days, email, event, tags, messageId, templateId, sort); System.out.println(result); @@ -503,13 +503,13 @@ Name | Type | Description | Notes **offset** | **Long**| Beginning point in the list to retrieve from. | [optional] [default to 0] **startDate** | **String**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate | [optional] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **email** | **String**| Filter the report for a specific email addresses | [optional] **event** | **String**| Filter the report for a specific event type | [optional] [enum: bounces, hardBounces, softBounces, delivered, spam, requests, opened, clicks, invalid, deferred, blocked, unsubscribed, error] **tags** | **String**| Filter the report for tags (serialized and urlencoded array) | [optional] **messageId** | **String**| Filter on a specific message id | [optional] **templateId** | **Long**| Filter on a specific template id | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -558,9 +558,9 @@ Long limit = 10L; // Long | Number of documents returned per page Long offset = 0L; // Long | Index of the first document on the page String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' String tag = "tag_example"; // String | Tag of the emails -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetReports result = apiInstance.getSmtpReport(limit, offset, startDate, endDate, days, tag, sort); System.out.println(result); @@ -578,9 +578,9 @@ Name | Type | Description | Notes **offset** | **Long**| Index of the first document on the page | [optional] [default to 0] **startDate** | **String**| Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) | [optional] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **String**| Tag of the emails | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -687,7 +687,7 @@ TransactionalEmailsApi apiInstance = new TransactionalEmailsApi(); Boolean templateStatus = true; // Boolean | Filter on the status of the template. Active = true, inactive = false Long limit = 50L; // Long | Number of documents returned per page Long offset = 0L; // Long | Index of the first document in the page -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetSmtpTemplates result = apiInstance.getSmtpTemplates(templateStatus, limit, offset, sort); System.out.println(result); @@ -704,7 +704,7 @@ Name | Type | Description | Notes **templateStatus** | **Boolean**| Filter on the status of the template. Active = true, inactive = false | [optional] **limit** | **Long**| Number of documents returned per page | [optional] [default to 50] **offset** | **Long**| Index of the first document in the page | [optional] [default to 0] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -754,7 +754,7 @@ String endDate = "endDate_example"; // String | Mandatory if startDate is used. Long limit = 50L; // Long | Number of documents returned per page Long offset = 0L; // Long | Index of the first document on the page List senders = Arrays.asList("senders_example"); // List | Comma separated list of emails of the senders from which contacts are blocked or unsubscribed -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetTransacBlockedContacts result = apiInstance.getTransacBlockedContacts(startDate, endDate, limit, offset, senders, sort); System.out.println(result); @@ -773,7 +773,7 @@ Name | Type | Description | Notes **limit** | **Long**| Number of documents returned per page | [optional] [default to 50] **offset** | **Long**| Index of the first document on the page | [optional] [default to 0] **senders** | [**List<String>**](String.md)| Comma separated list of emails of the senders from which contacts are blocked or unsubscribed | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -882,9 +882,9 @@ TransactionalEmailsApi apiInstance = new TransactionalEmailsApi(); String email = "email_example"; // String | Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. Long templateId = 789L; // Long | Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. String messageId = "messageId_example"; // String | Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. -LocalDate startDate = LocalDate.now(); // LocalDate | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. -LocalDate endDate = LocalDate.now(); // LocalDate | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. +String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetTransacEmailsList result = apiInstance.getTransacEmailsList(email, templateId, messageId, startDate, endDate, sort); System.out.println(result); @@ -901,9 +901,9 @@ Name | Type | Description | Notes **email** | **String**| Mandatory if templateId and messageId are not passed in query filters. Email address to which transactional email has been sent. | [optional] **templateId** | **Long**| Mandatory if email and messageId are not passed in query filters. Id of the template that was used to compose transactional email. | [optional] **messageId** | **String**| Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. | [optional] - **startDate** | **LocalDate**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] - **endDate** | **LocalDate**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **startDate** | **String**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] + **endDate** | **String**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. | [optional] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/TransactionalSmsApi.md b/docs/TransactionalSmsApi.md index a9d486b..07a2875 100644 --- a/docs/TransactionalSmsApi.md +++ b/docs/TransactionalSmsApi.md @@ -44,11 +44,11 @@ Long limit = 50L; // Long | Number of documents per page String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report Long offset = 0L; // Long | Index of the first document of the page -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' String phoneNumber = "phoneNumber_example"; // String | Filter the report for a specific phone number String event = "event_example"; // String | Filter the report for specific events String tags = "tags_example"; // String | Filter the report for specific tags passed as a serialized urlencoded array -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetSmsEventReport result = apiInstance.getSmsEvents(limit, startDate, endDate, offset, days, phoneNumber, event, tags, sort); System.out.println(result); @@ -66,11 +66,11 @@ Name | Type | Description | Notes **startDate** | **String**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] **offset** | **Long**| Index of the first document of the page | [optional] [default to 0] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **phoneNumber** | **String**| Filter the report for a specific phone number | [optional] **event** | **String**| Filter the report for specific events | [optional] [enum: bounces, hardBounces, softBounces, delivered, sent, accepted, unsubscription, replies, blocked] **tags** | **String**| Filter the report for specific tags passed as a serialized urlencoded array | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type @@ -117,7 +117,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); TransactionalSmsApi apiInstance = new TransactionalSmsApi(); String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with startDate and endDate +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with startDate and endDate String tag = "tag_example"; // String | Filter on a tag try { GetTransacAggregatedSmsReport result = apiInstance.getTransacAggregatedSmsReport(startDate, endDate, days, tag); @@ -134,7 +134,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **String**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with startDate and endDate | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with startDate and endDate | [optional] **tag** | **String**| Filter on a tag | [optional] ### Return type @@ -182,9 +182,9 @@ partnerKey.setApiKey("YOUR PARTNER KEY"); TransactionalSmsApi apiInstance = new TransactionalSmsApi(); String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report -Integer days = 56; // Integer | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' +Long days = 789L; // Long | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' String tag = "tag_example"; // String | Filter on a tag -String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation +String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed try { GetTransacSmsReport result = apiInstance.getTransacSmsReport(startDate, endDate, days, tag, sort); System.out.println(result); @@ -200,9 +200,9 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **startDate** | **String**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report | [optional] **endDate** | **String**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report | [optional] - **days** | **Integer**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] + **days** | **Long**| Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' | [optional] **tag** | **String**| Filter on a tag | [optional] - **sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc] + **sort** | **String**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed | [optional] [default to desc] [enum: asc, desc] ### Return type diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md index 650e93c..db25335 100644 --- a/docs/UpdateEmailCampaign.md +++ b/docs/UpdateEmailCampaign.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the campaign | [optional] **htmlContent** | **String** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional] **htmlUrl** | **String** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] +**scheduledAt** | **String** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional] **subject** | **String** | Subject of the campaign | [optional] **replyTo** | **String** | Email on which campaign recipients will be able to reply to | [optional] **toField** | **String** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter 'params' used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional] diff --git a/docs/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md index c7a6221..666392f 100644 --- a/docs/UpdateSmsCampaign.md +++ b/docs/UpdateSmsCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **sender** | **String** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** | [optional] **content** | **String** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] **recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] +**scheduledAt** | **String** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional] diff --git a/pom.xml b/pom.xml index 35d3832..6ebe553 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ sib-api-v3-sdk jar sib-api-v3-sdk - 5.1.0 + 5.2.0 https://github.com/sendinblue/APIv3-java-library SendinBlue's API v3 Java Library diff --git a/src/main/java/sendinblue/ApiClient.java b/src/main/java/sendinblue/ApiClient.java index fb42dbc..b905e22 100644 --- a/src/main/java/sendinblue/ApiClient.java +++ b/src/main/java/sendinblue/ApiClient.java @@ -1,6 +1,5 @@ /* - * SendinBlue API - * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * SendinBlue API * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | * * OpenAPI spec version: 3.0.0 * Contact: contact@sendinblue.com @@ -56,7 +55,7 @@ public class ApiClient { private boolean debugging = false; private Map defaultHeaderMap = new HashMap(); private String tempFolderPath = null; - private String defaultUserAgent = "sendinblue_clientAPI/v5.1.0/java"; + private String defaultUserAgent = "sendinblue_clientAPI/v5.2.0/java"; private Map authentications; @@ -358,7 +357,7 @@ public ApiClient setUserAgent(String userAgent) { /** * Add a default header. * - * @param key The header's key + * @param key The header's key * @param value The header's value * @return ApiClient */ @@ -501,7 +500,7 @@ public String parameterToString(Object param) { return jsonStr.substring(1, jsonStr.length() - 1); } else if (param instanceof Collection) { StringBuilder b = new StringBuilder(); - for (Object o : (Collection) param) { + for (Object o : (Collection)param) { if (b.length() > 0) { b.append(","); } @@ -515,10 +514,10 @@ public String parameterToString(Object param) { /** * Formats the specified query parameter to a list containing a single {@code Pair} object. - *

+ * * Note that {@code value} must not be a collection. * - * @param name The name of the parameter. + * @param name The name of the parameter. * @param value The value of the parameter. * @return A list containing a single {@code Pair} object. */ @@ -534,12 +533,12 @@ public List parameterToPair(String name, Object value) { /** * Formats the specified collection query parameters to a list of {@code Pair} objects. - *

+ * * Note that the values of each of the returned Pair objects are percent-encoded. * * @param collectionFormat The collection format of the parameter. - * @param name The name of the parameter. - * @param value The value of the parameter. + * @param name The name of the parameter. + * @param value The value of the parameter. * @return A list of {@code Pair} objects. */ public List parameterToPairs(String collectionFormat, String name, Collection value) { @@ -571,7 +570,7 @@ public List parameterToPairs(String collectionFormat, String name, Collect delimiter = escapeString("|"); } - StringBuilder sb = new StringBuilder(); + StringBuilder sb = new StringBuilder() ; for (Object item : value) { sb.append(delimiter); sb.append(escapeString(parameterToString(item))); @@ -596,28 +595,28 @@ public String sanitizeFilename(String filename) { /** * Check if the given MIME is a JSON MIME. * JSON MIME examples: - * application/json - * application/json; charset=UTF8 - * APPLICATION/JSON - * application/vnd.company+json + * application/json + * application/json; charset=UTF8 + * APPLICATION/JSON + * application/vnd.company+json * "* / *" is also default to JSON * * @param mime MIME (Multipurpose Internet Mail Extensions) * @return True if the given MIME is JSON, false otherwise. */ public boolean isJsonMime(String mime) { - String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; - return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); + String jsonMime = "(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"; + return mime != null && (mime.matches(jsonMime) || mime.equals("*/*")); } /** * Select the Accept header's value from the given accepts array: - * if JSON exists in the given array, use it; - * otherwise use all of them (joining into a string) + * if JSON exists in the given array, use it; + * otherwise use all of them (joining into a string) * * @param accepts The accepts array to select from * @return The Accept header to use. If the given array is empty, - * null will be returned (not to set the Accept header explicitly). + * null will be returned (not to set the Accept header explicitly). */ public String selectHeaderAccept(String[] accepts) { if (accepts.length == 0) { @@ -633,16 +632,16 @@ public String selectHeaderAccept(String[] accepts) { /** * Select the Content-Type header's value from the given array: - * if JSON exists in the given array, use it; - * otherwise use the first one of the array. + * if JSON exists in the given array, use it; + * otherwise use the first one of the array. * * @param contentTypes The Content-Type array to select from * @return The Content-Type header to use. If the given array is empty, - * or matches "any", JSON will be used. + * or matches "any", JSON will be used. */ public String selectHeaderContentType(String[] contentTypes) { if (contentTypes.length == 0 || contentTypes[0].equals("*/*")) { - return "application/json"; + return "application/json"; } for (String contentType : contentTypes) { if (isJsonMime(contentType)) { @@ -670,12 +669,12 @@ public String escapeString(String str) { * Deserialize response body to Java object, according to the return type and * the Content-Type response header. * - * @param Type - * @param response HTTP response + * @param Type + * @param response HTTP response * @param returnType The type of the Java object * @return The deserialized Java object * @throws ApiException If fail to deserialize response body, i.e. cannot read response body - * or the Content-Type of the response is not supported. + * or the Content-Type of the response is not supported. */ @SuppressWarnings("unchecked") public T deserialize(Response response, Type returnType) throws ApiException { @@ -732,7 +731,7 @@ public T deserialize(Response response, Type returnType) throws ApiException * Serialize the given Java object into request body according to the object's * class and the request Content-Type. * - * @param obj The Java object + * @param obj The Java object * @param contentType The request Content-Type * @return The serialized request body * @throws ApiException If fail to serialize the given object @@ -822,7 +821,7 @@ public File prepareDownloadFile(Response response) throws IOException { /** * {@link #execute(Call, Type)} * - * @param Type + * @param Type * @param call An instance of the Call object * @return ApiResponse<T> * @throws ApiException If fail to execute the call @@ -835,11 +834,11 @@ public ApiResponse execute(Call call) throws ApiException { * Execute HTTP call and deserialize the HTTP response body into the given return type. * * @param returnType The return type used to deserialize HTTP response body - * @param The return type corresponding to (same with) returnType - * @param call Call + * @param The return type corresponding to (same with) returnType + * @param call Call * @return ApiResponse object containing response status, headers and - * data, which is a Java object deserialized from response body and would be null - * when returnType is null. + * data, which is a Java object deserialized from response body and would be null + * when returnType is null. * @throws ApiException If fail to execute the call */ public ApiResponse execute(Call call, Type returnType) throws ApiException { @@ -855,8 +854,8 @@ public ApiResponse execute(Call call, Type returnType) throws ApiExceptio /** * {@link #executeAsync(Call, Type, ApiCallback)} * - * @param Type - * @param call An instance of the Call object + * @param Type + * @param call An instance of the Call object * @param callback ApiCallback<T> */ public void executeAsync(Call call, ApiCallback callback) { @@ -866,8 +865,9 @@ public void executeAsync(Call call, ApiCallback callback) { /** * Execute HTTP call asynchronously. * - * @param Type - * @param call The callback to be executed when the API call finishes + * @see #execute(Call, Type) + * @param Type + * @param call The callback to be executed when the API call finishes * @param returnType Return type * @param callback ApiCallback * @see #execute(Call, Type) @@ -897,8 +897,8 @@ public void onResponse(Response response) throws IOException { /** * Handle the given response, return the deserialized object when the response is successful. * - * @param Type - * @param response Response + * @param Type + * @param response Response * @param returnType Return type * @return Type * @throws ApiException If the response has a unsuccessful status code or @@ -936,14 +936,14 @@ public T handleResponse(Response response, Type returnType) throws ApiExcept /** * Build HTTP call with the given options. * - * @param path The sub-path of the HTTP URL - * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" - * @param queryParams The query parameters - * @param collectionQueryParams The collection query parameters - * @param body The request body object - * @param headerParams The header parameters - * @param formParams The form parameters - * @param authNames The authentications to apply + * @param path The sub-path of the HTTP URL + * @param method The request method, one of "GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH" and "DELETE" + * @param queryParams The query parameters + * @param collectionQueryParams The collection query parameters + * @param body The request body object + * @param headerParams The header parameters + * @param formParams The form parameters + * @param authNames The authentications to apply * @param progressRequestListener Progress request listener * @return The HTTP call * @throws ApiException If fail to serialize the request body object @@ -957,16 +957,16 @@ public Call buildCall(String path, String method, List queryParams, List

queryParams, List collectionQueryParams, Object body, Map headerParams, Map formParams, String[] authNames, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -1003,7 +1003,7 @@ public Request buildRequest(String path, String method, List queryParams, Request request = null; - if (progressRequestListener != null && reqBody != null) { + if(progressRequestListener != null && reqBody != null) { ProgressRequestBody progressRequestBody = new ProgressRequestBody(reqBody, progressRequestListener); request = reqBuilder.method(method, progressRequestBody).build(); } else { @@ -1016,8 +1016,8 @@ public Request buildRequest(String path, String method, List queryParams, /** * Build full URL by concatenating base path, the given sub path and query parameters. * - * @param path The sub path - * @param queryParams The query parameters + * @param path The sub path + * @param queryParams The query parameters * @param collectionQueryParams The collection query parameters * @return The full URL */ @@ -1066,7 +1066,7 @@ public String buildUrl(String path, List queryParams, List collectio * Set header parameters to the request builder, including default headers. * * @param headerParams Header parameters in the ofrm of Map - * @param reqBuilder Reqeust.Builder + * @param reqBuilder Reqeust.Builder */ public void processHeaderParams(Map headerParams, Request.Builder reqBuilder) { for (Entry param : headerParams.entrySet()) { @@ -1082,9 +1082,9 @@ public void processHeaderParams(Map headerParams, Request.Builde /** * Update query and header parameters based on authentication settings. * - * @param authNames The authentications to apply + * @param authNames The authentications to apply * @param queryParams List of query parameters - * @param headerParams Map of header parameters + * @param headerParams Map of header parameters */ public void updateParamsForAuth(String[] authNames, List queryParams, Map headerParams) { for (String authName : authNames) { @@ -1101,7 +1101,7 @@ public void updateParamsForAuth(String[] authNames, List queryParams, Map< * @return RequestBody */ public RequestBody buildRequestBodyFormEncoding(Map formParams) { - FormEncodingBuilder formBuilder = new FormEncodingBuilder(); + FormEncodingBuilder formBuilder = new FormEncodingBuilder(); for (Entry param : formParams.entrySet()) { formBuilder.add(param.getKey(), parameterToString(param.getValue())); } diff --git a/src/main/java/sendinblue/ApiException.java b/src/main/java/sendinblue/ApiException.java index e6adbda..30b8c01 100644 --- a/src/main/java/sendinblue/ApiException.java +++ b/src/main/java/sendinblue/ApiException.java @@ -16,7 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/sendinblue/Configuration.java b/src/main/java/sendinblue/Configuration.java index 173b7a0..d4d50d6 100644 --- a/src/main/java/sendinblue/Configuration.java +++ b/src/main/java/sendinblue/Configuration.java @@ -13,7 +13,7 @@ package sendinblue; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/sendinblue/Pair.java b/src/main/java/sendinblue/Pair.java index 7c5feba..cdd443a 100644 --- a/src/main/java/sendinblue/Pair.java +++ b/src/main/java/sendinblue/Pair.java @@ -13,7 +13,7 @@ package sendinblue; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/sendinblue/StringUtil.java b/src/main/java/sendinblue/StringUtil.java index 890f0d5..76b885b 100644 --- a/src/main/java/sendinblue/StringUtil.java +++ b/src/main/java/sendinblue/StringUtil.java @@ -13,7 +13,7 @@ package sendinblue; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/sendinblue/auth/ApiKeyAuth.java b/src/main/java/sendinblue/auth/ApiKeyAuth.java index d967761..39374b5 100644 --- a/src/main/java/sendinblue/auth/ApiKeyAuth.java +++ b/src/main/java/sendinblue/auth/ApiKeyAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/sendinblue/auth/OAuth.java b/src/main/java/sendinblue/auth/OAuth.java index d3e0cbd..b3efa54 100644 --- a/src/main/java/sendinblue/auth/OAuth.java +++ b/src/main/java/sendinblue/auth/OAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class OAuth implements Authentication { private String accessToken; diff --git a/src/main/java/sibApi/ContactsApi.java b/src/main/java/sibApi/ContactsApi.java index 3448054..4ccd84f 100644 --- a/src/main/java/sibApi/ContactsApi.java +++ b/src/main/java/sibApi/ContactsApi.java @@ -1567,7 +1567,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getContactStatsCall(String identifier, LocalDate startDate, LocalDate endDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getContactStatsCall(String identifier, String startDate, String endDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1614,7 +1614,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getContactStatsValidateBeforeCall(String identifier, LocalDate startDate, LocalDate endDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getContactStatsValidateBeforeCall(String identifier, String startDate, String endDate, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'identifier' is set if (identifier == null) { @@ -1636,7 +1636,7 @@ private com.squareup.okhttp.Call getContactStatsValidateBeforeCall(String identi * @return GetContactCampaignStats * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetContactCampaignStats getContactStats(String identifier, LocalDate startDate, LocalDate endDate) throws ApiException { + public GetContactCampaignStats getContactStats(String identifier, String startDate, String endDate) throws ApiException { ApiResponse resp = getContactStatsWithHttpInfo(identifier, startDate, endDate); return resp.getData(); } @@ -1650,7 +1650,7 @@ public GetContactCampaignStats getContactStats(String identifier, LocalDate star * @return ApiResponse<GetContactCampaignStats> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getContactStatsWithHttpInfo(String identifier, LocalDate startDate, LocalDate endDate) throws ApiException { + public ApiResponse getContactStatsWithHttpInfo(String identifier, String startDate, String endDate) throws ApiException { com.squareup.okhttp.Call call = getContactStatsValidateBeforeCall(identifier, startDate, endDate, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1666,7 +1666,7 @@ public ApiResponse getContactStatsWithHttpInfo(String i * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getContactStatsAsync(String identifier, LocalDate startDate, LocalDate endDate, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getContactStatsAsync(String identifier, String startDate, String endDate, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1697,13 +1697,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getContactsCall(Long limit, Long offset, OffsetDateTime modifiedSince, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getContactsCall(Long limit, Long offset, String modifiedSince, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1753,7 +1753,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getContactsValidateBeforeCall(Long limit, Long offset, OffsetDateTime modifiedSince, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getContactsValidateBeforeCall(Long limit, Long offset, String modifiedSince, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getContactsCall(limit, offset, modifiedSince, sort, progressListener, progressRequestListener); @@ -1767,11 +1767,11 @@ private com.squareup.okhttp.Call getContactsValidateBeforeCall(Long limit, Long * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetContacts * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetContacts getContacts(Long limit, Long offset, OffsetDateTime modifiedSince, String sort) throws ApiException { + public GetContacts getContacts(Long limit, Long offset, String modifiedSince, String sort) throws ApiException { ApiResponse resp = getContactsWithHttpInfo(limit, offset, modifiedSince, sort); return resp.getData(); } @@ -1782,11 +1782,11 @@ public GetContacts getContacts(Long limit, Long offset, OffsetDateTime modifiedS * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetContacts> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getContactsWithHttpInfo(Long limit, Long offset, OffsetDateTime modifiedSince, String sort) throws ApiException { + public ApiResponse getContactsWithHttpInfo(Long limit, Long offset, String modifiedSince, String sort) throws ApiException { com.squareup.okhttp.Call call = getContactsValidateBeforeCall(limit, offset, modifiedSince, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1798,12 +1798,12 @@ public ApiResponse getContactsWithHttpInfo(Long limit, Long offset, * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getContactsAsync(Long limit, Long offset, OffsetDateTime modifiedSince, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getContactsAsync(Long limit, Long offset, String modifiedSince, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1835,13 +1835,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getContactsFromListCall(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getContactsFromListCall(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1892,7 +1892,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'listId' is set if (listId == null) { @@ -1912,11 +1912,11 @@ private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long list * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetContacts * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetContacts getContactsFromList(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort) throws ApiException { + public GetContacts getContactsFromList(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException { ApiResponse resp = getContactsFromListWithHttpInfo(listId, modifiedSince, limit, offset, sort); return resp.getData(); } @@ -1928,11 +1928,11 @@ public GetContacts getContactsFromList(Long listId, OffsetDateTime modifiedSince * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetContacts> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getContactsFromListWithHttpInfo(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort) throws ApiException { + public ApiResponse getContactsFromListWithHttpInfo(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException { com.squareup.okhttp.Call call = getContactsFromListValidateBeforeCall(listId, modifiedSince, limit, offset, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1945,12 +1945,12 @@ public ApiResponse getContactsFromListWithHttpInfo(Long listId, Off * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getContactsFromListAsync(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getContactsFromListAsync(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -2104,7 +2104,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -2178,7 +2178,7 @@ private com.squareup.okhttp.Call getFolderListsValidateBeforeCall(Long folderId, * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetFolderLists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2193,7 +2193,7 @@ public GetFolderLists getFolderLists(Long folderId, Long limit, Long offset, Str * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetFolderLists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2209,7 +2209,7 @@ public ApiResponse getFolderListsWithHttpInfo(Long folderId, Lon * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2244,7 +2244,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getFolders * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -2321,7 +2321,7 @@ private com.squareup.okhttp.Call getFoldersValidateBeforeCall(Long limit, Long o * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetFolders * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2335,7 +2335,7 @@ public GetFolders getFolders(Long limit, Long offset, String sort) throws ApiExc * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetFolders> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2350,7 +2350,7 @@ public ApiResponse getFoldersWithHttpInfo(Long limit, Long offset, S * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2508,7 +2508,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getLists * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -2575,7 +2575,7 @@ private com.squareup.okhttp.Call getListsValidateBeforeCall(Long limit, Long off * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetLists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2589,7 +2589,7 @@ public GetLists getLists(Long limit, Long offset, String sort) throws ApiExcepti * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetLists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -2604,7 +2604,7 @@ public ApiResponse getListsWithHttpInfo(Long limit, Long offset, Strin * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object diff --git a/src/main/java/sibApi/EmailCampaignsApi.java b/src/main/java/sibApi/EmailCampaignsApi.java index 8a976ee..b79178d 100644 --- a/src/main/java/sibApi/EmailCampaignsApi.java +++ b/src/main/java/sibApi/EmailCampaignsApi.java @@ -691,13 +691,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number of documents per page (optional, default to 500) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getEmailCampaignsCall(String type, String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getEmailCampaignsCall(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -753,7 +753,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getEmailCampaignsValidateBeforeCall(String type, String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getEmailCampaignsValidateBeforeCall(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getEmailCampaignsCall(type, status, startDate, endDate, limit, offset, sort, progressListener, progressRequestListener); @@ -770,11 +770,11 @@ private com.squareup.okhttp.Call getEmailCampaignsValidateBeforeCall(String type * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number of documents per page (optional, default to 500) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetEmailCampaigns * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetEmailCampaigns getEmailCampaigns(String type, String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort) throws ApiException { + public GetEmailCampaigns getEmailCampaigns(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException { ApiResponse resp = getEmailCampaignsWithHttpInfo(type, status, startDate, endDate, limit, offset, sort); return resp.getData(); } @@ -788,11 +788,11 @@ public GetEmailCampaigns getEmailCampaigns(String type, String status, OffsetDat * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number of documents per page (optional, default to 500) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetEmailCampaigns> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getEmailCampaignsWithHttpInfo(String type, String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort) throws ApiException { + public ApiResponse getEmailCampaignsWithHttpInfo(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException { com.squareup.okhttp.Call call = getEmailCampaignsValidateBeforeCall(type, status, startDate, endDate, limit, offset, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -807,12 +807,12 @@ public ApiResponse getEmailCampaignsWithHttpInfo(String type, * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number of documents per page (optional, default to 500) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getEmailCampaignsAsync(String type, String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getEmailCampaignsAsync(String type, String status, String startDate, String endDate, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; diff --git a/src/main/java/sibApi/FoldersApi.java b/src/main/java/sibApi/FoldersApi.java index d2874ab..815cb82 100644 --- a/src/main/java/sibApi/FoldersApi.java +++ b/src/main/java/sibApi/FoldersApi.java @@ -428,7 +428,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -502,7 +502,7 @@ private com.squareup.okhttp.Call getFolderListsValidateBeforeCall(Long folderId, * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetFolderLists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -517,7 +517,7 @@ public GetFolderLists getFolderLists(Long folderId, Long limit, Long offset, Str * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetFolderLists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -533,7 +533,7 @@ public ApiResponse getFolderListsWithHttpInfo(Long folderId, Lon * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -568,7 +568,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getFolders * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -645,7 +645,7 @@ private com.squareup.okhttp.Call getFoldersValidateBeforeCall(Long limit, Long o * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetFolders * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -659,7 +659,7 @@ public GetFolders getFolders(Long limit, Long offset, String sort) throws ApiExc * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetFolders> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -674,7 +674,7 @@ public ApiResponse getFoldersWithHttpInfo(Long limit, Long offset, S * * @param limit Number of documents per page (required) * @param offset Index of the first document of the page (required) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object diff --git a/src/main/java/sibApi/ListsApi.java b/src/main/java/sibApi/ListsApi.java index 17773aa..cc42dc3 100644 --- a/src/main/java/sibApi/ListsApi.java +++ b/src/main/java/sibApi/ListsApi.java @@ -444,13 +444,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getContactsFromListCall(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getContactsFromListCall(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -501,7 +501,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { // verify the required parameter 'listId' is set if (listId == null) { @@ -521,11 +521,11 @@ private com.squareup.okhttp.Call getContactsFromListValidateBeforeCall(Long list * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetContacts * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetContacts getContactsFromList(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort) throws ApiException { + public GetContacts getContactsFromList(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException { ApiResponse resp = getContactsFromListWithHttpInfo(listId, modifiedSince, limit, offset, sort); return resp.getData(); } @@ -537,11 +537,11 @@ public GetContacts getContactsFromList(Long listId, OffsetDateTime modifiedSince * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetContacts> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getContactsFromListWithHttpInfo(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort) throws ApiException { + public ApiResponse getContactsFromListWithHttpInfo(Long listId, String modifiedSince, Long limit, Long offset, String sort) throws ApiException { com.squareup.okhttp.Call call = getContactsFromListValidateBeforeCall(listId, modifiedSince, limit, offset, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -554,12 +554,12 @@ public ApiResponse getContactsFromListWithHttpInfo(Long listId, Off * @param modifiedSince Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional) * @param limit Number of documents per page (optional, default to 50) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getContactsFromListAsync(Long listId, OffsetDateTime modifiedSince, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getContactsFromListAsync(Long listId, String modifiedSince, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -590,7 +590,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -664,7 +664,7 @@ private com.squareup.okhttp.Call getFolderListsValidateBeforeCall(Long folderId, * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetFolderLists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -679,7 +679,7 @@ public GetFolderLists getFolderLists(Long folderId, Long limit, Long offset, Str * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetFolderLists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -695,7 +695,7 @@ public ApiResponse getFolderListsWithHttpInfo(Long folderId, Lon * @param folderId Id of the folder (required) * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -853,7 +853,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getLists * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -920,7 +920,7 @@ private com.squareup.okhttp.Call getListsValidateBeforeCall(Long limit, Long off * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetLists * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -934,7 +934,7 @@ public GetLists getLists(Long limit, Long offset, String sort) throws ApiExcepti * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetLists> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -949,7 +949,7 @@ public ApiResponse getListsWithHttpInfo(Long limit, Long offset, Strin * * @param limit Number of documents per page (optional, default to 10) * @param offset Index of the first document of the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object diff --git a/src/main/java/sibApi/ProcessApi.java b/src/main/java/sibApi/ProcessApi.java index 4ebd7f5..b5bbeda 100644 --- a/src/main/java/sibApi/ProcessApi.java +++ b/src/main/java/sibApi/ProcessApi.java @@ -183,7 +183,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * Build call for getProcesses * @param limit Number limitation for the result returned (optional, default to 10) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -250,7 +250,7 @@ private com.squareup.okhttp.Call getProcessesValidateBeforeCall(Long limit, Long * * @param limit Number limitation for the result returned (optional, default to 10) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetProcesses * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -264,7 +264,7 @@ public GetProcesses getProcesses(Long limit, Long offset, String sort) throws Ap * * @param limit Number limitation for the result returned (optional, default to 10) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetProcesses> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -279,7 +279,7 @@ public ApiResponse getProcessesWithHttpInfo(Long limit, Long offse * * @param limit Number limitation for the result returned (optional, default to 10) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object diff --git a/src/main/java/sibApi/SmsCampaignsApi.java b/src/main/java/sibApi/SmsCampaignsApi.java index 8341cfe..b17a1ab 100644 --- a/src/main/java/sibApi/SmsCampaignsApi.java +++ b/src/main/java/sibApi/SmsCampaignsApi.java @@ -437,13 +437,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number limitation for the result returned (optional, default to 500) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSmsCampaignsCall(String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSmsCampaignsCall(String status, String startDate, String endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -497,7 +497,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSmsCampaignsValidateBeforeCall(String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSmsCampaignsValidateBeforeCall(String status, String startDate, String endDate, Long limit, Long offset, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getSmsCampaignsCall(status, startDate, endDate, limit, offset, sort, progressListener, progressRequestListener); @@ -513,11 +513,11 @@ private com.squareup.okhttp.Call getSmsCampaignsValidateBeforeCall(String status * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number limitation for the result returned (optional, default to 500) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetSmsCampaigns * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetSmsCampaigns getSmsCampaigns(String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort) throws ApiException { + public GetSmsCampaigns getSmsCampaigns(String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException { ApiResponse resp = getSmsCampaignsWithHttpInfo(status, startDate, endDate, limit, offset, sort); return resp.getData(); } @@ -530,11 +530,11 @@ public GetSmsCampaigns getSmsCampaigns(String status, OffsetDateTime startDate, * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number limitation for the result returned (optional, default to 500) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetSmsCampaigns> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSmsCampaignsWithHttpInfo(String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort) throws ApiException { + public ApiResponse getSmsCampaignsWithHttpInfo(String status, String startDate, String endDate, Long limit, Long offset, String sort) throws ApiException { com.squareup.okhttp.Call call = getSmsCampaignsValidateBeforeCall(status, startDate, endDate, limit, offset, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -548,12 +548,12 @@ public ApiResponse getSmsCampaignsWithHttpInfo(String status, O * @param endDate Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent sms campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' ) (optional) * @param limit Number limitation for the result returned (optional, default to 500) * @param offset Beginning point in the list to retrieve from. (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSmsCampaignsAsync(String status, OffsetDateTime startDate, OffsetDateTime endDate, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSmsCampaignsAsync(String status, String startDate, String endDate, Long limit, Long offset, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; diff --git a/src/main/java/sibApi/TransactionalEmailsApi.java b/src/main/java/sibApi/TransactionalEmailsApi.java index 72459be..2fd9904 100644 --- a/src/main/java/sibApi/TransactionalEmailsApi.java +++ b/src/main/java/sibApi/TransactionalEmailsApi.java @@ -677,7 +677,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getAggregatedSmtpReportCall(String startDate, String endDate, Integer days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getAggregatedSmtpReportCall(String startDate, String endDate, Long days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -727,7 +727,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getAggregatedSmtpReportValidateBeforeCall(String startDate, String endDate, Integer days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getAggregatedSmtpReportValidateBeforeCall(String startDate, String endDate, Long days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getAggregatedSmtpReportCall(startDate, endDate, days, tag, progressListener, progressRequestListener); @@ -745,7 +745,7 @@ private com.squareup.okhttp.Call getAggregatedSmtpReportValidateBeforeCall(Strin * @return GetAggregatedReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetAggregatedReport getAggregatedSmtpReport(String startDate, String endDate, Integer days, String tag) throws ApiException { + public GetAggregatedReport getAggregatedSmtpReport(String startDate, String endDate, Long days, String tag) throws ApiException { ApiResponse resp = getAggregatedSmtpReportWithHttpInfo(startDate, endDate, days, tag); return resp.getData(); } @@ -760,7 +760,7 @@ public GetAggregatedReport getAggregatedSmtpReport(String startDate, String endD * @return ApiResponse<GetAggregatedReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getAggregatedSmtpReportWithHttpInfo(String startDate, String endDate, Integer days, String tag) throws ApiException { + public ApiResponse getAggregatedSmtpReportWithHttpInfo(String startDate, String endDate, Long days, String tag) throws ApiException { com.squareup.okhttp.Call call = getAggregatedSmtpReportValidateBeforeCall(startDate, endDate, days, tag, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -777,7 +777,7 @@ public ApiResponse getAggregatedSmtpReportWithHttpInfo(Stri * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getAggregatedSmtpReportAsync(String startDate, String endDate, Integer days, String tag, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getAggregatedSmtpReportAsync(String startDate, String endDate, Long days, String tag, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -928,13 +928,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param tags Filter the report for tags (serialized and urlencoded array) (optional) * @param messageId Filter on a specific message id (optional) * @param templateId Filter on a specific template id (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getEmailEventReportCall(Long limit, Long offset, String startDate, String endDate, Integer days, String email, String event, String tags, String messageId, Long templateId, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getEmailEventReportCall(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -998,7 +998,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getEmailEventReportValidateBeforeCall(Long limit, Long offset, String startDate, String endDate, Integer days, String email, String event, String tags, String messageId, Long templateId, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getEmailEventReportValidateBeforeCall(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getEmailEventReportCall(limit, offset, startDate, endDate, days, email, event, tags, messageId, templateId, sort, progressListener, progressRequestListener); @@ -1019,11 +1019,11 @@ private com.squareup.okhttp.Call getEmailEventReportValidateBeforeCall(Long limi * @param tags Filter the report for tags (serialized and urlencoded array) (optional) * @param messageId Filter on a specific message id (optional) * @param templateId Filter on a specific template id (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetEmailEventReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetEmailEventReport getEmailEventReport(Long limit, Long offset, String startDate, String endDate, Integer days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException { + public GetEmailEventReport getEmailEventReport(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException { ApiResponse resp = getEmailEventReportWithHttpInfo(limit, offset, startDate, endDate, days, email, event, tags, messageId, templateId, sort); return resp.getData(); } @@ -1041,11 +1041,11 @@ public GetEmailEventReport getEmailEventReport(Long limit, Long offset, String s * @param tags Filter the report for tags (serialized and urlencoded array) (optional) * @param messageId Filter on a specific message id (optional) * @param templateId Filter on a specific template id (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetEmailEventReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getEmailEventReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Integer days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException { + public ApiResponse getEmailEventReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort) throws ApiException { com.squareup.okhttp.Call call = getEmailEventReportValidateBeforeCall(limit, offset, startDate, endDate, days, email, event, tags, messageId, templateId, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1064,12 +1064,12 @@ public ApiResponse getEmailEventReportWithHttpInfo(Long lim * @param tags Filter the report for tags (serialized and urlencoded array) (optional) * @param messageId Filter on a specific message id (optional) * @param templateId Filter on a specific template id (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getEmailEventReportAsync(Long limit, Long offset, String startDate, String endDate, Integer days, String email, String event, String tags, String messageId, Long templateId, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getEmailEventReportAsync(Long limit, Long offset, String startDate, String endDate, Long days, String email, String event, String tags, String messageId, Long templateId, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1103,13 +1103,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Tag of the emails (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSmtpReportCall(Long limit, Long offset, String startDate, String endDate, Integer days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSmtpReportCall(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1165,7 +1165,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSmtpReportValidateBeforeCall(Long limit, Long offset, String startDate, String endDate, Integer days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSmtpReportValidateBeforeCall(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getSmtpReportCall(limit, offset, startDate, endDate, days, tag, sort, progressListener, progressRequestListener); @@ -1182,11 +1182,11 @@ private com.squareup.okhttp.Call getSmtpReportValidateBeforeCall(Long limit, Lon * @param endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Tag of the emails (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetReports * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetReports getSmtpReport(Long limit, Long offset, String startDate, String endDate, Integer days, String tag, String sort) throws ApiException { + public GetReports getSmtpReport(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort) throws ApiException { ApiResponse resp = getSmtpReportWithHttpInfo(limit, offset, startDate, endDate, days, tag, sort); return resp.getData(); } @@ -1200,11 +1200,11 @@ public GetReports getSmtpReport(Long limit, Long offset, String startDate, Strin * @param endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Tag of the emails (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetReports> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSmtpReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Integer days, String tag, String sort) throws ApiException { + public ApiResponse getSmtpReportWithHttpInfo(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort) throws ApiException { com.squareup.okhttp.Call call = getSmtpReportValidateBeforeCall(limit, offset, startDate, endDate, days, tag, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1219,12 +1219,12 @@ public ApiResponse getSmtpReportWithHttpInfo(Long limit, Long offset * @param endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Tag of the emails (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSmtpReportAsync(Long limit, Long offset, String startDate, String endDate, Integer days, String tag, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSmtpReportAsync(Long limit, Long offset, String startDate, String endDate, Long days, String tag, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -1378,7 +1378,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -1448,7 +1448,7 @@ private com.squareup.okhttp.Call getSmtpTemplatesValidateBeforeCall(Boolean temp * @param templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetSmtpTemplates * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -1463,7 +1463,7 @@ public GetSmtpTemplates getSmtpTemplates(Boolean templateStatus, Long limit, Lon * @param templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetSmtpTemplates> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -1479,7 +1479,7 @@ public ApiResponse getSmtpTemplatesWithHttpInfo(Boolean templa * @param templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document in the page (optional, default to 0) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1517,7 +1517,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document on the page (optional, default to 0) * @param senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute @@ -1593,7 +1593,7 @@ private com.squareup.okhttp.Call getTransacBlockedContactsValidateBeforeCall(Str * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document on the page (optional, default to 0) * @param senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetTransacBlockedContacts * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -1610,7 +1610,7 @@ public GetTransacBlockedContacts getTransacBlockedContacts(String startDate, Str * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document on the page (optional, default to 0) * @param senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetTransacBlockedContacts> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ @@ -1628,7 +1628,7 @@ public ApiResponse getTransacBlockedContactsWithHttpI * @param limit Number of documents returned per page (optional, default to 50) * @param offset Index of the first document on the page (optional, default to 0) * @param senders Comma separated list of emails of the senders from which contacts are blocked or unsubscribed (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -1789,13 +1789,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param messageId Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) * @param startDate Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTransacEmailsListCall(String email, Long templateId, String messageId, LocalDate startDate, LocalDate endDate, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTransacEmailsListCall(String email, Long templateId, String messageId, String startDate, String endDate, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -1849,7 +1849,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTransacEmailsListValidateBeforeCall(String email, Long templateId, String messageId, LocalDate startDate, LocalDate endDate, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTransacEmailsListValidateBeforeCall(String email, Long templateId, String messageId, String startDate, String endDate, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getTransacEmailsListCall(email, templateId, messageId, startDate, endDate, sort, progressListener, progressRequestListener); @@ -1865,11 +1865,11 @@ private com.squareup.okhttp.Call getTransacEmailsListValidateBeforeCall(String e * @param messageId Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) * @param startDate Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetTransacEmailsList * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetTransacEmailsList getTransacEmailsList(String email, Long templateId, String messageId, LocalDate startDate, LocalDate endDate, String sort) throws ApiException { + public GetTransacEmailsList getTransacEmailsList(String email, Long templateId, String messageId, String startDate, String endDate, String sort) throws ApiException { ApiResponse resp = getTransacEmailsListWithHttpInfo(email, templateId, messageId, startDate, endDate, sort); return resp.getData(); } @@ -1882,11 +1882,11 @@ public GetTransacEmailsList getTransacEmailsList(String email, Long templateId, * @param messageId Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) * @param startDate Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetTransacEmailsList> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTransacEmailsListWithHttpInfo(String email, Long templateId, String messageId, LocalDate startDate, LocalDate endDate, String sort) throws ApiException { + public ApiResponse getTransacEmailsListWithHttpInfo(String email, Long templateId, String messageId, String startDate, String endDate, String sort) throws ApiException { com.squareup.okhttp.Call call = getTransacEmailsListValidateBeforeCall(email, templateId, messageId, startDate, endDate, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -1900,12 +1900,12 @@ public ApiResponse getTransacEmailsListWithHttpInfo(String * @param messageId Mandatory if templateId and email are not passed in query filters. Message ID of the transactional email sent. (optional) * @param startDate Mandatory if endDate is used. Starting date (YYYY-MM-DD) from which you want to fetch the list. Maximum time period that can be selected is one month. (optional) * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) till which you want to fetch the list. Maximum time period that can be selected is one month. (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTransacEmailsListAsync(String email, Long templateId, String messageId, LocalDate startDate, LocalDate endDate, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTransacEmailsListAsync(String email, Long templateId, String messageId, String startDate, String endDate, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; diff --git a/src/main/java/sibApi/TransactionalSmsApi.java b/src/main/java/sibApi/TransactionalSmsApi.java index 1dd5e8b..741c287 100644 --- a/src/main/java/sibApi/TransactionalSmsApi.java +++ b/src/main/java/sibApi/TransactionalSmsApi.java @@ -69,13 +69,13 @@ public void setApiClient(ApiClient apiClient) { * @param phoneNumber Filter the report for a specific phone number (optional) * @param event Filter the report for specific events (optional) * @param tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getSmsEventsCall(Long limit, String startDate, String endDate, Long offset, Integer days, String phoneNumber, String event, String tags, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getSmsEventsCall(Long limit, String startDate, String endDate, Long offset, Long days, String phoneNumber, String event, String tags, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -135,7 +135,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getSmsEventsValidateBeforeCall(Long limit, String startDate, String endDate, Long offset, Integer days, String phoneNumber, String event, String tags, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getSmsEventsValidateBeforeCall(Long limit, String startDate, String endDate, Long offset, Long days, String phoneNumber, String event, String tags, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getSmsEventsCall(limit, startDate, endDate, offset, days, phoneNumber, event, tags, sort, progressListener, progressRequestListener); @@ -154,11 +154,11 @@ private com.squareup.okhttp.Call getSmsEventsValidateBeforeCall(Long limit, Stri * @param phoneNumber Filter the report for a specific phone number (optional) * @param event Filter the report for specific events (optional) * @param tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetSmsEventReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetSmsEventReport getSmsEvents(Long limit, String startDate, String endDate, Long offset, Integer days, String phoneNumber, String event, String tags, String sort) throws ApiException { + public GetSmsEventReport getSmsEvents(Long limit, String startDate, String endDate, Long offset, Long days, String phoneNumber, String event, String tags, String sort) throws ApiException { ApiResponse resp = getSmsEventsWithHttpInfo(limit, startDate, endDate, offset, days, phoneNumber, event, tags, sort); return resp.getData(); } @@ -174,11 +174,11 @@ public GetSmsEventReport getSmsEvents(Long limit, String startDate, String endDa * @param phoneNumber Filter the report for a specific phone number (optional) * @param event Filter the report for specific events (optional) * @param tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetSmsEventReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getSmsEventsWithHttpInfo(Long limit, String startDate, String endDate, Long offset, Integer days, String phoneNumber, String event, String tags, String sort) throws ApiException { + public ApiResponse getSmsEventsWithHttpInfo(Long limit, String startDate, String endDate, Long offset, Long days, String phoneNumber, String event, String tags, String sort) throws ApiException { com.squareup.okhttp.Call call = getSmsEventsValidateBeforeCall(limit, startDate, endDate, offset, days, phoneNumber, event, tags, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -195,12 +195,12 @@ public ApiResponse getSmsEventsWithHttpInfo(Long limit, Strin * @param phoneNumber Filter the report for a specific phone number (optional) * @param event Filter the report for specific events (optional) * @param tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getSmsEventsAsync(Long limit, String startDate, String endDate, Long offset, Integer days, String phoneNumber, String event, String tags, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getSmsEventsAsync(Long limit, String startDate, String endDate, Long offset, Long days, String phoneNumber, String event, String tags, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -237,7 +237,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTransacAggregatedSmsReportCall(String startDate, String endDate, Integer days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTransacAggregatedSmsReportCall(String startDate, String endDate, Long days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -287,7 +287,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTransacAggregatedSmsReportValidateBeforeCall(String startDate, String endDate, Integer days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTransacAggregatedSmsReportValidateBeforeCall(String startDate, String endDate, Long days, String tag, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getTransacAggregatedSmsReportCall(startDate, endDate, days, tag, progressListener, progressRequestListener); @@ -305,7 +305,7 @@ private com.squareup.okhttp.Call getTransacAggregatedSmsReportValidateBeforeCall * @return GetTransacAggregatedSmsReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetTransacAggregatedSmsReport getTransacAggregatedSmsReport(String startDate, String endDate, Integer days, String tag) throws ApiException { + public GetTransacAggregatedSmsReport getTransacAggregatedSmsReport(String startDate, String endDate, Long days, String tag) throws ApiException { ApiResponse resp = getTransacAggregatedSmsReportWithHttpInfo(startDate, endDate, days, tag); return resp.getData(); } @@ -320,7 +320,7 @@ public GetTransacAggregatedSmsReport getTransacAggregatedSmsReport(String startD * @return ApiResponse<GetTransacAggregatedSmsReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTransacAggregatedSmsReportWithHttpInfo(String startDate, String endDate, Integer days, String tag) throws ApiException { + public ApiResponse getTransacAggregatedSmsReportWithHttpInfo(String startDate, String endDate, Long days, String tag) throws ApiException { com.squareup.okhttp.Call call = getTransacAggregatedSmsReportValidateBeforeCall(startDate, endDate, days, tag, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -337,7 +337,7 @@ public ApiResponse getTransacAggregatedSmsReportW * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTransacAggregatedSmsReportAsync(String startDate, String endDate, Integer days, String tag, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTransacAggregatedSmsReportAsync(String startDate, String endDate, Long days, String tag, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; @@ -369,13 +369,13 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Filter on a tag (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param progressListener Progress listener * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object */ - public com.squareup.okhttp.Call getTransacSmsReportCall(String startDate, String endDate, Integer days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + public com.squareup.okhttp.Call getTransacSmsReportCall(String startDate, String endDate, Long days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = null; // create path and map variables @@ -427,7 +427,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch } @SuppressWarnings("rawtypes") - private com.squareup.okhttp.Call getTransacSmsReportValidateBeforeCall(String startDate, String endDate, Integer days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { + private com.squareup.okhttp.Call getTransacSmsReportValidateBeforeCall(String startDate, String endDate, Long days, String tag, String sort, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { com.squareup.okhttp.Call call = getTransacSmsReportCall(startDate, endDate, days, tag, sort, progressListener, progressRequestListener); @@ -442,11 +442,11 @@ private com.squareup.okhttp.Call getTransacSmsReportValidateBeforeCall(String st * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Filter on a tag (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return GetTransacSmsReport * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public GetTransacSmsReport getTransacSmsReport(String startDate, String endDate, Integer days, String tag, String sort) throws ApiException { + public GetTransacSmsReport getTransacSmsReport(String startDate, String endDate, Long days, String tag, String sort) throws ApiException { ApiResponse resp = getTransacSmsReportWithHttpInfo(startDate, endDate, days, tag, sort); return resp.getData(); } @@ -458,11 +458,11 @@ public GetTransacSmsReport getTransacSmsReport(String startDate, String endDate, * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Filter on a tag (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @return ApiResponse<GetTransacSmsReport> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ - public ApiResponse getTransacSmsReportWithHttpInfo(String startDate, String endDate, Integer days, String tag, String sort) throws ApiException { + public ApiResponse getTransacSmsReportWithHttpInfo(String startDate, String endDate, Long days, String tag, String sort) throws ApiException { com.squareup.okhttp.Call call = getTransacSmsReportValidateBeforeCall(startDate, endDate, days, tag, sort, null, null); Type localVarReturnType = new TypeToken(){}.getType(); return apiClient.execute(call, localVarReturnType); @@ -475,12 +475,12 @@ public ApiResponse getTransacSmsReportWithHttpInfo(String s * @param endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param tag Filter on a tag (optional) - * @param sort Sort the results in the ascending/descending order of record creation (optional, default to desc) + * @param sort Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional, default to desc) * @param callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object */ - public com.squareup.okhttp.Call getTransacSmsReportAsync(String startDate, String endDate, Integer days, String tag, String sort, final ApiCallback callback) throws ApiException { + public com.squareup.okhttp.Call getTransacSmsReportAsync(String startDate, String endDate, Long days, String tag, String sort, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; ProgressRequestBody.ProgressRequestListener progressRequestListener = null; diff --git a/src/main/java/sibModel/AbTestCampaignResult.java b/src/main/java/sibModel/AbTestCampaignResult.java index a183109..b4b9e56 100644 --- a/src/main/java/sibModel/AbTestCampaignResult.java +++ b/src/main/java/sibModel/AbTestCampaignResult.java @@ -28,7 +28,7 @@ /** * AbTestCampaignResult */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestCampaignResult { /** * Winning Campaign Info. pending = Campaign has been picked for sending and winning version is yet to be decided, tie = A tie happened between both the versions, notAvailable = Campaign has not yet been picked for sending. diff --git a/src/main/java/sibModel/AbTestCampaignResultClickedLinks.java b/src/main/java/sibModel/AbTestCampaignResultClickedLinks.java index b07749c..cc6176d 100644 --- a/src/main/java/sibModel/AbTestCampaignResultClickedLinks.java +++ b/src/main/java/sibModel/AbTestCampaignResultClickedLinks.java @@ -27,7 +27,7 @@ /** * AbTestCampaignResultClickedLinks */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestCampaignResultClickedLinks { @SerializedName("Version A") private AbTestVersionClicks versionA = null; diff --git a/src/main/java/sibModel/AbTestCampaignResultStatistics.java b/src/main/java/sibModel/AbTestCampaignResultStatistics.java index 03b0392..02079a1 100644 --- a/src/main/java/sibModel/AbTestCampaignResultStatistics.java +++ b/src/main/java/sibModel/AbTestCampaignResultStatistics.java @@ -27,7 +27,7 @@ /** * AbTestCampaignResultStatistics */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestCampaignResultStatistics { @SerializedName("openers") private AbTestVersionStats openers = null; diff --git a/src/main/java/sibModel/AbTestVersionClicks.java b/src/main/java/sibModel/AbTestVersionClicks.java index a531150..901d6f1 100644 --- a/src/main/java/sibModel/AbTestVersionClicks.java +++ b/src/main/java/sibModel/AbTestVersionClicks.java @@ -23,7 +23,7 @@ * Information on clicked links for a particular version */ @ApiModel(description = "Information on clicked links for a particular version") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestVersionClicks extends ArrayList { @Override diff --git a/src/main/java/sibModel/AbTestVersionClicksInner.java b/src/main/java/sibModel/AbTestVersionClicksInner.java index 8fea95b..1d29355 100644 --- a/src/main/java/sibModel/AbTestVersionClicksInner.java +++ b/src/main/java/sibModel/AbTestVersionClicksInner.java @@ -27,7 +27,7 @@ /** * AbTestVersionClicksInner */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestVersionClicksInner { @SerializedName("link") private String link = null; diff --git a/src/main/java/sibModel/AbTestVersionStats.java b/src/main/java/sibModel/AbTestVersionStats.java index 7d5cfc2..7cd497f 100644 --- a/src/main/java/sibModel/AbTestVersionStats.java +++ b/src/main/java/sibModel/AbTestVersionStats.java @@ -27,7 +27,7 @@ * Percentage of a particular event for both versions */ @ApiModel(description = "Percentage of a particular event for both versions") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AbTestVersionStats { @SerializedName("Version A") private String versionA = null; diff --git a/src/main/java/sibModel/AddChildDomain.java b/src/main/java/sibModel/AddChildDomain.java index 0051a27..1da195d 100644 --- a/src/main/java/sibModel/AddChildDomain.java +++ b/src/main/java/sibModel/AddChildDomain.java @@ -26,7 +26,7 @@ /** * AddChildDomain */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AddChildDomain { @SerializedName("domain") private String domain = null; diff --git a/src/main/java/sibModel/AddContactToList.java b/src/main/java/sibModel/AddContactToList.java index 529d59d..6e911fb 100644 --- a/src/main/java/sibModel/AddContactToList.java +++ b/src/main/java/sibModel/AddContactToList.java @@ -28,7 +28,7 @@ /** * AddContactToList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AddContactToList { @SerializedName("emails") private List emails = null; diff --git a/src/main/java/sibModel/AddCredits.java b/src/main/java/sibModel/AddCredits.java index 9430b5e..b8ac7a4 100644 --- a/src/main/java/sibModel/AddCredits.java +++ b/src/main/java/sibModel/AddCredits.java @@ -26,7 +26,7 @@ /** * AddCredits */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class AddCredits { @SerializedName("sms") private Long sms = null; diff --git a/src/main/java/sibModel/BlockDomain.java b/src/main/java/sibModel/BlockDomain.java index c6d1b9a..9b57d5a 100644 --- a/src/main/java/sibModel/BlockDomain.java +++ b/src/main/java/sibModel/BlockDomain.java @@ -26,7 +26,7 @@ /** * BlockDomain */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class BlockDomain { @SerializedName("domain") private String domain = null; diff --git a/src/main/java/sibModel/CreateAttribute.java b/src/main/java/sibModel/CreateAttribute.java index b20bbb5..649f001 100644 --- a/src/main/java/sibModel/CreateAttribute.java +++ b/src/main/java/sibModel/CreateAttribute.java @@ -29,7 +29,7 @@ /** * CreateAttribute */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateAttribute { @SerializedName("value") private String value = null; diff --git a/src/main/java/sibModel/CreateAttributeEnumeration.java b/src/main/java/sibModel/CreateAttributeEnumeration.java index 11bc5a4..8ef2ee8 100644 --- a/src/main/java/sibModel/CreateAttributeEnumeration.java +++ b/src/main/java/sibModel/CreateAttributeEnumeration.java @@ -26,7 +26,7 @@ /** * CreateAttributeEnumeration */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateAttributeEnumeration { @SerializedName("value") private Integer value = null; diff --git a/src/main/java/sibModel/CreateChild.java b/src/main/java/sibModel/CreateChild.java index 7fb99a6..9b40a02 100644 --- a/src/main/java/sibModel/CreateChild.java +++ b/src/main/java/sibModel/CreateChild.java @@ -26,7 +26,7 @@ /** * CreateChild */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateChild { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/CreateContact.java b/src/main/java/sibModel/CreateContact.java index c8869a2..3bb8008 100644 --- a/src/main/java/sibModel/CreateContact.java +++ b/src/main/java/sibModel/CreateContact.java @@ -28,7 +28,7 @@ /** * CreateContact */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateContact { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/CreateDoiContact.java b/src/main/java/sibModel/CreateDoiContact.java index 5873b14..14363a4 100644 --- a/src/main/java/sibModel/CreateDoiContact.java +++ b/src/main/java/sibModel/CreateDoiContact.java @@ -28,7 +28,7 @@ /** * CreateDoiContact */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateDoiContact { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/CreateEmailCampaign.java b/src/main/java/sibModel/CreateEmailCampaign.java index 208e4cf..fb3d018 100644 --- a/src/main/java/sibModel/CreateEmailCampaign.java +++ b/src/main/java/sibModel/CreateEmailCampaign.java @@ -29,7 +29,7 @@ /** * CreateEmailCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateEmailCampaign { @SerializedName("tag") private String tag = null; @@ -50,7 +50,7 @@ public class CreateEmailCampaign { private Long templateId = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("subject") private String subject = null; @@ -270,7 +270,7 @@ public void setTemplateId(Long templateId) { this.templateId = templateId; } - public CreateEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { + public CreateEmailCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -280,11 +280,11 @@ public CreateEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00+02:00", value = "Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part).") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } diff --git a/src/main/java/sibModel/CreateEmailCampaignRecipients.java b/src/main/java/sibModel/CreateEmailCampaignRecipients.java index 331c012..9a85ee8 100644 --- a/src/main/java/sibModel/CreateEmailCampaignRecipients.java +++ b/src/main/java/sibModel/CreateEmailCampaignRecipients.java @@ -29,7 +29,7 @@ * List ids to include/exclude from campaign */ @ApiModel(description = "List ids to include/exclude from campaign") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateEmailCampaignRecipients { @SerializedName("exclusionListIds") private List exclusionListIds = null; diff --git a/src/main/java/sibModel/CreateEmailCampaignSender.java b/src/main/java/sibModel/CreateEmailCampaignSender.java index 3dd648d..a30672b 100644 --- a/src/main/java/sibModel/CreateEmailCampaignSender.java +++ b/src/main/java/sibModel/CreateEmailCampaignSender.java @@ -27,7 +27,7 @@ * Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{"name":"xyz", "email":"example@abc.com"}` , `{"name":"xyz", "id":123}` */ @ApiModel(description = "Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}`") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateEmailCampaignSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateList.java b/src/main/java/sibModel/CreateList.java index 509c97c..1c8ec77 100644 --- a/src/main/java/sibModel/CreateList.java +++ b/src/main/java/sibModel/CreateList.java @@ -26,7 +26,7 @@ /** * CreateList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateList { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateModel.java b/src/main/java/sibModel/CreateModel.java index 5958b95..3dac9c1 100644 --- a/src/main/java/sibModel/CreateModel.java +++ b/src/main/java/sibModel/CreateModel.java @@ -26,7 +26,7 @@ /** * CreateModel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateModel { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/CreateReseller.java b/src/main/java/sibModel/CreateReseller.java index 8bc3524..89a27ef 100644 --- a/src/main/java/sibModel/CreateReseller.java +++ b/src/main/java/sibModel/CreateReseller.java @@ -26,7 +26,7 @@ /** * CreateReseller */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateReseller { @SerializedName("authKey") private String authKey = null; diff --git a/src/main/java/sibModel/CreateSender.java b/src/main/java/sibModel/CreateSender.java index 330930f..a9b166a 100644 --- a/src/main/java/sibModel/CreateSender.java +++ b/src/main/java/sibModel/CreateSender.java @@ -29,7 +29,7 @@ /** * CreateSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateSenderIps.java b/src/main/java/sibModel/CreateSenderIps.java index 3722acc..38f7a88 100644 --- a/src/main/java/sibModel/CreateSenderIps.java +++ b/src/main/java/sibModel/CreateSenderIps.java @@ -26,7 +26,7 @@ /** * CreateSenderIps */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSenderIps { @SerializedName("ip") private String ip = null; diff --git a/src/main/java/sibModel/CreateSenderModel.java b/src/main/java/sibModel/CreateSenderModel.java index 0b24c3a..a7bdc88 100644 --- a/src/main/java/sibModel/CreateSenderModel.java +++ b/src/main/java/sibModel/CreateSenderModel.java @@ -26,7 +26,7 @@ /** * CreateSenderModel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSenderModel { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/CreateSmsCampaign.java b/src/main/java/sibModel/CreateSmsCampaign.java index b82e410..28225ee 100644 --- a/src/main/java/sibModel/CreateSmsCampaign.java +++ b/src/main/java/sibModel/CreateSmsCampaign.java @@ -28,7 +28,7 @@ /** * CreateSmsCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSmsCampaign { @SerializedName("name") private String name = null; @@ -43,7 +43,7 @@ public class CreateSmsCampaign { private CreateSmsCampaignRecipients recipients = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; public CreateSmsCampaign name(String name) { this.name = name; @@ -117,7 +117,7 @@ public void setRecipients(CreateSmsCampaignRecipients recipients) { this.recipients = recipients; } - public CreateSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { + public CreateSmsCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -127,11 +127,11 @@ public CreateSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-05-05T12:30:00+02:00", value = "UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } diff --git a/src/main/java/sibModel/CreateSmsCampaignRecipients.java b/src/main/java/sibModel/CreateSmsCampaignRecipients.java index 4c14d93..28b2db6 100644 --- a/src/main/java/sibModel/CreateSmsCampaignRecipients.java +++ b/src/main/java/sibModel/CreateSmsCampaignRecipients.java @@ -28,7 +28,7 @@ /** * CreateSmsCampaignRecipients */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSmsCampaignRecipients { @SerializedName("listIds") private List listIds = new ArrayList(); diff --git a/src/main/java/sibModel/CreateSmtpEmail.java b/src/main/java/sibModel/CreateSmtpEmail.java index 5a34d73..9f4fb7c 100644 --- a/src/main/java/sibModel/CreateSmtpEmail.java +++ b/src/main/java/sibModel/CreateSmtpEmail.java @@ -22,15 +22,20 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.IOException; +import java.util.ArrayList; +import java.util.List; /** * CreateSmtpEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSmtpEmail { @SerializedName("messageId") private String messageId = null; + @SerializedName("messageIds") + private List messageIds = null; + public CreateSmtpEmail messageId(String messageId) { this.messageId = messageId; return this; @@ -40,7 +45,7 @@ public CreateSmtpEmail messageId(String messageId) { * Message ID of the transactional email sent * @return messageId **/ - @ApiModelProperty(example = "<201798300811.5787683@relay.domain.com>", required = true, value = "Message ID of the transactional email sent") + @ApiModelProperty(example = "<201798300811.5787683@relay.domain.com>", value = "Message ID of the transactional email sent") public String getMessageId() { return messageId; } @@ -49,6 +54,32 @@ public void setMessageId(String messageId) { this.messageId = messageId; } + public CreateSmtpEmail messageIds(List messageIds) { + this.messageIds = messageIds; + return this; + } + + public CreateSmtpEmail addMessageIdsItem(String messageIdsItem) { + if (this.messageIds == null) { + this.messageIds = new ArrayList(); + } + this.messageIds.add(messageIdsItem); + return this; + } + + /** + * Get messageIds + * @return messageIds + **/ + @ApiModelProperty(value = "") + public List getMessageIds() { + return messageIds; + } + + public void setMessageIds(List messageIds) { + this.messageIds = messageIds; + } + @Override public boolean equals(java.lang.Object o) { @@ -59,12 +90,13 @@ public boolean equals(java.lang.Object o) { return false; } CreateSmtpEmail createSmtpEmail = (CreateSmtpEmail) o; - return ObjectUtils.equals(this.messageId, createSmtpEmail.messageId); + return ObjectUtils.equals(this.messageId, createSmtpEmail.messageId) && + ObjectUtils.equals(this.messageIds, createSmtpEmail.messageIds); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(messageId); + return ObjectUtils.hashCodeMulti(messageId, messageIds); } @@ -74,6 +106,7 @@ public String toString() { sb.append("class CreateSmtpEmail {\n"); sb.append(" messageId: ").append(toIndentedString(messageId)).append("\n"); + sb.append(" messageIds: ").append(toIndentedString(messageIds)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/sibModel/CreateSmtpTemplate.java b/src/main/java/sibModel/CreateSmtpTemplate.java index ef6329b..1096402 100644 --- a/src/main/java/sibModel/CreateSmtpTemplate.java +++ b/src/main/java/sibModel/CreateSmtpTemplate.java @@ -27,7 +27,7 @@ /** * CreateSmtpTemplate */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSmtpTemplate { @SerializedName("tag") private String tag = null; diff --git a/src/main/java/sibModel/CreateSmtpTemplateSender.java b/src/main/java/sibModel/CreateSmtpTemplateSender.java index 3224a48..3589601 100644 --- a/src/main/java/sibModel/CreateSmtpTemplateSender.java +++ b/src/main/java/sibModel/CreateSmtpTemplateSender.java @@ -27,7 +27,7 @@ * Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{"name":"xyz", "email":"example@abc.com"}` , `{"name":"xyz", "id":123}` */ @ApiModel(description = "Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}`") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateSmtpTemplateSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateUpdateContactModel.java b/src/main/java/sibModel/CreateUpdateContactModel.java index 6f0102c..f56061b 100644 --- a/src/main/java/sibModel/CreateUpdateContactModel.java +++ b/src/main/java/sibModel/CreateUpdateContactModel.java @@ -26,7 +26,7 @@ /** * CreateUpdateContactModel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateUpdateContactModel { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/CreateUpdateFolder.java b/src/main/java/sibModel/CreateUpdateFolder.java index 2c01954..943d4af 100644 --- a/src/main/java/sibModel/CreateUpdateFolder.java +++ b/src/main/java/sibModel/CreateUpdateFolder.java @@ -26,7 +26,7 @@ /** * CreateUpdateFolder */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateUpdateFolder { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateWebhook.java b/src/main/java/sibModel/CreateWebhook.java index 9e84f02..fd01252 100644 --- a/src/main/java/sibModel/CreateWebhook.java +++ b/src/main/java/sibModel/CreateWebhook.java @@ -28,7 +28,7 @@ /** * CreateWebhook */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreateWebhook { @SerializedName("url") private String url = null; diff --git a/src/main/java/sibModel/CreatedProcessId.java b/src/main/java/sibModel/CreatedProcessId.java index a99915f..00a27aa 100644 --- a/src/main/java/sibModel/CreatedProcessId.java +++ b/src/main/java/sibModel/CreatedProcessId.java @@ -26,7 +26,7 @@ /** * CreatedProcessId */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class CreatedProcessId { @SerializedName("processId") private Long processId = null; diff --git a/src/main/java/sibModel/DeleteHardbounces.java b/src/main/java/sibModel/DeleteHardbounces.java index a240c74..1193cab 100644 --- a/src/main/java/sibModel/DeleteHardbounces.java +++ b/src/main/java/sibModel/DeleteHardbounces.java @@ -26,7 +26,7 @@ /** * DeleteHardbounces */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class DeleteHardbounces { @SerializedName("startDate") private String startDate = null; diff --git a/src/main/java/sibModel/EmailExportRecipients.java b/src/main/java/sibModel/EmailExportRecipients.java index f2b6fdf..00ec4a3 100644 --- a/src/main/java/sibModel/EmailExportRecipients.java +++ b/src/main/java/sibModel/EmailExportRecipients.java @@ -26,7 +26,7 @@ /** * EmailExportRecipients */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class EmailExportRecipients { @SerializedName("notifyURL") private String notifyURL = null; diff --git a/src/main/java/sibModel/ErrorModel.java b/src/main/java/sibModel/ErrorModel.java index 040b5fb..735db91 100644 --- a/src/main/java/sibModel/ErrorModel.java +++ b/src/main/java/sibModel/ErrorModel.java @@ -26,7 +26,7 @@ /** * ErrorModel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class ErrorModel { /** * Error code displayed in case of a failure diff --git a/src/main/java/sibModel/GetAccount.java b/src/main/java/sibModel/GetAccount.java index 3df92af..5c406bc 100644 --- a/src/main/java/sibModel/GetAccount.java +++ b/src/main/java/sibModel/GetAccount.java @@ -33,7 +33,7 @@ /** * GetAccount */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAccount { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/GetAccountMarketingAutomation.java b/src/main/java/sibModel/GetAccountMarketingAutomation.java index 27bdb90..ecd70d8 100644 --- a/src/main/java/sibModel/GetAccountMarketingAutomation.java +++ b/src/main/java/sibModel/GetAccountMarketingAutomation.java @@ -26,7 +26,7 @@ /** * GetAccountMarketingAutomation */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAccountMarketingAutomation { @SerializedName("key") private String key = null; diff --git a/src/main/java/sibModel/GetAccountPlan.java b/src/main/java/sibModel/GetAccountPlan.java index 211ffec..8c0e205 100644 --- a/src/main/java/sibModel/GetAccountPlan.java +++ b/src/main/java/sibModel/GetAccountPlan.java @@ -27,7 +27,7 @@ /** * GetAccountPlan */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAccountPlan { /** * Displays the plan type of the user diff --git a/src/main/java/sibModel/GetAccountRelay.java b/src/main/java/sibModel/GetAccountRelay.java index 09c4ef6..314d4f3 100644 --- a/src/main/java/sibModel/GetAccountRelay.java +++ b/src/main/java/sibModel/GetAccountRelay.java @@ -28,7 +28,7 @@ * Information about your transactional email account */ @ApiModel(description = "Information about your transactional email account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAccountRelay { @SerializedName("enabled") private Boolean enabled = null; diff --git a/src/main/java/sibModel/GetAccountRelayData.java b/src/main/java/sibModel/GetAccountRelayData.java index 30fff27..7537acb 100644 --- a/src/main/java/sibModel/GetAccountRelayData.java +++ b/src/main/java/sibModel/GetAccountRelayData.java @@ -27,7 +27,7 @@ * Data regarding the transactional email account */ @ApiModel(description = "Data regarding the transactional email account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAccountRelayData { @SerializedName("userName") private String userName = null; diff --git a/src/main/java/sibModel/GetAggregatedReport.java b/src/main/java/sibModel/GetAggregatedReport.java index 8ad6cda..9a2da04 100644 --- a/src/main/java/sibModel/GetAggregatedReport.java +++ b/src/main/java/sibModel/GetAggregatedReport.java @@ -26,7 +26,7 @@ /** * GetAggregatedReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAggregatedReport { @SerializedName("range") private String range = null; diff --git a/src/main/java/sibModel/GetAttributes.java b/src/main/java/sibModel/GetAttributes.java index 8edadb4..9bf360a 100644 --- a/src/main/java/sibModel/GetAttributes.java +++ b/src/main/java/sibModel/GetAttributes.java @@ -29,7 +29,7 @@ /** * GetAttributes */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAttributes { @SerializedName("attributes") private List attributes = new ArrayList(); diff --git a/src/main/java/sibModel/GetAttributesAttributes.java b/src/main/java/sibModel/GetAttributesAttributes.java index f6747c4..05aa157 100644 --- a/src/main/java/sibModel/GetAttributesAttributes.java +++ b/src/main/java/sibModel/GetAttributesAttributes.java @@ -29,7 +29,7 @@ /** * GetAttributesAttributes */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAttributesAttributes { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/GetAttributesEnumeration.java b/src/main/java/sibModel/GetAttributesEnumeration.java index 568a409..3b3f27b 100644 --- a/src/main/java/sibModel/GetAttributesEnumeration.java +++ b/src/main/java/sibModel/GetAttributesEnumeration.java @@ -26,7 +26,7 @@ /** * GetAttributesEnumeration */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetAttributesEnumeration { @SerializedName("value") private Long value = null; diff --git a/src/main/java/sibModel/GetBlockedDomains.java b/src/main/java/sibModel/GetBlockedDomains.java index ee7e7ad..987be51 100644 --- a/src/main/java/sibModel/GetBlockedDomains.java +++ b/src/main/java/sibModel/GetBlockedDomains.java @@ -29,7 +29,7 @@ * list of blocked domains */ @ApiModel(description = "list of blocked domains") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetBlockedDomains { @SerializedName("domains") private List domains = new ArrayList(); diff --git a/src/main/java/sibModel/GetCampaignOverview.java b/src/main/java/sibModel/GetCampaignOverview.java index 2c352cf..9044cb6 100644 --- a/src/main/java/sibModel/GetCampaignOverview.java +++ b/src/main/java/sibModel/GetCampaignOverview.java @@ -27,7 +27,7 @@ /** * GetCampaignOverview */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetCampaignOverview { @SerializedName("id") private Long id = null; @@ -147,7 +147,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("abTesting") private Boolean abTesting = null; @@ -260,7 +260,7 @@ public void setStatus(StatusEnum status) { this.status = status; } - public GetCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { + public GetCampaignOverview scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -270,11 +270,11 @@ public GetCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", value = "UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } diff --git a/src/main/java/sibModel/GetCampaignRecipients.java b/src/main/java/sibModel/GetCampaignRecipients.java index 15d94c5..a1eb9c6 100644 --- a/src/main/java/sibModel/GetCampaignRecipients.java +++ b/src/main/java/sibModel/GetCampaignRecipients.java @@ -28,7 +28,7 @@ /** * GetCampaignRecipients */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetCampaignRecipients { @SerializedName("lists") private List lists = new ArrayList(); diff --git a/src/main/java/sibModel/GetCampaignStats.java b/src/main/java/sibModel/GetCampaignStats.java index b0a23fb..125bf6e 100644 --- a/src/main/java/sibModel/GetCampaignStats.java +++ b/src/main/java/sibModel/GetCampaignStats.java @@ -26,7 +26,7 @@ /** * GetCampaignStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetCampaignStats { @SerializedName("listId") private Long listId = null; diff --git a/src/main/java/sibModel/GetChildAccountCreationStatus.java b/src/main/java/sibModel/GetChildAccountCreationStatus.java index 0b3c333..2afbc71 100644 --- a/src/main/java/sibModel/GetChildAccountCreationStatus.java +++ b/src/main/java/sibModel/GetChildAccountCreationStatus.java @@ -26,7 +26,7 @@ /** * GetChildAccountCreationStatus */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildAccountCreationStatus { @SerializedName("childAccountCreated") private Boolean childAccountCreated = null; diff --git a/src/main/java/sibModel/GetChildDomain.java b/src/main/java/sibModel/GetChildDomain.java index c8638ea..9814a17 100644 --- a/src/main/java/sibModel/GetChildDomain.java +++ b/src/main/java/sibModel/GetChildDomain.java @@ -26,7 +26,7 @@ /** * GetChildDomain */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildDomain { @SerializedName("domain") private String domain = null; diff --git a/src/main/java/sibModel/GetChildDomains.java b/src/main/java/sibModel/GetChildDomains.java index fca174d..c8ace9a 100644 --- a/src/main/java/sibModel/GetChildDomains.java +++ b/src/main/java/sibModel/GetChildDomains.java @@ -20,7 +20,7 @@ /** * GetChildDomains */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildDomains extends ArrayList { @Override diff --git a/src/main/java/sibModel/GetChildInfo.java b/src/main/java/sibModel/GetChildInfo.java index 62a00fd..3f2e7cb 100644 --- a/src/main/java/sibModel/GetChildInfo.java +++ b/src/main/java/sibModel/GetChildInfo.java @@ -32,7 +32,7 @@ /** * GetChildInfo */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfo { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/GetChildInfoApiKeys.java b/src/main/java/sibModel/GetChildInfoApiKeys.java index f188470..f95ddfb 100644 --- a/src/main/java/sibModel/GetChildInfoApiKeys.java +++ b/src/main/java/sibModel/GetChildInfoApiKeys.java @@ -31,7 +31,7 @@ * API Keys associated to child account */ @ApiModel(description = "API Keys associated to child account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfoApiKeys { @SerializedName("v2") private List v2 = new ArrayList(); diff --git a/src/main/java/sibModel/GetChildInfoApiKeysV2.java b/src/main/java/sibModel/GetChildInfoApiKeysV2.java index f311e1b..8af24ca 100644 --- a/src/main/java/sibModel/GetChildInfoApiKeysV2.java +++ b/src/main/java/sibModel/GetChildInfoApiKeysV2.java @@ -26,7 +26,7 @@ /** * GetChildInfoApiKeysV2 */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfoApiKeysV2 { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/GetChildInfoApiKeysV3.java b/src/main/java/sibModel/GetChildInfoApiKeysV3.java index 35a0133..2af309e 100644 --- a/src/main/java/sibModel/GetChildInfoApiKeysV3.java +++ b/src/main/java/sibModel/GetChildInfoApiKeysV3.java @@ -26,7 +26,7 @@ /** * GetChildInfoApiKeysV3 */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfoApiKeysV3 { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/GetChildInfoCredits.java b/src/main/java/sibModel/GetChildInfoCredits.java index 1ca2391..ccac9d3 100644 --- a/src/main/java/sibModel/GetChildInfoCredits.java +++ b/src/main/java/sibModel/GetChildInfoCredits.java @@ -27,7 +27,7 @@ * Credits available for your child */ @ApiModel(description = "Credits available for your child") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfoCredits { @SerializedName("emailCredits") private Long emailCredits = null; diff --git a/src/main/java/sibModel/GetChildInfoStatistics.java b/src/main/java/sibModel/GetChildInfoStatistics.java index 5f5487f..da02158 100644 --- a/src/main/java/sibModel/GetChildInfoStatistics.java +++ b/src/main/java/sibModel/GetChildInfoStatistics.java @@ -27,7 +27,7 @@ * Statistics about your child account activity */ @ApiModel(description = "Statistics about your child account activity") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildInfoStatistics { @SerializedName("previousMonthTotalSent") private Long previousMonthTotalSent = null; diff --git a/src/main/java/sibModel/GetChildrenList.java b/src/main/java/sibModel/GetChildrenList.java index 8ed0c43..d036eb1 100644 --- a/src/main/java/sibModel/GetChildrenList.java +++ b/src/main/java/sibModel/GetChildrenList.java @@ -28,7 +28,7 @@ /** * GetChildrenList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetChildrenList { @SerializedName("children") private List children = null; diff --git a/src/main/java/sibModel/GetClient.java b/src/main/java/sibModel/GetClient.java index 92e825a..27ba9e5 100644 --- a/src/main/java/sibModel/GetClient.java +++ b/src/main/java/sibModel/GetClient.java @@ -26,7 +26,7 @@ /** * GetClient */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetClient { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/GetContactCampaignStats.java b/src/main/java/sibModel/GetContactCampaignStats.java index cf071ff..e35783b 100644 --- a/src/main/java/sibModel/GetContactCampaignStats.java +++ b/src/main/java/sibModel/GetContactCampaignStats.java @@ -34,7 +34,7 @@ * Campaign Statistics for the contact */ @ApiModel(description = "Campaign Statistics for the contact") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactCampaignStats { @SerializedName("messagesSent") private List messagesSent = null; diff --git a/src/main/java/sibModel/GetContactCampaignStatsClicked.java b/src/main/java/sibModel/GetContactCampaignStatsClicked.java index bd0622b..61c1eed 100644 --- a/src/main/java/sibModel/GetContactCampaignStatsClicked.java +++ b/src/main/java/sibModel/GetContactCampaignStatsClicked.java @@ -29,7 +29,7 @@ /** * GetContactCampaignStatsClicked */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactCampaignStatsClicked { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetContactCampaignStatsOpened.java b/src/main/java/sibModel/GetContactCampaignStatsOpened.java index e228869..5c91317 100644 --- a/src/main/java/sibModel/GetContactCampaignStatsOpened.java +++ b/src/main/java/sibModel/GetContactCampaignStatsOpened.java @@ -27,7 +27,7 @@ /** * GetContactCampaignStatsOpened */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactCampaignStatsOpened { @SerializedName("campaignId") private Long campaignId = null; @@ -36,7 +36,7 @@ public class GetContactCampaignStatsOpened { private Long count = null; @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; @SerializedName("ip") private String ip = null; @@ -77,7 +77,7 @@ public void setCount(Long count) { this.count = count; } - public GetContactCampaignStatsOpened eventTime(OffsetDateTime eventTime) { + public GetContactCampaignStatsOpened eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -87,11 +87,11 @@ public GetContactCampaignStatsOpened eventTime(OffsetDateTime eventTime) { * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java b/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java index 1e71aa2..6a266c6 100644 --- a/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java +++ b/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java @@ -27,7 +27,7 @@ /** * GetContactCampaignStatsTransacAttributes */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactCampaignStatsTransacAttributes { @SerializedName("orderDate") private LocalDate orderDate = null; diff --git a/src/main/java/sibModel/GetContactCampaignStatsUnsubscriptions.java b/src/main/java/sibModel/GetContactCampaignStatsUnsubscriptions.java index 7b92823..0ff2df9 100644 --- a/src/main/java/sibModel/GetContactCampaignStatsUnsubscriptions.java +++ b/src/main/java/sibModel/GetContactCampaignStatsUnsubscriptions.java @@ -30,7 +30,7 @@ /** * GetContactCampaignStatsUnsubscriptions */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactCampaignStatsUnsubscriptions { @SerializedName("userUnsubscription") private List userUnsubscription = new ArrayList(); diff --git a/src/main/java/sibModel/GetContactDetails.java b/src/main/java/sibModel/GetContactDetails.java index 95c9fe2..50eb8cb 100644 --- a/src/main/java/sibModel/GetContactDetails.java +++ b/src/main/java/sibModel/GetContactDetails.java @@ -29,7 +29,7 @@ /** * GetContactDetails */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContactDetails { @SerializedName("email") private String email = null; @@ -44,10 +44,10 @@ public class GetContactDetails { private Boolean smsBlacklisted = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("listIds") private List listIds = new ArrayList(); @@ -130,7 +130,7 @@ public void setSmsBlacklisted(Boolean smsBlacklisted) { this.smsBlacklisted = smsBlacklisted; } - public GetContactDetails createdAt(OffsetDateTime createdAt) { + public GetContactDetails createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -140,15 +140,15 @@ public GetContactDetails createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-05-12T12:30:00Z", required = true, value = "Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetContactDetails modifiedAt(OffsetDateTime modifiedAt) { + public GetContactDetails modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -158,11 +158,11 @@ public GetContactDetails modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-12T12:30:00Z", required = true, value = "Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetContacts.java b/src/main/java/sibModel/GetContacts.java index c27e6a3..e1f8ce2 100644 --- a/src/main/java/sibModel/GetContacts.java +++ b/src/main/java/sibModel/GetContacts.java @@ -28,7 +28,7 @@ /** * GetContacts */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetContacts { @SerializedName("contacts") private List contacts = new ArrayList(); diff --git a/src/main/java/sibModel/GetDeviceBrowserStats.java b/src/main/java/sibModel/GetDeviceBrowserStats.java index 1f328aa..69d6cff 100644 --- a/src/main/java/sibModel/GetDeviceBrowserStats.java +++ b/src/main/java/sibModel/GetDeviceBrowserStats.java @@ -26,7 +26,7 @@ /** * GetDeviceBrowserStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetDeviceBrowserStats { @SerializedName("clickers") private Long clickers = null; diff --git a/src/main/java/sibModel/GetEmailCampaign.java b/src/main/java/sibModel/GetEmailCampaign.java index 142ba3d..b9c6a8b 100644 --- a/src/main/java/sibModel/GetEmailCampaign.java +++ b/src/main/java/sibModel/GetEmailCampaign.java @@ -29,7 +29,7 @@ /** * GetEmailCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetEmailCampaign { @SerializedName("id") private Long id = null; @@ -149,7 +149,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("abTesting") private Boolean abTesting = null; @@ -200,10 +200,10 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private String tag = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("inlineImageActivation") private Boolean inlineImageActivation = null; @@ -215,7 +215,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private Boolean recurring = null; @SerializedName("sentDate") - private OffsetDateTime sentDate = null; + private String sentDate = null; @SerializedName("returnBounce") private Long returnBounce = null; @@ -316,7 +316,7 @@ public void setStatus(StatusEnum status) { this.status = status; } - public GetEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { + public GetEmailCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -326,11 +326,11 @@ public GetEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", value = "UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } @@ -622,7 +622,7 @@ public void setTag(String tag) { this.tag = tag; } - public GetEmailCampaign createdAt(OffsetDateTime createdAt) { + public GetEmailCampaign createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -632,15 +632,15 @@ public GetEmailCampaign createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetEmailCampaign modifiedAt(OffsetDateTime modifiedAt) { + public GetEmailCampaign modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -650,11 +650,11 @@ public GetEmailCampaign modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } @@ -712,7 +712,7 @@ public void setRecurring(Boolean recurring) { this.recurring = recurring; } - public GetEmailCampaign sentDate(OffsetDateTime sentDate) { + public GetEmailCampaign sentDate(String sentDate) { this.sentDate = sentDate; return this; } @@ -722,11 +722,11 @@ public GetEmailCampaign sentDate(OffsetDateTime sentDate) { * @return sentDate **/ @ApiModelProperty(example = "2018-12-01T16:30:00Z", value = "Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent'") - public OffsetDateTime getSentDate() { + public String getSentDate() { return sentDate; } - public void setSentDate(OffsetDateTime sentDate) { + public void setSentDate(String sentDate) { this.sentDate = sentDate; } diff --git a/src/main/java/sibModel/GetEmailCampaigns.java b/src/main/java/sibModel/GetEmailCampaigns.java index 9c0eaba..f78df8b 100644 --- a/src/main/java/sibModel/GetEmailCampaigns.java +++ b/src/main/java/sibModel/GetEmailCampaigns.java @@ -28,7 +28,7 @@ /** * GetEmailCampaigns */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetEmailCampaigns { @SerializedName("campaigns") private List campaigns = null; diff --git a/src/main/java/sibModel/GetEmailEventReport.java b/src/main/java/sibModel/GetEmailEventReport.java index 1090581..4356dde 100644 --- a/src/main/java/sibModel/GetEmailEventReport.java +++ b/src/main/java/sibModel/GetEmailEventReport.java @@ -29,7 +29,7 @@ /** * GetEmailEventReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetEmailEventReport { @SerializedName("events") private List events = null; diff --git a/src/main/java/sibModel/GetEmailEventReportEvents.java b/src/main/java/sibModel/GetEmailEventReportEvents.java index 9cb8519..a757ed5 100644 --- a/src/main/java/sibModel/GetEmailEventReportEvents.java +++ b/src/main/java/sibModel/GetEmailEventReportEvents.java @@ -27,13 +27,13 @@ /** * GetEmailEventReportEvents */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetEmailEventReportEvents { @SerializedName("email") private String email = null; @SerializedName("date") - private OffsetDateTime date = null; + private String date = null; @SerializedName("subject") private String subject = null; @@ -149,7 +149,7 @@ public void setEmail(String email) { this.email = email; } - public GetEmailEventReportEvents date(OffsetDateTime date) { + public GetEmailEventReportEvents date(String date) { this.date = date; return this; } @@ -159,11 +159,11 @@ public GetEmailEventReportEvents date(OffsetDateTime date) { * @return date **/ @ApiModelProperty(example = "2017-03-12T12:30:00Z", required = true, value = "UTC date-time on which the event has been generated") - public OffsetDateTime getDate() { + public String getDate() { return date; } - public void setDate(OffsetDateTime date) { + public void setDate(String date) { this.date = date; } diff --git a/src/main/java/sibModel/GetExtendedCampaignOverview.java b/src/main/java/sibModel/GetExtendedCampaignOverview.java index 661971f..a385b3c 100644 --- a/src/main/java/sibModel/GetExtendedCampaignOverview.java +++ b/src/main/java/sibModel/GetExtendedCampaignOverview.java @@ -29,7 +29,7 @@ /** * GetExtendedCampaignOverview */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedCampaignOverview { @SerializedName("id") private Long id = null; @@ -149,7 +149,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private StatusEnum status = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("abTesting") private Boolean abTesting = null; @@ -200,10 +200,10 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private String tag = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("inlineImageActivation") private Boolean inlineImageActivation = null; @@ -215,7 +215,7 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private Boolean recurring = null; @SerializedName("sentDate") - private OffsetDateTime sentDate = null; + private String sentDate = null; @SerializedName("returnBounce") private Long returnBounce = null; @@ -310,7 +310,7 @@ public void setStatus(StatusEnum status) { this.status = status; } - public GetExtendedCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { + public GetExtendedCampaignOverview scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -320,11 +320,11 @@ public GetExtendedCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", value = "UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } @@ -616,7 +616,7 @@ public void setTag(String tag) { this.tag = tag; } - public GetExtendedCampaignOverview createdAt(OffsetDateTime createdAt) { + public GetExtendedCampaignOverview createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -626,15 +626,15 @@ public GetExtendedCampaignOverview createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetExtendedCampaignOverview modifiedAt(OffsetDateTime modifiedAt) { + public GetExtendedCampaignOverview modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -644,11 +644,11 @@ public GetExtendedCampaignOverview modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } @@ -706,7 +706,7 @@ public void setRecurring(Boolean recurring) { this.recurring = recurring; } - public GetExtendedCampaignOverview sentDate(OffsetDateTime sentDate) { + public GetExtendedCampaignOverview sentDate(String sentDate) { this.sentDate = sentDate; return this; } @@ -716,11 +716,11 @@ public GetExtendedCampaignOverview sentDate(OffsetDateTime sentDate) { * @return sentDate **/ @ApiModelProperty(example = "2018-12-01T16:30:00Z", value = "Sent UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if 'status' of the campaign is 'sent'") - public OffsetDateTime getSentDate() { + public String getSentDate() { return sentDate; } - public void setSentDate(OffsetDateTime sentDate) { + public void setSentDate(String sentDate) { this.sentDate = sentDate; } diff --git a/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java b/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java index 370a03d..1a3377c 100644 --- a/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java +++ b/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java @@ -26,7 +26,7 @@ /** * GetExtendedCampaignOverviewSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedCampaignOverviewSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/GetExtendedCampaignStats.java b/src/main/java/sibModel/GetExtendedCampaignStats.java index 9c16ded..89d7a38 100644 --- a/src/main/java/sibModel/GetExtendedCampaignStats.java +++ b/src/main/java/sibModel/GetExtendedCampaignStats.java @@ -31,7 +31,7 @@ /** * GetExtendedCampaignStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedCampaignStats { @SerializedName("globalStats") private Object globalStats = null; diff --git a/src/main/java/sibModel/GetExtendedClient.java b/src/main/java/sibModel/GetExtendedClient.java index a607328..39bc35f 100644 --- a/src/main/java/sibModel/GetExtendedClient.java +++ b/src/main/java/sibModel/GetExtendedClient.java @@ -28,7 +28,7 @@ /** * GetExtendedClient */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedClient { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/GetExtendedClientAddress.java b/src/main/java/sibModel/GetExtendedClientAddress.java index 9c74761..2e4f9f8 100644 --- a/src/main/java/sibModel/GetExtendedClientAddress.java +++ b/src/main/java/sibModel/GetExtendedClientAddress.java @@ -27,7 +27,7 @@ * Address informations */ @ApiModel(description = "Address informations") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedClientAddress { @SerializedName("street") private String street = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetails.java b/src/main/java/sibModel/GetExtendedContactDetails.java index 7cc3fe4..fe2b578 100644 --- a/src/main/java/sibModel/GetExtendedContactDetails.java +++ b/src/main/java/sibModel/GetExtendedContactDetails.java @@ -31,7 +31,7 @@ /** * GetExtendedContactDetails */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetails { @SerializedName("email") private String email = null; @@ -46,10 +46,10 @@ public class GetExtendedContactDetails { private Boolean smsBlacklisted = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("listIds") private List listIds = new ArrayList(); @@ -135,7 +135,7 @@ public void setSmsBlacklisted(Boolean smsBlacklisted) { this.smsBlacklisted = smsBlacklisted; } - public GetExtendedContactDetails createdAt(OffsetDateTime createdAt) { + public GetExtendedContactDetails createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -145,15 +145,15 @@ public GetExtendedContactDetails createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-05-12T12:30:00Z", required = true, value = "Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetExtendedContactDetails modifiedAt(OffsetDateTime modifiedAt) { + public GetExtendedContactDetails modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -163,11 +163,11 @@ public GetExtendedContactDetails modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-12T12:30:00Z", required = true, value = "Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java b/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java index 8f600fa..2c8dfb0 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java @@ -33,7 +33,7 @@ * Campaign statistics of the contact */ @ApiModel(description = "Campaign statistics of the contact") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatistics { @SerializedName("messagesSent") private List messagesSent = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsClicked.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsClicked.java index 863c294..10a71c8 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsClicked.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsClicked.java @@ -29,7 +29,7 @@ /** * GetExtendedContactDetailsStatisticsClicked */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsClicked { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java index e12bbf6..291ff93 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java @@ -27,13 +27,13 @@ /** * GetExtendedContactDetailsStatisticsLinks */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsLinks { @SerializedName("count") private Long count = null; @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; @SerializedName("ip") private String ip = null; @@ -59,7 +59,7 @@ public void setCount(Long count) { this.count = count; } - public GetExtendedContactDetailsStatisticsLinks eventTime(OffsetDateTime eventTime) { + public GetExtendedContactDetailsStatisticsLinks eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -69,11 +69,11 @@ public GetExtendedContactDetailsStatisticsLinks eventTime(OffsetDateTime eventTi * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java index 909fdf7..454bb63 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java @@ -27,13 +27,13 @@ /** * GetExtendedContactDetailsStatisticsMessagesSent */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsMessagesSent { @SerializedName("campaignId") private Long campaignId = null; @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; public GetExtendedContactDetailsStatisticsMessagesSent campaignId(Long campaignId) { this.campaignId = campaignId; @@ -53,7 +53,7 @@ public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public GetExtendedContactDetailsStatisticsMessagesSent eventTime(OffsetDateTime eventTime) { + public GetExtendedContactDetailsStatisticsMessagesSent eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -63,11 +63,11 @@ public GetExtendedContactDetailsStatisticsMessagesSent eventTime(OffsetDateTime * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java index dea75fd..8be59a9 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java @@ -27,7 +27,7 @@ /** * GetExtendedContactDetailsStatisticsOpened */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsOpened { @SerializedName("campaignId") private Long campaignId = null; @@ -36,7 +36,7 @@ public class GetExtendedContactDetailsStatisticsOpened { private Long count = null; @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; @SerializedName("ip") private String ip = null; @@ -77,7 +77,7 @@ public void setCount(Long count) { this.count = count; } - public GetExtendedContactDetailsStatisticsOpened eventTime(OffsetDateTime eventTime) { + public GetExtendedContactDetailsStatisticsOpened eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -87,11 +87,11 @@ public GetExtendedContactDetailsStatisticsOpened eventTime(OffsetDateTime eventT * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java index 9032711..383b291 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java @@ -31,7 +31,7 @@ * Listing of the unsubscription for the contact */ @ApiModel(description = "Listing of the unsubscription for the contact") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsUnsubscriptions { @SerializedName("userUnsubscription") private List userUnsubscription = new ArrayList(); diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java index 4cbb6ef..c4b13fc 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java @@ -27,15 +27,15 @@ /** * GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription { @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; @SerializedName("ip") private String ip = null; - public GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription eventTime(OffsetDateTime eventTime) { + public GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -45,11 +45,11 @@ public GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription eve * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java index 18026b2..811a292 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java @@ -27,13 +27,13 @@ /** * GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription { @SerializedName("campaignId") private Long campaignId = null; @SerializedName("eventTime") - private OffsetDateTime eventTime = null; + private String eventTime = null; @SerializedName("ip") private String ip = null; @@ -56,7 +56,7 @@ public void setCampaignId(Long campaignId) { this.campaignId = campaignId; } - public GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription eventTime(OffsetDateTime eventTime) { + public GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription eventTime(String eventTime) { this.eventTime = eventTime; return this; } @@ -66,11 +66,11 @@ public GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription even * @return eventTime **/ @ApiModelProperty(example = "2017-03-12T20:15:13Z", required = true, value = "UTC date-time of the event") - public OffsetDateTime getEventTime() { + public String getEventTime() { return eventTime; } - public void setEventTime(OffsetDateTime eventTime) { + public void setEventTime(String eventTime) { this.eventTime = eventTime; } diff --git a/src/main/java/sibModel/GetExtendedList.java b/src/main/java/sibModel/GetExtendedList.java index c1c12b4..a02ee89 100644 --- a/src/main/java/sibModel/GetExtendedList.java +++ b/src/main/java/sibModel/GetExtendedList.java @@ -31,7 +31,7 @@ /** * GetExtendedList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedList { @SerializedName("id") private Long id = null; @@ -49,7 +49,7 @@ public class GetExtendedList { private Long folderId = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("campaignStats") private List campaignStats = null; @@ -147,7 +147,7 @@ public void setFolderId(Long folderId) { this.folderId = folderId; } - public GetExtendedList createdAt(OffsetDateTime createdAt) { + public GetExtendedList createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -157,11 +157,11 @@ public GetExtendedList createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-03-13T17:05:09Z", required = true, value = "Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } diff --git a/src/main/java/sibModel/GetExtendedListCampaignStats.java b/src/main/java/sibModel/GetExtendedListCampaignStats.java index 88eb3d9..d5ea90b 100644 --- a/src/main/java/sibModel/GetExtendedListCampaignStats.java +++ b/src/main/java/sibModel/GetExtendedListCampaignStats.java @@ -27,7 +27,7 @@ /** * GetExtendedListCampaignStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetExtendedListCampaignStats { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetFolder.java b/src/main/java/sibModel/GetFolder.java index 799194d..64ab648 100644 --- a/src/main/java/sibModel/GetFolder.java +++ b/src/main/java/sibModel/GetFolder.java @@ -26,7 +26,7 @@ /** * GetFolder */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetFolder { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetFolderLists.java b/src/main/java/sibModel/GetFolderLists.java index f845166..d37c293 100644 --- a/src/main/java/sibModel/GetFolderLists.java +++ b/src/main/java/sibModel/GetFolderLists.java @@ -28,7 +28,7 @@ /** * GetFolderLists */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetFolderLists { @SerializedName("lists") private List lists = null; diff --git a/src/main/java/sibModel/GetFolders.java b/src/main/java/sibModel/GetFolders.java index a332643..707ffd6 100644 --- a/src/main/java/sibModel/GetFolders.java +++ b/src/main/java/sibModel/GetFolders.java @@ -28,7 +28,7 @@ /** * GetFolders */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetFolders { @SerializedName("folders") private List folders = null; diff --git a/src/main/java/sibModel/GetIp.java b/src/main/java/sibModel/GetIp.java index 4fe0e3c..8323375 100644 --- a/src/main/java/sibModel/GetIp.java +++ b/src/main/java/sibModel/GetIp.java @@ -26,7 +26,7 @@ /** * GetIp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetIp { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetIpFromSender.java b/src/main/java/sibModel/GetIpFromSender.java index baa4592..9bd8f89 100644 --- a/src/main/java/sibModel/GetIpFromSender.java +++ b/src/main/java/sibModel/GetIpFromSender.java @@ -26,7 +26,7 @@ /** * GetIpFromSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetIpFromSender { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetIps.java b/src/main/java/sibModel/GetIps.java index 8616dd0..0c0874b 100644 --- a/src/main/java/sibModel/GetIps.java +++ b/src/main/java/sibModel/GetIps.java @@ -29,7 +29,7 @@ /** * GetIps */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetIps { @SerializedName("ips") private List ips = new ArrayList(); diff --git a/src/main/java/sibModel/GetIpsFromSender.java b/src/main/java/sibModel/GetIpsFromSender.java index 7f4f599..33887a5 100644 --- a/src/main/java/sibModel/GetIpsFromSender.java +++ b/src/main/java/sibModel/GetIpsFromSender.java @@ -29,7 +29,7 @@ /** * GetIpsFromSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetIpsFromSender { @SerializedName("ips") private List ips = new ArrayList(); diff --git a/src/main/java/sibModel/GetList.java b/src/main/java/sibModel/GetList.java index 64f011b..18ed4e1 100644 --- a/src/main/java/sibModel/GetList.java +++ b/src/main/java/sibModel/GetList.java @@ -26,7 +26,7 @@ /** * GetList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetList { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetLists.java b/src/main/java/sibModel/GetLists.java index 5b19c49..f070624 100644 --- a/src/main/java/sibModel/GetLists.java +++ b/src/main/java/sibModel/GetLists.java @@ -28,7 +28,7 @@ /** * GetLists */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetLists { @SerializedName("lists") private List lists = null; diff --git a/src/main/java/sibModel/GetProcess.java b/src/main/java/sibModel/GetProcess.java index de2e892..d258286 100644 --- a/src/main/java/sibModel/GetProcess.java +++ b/src/main/java/sibModel/GetProcess.java @@ -26,7 +26,7 @@ /** * GetProcess */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetProcess { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetProcesses.java b/src/main/java/sibModel/GetProcesses.java index 8d55062..a393d59 100644 --- a/src/main/java/sibModel/GetProcesses.java +++ b/src/main/java/sibModel/GetProcesses.java @@ -29,7 +29,7 @@ /** * GetProcesses */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetProcesses { @SerializedName("processes") private List processes = null; diff --git a/src/main/java/sibModel/GetReports.java b/src/main/java/sibModel/GetReports.java index b7ab090..7b37b39 100644 --- a/src/main/java/sibModel/GetReports.java +++ b/src/main/java/sibModel/GetReports.java @@ -29,7 +29,7 @@ /** * GetReports */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetReports { @SerializedName("reports") private List reports = null; diff --git a/src/main/java/sibModel/GetReportsReports.java b/src/main/java/sibModel/GetReportsReports.java index f58e015..54e0a8d 100644 --- a/src/main/java/sibModel/GetReportsReports.java +++ b/src/main/java/sibModel/GetReportsReports.java @@ -27,7 +27,7 @@ /** * GetReportsReports */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetReportsReports { @SerializedName("date") private LocalDate date = null; diff --git a/src/main/java/sibModel/GetSendersList.java b/src/main/java/sibModel/GetSendersList.java index acfba41..b0a86a8 100644 --- a/src/main/java/sibModel/GetSendersList.java +++ b/src/main/java/sibModel/GetSendersList.java @@ -29,7 +29,7 @@ /** * GetSendersList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSendersList { @SerializedName("senders") private List senders = null; diff --git a/src/main/java/sibModel/GetSendersListIps.java b/src/main/java/sibModel/GetSendersListIps.java index 82d05ae..bf7694a 100644 --- a/src/main/java/sibModel/GetSendersListIps.java +++ b/src/main/java/sibModel/GetSendersListIps.java @@ -26,7 +26,7 @@ /** * GetSendersListIps */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSendersListIps { @SerializedName("ip") private String ip = null; diff --git a/src/main/java/sibModel/GetSendersListSenders.java b/src/main/java/sibModel/GetSendersListSenders.java index b827b36..257c9b8 100644 --- a/src/main/java/sibModel/GetSendersListSenders.java +++ b/src/main/java/sibModel/GetSendersListSenders.java @@ -29,7 +29,7 @@ /** * GetSendersListSenders */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSendersListSenders { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetSharedTemplateUrl.java b/src/main/java/sibModel/GetSharedTemplateUrl.java index b908ab2..2125413 100644 --- a/src/main/java/sibModel/GetSharedTemplateUrl.java +++ b/src/main/java/sibModel/GetSharedTemplateUrl.java @@ -26,7 +26,7 @@ /** * GetSharedTemplateUrl */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSharedTemplateUrl { @SerializedName("sharedUrl") private String sharedUrl = null; diff --git a/src/main/java/sibModel/GetSmsCampaign.java b/src/main/java/sibModel/GetSmsCampaign.java index a903980..47ad559 100644 --- a/src/main/java/sibModel/GetSmsCampaign.java +++ b/src/main/java/sibModel/GetSmsCampaign.java @@ -28,7 +28,7 @@ /** * GetSmsCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsCampaign { @SerializedName("id") private Long id = null; @@ -98,16 +98,16 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private String content = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("sender") private String sender = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("recipients") private Object recipients = null; @@ -187,7 +187,7 @@ public void setContent(String content) { this.content = content; } - public GetSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { + public GetSmsCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -197,11 +197,11 @@ public GetSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", value = "UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } @@ -223,7 +223,7 @@ public void setSender(String sender) { this.sender = sender; } - public GetSmsCampaign createdAt(OffsetDateTime createdAt) { + public GetSmsCampaign createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -233,15 +233,15 @@ public GetSmsCampaign createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", required = true, value = "Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetSmsCampaign modifiedAt(OffsetDateTime modifiedAt) { + public GetSmsCampaign modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -251,11 +251,11 @@ public GetSmsCampaign modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetSmsCampaignOverview.java b/src/main/java/sibModel/GetSmsCampaignOverview.java index 8d4e151..87f17a2 100644 --- a/src/main/java/sibModel/GetSmsCampaignOverview.java +++ b/src/main/java/sibModel/GetSmsCampaignOverview.java @@ -27,7 +27,7 @@ /** * GetSmsCampaignOverview */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsCampaignOverview { @SerializedName("id") private Long id = null; @@ -97,16 +97,16 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { private String content = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("sender") private String sender = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; public GetSmsCampaignOverview id(Long id) { this.id = id; @@ -180,7 +180,7 @@ public void setContent(String content) { this.content = content; } - public GetSmsCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { + public GetSmsCampaignOverview scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -190,11 +190,11 @@ public GetSmsCampaignOverview scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", value = "UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } @@ -216,7 +216,7 @@ public void setSender(String sender) { this.sender = sender; } - public GetSmsCampaignOverview createdAt(OffsetDateTime createdAt) { + public GetSmsCampaignOverview createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -226,15 +226,15 @@ public GetSmsCampaignOverview createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00Z", required = true, value = "Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetSmsCampaignOverview modifiedAt(OffsetDateTime modifiedAt) { + public GetSmsCampaignOverview modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -244,11 +244,11 @@ public GetSmsCampaignOverview modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetSmsCampaignStats.java b/src/main/java/sibModel/GetSmsCampaignStats.java index 66a9136..469f0de 100644 --- a/src/main/java/sibModel/GetSmsCampaignStats.java +++ b/src/main/java/sibModel/GetSmsCampaignStats.java @@ -26,7 +26,7 @@ /** * GetSmsCampaignStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsCampaignStats { @SerializedName("delivered") private Long delivered = null; diff --git a/src/main/java/sibModel/GetSmsCampaigns.java b/src/main/java/sibModel/GetSmsCampaigns.java index 2151bdb..4c6b0fa 100644 --- a/src/main/java/sibModel/GetSmsCampaigns.java +++ b/src/main/java/sibModel/GetSmsCampaigns.java @@ -28,7 +28,7 @@ /** * GetSmsCampaigns */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsCampaigns { @SerializedName("campaigns") private List campaigns = null; diff --git a/src/main/java/sibModel/GetSmsEventReport.java b/src/main/java/sibModel/GetSmsEventReport.java index 919a781..32e3291 100644 --- a/src/main/java/sibModel/GetSmsEventReport.java +++ b/src/main/java/sibModel/GetSmsEventReport.java @@ -29,7 +29,7 @@ /** * GetSmsEventReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsEventReport { @SerializedName("events") private List events = null; diff --git a/src/main/java/sibModel/GetSmsEventReportEvents.java b/src/main/java/sibModel/GetSmsEventReportEvents.java index 9821e64..ca332ca 100644 --- a/src/main/java/sibModel/GetSmsEventReportEvents.java +++ b/src/main/java/sibModel/GetSmsEventReportEvents.java @@ -27,13 +27,13 @@ /** * GetSmsEventReportEvents */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmsEventReportEvents { @SerializedName("phoneNumber") private String phoneNumber = null; @SerializedName("date") - private OffsetDateTime date = null; + private String date = null; @SerializedName("messageId") private String messageId = null; @@ -129,7 +129,7 @@ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } - public GetSmsEventReportEvents date(OffsetDateTime date) { + public GetSmsEventReportEvents date(String date) { this.date = date; return this; } @@ -139,11 +139,11 @@ public GetSmsEventReportEvents date(OffsetDateTime date) { * @return date **/ @ApiModelProperty(example = "2017-03-12T12:30:00Z", value = "UTC date-time on which the event has been generated") - public OffsetDateTime getDate() { + public String getDate() { return date; } - public void setDate(OffsetDateTime date) { + public void setDate(String date) { this.date = date; } diff --git a/src/main/java/sibModel/GetSmtpTemplateOverview.java b/src/main/java/sibModel/GetSmtpTemplateOverview.java index 0b31c2d..a039669 100644 --- a/src/main/java/sibModel/GetSmtpTemplateOverview.java +++ b/src/main/java/sibModel/GetSmtpTemplateOverview.java @@ -28,7 +28,7 @@ /** * GetSmtpTemplateOverview */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmtpTemplateOverview { @SerializedName("id") private Long id = null; @@ -61,10 +61,10 @@ public class GetSmtpTemplateOverview { private String htmlContent = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; @SerializedName("doiTemplate") private Boolean doiTemplate = null; @@ -249,7 +249,7 @@ public void setHtmlContent(String htmlContent) { this.htmlContent = htmlContent; } - public GetSmtpTemplateOverview createdAt(OffsetDateTime createdAt) { + public GetSmtpTemplateOverview createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -259,15 +259,15 @@ public GetSmtpTemplateOverview createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetSmtpTemplateOverview modifiedAt(OffsetDateTime modifiedAt) { + public GetSmtpTemplateOverview modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -277,11 +277,11 @@ public GetSmtpTemplateOverview modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-12T12:30:00Z", required = true, value = "Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java b/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java index 72be570..ef1e6bc 100644 --- a/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java +++ b/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java @@ -26,7 +26,7 @@ /** * GetSmtpTemplateOverviewSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmtpTemplateOverviewSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/GetSmtpTemplates.java b/src/main/java/sibModel/GetSmtpTemplates.java index 1912aaf..72defa9 100644 --- a/src/main/java/sibModel/GetSmtpTemplates.java +++ b/src/main/java/sibModel/GetSmtpTemplates.java @@ -29,7 +29,7 @@ /** * GetSmtpTemplates */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSmtpTemplates { @SerializedName("count") private Long count = null; diff --git a/src/main/java/sibModel/GetSsoToken.java b/src/main/java/sibModel/GetSsoToken.java index c72605f..66134e1 100644 --- a/src/main/java/sibModel/GetSsoToken.java +++ b/src/main/java/sibModel/GetSsoToken.java @@ -26,7 +26,7 @@ /** * GetSsoToken */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetSsoToken { @SerializedName("token") private String token = null; diff --git a/src/main/java/sibModel/GetStatsByBrowser.java b/src/main/java/sibModel/GetStatsByBrowser.java index 273880b..e692fdb 100644 --- a/src/main/java/sibModel/GetStatsByBrowser.java +++ b/src/main/java/sibModel/GetStatsByBrowser.java @@ -21,7 +21,7 @@ /** * GetStatsByBrowser */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetStatsByBrowser extends HashMap { @Override diff --git a/src/main/java/sibModel/GetStatsByDevice.java b/src/main/java/sibModel/GetStatsByDevice.java index fb35305..35a36df 100644 --- a/src/main/java/sibModel/GetStatsByDevice.java +++ b/src/main/java/sibModel/GetStatsByDevice.java @@ -30,7 +30,7 @@ /** * GetStatsByDevice */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetStatsByDevice { @SerializedName("desktop") private Map desktop = null; diff --git a/src/main/java/sibModel/GetStatsByDomain.java b/src/main/java/sibModel/GetStatsByDomain.java index c4bda09..36b8c01 100644 --- a/src/main/java/sibModel/GetStatsByDomain.java +++ b/src/main/java/sibModel/GetStatsByDomain.java @@ -21,7 +21,7 @@ /** * GetStatsByDomain */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetStatsByDomain extends HashMap { @Override diff --git a/src/main/java/sibModel/GetTransacAggregatedSmsReport.java b/src/main/java/sibModel/GetTransacAggregatedSmsReport.java index 4668fcb..1dad177 100644 --- a/src/main/java/sibModel/GetTransacAggregatedSmsReport.java +++ b/src/main/java/sibModel/GetTransacAggregatedSmsReport.java @@ -26,7 +26,7 @@ /** * GetTransacAggregatedSmsReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacAggregatedSmsReport { @SerializedName("range") private String range = null; diff --git a/src/main/java/sibModel/GetTransacBlockedContacts.java b/src/main/java/sibModel/GetTransacBlockedContacts.java index 3e5f82a..146f72f 100644 --- a/src/main/java/sibModel/GetTransacBlockedContacts.java +++ b/src/main/java/sibModel/GetTransacBlockedContacts.java @@ -29,7 +29,7 @@ /** * GetTransacBlockedContacts */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacBlockedContacts { @SerializedName("count") private Long count = null; diff --git a/src/main/java/sibModel/GetTransacBlockedContactsContacts.java b/src/main/java/sibModel/GetTransacBlockedContactsContacts.java index d349875..ad165c5 100644 --- a/src/main/java/sibModel/GetTransacBlockedContactsContacts.java +++ b/src/main/java/sibModel/GetTransacBlockedContactsContacts.java @@ -28,7 +28,7 @@ /** * GetTransacBlockedContactsContacts */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacBlockedContactsContacts { @SerializedName("email") private String email = null; @@ -40,7 +40,7 @@ public class GetTransacBlockedContactsContacts { private GetTransacBlockedContactsReason reason = null; @SerializedName("blockedAt") - private OffsetDateTime blockedAt = null; + private String blockedAt = null; public GetTransacBlockedContactsContacts email(String email) { this.email = email; @@ -96,7 +96,7 @@ public void setReason(GetTransacBlockedContactsReason reason) { this.reason = reason; } - public GetTransacBlockedContactsContacts blockedAt(OffsetDateTime blockedAt) { + public GetTransacBlockedContactsContacts blockedAt(String blockedAt) { this.blockedAt = blockedAt; return this; } @@ -106,11 +106,11 @@ public GetTransacBlockedContactsContacts blockedAt(OffsetDateTime blockedAt) { * @return blockedAt **/ @ApiModelProperty(example = "2017-05-01T12:30:00Z", required = true, value = "Date when the contact was blocked or unsubscribed on") - public OffsetDateTime getBlockedAt() { + public String getBlockedAt() { return blockedAt; } - public void setBlockedAt(OffsetDateTime blockedAt) { + public void setBlockedAt(String blockedAt) { this.blockedAt = blockedAt; } diff --git a/src/main/java/sibModel/GetTransacBlockedContactsReason.java b/src/main/java/sibModel/GetTransacBlockedContactsReason.java index 1a5af43..56e54d3 100644 --- a/src/main/java/sibModel/GetTransacBlockedContactsReason.java +++ b/src/main/java/sibModel/GetTransacBlockedContactsReason.java @@ -27,7 +27,7 @@ * Reason for blocking / unsubscribing */ @ApiModel(description = "Reason for blocking / unsubscribing") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacBlockedContactsReason { /** * Reason code for blocking / unsubscribing (This code is safe for comparison) diff --git a/src/main/java/sibModel/GetTransacEmailContent.java b/src/main/java/sibModel/GetTransacEmailContent.java index fca124f..4fedf28 100644 --- a/src/main/java/sibModel/GetTransacEmailContent.java +++ b/src/main/java/sibModel/GetTransacEmailContent.java @@ -30,7 +30,7 @@ /** * GetTransacEmailContent */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacEmailContent { @SerializedName("email") private String email = null; @@ -42,7 +42,7 @@ public class GetTransacEmailContent { private Long templateId = null; @SerializedName("date") - private OffsetDateTime date = null; + private String date = null; @SerializedName("events") private List events = new ArrayList(); @@ -107,7 +107,7 @@ public void setTemplateId(Long templateId) { this.templateId = templateId; } - public GetTransacEmailContent date(OffsetDateTime date) { + public GetTransacEmailContent date(String date) { this.date = date; return this; } @@ -117,11 +117,11 @@ public GetTransacEmailContent date(OffsetDateTime date) { * @return date **/ @ApiModelProperty(example = "2017-03-12T12:30:00Z", required = true, value = "Date on which transactional email was sent") - public OffsetDateTime getDate() { + public String getDate() { return date; } - public void setDate(OffsetDateTime date) { + public void setDate(String date) { this.date = date; } diff --git a/src/main/java/sibModel/GetTransacEmailContentEvents.java b/src/main/java/sibModel/GetTransacEmailContentEvents.java index a045141..8b56000 100644 --- a/src/main/java/sibModel/GetTransacEmailContentEvents.java +++ b/src/main/java/sibModel/GetTransacEmailContentEvents.java @@ -27,13 +27,13 @@ /** * GetTransacEmailContentEvents */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacEmailContentEvents { @SerializedName("name") private String name = null; @SerializedName("time") - private OffsetDateTime time = null; + private String time = null; public GetTransacEmailContentEvents name(String name) { this.name = name; @@ -53,7 +53,7 @@ public void setName(String name) { this.name = name; } - public GetTransacEmailContentEvents time(OffsetDateTime time) { + public GetTransacEmailContentEvents time(String time) { this.time = time; return this; } @@ -63,11 +63,11 @@ public GetTransacEmailContentEvents time(OffsetDateTime time) { * @return time **/ @ApiModelProperty(example = "2017-03-12T12:30:00Z", required = true, value = "Time at which the event occurred") - public OffsetDateTime getTime() { + public String getTime() { return time; } - public void setTime(OffsetDateTime time) { + public void setTime(String time) { this.time = time; } diff --git a/src/main/java/sibModel/GetTransacEmailsList.java b/src/main/java/sibModel/GetTransacEmailsList.java index f04fd49..b59b20b 100644 --- a/src/main/java/sibModel/GetTransacEmailsList.java +++ b/src/main/java/sibModel/GetTransacEmailsList.java @@ -29,7 +29,7 @@ /** * GetTransacEmailsList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacEmailsList { @SerializedName("transactionalEmails") private List transactionalEmails = null; diff --git a/src/main/java/sibModel/GetTransacEmailsListTransactionalEmails.java b/src/main/java/sibModel/GetTransacEmailsListTransactionalEmails.java index 978f05c..59c7514 100644 --- a/src/main/java/sibModel/GetTransacEmailsListTransactionalEmails.java +++ b/src/main/java/sibModel/GetTransacEmailsListTransactionalEmails.java @@ -29,7 +29,7 @@ /** * GetTransacEmailsListTransactionalEmails */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacEmailsListTransactionalEmails { @SerializedName("email") private String email = null; @@ -47,7 +47,7 @@ public class GetTransacEmailsListTransactionalEmails { private String uuid = null; @SerializedName("date") - private OffsetDateTime date = null; + private String date = null; @SerializedName("from") private String from = null; @@ -145,7 +145,7 @@ public void setUuid(String uuid) { this.uuid = uuid; } - public GetTransacEmailsListTransactionalEmails date(OffsetDateTime date) { + public GetTransacEmailsListTransactionalEmails date(String date) { this.date = date; return this; } @@ -155,11 +155,11 @@ public GetTransacEmailsListTransactionalEmails date(OffsetDateTime date) { * @return date **/ @ApiModelProperty(example = "2017-03-12T12:30:00Z", required = true, value = "Date on which transactional email was sent") - public OffsetDateTime getDate() { + public String getDate() { return date; } - public void setDate(OffsetDateTime date) { + public void setDate(String date) { this.date = date; } diff --git a/src/main/java/sibModel/GetTransacSmsReport.java b/src/main/java/sibModel/GetTransacSmsReport.java index c4e1ca7..2e99077 100644 --- a/src/main/java/sibModel/GetTransacSmsReport.java +++ b/src/main/java/sibModel/GetTransacSmsReport.java @@ -29,7 +29,7 @@ /** * GetTransacSmsReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacSmsReport { @SerializedName("reports") private List reports = null; diff --git a/src/main/java/sibModel/GetTransacSmsReportReports.java b/src/main/java/sibModel/GetTransacSmsReportReports.java index c3b868a..8e90c4a 100644 --- a/src/main/java/sibModel/GetTransacSmsReportReports.java +++ b/src/main/java/sibModel/GetTransacSmsReportReports.java @@ -27,7 +27,7 @@ /** * GetTransacSmsReportReports */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetTransacSmsReportReports { @SerializedName("date") private LocalDate date = null; diff --git a/src/main/java/sibModel/GetWebhook.java b/src/main/java/sibModel/GetWebhook.java index c6c9ec1..22473a9 100644 --- a/src/main/java/sibModel/GetWebhook.java +++ b/src/main/java/sibModel/GetWebhook.java @@ -29,7 +29,7 @@ /** * GetWebhook */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetWebhook { @SerializedName("url") private String url = null; @@ -94,10 +94,10 @@ public TypeEnum read(final JsonReader jsonReader) throws IOException { private TypeEnum type = null; @SerializedName("createdAt") - private OffsetDateTime createdAt = null; + private String createdAt = null; @SerializedName("modifiedAt") - private OffsetDateTime modifiedAt = null; + private String modifiedAt = null; public GetWebhook url(String url) { this.url = url; @@ -194,7 +194,7 @@ public void setType(TypeEnum type) { this.type = type; } - public GetWebhook createdAt(OffsetDateTime createdAt) { + public GetWebhook createdAt(String createdAt) { this.createdAt = createdAt; return this; } @@ -204,15 +204,15 @@ public GetWebhook createdAt(OffsetDateTime createdAt) { * @return createdAt **/ @ApiModelProperty(example = "2016-12-01T12:50:00Z", required = true, value = "Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getCreatedAt() { + public String getCreatedAt() { return createdAt; } - public void setCreatedAt(OffsetDateTime createdAt) { + public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } - public GetWebhook modifiedAt(OffsetDateTime modifiedAt) { + public GetWebhook modifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; return this; } @@ -222,11 +222,11 @@ public GetWebhook modifiedAt(OffsetDateTime modifiedAt) { * @return modifiedAt **/ @ApiModelProperty(example = "2017-05-12T13:15:00Z", required = true, value = "Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)") - public OffsetDateTime getModifiedAt() { + public String getModifiedAt() { return modifiedAt; } - public void setModifiedAt(OffsetDateTime modifiedAt) { + public void setModifiedAt(String modifiedAt) { this.modifiedAt = modifiedAt; } diff --git a/src/main/java/sibModel/GetWebhooks.java b/src/main/java/sibModel/GetWebhooks.java index d01e5e0..6095a9d 100644 --- a/src/main/java/sibModel/GetWebhooks.java +++ b/src/main/java/sibModel/GetWebhooks.java @@ -28,7 +28,7 @@ /** * GetWebhooks */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class GetWebhooks { @SerializedName("webhooks") private List webhooks = new ArrayList(); diff --git a/src/main/java/sibModel/ManageIp.java b/src/main/java/sibModel/ManageIp.java index abb3ada..09aa34b 100644 --- a/src/main/java/sibModel/ManageIp.java +++ b/src/main/java/sibModel/ManageIp.java @@ -26,7 +26,7 @@ /** * ManageIp */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class ManageIp { @SerializedName("ip") private String ip = null; diff --git a/src/main/java/sibModel/PostContactInfo.java b/src/main/java/sibModel/PostContactInfo.java index 48d1a27..88d2910 100644 --- a/src/main/java/sibModel/PostContactInfo.java +++ b/src/main/java/sibModel/PostContactInfo.java @@ -27,7 +27,7 @@ /** * PostContactInfo */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class PostContactInfo { @SerializedName("contacts") private PostContactInfoContacts contacts = null; diff --git a/src/main/java/sibModel/PostContactInfoContacts.java b/src/main/java/sibModel/PostContactInfoContacts.java index 3bd4bf1..a2ec0a4 100644 --- a/src/main/java/sibModel/PostContactInfoContacts.java +++ b/src/main/java/sibModel/PostContactInfoContacts.java @@ -28,7 +28,7 @@ /** * PostContactInfoContacts */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class PostContactInfoContacts { @SerializedName("success") private List success = null; diff --git a/src/main/java/sibModel/PostSendFailed.java b/src/main/java/sibModel/PostSendFailed.java index c80f4ad..e1339d3 100644 --- a/src/main/java/sibModel/PostSendFailed.java +++ b/src/main/java/sibModel/PostSendFailed.java @@ -28,7 +28,7 @@ /** * PostSendFailed */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class PostSendFailed { @SerializedName("code") private Long code = null; diff --git a/src/main/java/sibModel/PostSendSmsTestFailed.java b/src/main/java/sibModel/PostSendSmsTestFailed.java index e15e8e9..7a90838 100644 --- a/src/main/java/sibModel/PostSendSmsTestFailed.java +++ b/src/main/java/sibModel/PostSendSmsTestFailed.java @@ -28,7 +28,7 @@ /** * PostSendSmsTestFailed */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class PostSendSmsTestFailed { @SerializedName("code") private Long code = null; diff --git a/src/main/java/sibModel/RemainingCreditModel.java b/src/main/java/sibModel/RemainingCreditModel.java index 3cdc2be..e786b28 100644 --- a/src/main/java/sibModel/RemainingCreditModel.java +++ b/src/main/java/sibModel/RemainingCreditModel.java @@ -28,7 +28,7 @@ /** * RemainingCreditModel */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RemainingCreditModel { @SerializedName("child") private RemainingCreditModelChild child = null; diff --git a/src/main/java/sibModel/RemainingCreditModelChild.java b/src/main/java/sibModel/RemainingCreditModelChild.java index b3087f3..b8b86de 100644 --- a/src/main/java/sibModel/RemainingCreditModelChild.java +++ b/src/main/java/sibModel/RemainingCreditModelChild.java @@ -27,7 +27,7 @@ * Credits remaining for child account */ @ApiModel(description = "Credits remaining for child account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RemainingCreditModelChild { @SerializedName("sms") private Double sms = null; diff --git a/src/main/java/sibModel/RemainingCreditModelReseller.java b/src/main/java/sibModel/RemainingCreditModelReseller.java index f19692d..4a893e4 100644 --- a/src/main/java/sibModel/RemainingCreditModelReseller.java +++ b/src/main/java/sibModel/RemainingCreditModelReseller.java @@ -26,7 +26,7 @@ /** * RemainingCreditModelReseller */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RemainingCreditModelReseller { @SerializedName("sms") private Double sms = null; diff --git a/src/main/java/sibModel/RemoveContactFromList.java b/src/main/java/sibModel/RemoveContactFromList.java index b238c1f..2629e77 100644 --- a/src/main/java/sibModel/RemoveContactFromList.java +++ b/src/main/java/sibModel/RemoveContactFromList.java @@ -28,7 +28,7 @@ /** * RemoveContactFromList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RemoveContactFromList { @SerializedName("emails") private List emails = null; diff --git a/src/main/java/sibModel/RemoveCredits.java b/src/main/java/sibModel/RemoveCredits.java index 2e89605..1130142 100644 --- a/src/main/java/sibModel/RemoveCredits.java +++ b/src/main/java/sibModel/RemoveCredits.java @@ -26,7 +26,7 @@ /** * RemoveCredits */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RemoveCredits { @SerializedName("sms") private Long sms = null; diff --git a/src/main/java/sibModel/RequestContactExport.java b/src/main/java/sibModel/RequestContactExport.java index 9758e55..b24dad1 100644 --- a/src/main/java/sibModel/RequestContactExport.java +++ b/src/main/java/sibModel/RequestContactExport.java @@ -29,7 +29,7 @@ /** * RequestContactExport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RequestContactExport { @SerializedName("exportAttributes") private List exportAttributes = null; diff --git a/src/main/java/sibModel/RequestContactExportCustomContactFilter.java b/src/main/java/sibModel/RequestContactExportCustomContactFilter.java index 05e5b6f..79fda63 100644 --- a/src/main/java/sibModel/RequestContactExportCustomContactFilter.java +++ b/src/main/java/sibModel/RequestContactExportCustomContactFilter.java @@ -27,7 +27,7 @@ * Only one of the two filter options (contactFilter or customContactFilter) can be passed in the request. Set the filter for the contacts to be exported. */ @ApiModel(description = "Only one of the two filter options (contactFilter or customContactFilter) can be passed in the request. Set the filter for the contacts to be exported.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RequestContactExportCustomContactFilter { /** * Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed. This will export the contacts on the basis of provided action applied on contacts as per the list id. * allContacts - Fetch the list of all contacts for a particular list. * subscribed & unsubscribed - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * unsubscribedPerList - Fetch the list of contacts that are unsubscribed from a particular list only. diff --git a/src/main/java/sibModel/RequestContactImport.java b/src/main/java/sibModel/RequestContactImport.java index 0b5bb44..47e264b 100644 --- a/src/main/java/sibModel/RequestContactImport.java +++ b/src/main/java/sibModel/RequestContactImport.java @@ -29,7 +29,7 @@ /** * RequestContactImport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RequestContactImport { @SerializedName("fileUrl") private String fileUrl = null; diff --git a/src/main/java/sibModel/RequestContactImportNewList.java b/src/main/java/sibModel/RequestContactImportNewList.java index d24aae9..6287ae5 100644 --- a/src/main/java/sibModel/RequestContactImportNewList.java +++ b/src/main/java/sibModel/RequestContactImportNewList.java @@ -27,7 +27,7 @@ * To create a new list and import the contacts into it, pass the listName and an optional folderId. */ @ApiModel(description = "To create a new list and import the contacts into it, pass the listName and an optional folderId.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RequestContactImportNewList { @SerializedName("listName") private String listName = null; diff --git a/src/main/java/sibModel/RequestSmsRecipientExport.java b/src/main/java/sibModel/RequestSmsRecipientExport.java index f8966d0..4d952d8 100644 --- a/src/main/java/sibModel/RequestSmsRecipientExport.java +++ b/src/main/java/sibModel/RequestSmsRecipientExport.java @@ -26,7 +26,7 @@ /** * RequestSmsRecipientExport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class RequestSmsRecipientExport { @SerializedName("notifyURL") private String notifyURL = null; diff --git a/src/main/java/sibModel/SendEmail.java b/src/main/java/sibModel/SendEmail.java index a535641..225c42a 100644 --- a/src/main/java/sibModel/SendEmail.java +++ b/src/main/java/sibModel/SendEmail.java @@ -29,7 +29,7 @@ /** * SendEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendEmail { @SerializedName("emailTo") private List emailTo = new ArrayList(); diff --git a/src/main/java/sibModel/SendEmailAttachment.java b/src/main/java/sibModel/SendEmailAttachment.java index 759f9c6..ee45894 100644 --- a/src/main/java/sibModel/SendEmailAttachment.java +++ b/src/main/java/sibModel/SendEmailAttachment.java @@ -26,7 +26,7 @@ /** * SendEmailAttachment */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendEmailAttachment { @SerializedName("content") private byte[] content = null; diff --git a/src/main/java/sibModel/SendReport.java b/src/main/java/sibModel/SendReport.java index 4ccb8e9..12c0157 100644 --- a/src/main/java/sibModel/SendReport.java +++ b/src/main/java/sibModel/SendReport.java @@ -27,7 +27,7 @@ /** * SendReport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendReport { /** * Language of email content for campaign report sending. diff --git a/src/main/java/sibModel/SendReportEmail.java b/src/main/java/sibModel/SendReportEmail.java index 19cd9e9..8517d39 100644 --- a/src/main/java/sibModel/SendReportEmail.java +++ b/src/main/java/sibModel/SendReportEmail.java @@ -29,7 +29,7 @@ * Custom attributes for the report email. */ @ApiModel(description = "Custom attributes for the report email.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendReportEmail { @SerializedName("to") private List to = new ArrayList(); diff --git a/src/main/java/sibModel/SendSms.java b/src/main/java/sibModel/SendSms.java index fb10eb5..6a64368 100644 --- a/src/main/java/sibModel/SendSms.java +++ b/src/main/java/sibModel/SendSms.java @@ -26,7 +26,7 @@ /** * SendSms */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSms { @SerializedName("reference") private String reference = null; diff --git a/src/main/java/sibModel/SendSmtpEmail.java b/src/main/java/sibModel/SendSmtpEmail.java index 6690b8e..4820a16 100644 --- a/src/main/java/sibModel/SendSmtpEmail.java +++ b/src/main/java/sibModel/SendSmtpEmail.java @@ -27,6 +27,7 @@ import sibModel.SendSmtpEmailAttachment; import sibModel.SendSmtpEmailBcc; import sibModel.SendSmtpEmailCc; +import sibModel.SendSmtpEmailMessageVersions; import sibModel.SendSmtpEmailReplyTo; import sibModel.SendSmtpEmailSender; import sibModel.SendSmtpEmailTo; @@ -34,13 +35,13 @@ /** * SendSmtpEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmail { @SerializedName("sender") private SendSmtpEmailSender sender = null; @SerializedName("to") - private List to = new ArrayList(); + private List to = null; @SerializedName("bcc") private List bcc = null; @@ -72,6 +73,9 @@ public class SendSmtpEmail { @SerializedName("params") private Object params = null; + @SerializedName("messageVersions") + private List messageVersions = null; + @SerializedName("tags") private List tags = null; @@ -99,15 +103,18 @@ public SendSmtpEmail to(List to) { } public SendSmtpEmail addToItem(SendSmtpEmailTo toItem) { + if (this.to == null) { + this.to = new ArrayList(); + } this.to.add(toItem); return this; } /** - * List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + * Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] * @return to **/ - @ApiModelProperty(required = true, value = "List of email addresses and names (optional) of the recipients. For example, [{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}]") + @ApiModelProperty(value = "Mandatory if messageVersions are not passed, ignored if messageVersions are passed. List of email addresses and names (optional) of the recipients. For example, [{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}]") public List getTo() { return to; } @@ -290,10 +297,10 @@ public SendSmtpEmail templateId(Long templateId) { } /** - * Id of the template + * Id of the template. Mandatory if messageVersions are passed * @return templateId **/ - @ApiModelProperty(example = "2", value = "Id of the template") + @ApiModelProperty(example = "2", value = "Id of the template. Mandatory if messageVersions are passed") public Long getTemplateId() { return templateId; } @@ -320,6 +327,32 @@ public void setParams(Object params) { this.params = params; } + public SendSmtpEmail messageVersions(List messageVersions) { + this.messageVersions = messageVersions; + return this; + } + + public SendSmtpEmail addMessageVersionsItem(SendSmtpEmailMessageVersions messageVersionsItem) { + if (this.messageVersions == null) { + this.messageVersions = new ArrayList(); + } + this.messageVersions.add(messageVersionsItem); + return this; + } + + /** + * You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails + * @return messageVersions + **/ + @ApiModelProperty(value = "You can customize and send out multiple versions of a templateId. Some global parameters such as **to(mandatory), bcc, cc, replyTo, subject** can also be customized specific to each version. The size of individual params in all the messageVersions shall not exceed 100 KB limit and that of cumulative params shall not exceed 1000 KB. This feature is currently in its beta version. You can follow this **step-by-step guide** on how to use **messageVersions** to batch send emails - https://developers.sendinblue.com/docs/batch-send-transactional-emails") + public List getMessageVersions() { + return messageVersions; + } + + public void setMessageVersions(List messageVersions) { + this.messageVersions = messageVersions; + } + public SendSmtpEmail tags(List tags) { this.tags = tags; return this; @@ -368,12 +401,13 @@ public boolean equals(java.lang.Object o) { ObjectUtils.equals(this.headers, sendSmtpEmail.headers) && ObjectUtils.equals(this.templateId, sendSmtpEmail.templateId) && ObjectUtils.equals(this.params, sendSmtpEmail.params) && + ObjectUtils.equals(this.messageVersions, sendSmtpEmail.messageVersions) && ObjectUtils.equals(this.tags, sendSmtpEmail.tags); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(sender, to, bcc, cc, htmlContent, textContent, subject, replyTo, attachment, headers, templateId, params, tags); + return ObjectUtils.hashCodeMulti(sender, to, bcc, cc, htmlContent, textContent, subject, replyTo, attachment, headers, templateId, params, messageVersions, tags); } @@ -394,6 +428,7 @@ public String toString() { sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); sb.append(" templateId: ").append(toIndentedString(templateId)).append("\n"); sb.append(" params: ").append(toIndentedString(params)).append("\n"); + sb.append(" messageVersions: ").append(toIndentedString(messageVersions)).append("\n"); sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/sibModel/SendSmtpEmailAttachment.java b/src/main/java/sibModel/SendSmtpEmailAttachment.java index 2bdb3bd..e4caf57 100644 --- a/src/main/java/sibModel/SendSmtpEmailAttachment.java +++ b/src/main/java/sibModel/SendSmtpEmailAttachment.java @@ -26,7 +26,7 @@ /** * SendSmtpEmailAttachment */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailAttachment { @SerializedName("url") private String url = null; diff --git a/src/main/java/sibModel/SendSmtpEmailBcc.java b/src/main/java/sibModel/SendSmtpEmailBcc.java index 6601f77..363d7a3 100644 --- a/src/main/java/sibModel/SendSmtpEmailBcc.java +++ b/src/main/java/sibModel/SendSmtpEmailBcc.java @@ -26,7 +26,7 @@ /** * SendSmtpEmailBcc */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailBcc { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailCc.java b/src/main/java/sibModel/SendSmtpEmailCc.java index 8df97ef..2217bd5 100644 --- a/src/main/java/sibModel/SendSmtpEmailCc.java +++ b/src/main/java/sibModel/SendSmtpEmailCc.java @@ -26,7 +26,7 @@ /** * SendSmtpEmailCc */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailCc { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailMessageVersions.java b/src/main/java/sibModel/SendSmtpEmailMessageVersions.java new file mode 100644 index 0000000..674a48d --- /dev/null +++ b/src/main/java/sibModel/SendSmtpEmailMessageVersions.java @@ -0,0 +1,245 @@ +/* + * SendinBlue API + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package sibModel; + +import org.apache.commons.lang3.ObjectUtils; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import sibModel.SendSmtpEmailBcc; +import sibModel.SendSmtpEmailCc; +import sibModel.SendSmtpEmailReplyTo1; +import sibModel.SendSmtpEmailTo1; + +/** + * SendSmtpEmailMessageVersions + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") +public class SendSmtpEmailMessageVersions { + @SerializedName("to") + private List to = new ArrayList(); + + @SerializedName("params") + private Map params = null; + + @SerializedName("bcc") + private List bcc = null; + + @SerializedName("cc") + private List cc = null; + + @SerializedName("replyTo") + private SendSmtpEmailReplyTo1 replyTo = null; + + @SerializedName("subject") + private String subject = null; + + public SendSmtpEmailMessageVersions to(List to) { + this.to = to; + return this; + } + + public SendSmtpEmailMessageVersions addToItem(SendSmtpEmailTo1 toItem) { + this.to.add(toItem); + return this; + } + + /** + * List of email addresses and names (_optional_) of the recipients. For example, [{"name":"Jimmy", "email":"jimmy98@example.com"}, {"name":"Joe", "email":"joe@example.com"}] + * @return to + **/ + @ApiModelProperty(required = true, value = "List of email addresses and names (_optional_) of the recipients. For example, [{\"name\":\"Jimmy\", \"email\":\"jimmy98@example.com\"}, {\"name\":\"Joe\", \"email\":\"joe@example.com\"}]") + public List getTo() { + return to; + } + + public void setTo(List to) { + this.to = to; + } + + public SendSmtpEmailMessageVersions params(Map params) { + this.params = params; + return this; + } + + public SendSmtpEmailMessageVersions putParamsItem(String key, Object paramsItem) { + if (this.params == null) { + this.params = new HashMap(); + } + this.params.put(key, paramsItem); + return this; + } + + /** + * Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}. It's considered only if template is in New Template Language format. + * @return params + **/ + @ApiModelProperty(example = "{\"FNAME\":\"Joe\",\"LNAME\":\"Doe\"}", value = "Pass the set of attributes to customize the template. For example, {\"FNAME\":\"Joe\", \"LNAME\":\"Doe\"}. It's considered only if template is in New Template Language format.") + public Map getParams() { + return params; + } + + public void setParams(Map params) { + this.params = params; + } + + public SendSmtpEmailMessageVersions bcc(List bcc) { + this.bcc = bcc; + return this; + } + + public SendSmtpEmailMessageVersions addBccItem(SendSmtpEmailBcc bccItem) { + if (this.bcc == null) { + this.bcc = new ArrayList(); + } + this.bcc.add(bccItem); + return this; + } + + /** + * List of email addresses and names (optional) of the recipients in bcc + * @return bcc + **/ + @ApiModelProperty(value = "List of email addresses and names (optional) of the recipients in bcc") + public List getBcc() { + return bcc; + } + + public void setBcc(List bcc) { + this.bcc = bcc; + } + + public SendSmtpEmailMessageVersions cc(List cc) { + this.cc = cc; + return this; + } + + public SendSmtpEmailMessageVersions addCcItem(SendSmtpEmailCc ccItem) { + if (this.cc == null) { + this.cc = new ArrayList(); + } + this.cc.add(ccItem); + return this; + } + + /** + * List of email addresses and names (optional) of the recipients in cc + * @return cc + **/ + @ApiModelProperty(value = "List of email addresses and names (optional) of the recipients in cc") + public List getCc() { + return cc; + } + + public void setCc(List cc) { + this.cc = cc; + } + + public SendSmtpEmailMessageVersions replyTo(SendSmtpEmailReplyTo1 replyTo) { + this.replyTo = replyTo; + return this; + } + + /** + * Get replyTo + * @return replyTo + **/ + @ApiModelProperty(value = "") + public SendSmtpEmailReplyTo1 getReplyTo() { + return replyTo; + } + + public void setReplyTo(SendSmtpEmailReplyTo1 replyTo) { + this.replyTo = replyTo; + } + + public SendSmtpEmailMessageVersions subject(String subject) { + this.subject = subject; + return this; + } + + /** + * Custom subject specific to message version + * @return subject + **/ + @ApiModelProperty(example = "Login Email confirmation", value = "Custom subject specific to message version ") + public String getSubject() { + return subject; + } + + public void setSubject(String subject) { + this.subject = subject; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendSmtpEmailMessageVersions sendSmtpEmailMessageVersions = (SendSmtpEmailMessageVersions) o; + return ObjectUtils.equals(this.to, sendSmtpEmailMessageVersions.to) && + ObjectUtils.equals(this.params, sendSmtpEmailMessageVersions.params) && + ObjectUtils.equals(this.bcc, sendSmtpEmailMessageVersions.bcc) && + ObjectUtils.equals(this.cc, sendSmtpEmailMessageVersions.cc) && + ObjectUtils.equals(this.replyTo, sendSmtpEmailMessageVersions.replyTo) && + ObjectUtils.equals(this.subject, sendSmtpEmailMessageVersions.subject); + } + + @Override + public int hashCode() { + return ObjectUtils.hashCodeMulti(to, params, bcc, cc, replyTo, subject); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendSmtpEmailMessageVersions {\n"); + + sb.append(" to: ").append(toIndentedString(to)).append("\n"); + sb.append(" params: ").append(toIndentedString(params)).append("\n"); + sb.append(" bcc: ").append(toIndentedString(bcc)).append("\n"); + sb.append(" cc: ").append(toIndentedString(cc)).append("\n"); + sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); + sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/sibModel/SendSmtpEmailReplyTo.java b/src/main/java/sibModel/SendSmtpEmailReplyTo.java index e352f49..950c734 100644 --- a/src/main/java/sibModel/SendSmtpEmailReplyTo.java +++ b/src/main/java/sibModel/SendSmtpEmailReplyTo.java @@ -27,7 +27,7 @@ * Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {"email":"ann6533@example.com", "name":"Ann"}. */ @ApiModel(description = "Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {\"email\":\"ann6533@example.com\", \"name\":\"Ann\"}.") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailReplyTo { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailReplyTo1.java b/src/main/java/sibModel/SendSmtpEmailReplyTo1.java new file mode 100644 index 0000000..a362379 --- /dev/null +++ b/src/main/java/sibModel/SendSmtpEmailReplyTo1.java @@ -0,0 +1,117 @@ +/* + * SendinBlue API + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package sibModel; + +import org.apache.commons.lang3.ObjectUtils; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {"email":"ann6533@example.com", "name":"Ann"} + */ +@ApiModel(description = "Email (required), along with name (optional), on which transactional mail recipients will be able to reply back. For example, {\"email\":\"ann6533@example.com\", \"name\":\"Ann\"}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") +public class SendSmtpEmailReplyTo1 { + @SerializedName("email") + private String email = null; + + @SerializedName("name") + private String name = null; + + public SendSmtpEmailReplyTo1 email(String email) { + this.email = email; + return this; + } + + /** + * Email address in reply to + * @return email + **/ + @ApiModelProperty(example = "ann6533@example.com", required = true, value = "Email address in reply to") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public SendSmtpEmailReplyTo1 name(String name) { + this.name = name; + return this; + } + + /** + * Name in reply to. Maximum allowed characters are 70. + * @return name + **/ + @ApiModelProperty(example = "Ann", value = "Name in reply to. Maximum allowed characters are 70.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendSmtpEmailReplyTo1 sendSmtpEmailReplyTo1 = (SendSmtpEmailReplyTo1) o; + return ObjectUtils.equals(this.email, sendSmtpEmailReplyTo1.email) && + ObjectUtils.equals(this.name, sendSmtpEmailReplyTo1.name); + } + + @Override + public int hashCode() { + return ObjectUtils.hashCodeMulti(email, name); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendSmtpEmailReplyTo1 {\n"); + + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/sibModel/SendSmtpEmailSender.java b/src/main/java/sibModel/SendSmtpEmailSender.java index 1b65115..32128e7 100644 --- a/src/main/java/sibModel/SendSmtpEmailSender.java +++ b/src/main/java/sibModel/SendSmtpEmailSender.java @@ -27,7 +27,7 @@ * Mandatory if `templateId` is not passed. Pass `name` (optional) and `email` OR `id` of sender from which emails will be sent. `name` will be ignored if passed along with sender `id`. For example, {"name":"Mary from MyShop", "email":"no-reply@myshop.com"} or {"id":2} */ @ApiModel(description = "Mandatory if `templateId` is not passed. Pass `name` (optional) and `email` OR `id` of sender from which emails will be sent. `name` will be ignored if passed along with sender `id`. For example, {\"name\":\"Mary from MyShop\", \"email\":\"no-reply@myshop.com\"} or {\"id\":2}") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/SendSmtpEmailTo.java b/src/main/java/sibModel/SendSmtpEmailTo.java index aa68a29..9b2753f 100644 --- a/src/main/java/sibModel/SendSmtpEmailTo.java +++ b/src/main/java/sibModel/SendSmtpEmailTo.java @@ -26,7 +26,7 @@ /** * SendSmtpEmailTo */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendSmtpEmailTo { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailTo1.java b/src/main/java/sibModel/SendSmtpEmailTo1.java new file mode 100644 index 0000000..9f3cf1d --- /dev/null +++ b/src/main/java/sibModel/SendSmtpEmailTo1.java @@ -0,0 +1,116 @@ +/* + * SendinBlue API + * SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/sendinblue **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable | + * + * OpenAPI spec version: 3.0.0 + * Contact: contact@sendinblue.com + * + * NOTE: This class is auto generated by the swagger code generator program. + * https://github.com/swagger-api/swagger-codegen.git + * Do not edit the class manually. + */ + + +package sibModel; + +import org.apache.commons.lang3.ObjectUtils; +import com.google.gson.TypeAdapter; +import com.google.gson.annotations.JsonAdapter; +import com.google.gson.annotations.SerializedName; +import com.google.gson.stream.JsonReader; +import com.google.gson.stream.JsonWriter; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.IOException; + +/** + * SendSmtpEmailTo1 + */ +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") +public class SendSmtpEmailTo1 { + @SerializedName("email") + private String email = null; + + @SerializedName("name") + private String name = null; + + public SendSmtpEmailTo1 email(String email) { + this.email = email; + return this; + } + + /** + * Email address of the recipient + * @return email + **/ + @ApiModelProperty(example = "jimmy98@example.com", required = true, value = "Email address of the recipient") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public SendSmtpEmailTo1 name(String name) { + this.name = name; + return this; + } + + /** + * Name of the recipient. **Maximum allowed characters are 70**. + * @return name + **/ + @ApiModelProperty(example = "Jimmy", value = "Name of the recipient. **Maximum allowed characters are 70**.") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + + @Override + public boolean equals(java.lang.Object o) { + if (this == o) { + return true; + } + if (o == null || getClass() != o.getClass()) { + return false; + } + SendSmtpEmailTo1 sendSmtpEmailTo1 = (SendSmtpEmailTo1) o; + return ObjectUtils.equals(this.email, sendSmtpEmailTo1.email) && + ObjectUtils.equals(this.name, sendSmtpEmailTo1.name); + } + + @Override + public int hashCode() { + return ObjectUtils.hashCodeMulti(email, name); + } + + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("class SendSmtpEmailTo1 {\n"); + + sb.append(" email: ").append(toIndentedString(email)).append("\n"); + sb.append(" name: ").append(toIndentedString(name)).append("\n"); + sb.append("}"); + return sb.toString(); + } + + /** + * Convert the given object to string with each line indented by 4 spaces + * (except the first line). + */ + private String toIndentedString(java.lang.Object o) { + if (o == null) { + return "null"; + } + return o.toString().replace("\n", "\n "); + } + +} + diff --git a/src/main/java/sibModel/SendTemplateEmail.java b/src/main/java/sibModel/SendTemplateEmail.java index e34ad60..491f76c 100644 --- a/src/main/java/sibModel/SendTemplateEmail.java +++ b/src/main/java/sibModel/SendTemplateEmail.java @@ -26,7 +26,7 @@ /** * SendTemplateEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendTemplateEmail { @SerializedName("messageId") private String messageId = null; diff --git a/src/main/java/sibModel/SendTestEmail.java b/src/main/java/sibModel/SendTestEmail.java index 8a1989d..269225a 100644 --- a/src/main/java/sibModel/SendTestEmail.java +++ b/src/main/java/sibModel/SendTestEmail.java @@ -28,7 +28,7 @@ /** * SendTestEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendTestEmail { @SerializedName("emailTo") private List emailTo = null; diff --git a/src/main/java/sibModel/SendTestSms.java b/src/main/java/sibModel/SendTestSms.java index cc6f778..069ec1e 100644 --- a/src/main/java/sibModel/SendTestSms.java +++ b/src/main/java/sibModel/SendTestSms.java @@ -26,7 +26,7 @@ /** * SendTestSms */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendTestSms { @SerializedName("phoneNumber") private String phoneNumber = null; diff --git a/src/main/java/sibModel/SendTransacSms.java b/src/main/java/sibModel/SendTransacSms.java index cb57a22..48ce2af 100644 --- a/src/main/java/sibModel/SendTransacSms.java +++ b/src/main/java/sibModel/SendTransacSms.java @@ -26,7 +26,7 @@ /** * SendTransacSms */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class SendTransacSms { @SerializedName("sender") private String sender = null; diff --git a/src/main/java/sibModel/UpdateAttribute.java b/src/main/java/sibModel/UpdateAttribute.java index c086f57..fd45ea4 100644 --- a/src/main/java/sibModel/UpdateAttribute.java +++ b/src/main/java/sibModel/UpdateAttribute.java @@ -29,7 +29,7 @@ /** * UpdateAttribute */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateAttribute { @SerializedName("value") private String value = null; diff --git a/src/main/java/sibModel/UpdateAttributeEnumeration.java b/src/main/java/sibModel/UpdateAttributeEnumeration.java index f5b7935..f9dbefe 100644 --- a/src/main/java/sibModel/UpdateAttributeEnumeration.java +++ b/src/main/java/sibModel/UpdateAttributeEnumeration.java @@ -26,7 +26,7 @@ /** * UpdateAttributeEnumeration */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateAttributeEnumeration { @SerializedName("value") private Integer value = null; diff --git a/src/main/java/sibModel/UpdateCampaignStatus.java b/src/main/java/sibModel/UpdateCampaignStatus.java index e7cf722..1e51df3 100644 --- a/src/main/java/sibModel/UpdateCampaignStatus.java +++ b/src/main/java/sibModel/UpdateCampaignStatus.java @@ -27,7 +27,7 @@ * Status of the campaign */ @ApiModel(description = "Status of the campaign") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateCampaignStatus { /** * Note:- replicateTemplate status will be available only for template type campaigns. diff --git a/src/main/java/sibModel/UpdateChild.java b/src/main/java/sibModel/UpdateChild.java index c1012a3..4d9de40 100644 --- a/src/main/java/sibModel/UpdateChild.java +++ b/src/main/java/sibModel/UpdateChild.java @@ -26,7 +26,7 @@ /** * UpdateChild */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateChild { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/UpdateChildAccountStatus.java b/src/main/java/sibModel/UpdateChildAccountStatus.java index a60aa31..a7b3bea 100644 --- a/src/main/java/sibModel/UpdateChildAccountStatus.java +++ b/src/main/java/sibModel/UpdateChildAccountStatus.java @@ -26,7 +26,7 @@ /** * UpdateChildAccountStatus */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateChildAccountStatus { @SerializedName("transactionalEmail") private Boolean transactionalEmail = null; diff --git a/src/main/java/sibModel/UpdateChildDomain.java b/src/main/java/sibModel/UpdateChildDomain.java index 81dc676..835d5a0 100644 --- a/src/main/java/sibModel/UpdateChildDomain.java +++ b/src/main/java/sibModel/UpdateChildDomain.java @@ -26,7 +26,7 @@ /** * UpdateChildDomain */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateChildDomain { @SerializedName("domain") private String domain = null; diff --git a/src/main/java/sibModel/UpdateContact.java b/src/main/java/sibModel/UpdateContact.java index cd387ed..e43f458 100644 --- a/src/main/java/sibModel/UpdateContact.java +++ b/src/main/java/sibModel/UpdateContact.java @@ -28,7 +28,7 @@ /** * UpdateContact */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateContact { @SerializedName("attributes") private Object attributes = null; diff --git a/src/main/java/sibModel/UpdateEmailCampaign.java b/src/main/java/sibModel/UpdateEmailCampaign.java index 500fc9d..0e371d9 100644 --- a/src/main/java/sibModel/UpdateEmailCampaign.java +++ b/src/main/java/sibModel/UpdateEmailCampaign.java @@ -29,7 +29,7 @@ /** * UpdateEmailCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateEmailCampaign { @SerializedName("tag") private String tag = null; @@ -47,7 +47,7 @@ public class UpdateEmailCampaign { private String htmlUrl = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; @SerializedName("subject") private String subject = null; @@ -252,7 +252,7 @@ public void setHtmlUrl(String htmlUrl) { this.htmlUrl = htmlUrl; } - public UpdateEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { + public UpdateEmailCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -262,11 +262,11 @@ public UpdateEmailCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-06-01T12:30:00+02:00", value = "UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part).") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } diff --git a/src/main/java/sibModel/UpdateEmailCampaignRecipients.java b/src/main/java/sibModel/UpdateEmailCampaignRecipients.java index 97cbadb..88ce726 100644 --- a/src/main/java/sibModel/UpdateEmailCampaignRecipients.java +++ b/src/main/java/sibModel/UpdateEmailCampaignRecipients.java @@ -29,7 +29,7 @@ * List ids to include/exclude from campaign */ @ApiModel(description = "List ids to include/exclude from campaign") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateEmailCampaignRecipients { @SerializedName("exclusionListIds") private List exclusionListIds = null; diff --git a/src/main/java/sibModel/UpdateEmailCampaignSender.java b/src/main/java/sibModel/UpdateEmailCampaignSender.java index febca41..ef7e7a4 100644 --- a/src/main/java/sibModel/UpdateEmailCampaignSender.java +++ b/src/main/java/sibModel/UpdateEmailCampaignSender.java @@ -27,7 +27,7 @@ * Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{"name":"xyz", "email":"example@abc.com"}` , `{"name":"xyz", "id":123}` */ @ApiModel(description = "Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}`") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateEmailCampaignSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/UpdateList.java b/src/main/java/sibModel/UpdateList.java index bc8396f..7f91fa5 100644 --- a/src/main/java/sibModel/UpdateList.java +++ b/src/main/java/sibModel/UpdateList.java @@ -26,7 +26,7 @@ /** * UpdateList */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateList { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/UpdateSender.java b/src/main/java/sibModel/UpdateSender.java index b908eaa..26ec22c 100644 --- a/src/main/java/sibModel/UpdateSender.java +++ b/src/main/java/sibModel/UpdateSender.java @@ -29,7 +29,7 @@ /** * UpdateSender */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/UpdateSmsCampaign.java b/src/main/java/sibModel/UpdateSmsCampaign.java index 8fb783d..d5fac51 100644 --- a/src/main/java/sibModel/UpdateSmsCampaign.java +++ b/src/main/java/sibModel/UpdateSmsCampaign.java @@ -28,7 +28,7 @@ /** * UpdateSmsCampaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateSmsCampaign { @SerializedName("name") private String name = null; @@ -43,7 +43,7 @@ public class UpdateSmsCampaign { private CreateSmsCampaignRecipients recipients = null; @SerializedName("scheduledAt") - private OffsetDateTime scheduledAt = null; + private String scheduledAt = null; public UpdateSmsCampaign name(String name) { this.name = name; @@ -117,7 +117,7 @@ public void setRecipients(CreateSmsCampaignRecipients recipients) { this.recipients = recipients; } - public UpdateSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { + public UpdateSmsCampaign scheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; return this; } @@ -127,11 +127,11 @@ public UpdateSmsCampaign scheduledAt(OffsetDateTime scheduledAt) { * @return scheduledAt **/ @ApiModelProperty(example = "2017-05-05T12:30:00+02:00", value = "UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result.") - public OffsetDateTime getScheduledAt() { + public String getScheduledAt() { return scheduledAt; } - public void setScheduledAt(OffsetDateTime scheduledAt) { + public void setScheduledAt(String scheduledAt) { this.scheduledAt = scheduledAt; } diff --git a/src/main/java/sibModel/UpdateSmtpTemplate.java b/src/main/java/sibModel/UpdateSmtpTemplate.java index d5b44e9..4a5ea06 100644 --- a/src/main/java/sibModel/UpdateSmtpTemplate.java +++ b/src/main/java/sibModel/UpdateSmtpTemplate.java @@ -27,7 +27,7 @@ /** * UpdateSmtpTemplate */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateSmtpTemplate { @SerializedName("tag") private String tag = null; diff --git a/src/main/java/sibModel/UpdateSmtpTemplateSender.java b/src/main/java/sibModel/UpdateSmtpTemplateSender.java index d0e0c3d..140d357 100644 --- a/src/main/java/sibModel/UpdateSmtpTemplateSender.java +++ b/src/main/java/sibModel/UpdateSmtpTemplateSender.java @@ -27,7 +27,7 @@ * Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{"name":"xyz", "email":"example@abc.com"}` , `{"name":"xyz", "id":123}` */ @ApiModel(description = "Sender details including id or email and name (optional). Only one of either Sender's email or Sender's ID shall be passed in one request at a time. For example `{\"name\":\"xyz\", \"email\":\"example@abc.com\"}` , `{\"name\":\"xyz\", \"id\":123}`") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateSmtpTemplateSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/UpdateWebhook.java b/src/main/java/sibModel/UpdateWebhook.java index cb82093..50ac54a 100644 --- a/src/main/java/sibModel/UpdateWebhook.java +++ b/src/main/java/sibModel/UpdateWebhook.java @@ -28,7 +28,7 @@ /** * UpdateWebhook */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UpdateWebhook { @SerializedName("url") private String url = null; diff --git a/src/main/java/sibModel/UploadImageToGallery.java b/src/main/java/sibModel/UploadImageToGallery.java index d09dad5..f40579a 100644 --- a/src/main/java/sibModel/UploadImageToGallery.java +++ b/src/main/java/sibModel/UploadImageToGallery.java @@ -26,7 +26,7 @@ /** * UploadImageToGallery */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2020-12-30T14:43:00.395+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2021-03-12T11:46:32.800+05:30") public class UploadImageToGallery { @SerializedName("imageUrl") private String imageUrl = null; diff --git a/src/test/java/sibApi/ContactsApiTest.java b/src/test/java/sibApi/ContactsApiTest.java index 3e374e6..7c8c3e6 100644 --- a/src/test/java/sibApi/ContactsApiTest.java +++ b/src/test/java/sibApi/ContactsApiTest.java @@ -265,8 +265,8 @@ public void getContactInfoTest() throws ApiException { @Test public void getContactStatsTest() throws ApiException { String identifier = null; - LocalDate startDate = null; - LocalDate endDate = null; + String startDate = null; + String endDate = null; GetContactCampaignStats response = api.getContactStats(identifier, startDate, endDate); // TODO: test validations @@ -284,7 +284,7 @@ public void getContactStatsTest() throws ApiException { public void getContactsTest() throws ApiException { Long limit = null; Long offset = null; - OffsetDateTime modifiedSince = null; + String modifiedSince = null; String sort = null; GetContacts response = api.getContacts(limit, offset, modifiedSince, sort); @@ -302,7 +302,7 @@ public void getContactsTest() throws ApiException { @Test public void getContactsFromListTest() throws ApiException { Long listId = null; - OffsetDateTime modifiedSince = null; + String modifiedSince = null; Long limit = null; Long offset = null; String sort = null; diff --git a/src/test/java/sibApi/EmailCampaignsApiTest.java b/src/test/java/sibApi/EmailCampaignsApiTest.java index 9f211cc..c815657 100644 --- a/src/test/java/sibApi/EmailCampaignsApiTest.java +++ b/src/test/java/sibApi/EmailCampaignsApiTest.java @@ -140,8 +140,8 @@ public void getEmailCampaignTest() throws ApiException { public void getEmailCampaignsTest() throws ApiException { String type = null; String status = null; - OffsetDateTime startDate = null; - OffsetDateTime endDate = null; + String startDate = null; + String endDate = null; Long limit = null; Long offset = null; String sort = null; diff --git a/src/test/java/sibApi/ListsApiTest.java b/src/test/java/sibApi/ListsApiTest.java index 2d5e4f7..7b1bc20 100644 --- a/src/test/java/sibApi/ListsApiTest.java +++ b/src/test/java/sibApi/ListsApiTest.java @@ -103,7 +103,7 @@ public void deleteListTest() throws ApiException { @Test public void getContactsFromListTest() throws ApiException { Long listId = null; - OffsetDateTime modifiedSince = null; + String modifiedSince = null; Long limit = null; Long offset = null; String sort = null; diff --git a/src/test/java/sibApi/SmsCampaignsApiTest.java b/src/test/java/sibApi/SmsCampaignsApiTest.java index 3a03cf6..3ac2d5f 100644 --- a/src/test/java/sibApi/SmsCampaignsApiTest.java +++ b/src/test/java/sibApi/SmsCampaignsApiTest.java @@ -103,8 +103,8 @@ public void getSmsCampaignTest() throws ApiException { @Test public void getSmsCampaignsTest() throws ApiException { String status = null; - OffsetDateTime startDate = null; - OffsetDateTime endDate = null; + String startDate = null; + String endDate = null; Long limit = null; Long offset = null; String sort = null; diff --git a/src/test/java/sibApi/TransactionalEmailsApiTest.java b/src/test/java/sibApi/TransactionalEmailsApiTest.java index fcb2a79..7ab6fb0 100644 --- a/src/test/java/sibApi/TransactionalEmailsApiTest.java +++ b/src/test/java/sibApi/TransactionalEmailsApiTest.java @@ -145,7 +145,7 @@ public void deleteSmtpTemplateTest() throws ApiException { public void getAggregatedSmtpReportTest() throws ApiException { String startDate = null; String endDate = null; - Integer days = null; + Long days = null; String tag = null; GetAggregatedReport response = api.getAggregatedSmtpReport(startDate, endDate, days, tag); @@ -181,7 +181,7 @@ public void getEmailEventReportTest() throws ApiException { Long offset = null; String startDate = null; String endDate = null; - Integer days = null; + Long days = null; String email = null; String event = null; String tags = null; @@ -207,7 +207,7 @@ public void getSmtpReportTest() throws ApiException { Long offset = null; String startDate = null; String endDate = null; - Integer days = null; + Long days = null; String tag = null; String sort = null; GetReports response = api.getSmtpReport(limit, offset, startDate, endDate, days, tag, sort); @@ -300,8 +300,8 @@ public void getTransacEmailsListTest() throws ApiException { String email = null; Long templateId = null; String messageId = null; - LocalDate startDate = null; - LocalDate endDate = null; + String startDate = null; + String endDate = null; String sort = null; GetTransacEmailsList response = api.getTransacEmailsList(email, templateId, messageId, startDate, endDate, sort); diff --git a/src/test/java/sibApi/TransactionalSmsApiTest.java b/src/test/java/sibApi/TransactionalSmsApiTest.java index 0db689c..e259667 100644 --- a/src/test/java/sibApi/TransactionalSmsApiTest.java +++ b/src/test/java/sibApi/TransactionalSmsApiTest.java @@ -51,7 +51,7 @@ public void getSmsEventsTest() throws ApiException { String startDate = null; String endDate = null; Long offset = null; - Integer days = null; + Long days = null; String phoneNumber = null; String event = null; String tags = null; @@ -73,7 +73,7 @@ public void getSmsEventsTest() throws ApiException { public void getTransacAggregatedSmsReportTest() throws ApiException { String startDate = null; String endDate = null; - Integer days = null; + Long days = null; String tag = null; GetTransacAggregatedSmsReport response = api.getTransacAggregatedSmsReport(startDate, endDate, days, tag); @@ -92,7 +92,7 @@ public void getTransacAggregatedSmsReportTest() throws ApiException { public void getTransacSmsReportTest() throws ApiException { String startDate = null; String endDate = null; - Integer days = null; + Long days = null; String tag = null; String sort = null; GetTransacSmsReport response = api.getTransacSmsReport(startDate, endDate, days, tag, sort);