diff --git a/.travis.yml b/.travis.yml index 70cb81a..dbdd160 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,14 @@ # Generated by: https://github.com/swagger-api/swagger-codegen.git # language: java -jdk: - - oraclejdk8 - - oraclejdk7 + before_install: # ensure gradlew has proper permission - chmod a+x ./gradlew + +jdk: + - oraclejdk8 + script: # test using maven - mvn test diff --git a/README.md b/README.md index 8f667c4..8b95f49 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 - 2.0.1 + 3.0.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:2.0.1" +compile "com.sendinblue:sib-api-v3-sdk:3.0.0" ``` ### Others @@ -45,7 +45,7 @@ At first generate the JAR by executing: Then manually install the following JARs: -* target/sib-api-v3-sdk-2.0.1.jar +* target/sib-api-v3-sdk-3.0.0.jar * target/lib/*.jar ## Getting Started @@ -256,7 +256,6 @@ Class | Method | HTTP request | Description - [GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md) - [GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md) - [GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md) - - [GetExtendedCampaignStatsLinksStats](docs/GetExtendedCampaignStatsLinksStats.md) - [GetExtendedClientAddress](docs/GetExtendedClientAddress.md) - [GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md) - [GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md) diff --git a/build.gradle b/build.gradle index 703fb5e..c313019 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.sendinblue' -version = '2.0.1' +version = '3.0.0' buildscript { repositories { @@ -32,8 +32,8 @@ if(hasProperty('target') && target == 'android') { targetSdkVersion 25 } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_7 - targetCompatibility JavaVersion.VERSION_1_7 + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 } // Rename the aar correctly @@ -78,8 +78,8 @@ if(hasProperty('target') && target == 'android') { apply plugin: 'java' apply plugin: 'maven' - sourceCompatibility = JavaVersion.VERSION_1_7 - targetCompatibility = JavaVersion.VERSION_1_7 + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 install { repositories.mavenInstaller { @@ -100,5 +100,6 @@ dependencies { compile 'com.google.code.gson:gson:2.8.1' compile 'io.gsonfire:gson-fire:1.8.0' compile 'org.threeten:threetenbp:1.3.5' + compile 'org.apache.commons:commons-lang3:3.0' testCompile 'junit:junit:4.12' } diff --git a/build.sbt b/build.sbt index 4735da1..f18dea1 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 := "2.0.1", + version := "3.0.0", scalaVersion := "2.11.4", scalacOptions ++= Seq("-feature"), javacOptions in compile ++= Seq("-Xlint:deprecation"), diff --git a/docs/CreateAttribute.md b/docs/CreateAttribute.md index 3e7ed17..b8bd731 100644 --- a/docs/CreateAttribute.md +++ b/docs/CreateAttribute.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **String** | Value of the attribute. Use only if the attribute's category is calculated or global | [optional] -**enumeration** | [**List<CreateAttributeEnumeration>**](CreateAttributeEnumeration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] -**type** | [**TypeEnum**](#TypeEnum) | Type of the attribute. Use only if the attribute's category is normal, category or transactional ( type 'id' only available if the category is 'transactional' attribute & type 'category' only available if the category is 'category' attribute ) | [optional] +**value** | **String** | Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' | [optional] +**enumeration** | [**List<CreateAttributeEnumeration>**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}] | [optional] +**type** | [**TypeEnum**](#TypeEnum) | Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) | [optional] diff --git a/docs/CreateContact.md b/docs/CreateContact.md index 3527a99..3f19b20 100644 --- a/docs/CreateContact.md +++ b/docs/CreateContact.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**email** | **String** | Email address of the user. Mandatory if `attributes.sms` is not passed | [optional] -**attributes** | **Object** | Values of the attributes to fill. The attributes must exist in you contact database | [optional] -**emailBlacklisted** | **Boolean** | Blacklist the contact for emails (emailBlacklisted = true) | [optional] -**smsBlacklisted** | **Boolean** | Blacklist the contact for SMS (smsBlacklisted = true) | [optional] +**email** | **String** | Email address of the user. Mandatory if \"sms\" field is not passed in \"attributes\" parameter' | [optional] +**attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'} | [optional] +**emailBlacklisted** | **Boolean** | Set this field to blacklist the contact for emails (emailBlacklisted = true) | [optional] +**smsBlacklisted** | **Boolean** | Set this field to blacklist the contact for SMS (smsBlacklisted = true) | [optional] **listIds** | **List<Long>** | Ids of the lists to add the contact to | [optional] -**updateEnabled** | **Boolean** | Facilitate to update existing contact in same request (updateEnabled = true) | [optional] +**updateEnabled** | **Boolean** | Facilitate to update the existing contact in the same request (updateEnabled = true) | [optional] **smtpBlacklistSender** | **List<String>** | SMTP forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) | [optional] diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md index 5ed5c99..a97edd8 100644 --- a/docs/CreateEmailCampaign.md +++ b/docs/CreateEmailCampaign.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **String** | Name of the campaign | **htmlContent** | **String** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional] **htmlUrl** | **String** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional] -**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [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. | [optional] **subject** | **String** | Subject of the campaign | **replyTo** | **String** | Email on which the campaign recipients will be able to reply to | [optional] **toField** | **String** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use {FNAME} {LNAME}. These attributes must already exist in your contact database | [optional] diff --git a/docs/CreateList.md b/docs/CreateList.md index ac39976..48657ea 100644 --- a/docs/CreateList.md +++ b/docs/CreateList.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of the list | -**folderId** | **Long** | Id of the folder in which to create the list | +**folderId** | **Long** | Id of the parent folder in which this list is to be created | diff --git a/docs/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md index afd5dd9..0de016e 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 | **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**](OffsetDateTime.md) | 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** | [**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] diff --git a/docs/DeleteHardbounces.md b/docs/DeleteHardbounces.md index 4722917..07f48cb 100644 --- a/docs/DeleteHardbounces.md +++ b/docs/DeleteHardbounces.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**startDate** | **LocalDate** | Starting date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be lower than equal to endDate | [optional] -**endDate** | **LocalDate** | Ending date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be greater than equal to startDate | [optional] +**startDate** | **LocalDate** | Starting date (YYYY-MM-DD) of the time period for deletion. The hardbounces occurred after this date will be deleted. Must be less than or equal to the endDate | [optional] +**endDate** | **LocalDate** | Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate | [optional] **contactEmail** | **String** | Target a specific email address | [optional] diff --git a/docs/GetAccountPlan.md b/docs/GetAccountPlan.md index d54f2a3..1f9f168 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\", \"unlimited\" and \"reseller\" plan type) | [optional] -**endDate** | **LocalDate** | Date of the period from which the plan will end (only available for \"subscription\", \"unlimited\" 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] @@ -17,7 +17,6 @@ Name | Type | Description | Notes Name | Value ---- | ----- PAYASYOUGO | "payAsYouGo" -UNLIMITED | "unlimited" FREE | "free" SUBSCRIPTION | "subscription" SMS | "sms" diff --git a/docs/GetCampaignOverview.md b/docs/GetCampaignOverview.md index 99545de..4455d77 100644 --- a/docs/GetCampaignOverview.md +++ b/docs/GetCampaignOverview.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign | **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] diff --git a/docs/GetCampaignStats.md b/docs/GetCampaignStats.md index b4ec6a4..965df7e 100644 --- a/docs/GetCampaignStats.md +++ b/docs/GetCampaignStats.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**listId** | **Long** | List Id of email campaign (only in case of get email campaign(s)) | [optional] +**listId** | **Long** | List Id of email campaign (only in case of get email campaign(s)(not for global stats)) | [optional] **uniqueClicks** | **Long** | Number of unique clicks for the campaign | -**clickers** | **Long** | Number of clicks for the campaign | +**clickers** | **Long** | Number of total clicks for the campaign | **complaints** | **Long** | Number of complaints (Spam reports) for the campaign | **delivered** | **Long** | Number of delivered emails for the campaign | **sent** | **Long** | Number of sent emails for the campaign | @@ -15,7 +15,7 @@ Name | Type | Description | Notes **uniqueViews** | **Long** | Number of unique openings for the campaign | **unsubscriptions** | **Long** | Number of unsubscription for the campaign | **viewed** | **Long** | Number of openings for the campaign | -**deferred** | **Long** | Number of deferred emails for the campaign | +**deferred** | **Long** | Number of deferred emails for the campaign | [optional] diff --git a/docs/GetContactCampaignStatsOpened.md b/docs/GetContactCampaignStatsOpened.md index 57e2e3f..0f52122 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**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | **ip** | **String** | IP from which the user has opened the campaign | diff --git a/docs/GetContactDetails.md b/docs/GetContactDetails.md index 5c6cd7d..ab3cabc 100644 --- a/docs/GetContactDetails.md +++ b/docs/GetContactDetails.md @@ -8,10 +8,10 @@ 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) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Last modification 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) | **listIds** | **List<Long>** | | **listUnsubscribed** | **List<Long>** | | [optional] -**attributes** | **Map<String, String>** | | +**attributes** | **Object** | Set of attributes of the contact | diff --git a/docs/GetEmailCampaign.md b/docs/GetEmailCampaign.md index 18b889e..8e93d7c 100644 --- a/docs/GetEmailCampaign.md +++ b/docs/GetEmailCampaign.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign | **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **testSent** | **Boolean** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **String** | Header of the campaign | **footer** | **String** | Footer of the campaign | @@ -19,8 +19,8 @@ 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 | -**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | **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] diff --git a/docs/GetEmailEventReportEvents.md b/docs/GetEmailEventReportEvents.md index 7773be4..34e9144 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**](OffsetDateTime.md) | UTC date-time on which the event has been generated | +**date** | [**OffsetDateTime**] | 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 7b8a99b..ae05729 100644 --- a/docs/GetExtendedCampaignOverview.md +++ b/docs/GetExtendedCampaignOverview.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **subject** | **String** | Subject of the campaign | **type** | [**TypeEnum**](#TypeEnum) | Type of campaign | **status** | [**StatusEnum**](#StatusEnum) | Status of the campaign | -**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **testSent** | **Boolean** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **String** | Header of the campaign | **footer** | **String** | Footer of the campaign | @@ -19,8 +19,8 @@ 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 | -**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | **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] diff --git a/docs/GetExtendedCampaignStats.md b/docs/GetExtendedCampaignStats.md index 9a26351..df5c8c8 100644 --- a/docs/GetExtendedCampaignStats.md +++ b/docs/GetExtendedCampaignStats.md @@ -4,10 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaignStats** | **List<Object>** | | +**globalStats** | **Object** | Overall statistics of the campaign | +**campaignStats** | **List<Object>** | List-wise statistics of the campaign. | **mirrorClick** | **Long** | Number of clicks on mirror link | **remaining** | **Long** | Number of remaning emails to send | -**linksStats** | [**Map<String, GetExtendedCampaignStatsLinksStats>**](GetExtendedCampaignStatsLinksStats.md) | | +**linksStats** | **Object** | Statistics about the number of clicks for the links | **statsByDomain** | [**GetStatsByDomain**](GetStatsByDomain.md) | | diff --git a/docs/GetExtendedCampaignStatsLinksStats.md b/docs/GetExtendedCampaignStatsLinksStats.md deleted file mode 100644 index adfc515..0000000 --- a/docs/GetExtendedCampaignStatsLinksStats.md +++ /dev/null @@ -1,10 +0,0 @@ - -# GetExtendedCampaignStatsLinksStats - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nbClick** | **Long** | Number of clicks for the link | - - - diff --git a/docs/GetExtendedContactDetails.md b/docs/GetExtendedContactDetails.md index 96c056e..a3f8600 100644 --- a/docs/GetExtendedContactDetails.md +++ b/docs/GetExtendedContactDetails.md @@ -8,10 +8,10 @@ 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) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Last modification 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) | **listIds** | **List<Long>** | | **listUnsubscribed** | **List<Long>** | | [optional] -**attributes** | **Map<String, String>** | | +**attributes** | **Object** | Set of attributes of the contact | **statistics** | [**GetExtendedContactDetailsStatistics**](GetExtendedContactDetailsStatistics.md) | | diff --git a/docs/GetExtendedContactDetailsStatisticsLinks.md b/docs/GetExtendedContactDetailsStatisticsLinks.md index 234d79a..c5965cc 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**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | 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 d69b87e..43cd4d5 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**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | diff --git a/docs/GetExtendedContactDetailsStatisticsOpened.md b/docs/GetExtendedContactDetailsStatisticsOpened.md index 4404fba..59cf80b 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**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | 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 680dded..b842c58 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**eventTime** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | **ip** | **String** | IP from which the user has been unsubscribed | diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md index d0213a6..6adf731 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**](OffsetDateTime.md) | UTC date-time of the event | +**eventTime** | [**OffsetDateTime**] | UTC date-time of the event | **ip** | **String** | IP from which the user has unsubscribed | diff --git a/docs/GetExtendedList.md b/docs/GetExtendedList.md index 0ba7f9f..2d89338 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**](OffsetDateTime.md) | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**createdAt** | [**OffsetDateTime**] | 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/GetSmsCampaign.md b/docs/GetSmsCampaign.md index 2ced7f9..2a19502 100644 --- a/docs/GetSmsCampaign.md +++ b/docs/GetSmsCampaign.md @@ -8,11 +8,11 @@ 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**](OffsetDateTime.md) | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | +**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | **testSent** | **Boolean** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **String** | Sender of the SMS Campaign | -**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | **recipients** | **Object** | | **statistics** | **Object** | | diff --git a/docs/GetSmsCampaignOverview.md b/docs/GetSmsCampaignOverview.md index a044db5..acbf73e 100644 --- a/docs/GetSmsCampaignOverview.md +++ b/docs/GetSmsCampaignOverview.md @@ -8,11 +8,11 @@ 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**](OffsetDateTime.md) | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | +**scheduledAt** | [**OffsetDateTime**] | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | **testSent** | **Boolean** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **String** | Sender of the SMS Campaign | -**createdAt** | [**OffsetDateTime**](OffsetDateTime.md) | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | diff --git a/docs/GetSmtpTemplateOverview.md b/docs/GetSmtpTemplateOverview.md index 414fc33..4ea6ce4 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**](OffsetDateTime.md) | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | diff --git a/docs/GetWebhook.md b/docs/GetWebhook.md index 055e8dc..1417e88 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**](OffsetDateTime.md) | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modifiedAt** | [**OffsetDateTime**](OffsetDateTime.md) | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**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) | diff --git a/docs/RequestContactExport.md b/docs/RequestContactExport.md index 8071023..d52e949 100644 --- a/docs/RequestContactExport.md +++ b/docs/RequestContactExport.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**exportAttributes** | **List<String>** | Name of attributes to export. These attributes must be in your contact database | [optional] -**contactFilter** | **Object** | Filter to apply to the export | +**exportAttributes** | **List<String>** | List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. | [optional] +**contactFilter** | **Object** | Set the filter for the contacts to be exported. For example, {'blacklisted':true} will export all the blacklisted contacts. | **notifyUrl** | **String** | Webhook that will be called once the export process is finished | [optional] diff --git a/docs/RequestContactImport.md b/docs/RequestContactImport.md index 1c9ac1b..8971672 100644 --- a/docs/RequestContactImport.md +++ b/docs/RequestContactImport.md @@ -4,11 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**fileUrl** | **String** | Mandatory if fileBody not defined. URL of the file to be imported (no local file). Possible file types: .txt, .csv | [optional] +**fileUrl** | **String** | Mandatory if fileBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv | [optional] **fileBody** | **String** | Mandatory if fileUrl is not defined. CSV content to be imported. Use semicolon to separate multiple attributes | [optional] -**listIds** | **List<Long>** | Manadatory if newList is not defined. Ids of the lists in which to add the contacts | [optional] +**listIds** | **List<Long>** | Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. | [optional] **notifyUrl** | **String** | URL that will be called once the export process is finished | [optional] **newList** | [**RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional] +**emailBlacklist** | **Boolean** | To blacklist all the contacts for email | [optional] +**smsBlacklist** | **Boolean** | To blacklist all the contacts for sms | [optional] +**updateExistingContacts** | **Boolean** | To facilitate the choice to update the existing contacts | [optional] diff --git a/docs/RequestContactImportNewList.md b/docs/RequestContactImportNewList.md index 3bc4fce..26170ff 100644 --- a/docs/RequestContactImportNewList.md +++ b/docs/RequestContactImportNewList.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **listName** | **String** | List with listName will be created first and users will be imported in it (Mandatory if listIds is empty). | [optional] -**folderId** | **Long** | Folder id will be used with listName to make newly created list’s desired parent (Mandatory if listName is not empty). | [optional] +**folderId** | **Long** | Id of the folder where this new list shall be created (Mandatory if listName is not empty). | [optional] diff --git a/docs/SendEmail.md b/docs/SendEmail.md index 3b23d38..c107028 100644 --- a/docs/SendEmail.md +++ b/docs/SendEmail.md @@ -4,14 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**emailTo** | **List<String>** | Email addresses of the recipients | -**emailBcc** | **List<String>** | Email addresses of the recipients in bcc | [optional] -**emailCc** | **List<String>** | Email addresses of the recipients in cc | [optional] -**replyTo** | **String** | Email on which campaign recipients will be able to reply to | [optional] +**emailTo** | **List<String>** | List of the email addresses of the recipients. For example, ['abc@example.com', 'asd@example.com']. | +**emailBcc** | **List<String>** | List of the email addresses of the recipients in bcc | [optional] +**emailCc** | **List<String>** | List of the email addresses of the recipients in cc | [optional] +**replyTo** | **String** | Email address which shall be used by campaign recipients to reply back | [optional] **attachmentUrl** | **String** | Absolute url of the attachment (no local file). Extension allowed: 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 and eps | [optional] -**attachment** | [**List<SendEmailAttachment>**](SendEmailAttachment.md) | Pass the byte array of the attachment ( Encoded to base64 chunk data at our end ). Extension allowed: 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 and eps | [optional] -**headers** | **Map<String, String>** | | [optional] -**attributes** | **Map<String, String>** | | [optional] +**attachment** | [**List<SendEmailAttachment>**](SendEmailAttachment.md) | Pass the list of content ( byte array which is encoded to base64 chunk data at our end ) and name of the attachment. For example, [{'content':'byte array content 1', 'name':'attcahment1'}, {'content':'byte array content 2', 'name':'attcahment2'}]. | [optional] +**headers** | **Object** | Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'} | [optional] +**attributes** | **Object** | Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'} | [optional] +**tags** | **List<String>** | Tag your emails to find them more easily | [optional] diff --git a/docs/SendEmailAttachment.md b/docs/SendEmailAttachment.md index 14af3a7..d1efffe 100644 --- a/docs/SendEmailAttachment.md +++ b/docs/SendEmailAttachment.md @@ -4,5 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**content** | **byte[]** | Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end ) | [optional] -**name** | **String** | Required for content. Name of the attachment | [optional] +**content** | **byte[]** | Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end ) | [optional] +**name** | **String** | Required for content. Name of the attachment | [optional] + + + diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md index da649bf..1167771 100644 --- a/docs/SendSmtpEmail.md +++ b/docs/SendSmtpEmail.md @@ -5,17 +5,18 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **sender** | [**SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] -**to** | [**List<SendSmtpEmailTo>**](SendSmtpEmailTo.md) | Email addresses and names of the recipients | -**bcc** | [**List<SendSmtpEmailBcc>**](SendSmtpEmailBcc.md) | Email addresses and names of the recipients in bcc | [optional] -**cc** | [**List<SendSmtpEmailCc>**](SendSmtpEmailCc.md) | Email addresses and names of the recipients in cc | [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'}] | +**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] **textContent** | **String** | Plain Text body of the message ( Ignored if 'templateId' is passed ) | [optional] **subject** | **String** | Subject of the message. Mandatory if 'templateId' is not passed | [optional] **replyTo** | [**SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] -**attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the or the byte array of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: 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 and eps ( Ignored if 'templateId' is passed ) | [optional] -**headers** | **Map<String, String>** | | [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'}, {'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 and eps ( Ignored if 'templateId' is passed ) | [optional] +**headers** | **Object** | Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'} | [optional] **templateId** | **Long** | Id of the template | [optional] -**params** | **Map<String, String>** | | [optional] +**params** | **Object** | Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. | [optional] +**tags** | **List<String>** | Tag your emails to find them more easily | [optional] diff --git a/docs/SendSmtpEmailAttachment.md b/docs/SendSmtpEmailAttachment.md index d2ff483..9b6f53a 100644 --- a/docs/SendSmtpEmailAttachment.md +++ b/docs/SendSmtpEmailAttachment.md @@ -6,4 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **url** | **String** | Absolute url of the attachment (no local file). | [optional] **content** | **byte[]** | Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end ) | [optional] -**name** | **String** | Required for content. Name of the attachment | [optional] +**name** | **String** | Required if content is passed. Name of the attachment | [optional] + + + diff --git a/docs/SendSmtpEmailSender.md b/docs/SendSmtpEmailSender.md index c2215fe..a590094 100644 --- a/docs/SendSmtpEmailSender.md +++ b/docs/SendSmtpEmailSender.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Sender Name from which the emails are sent | [optional] -**email** | **String** | Sender Email from which the emails are sent | +**name** | **String** | Name of the sender from which the emails will be sent | [optional] +**email** | **String** | Email of the sender from which the emails will be sent | diff --git a/docs/SendTestEmail.md b/docs/SendTestEmail.md index 992e722..28466f2 100644 --- a/docs/SendTestEmail.md +++ b/docs/SendTestEmail.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**emailTo** | **List<String>** | If empty the test email will be sent to your entire test list. Use this field to send it to specific addresses in your list. | [optional] +**emailTo** | **List<String>** | List of the email addresses of the recipients whom you wish to send the test mail. If left empty, the test mail will be sent to your entire test list. | [optional] diff --git a/docs/SmtpApi.md b/docs/SmtpApi.md index f0e9538..478d7d0 100644 --- a/docs/SmtpApi.md +++ b/docs/SmtpApi.md @@ -486,6 +486,8 @@ Name | Type | Description | Notes Send a template +This endpoint is deprecated. Prefer v3/smtp/email instead. + ### Example ```java // Import classes: diff --git a/docs/UpdateAttribute.md b/docs/UpdateAttribute.md index 59b9592..09a16a2 100644 --- a/docs/UpdateAttribute.md +++ b/docs/UpdateAttribute.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **String** | Value of the attribute. Use only if the attribute's category is calculated or global | [optional] -**enumeration** | [**List<UpdateAttributeEnumeration>**](UpdateAttributeEnumeration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] +**value** | **String** | Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global' | [optional] +**enumeration** | [**List<UpdateAttributeEnumeration>**](UpdateAttributeEnumeration.md) | List of the values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}] | [optional] diff --git a/docs/UpdateContact.md b/docs/UpdateContact.md index 8bd341b..6dae182 100644 --- a/docs/UpdateContact.md +++ b/docs/UpdateContact.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | **Map<String, String>** | | [optional] -**emailBlacklisted** | **Boolean** | Blacklist the contact for emails (emailBlacklisted = true) | [optional] -**smsBlacklisted** | **Boolean** | Blacklist the contact for SMS (smsBlacklisted = true) | [optional] +**attributes** | **Object** | Pass the set of attributes to be updated. These attributes must be present in your account. For eg. {'FNAME':'Ellie', 'LNAME':'Roger'} | [optional] +**emailBlacklisted** | **Boolean** | Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) | [optional] +**smsBlacklisted** | **Boolean** | Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) | [optional] **listIds** | **List<Long>** | Ids of the lists to add the contact to | [optional] **unlinkListIds** | **List<Long>** | Ids of the lists to remove the contact from | [optional] **smtpBlacklistSender** | **List<String>** | SMTP forbidden sender for contact. Use only for email Contact | [optional] diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md index 599e351..2ce1e0c 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**](OffsetDateTime.md) | 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** | [**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] **subject** | **String** | Subject of the campaign | [optional] **replyTo** | **String** | Email on which campaign recipients will be able to reply to | [optional] **toField** | **String** | This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. To use the contact attributes here, these must already exist in SendinBlue account | [optional] diff --git a/docs/UpdateList.md b/docs/UpdateList.md index 219ab13..f3401b3 100644 --- a/docs/UpdateList.md +++ b/docs/UpdateList.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **String** | Name of the list. Only one parameter can be update at once | [optional] -**folderId** | **Long** | Id of the folder in which to move the list. Only one parameter can updated at once | [optional] +**name** | **String** | Name of the list. Either of the two parameters (name, folderId) can be updated at a time. | [optional] +**folderId** | **Long** | Id of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time. | [optional] diff --git a/docs/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md index a87ab66..6b7dfe5 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 | [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**](OffsetDateTime.md) | 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** | [**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] diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml index 9daaa7b..a05575c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ sib-api-v3-sdk jar sib-api-v3-sdk - 2.0.1 + 3.0.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 ba0fe5c..20177fd 100644 --- a/src/main/java/sendinblue/ApiClient.java +++ b/src/main/java/sendinblue/ApiClient.java @@ -85,7 +85,7 @@ public ApiClient() { json = new Json(); // Set default User-Agent. - setUserAgent("Swagger-Codegen/2.0.1/java"); + setUserAgent("Swagger-Codegen/3.0.0/java"); // Setup authentications (key: authentication name, value: authentication). authentications = new HashMap(); diff --git a/src/main/java/sendinblue/ApiException.java b/src/main/java/sendinblue/ApiException.java index 5f6d4d1..0ad9b48 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 7e7ab5d..cc57299 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 5f04e5d..eceb822 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 0804ae8..88f81d8 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 04eb5ac..07b85fb 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f9ce559..72f2e2c 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class OAuth implements Authentication { private String accessToken; diff --git a/src/main/java/sibApi/SmtpApi.java b/src/main/java/sibApi/SmtpApi.java index 441b69b..f5e9584 100644 --- a/src/main/java/sibApi/SmtpApi.java +++ b/src/main/java/sibApi/SmtpApi.java @@ -1145,7 +1145,9 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don * @param progressRequestListener Progress request listener * @return Call to execute * @throws ApiException If fail to serialize the request body object + * @deprecated */ + @Deprecated public com.squareup.okhttp.Call sendTemplateCall(Long templateId, SendEmail sendEmail, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { Object localVarPostBody = sendEmail; @@ -1188,6 +1190,7 @@ public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Ch return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener); } + @Deprecated @SuppressWarnings("rawtypes") private com.squareup.okhttp.Call sendTemplateValidateBeforeCall(Long templateId, SendEmail sendEmail, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException { @@ -1209,12 +1212,14 @@ private com.squareup.okhttp.Call sendTemplateValidateBeforeCall(Long templateId, /** * Send a template - * + * This endpoint is deprecated. Prefer v3/smtp/email instead. * @param templateId Id of the template (required) * @param sendEmail (required) * @return SendTemplateEmail * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @deprecated */ + @Deprecated public SendTemplateEmail sendTemplate(Long templateId, SendEmail sendEmail) throws ApiException { ApiResponse resp = sendTemplateWithHttpInfo(templateId, sendEmail); return resp.getData(); @@ -1222,12 +1227,14 @@ public SendTemplateEmail sendTemplate(Long templateId, SendEmail sendEmail) thro /** * Send a template - * + * This endpoint is deprecated. Prefer v3/smtp/email instead. * @param templateId Id of the template (required) * @param sendEmail (required) * @return ApiResponse<SendTemplateEmail> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body + * @deprecated */ + @Deprecated public ApiResponse sendTemplateWithHttpInfo(Long templateId, SendEmail sendEmail) throws ApiException { com.squareup.okhttp.Call call = sendTemplateValidateBeforeCall(templateId, sendEmail, null, null); Type localVarReturnType = new TypeToken(){}.getType(); @@ -1236,13 +1243,15 @@ public ApiResponse sendTemplateWithHttpInfo(Long templateId, /** * Send a template (asynchronously) - * + * This endpoint is deprecated. Prefer v3/smtp/email instead. * @param templateId Id of the template (required) * @param sendEmail (required) * @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 + * @deprecated */ + @Deprecated public com.squareup.okhttp.Call sendTemplateAsync(Long templateId, SendEmail sendEmail, final ApiCallback callback) throws ApiException { ProgressResponseBody.ProgressListener progressListener = null; diff --git a/src/main/java/sibModel/AddContactToList.java b/src/main/java/sibModel/AddContactToList.java index 6dbb975..deb5e9a 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 e0d8291..e3b38ef 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class AddCredits { @SerializedName("sms") private Long sms = null; diff --git a/src/main/java/sibModel/CreateAttribute.java b/src/main/java/sibModel/CreateAttribute.java index fc6ecd5..a64e232 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateAttribute { @SerializedName("value") private String value = null; @@ -38,7 +38,7 @@ public class CreateAttribute { private List enumeration = null; /** - * Type of the attribute. Use only if the attribute's category is normal, category or transactional ( type 'id' only available if the category is 'transactional' attribute & type 'category' only available if the category is 'category' attribute ) + * Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) */ @JsonAdapter(TypeEnum.Adapter.class) public enum TypeEnum { @@ -99,10 +99,10 @@ public CreateAttribute value(String value) { } /** - * Value of the attribute. Use only if the attribute's category is calculated or global + * Value of the attribute. Use only if the attribute's category is 'calculated' or 'global' * @return value **/ - @ApiModelProperty(example = "COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]", value = "Value of the attribute. Use only if the attribute's category is calculated or global") + @ApiModelProperty(example = "COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]", value = "Value of the attribute. Use only if the attribute's category is 'calculated' or 'global'") public String getValue() { return value; } @@ -125,10 +125,10 @@ public CreateAttribute addEnumerationItem(CreateAttributeEnumeration enumeration } /** - * Values that the attribute can take. Use only if the attribute's category is category + * List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}] * @return enumeration **/ - @ApiModelProperty(value = "Values that the attribute can take. Use only if the attribute's category is category") + @ApiModelProperty(value = "List of values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}]") public List getEnumeration() { return enumeration; } @@ -143,10 +143,10 @@ public CreateAttribute type(TypeEnum type) { } /** - * Type of the attribute. Use only if the attribute's category is normal, category or transactional ( type 'id' only available if the category is 'transactional' attribute & type 'category' only available if the category is 'category' attribute ) + * Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute ) * @return type **/ - @ApiModelProperty(example = "text", value = "Type of the attribute. Use only if the attribute's category is normal, category or transactional ( type 'id' only available if the category is 'transactional' attribute & type 'category' only available if the category is 'category' attribute )") + @ApiModelProperty(example = "text", value = "Type of the attribute. Use only if the attribute's category is 'normal', 'category' or 'transactional' ( type 'id' is only available if the category is 'transactional' attribute & type 'category' is only available if the category is 'category' attribute )") public TypeEnum getType() { return type; } diff --git a/src/main/java/sibModel/CreateAttributeEnumeration.java b/src/main/java/sibModel/CreateAttributeEnumeration.java index 97cc106..3a4dfc3 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 9f24a6c..cfd77ba 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 7da2e34..0f357a5 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateContact { @SerializedName("email") private String email = null; @@ -57,10 +57,10 @@ public CreateContact email(String email) { } /** - * Email address of the user. Mandatory if `attributes.sms` is not passed + * Email address of the user. Mandatory if \"sms\" field is not passed in \"attributes\" parameter' * @return email **/ - @ApiModelProperty(example = "elly@example.com", value = "Email address of the user. Mandatory if `attributes.sms` is not passed") + @ApiModelProperty(example = "elly@example.com", value = "Email address of the user. Mandatory if \"sms\" field is not passed in \"attributes\" parameter'") public String getEmail() { return email; } @@ -75,10 +75,10 @@ public CreateContact attributes(Object attributes) { } /** - * Values of the attributes to fill. The attributes must exist in you contact database + * Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'} * @return attributes **/ - @ApiModelProperty(example = "\"FNAME:Elly, LNAME:Roger\"", value = "Values of the attributes to fill. The attributes must exist in you contact database") + @ApiModelProperty(example = "{\"FNAME\":\"Elly\",\"LNAME\":\"Roger\"}", value = "Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'}") public Object getAttributes() { return attributes; } @@ -93,10 +93,10 @@ public CreateContact emailBlacklisted(Boolean emailBlacklisted) { } /** - * Blacklist the contact for emails (emailBlacklisted = true) + * Set this field to blacklist the contact for emails (emailBlacklisted = true) * @return emailBlacklisted **/ - @ApiModelProperty(example = "false", value = "Blacklist the contact for emails (emailBlacklisted = true)") + @ApiModelProperty(example = "false", value = "Set this field to blacklist the contact for emails (emailBlacklisted = true)") public Boolean isEmailBlacklisted() { return emailBlacklisted; } @@ -111,10 +111,10 @@ public CreateContact smsBlacklisted(Boolean smsBlacklisted) { } /** - * Blacklist the contact for SMS (smsBlacklisted = true) + * Set this field to blacklist the contact for SMS (smsBlacklisted = true) * @return smsBlacklisted **/ - @ApiModelProperty(example = "false", value = "Blacklist the contact for SMS (smsBlacklisted = true)") + @ApiModelProperty(example = "false", value = "Set this field to blacklist the contact for SMS (smsBlacklisted = true)") public Boolean isSmsBlacklisted() { return smsBlacklisted; } @@ -155,10 +155,10 @@ public CreateContact updateEnabled(Boolean updateEnabled) { } /** - * Facilitate to update existing contact in same request (updateEnabled = true) + * Facilitate to update the existing contact in the same request (updateEnabled = true) * @return updateEnabled **/ - @ApiModelProperty(example = "false", value = "Facilitate to update existing contact in same request (updateEnabled = true)") + @ApiModelProperty(example = "false", value = "Facilitate to update the existing contact in the same request (updateEnabled = true)") public Boolean isUpdateEnabled() { return updateEnabled; } diff --git a/src/main/java/sibModel/CreateEmailCampaign.java b/src/main/java/sibModel/CreateEmailCampaign.java index a948583..eb86ef7 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateEmailCampaign { @SerializedName("tag") private String tag = null; diff --git a/src/main/java/sibModel/CreateEmailCampaignRecipients.java b/src/main/java/sibModel/CreateEmailCampaignRecipients.java index b163b12..bfb5d20 100644 --- a/src/main/java/sibModel/CreateEmailCampaignRecipients.java +++ b/src/main/java/sibModel/CreateEmailCampaignRecipients.java @@ -26,9 +26,10 @@ import java.util.List; /** - * CreateEmailCampaignRecipients + * List ids to include/exclude from campaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "List ids to include/exclude from campaign") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 d1ccbf3..60ee76d 100644 --- a/src/main/java/sibModel/CreateEmailCampaignSender.java +++ b/src/main/java/sibModel/CreateEmailCampaignSender.java @@ -24,9 +24,10 @@ import java.io.IOException; /** - * CreateEmailCampaignSender + * Sender details including email and name (optional). For example {'name':'xyz' , 'email':'example@abc.com'} */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Sender details including email and name (optional). For example {'name':'xyz' , 'email':'example@abc.com'}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 3e15eb0..d85f3c6 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateList { @SerializedName("name") private String name = null; @@ -58,10 +58,10 @@ public CreateList folderId(Long folderId) { } /** - * Id of the folder in which to create the list + * Id of the parent folder in which this list is to be created * @return folderId **/ - @ApiModelProperty(example = "2", required = true, value = "Id of the folder in which to create the list") + @ApiModelProperty(example = "2", required = true, value = "Id of the parent folder in which this list is to be created") public Long getFolderId() { return folderId; } diff --git a/src/main/java/sibModel/CreateModel.java b/src/main/java/sibModel/CreateModel.java index 90afce2..4eebc5b 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 d2f3195..ce2df0d 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 cdd5ff0..398bf59 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 b5f4fce..6b77d71 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6c4b207..35ef0fe 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6f3d075..b69aa18 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateSmsCampaign { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateSmsCampaignRecipients.java b/src/main/java/sibModel/CreateSmsCampaignRecipients.java index bb35ea8..828a343 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 4974b8a..b5e3c7f 100644 --- a/src/main/java/sibModel/CreateSmtpEmail.java +++ b/src/main/java/sibModel/CreateSmtpEmail.java @@ -26,7 +26,7 @@ /** * CreateSmtpEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateSmtpEmail { @SerializedName("messageId") private String messageId = null; diff --git a/src/main/java/sibModel/CreateSmtpTemplate.java b/src/main/java/sibModel/CreateSmtpTemplate.java index 448d04e..72e3c1d 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 4934470..9f0674f 100644 --- a/src/main/java/sibModel/CreateSmtpTemplateSender.java +++ b/src/main/java/sibModel/CreateSmtpTemplateSender.java @@ -24,9 +24,10 @@ import java.io.IOException; /** - * CreateSmtpTemplateSender + * Sender details including email and name (optional). For example {'name':'xyz' , 'email':'example@abc.com'} */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Sender details including email and name (optional). For example {'name':'xyz' , 'email':'example@abc.com'}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class CreateSmtpTemplateSender { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/CreateUpdateFolder.java b/src/main/java/sibModel/CreateUpdateFolder.java index bc3ca85..6e840b2 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 ca37f90..5852a47 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 423acdd..03da06e 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 224e4e7..f935b1e 100644 --- a/src/main/java/sibModel/DeleteHardbounces.java +++ b/src/main/java/sibModel/DeleteHardbounces.java @@ -27,7 +27,7 @@ /** * DeleteHardbounces */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class DeleteHardbounces { @SerializedName("startDate") private LocalDate startDate = null; @@ -44,10 +44,10 @@ public DeleteHardbounces startDate(LocalDate startDate) { } /** - * Starting date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be lower than equal to endDate + * Starting date (YYYY-MM-DD) of the time period for deletion. The hardbounces occurred after this date will be deleted. Must be less than or equal to the endDate * @return startDate **/ - @ApiModelProperty(example = "2016-12-31", value = "Starting date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be lower than equal to endDate") + @ApiModelProperty(example = "2016-12-31", value = "Starting date (YYYY-MM-DD) of the time period for deletion. The hardbounces occurred after this date will be deleted. Must be less than or equal to the endDate") public LocalDate getStartDate() { return startDate; } @@ -62,10 +62,10 @@ public DeleteHardbounces endDate(LocalDate endDate) { } /** - * Ending date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be greater than equal to startDate + * Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate * @return endDate **/ - @ApiModelProperty(example = "2017-01-31", value = "Ending date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be greater than equal to startDate") + @ApiModelProperty(example = "2017-01-31", value = "Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate") public LocalDate getEndDate() { return endDate; } diff --git a/src/main/java/sibModel/EmailExportRecipients.java b/src/main/java/sibModel/EmailExportRecipients.java index 19ee82f..fc4b375 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a75fd0c..48f47be 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f5ac464..e050297 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 8dd2524..e067290 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 925db46..3d38ec6 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetAccountPlan { /** * Displays the plan type of the user @@ -36,8 +36,6 @@ public class GetAccountPlan { public enum TypeEnum { PAYASYOUGO("payAsYouGo"), - UNLIMITED("unlimited"), - FREE("free"), SUBSCRIPTION("subscription"), @@ -207,10 +205,10 @@ public GetAccountPlan startDate(LocalDate startDate) { } /** - * Date of the period from which the plan will start (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type) + * Date of the period from which the plan will start (only available for \"subscription\" and \"reseller\" plan type) * @return startDate **/ - @ApiModelProperty(example = "2016-12-31", value = "Date of the period from which the plan will start (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type)") + @ApiModelProperty(example = "2016-12-31", value = "Date of the period from which the plan will start (only available for \"subscription\" and \"reseller\" plan type)") public LocalDate getStartDate() { return startDate; } @@ -225,10 +223,10 @@ public GetAccountPlan endDate(LocalDate endDate) { } /** - * Date of the period from which the plan will end (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type) + * Date of the period from which the plan will end (only available for \"subscription\" and \"reseller\" plan type) * @return endDate **/ - @ApiModelProperty(example = "2017-01-31", value = "Date of the period from which the plan will end (only available for \"subscription\", \"unlimited\" and \"reseller\" plan type)") + @ApiModelProperty(example = "2017-01-31", value = "Date of the period from which the plan will end (only available for \"subscription\" and \"reseller\" plan type)") public LocalDate getEndDate() { return endDate; } diff --git a/src/main/java/sibModel/GetAccountRelay.java b/src/main/java/sibModel/GetAccountRelay.java index 7f70091..4bc037a 100644 --- a/src/main/java/sibModel/GetAccountRelay.java +++ b/src/main/java/sibModel/GetAccountRelay.java @@ -28,7 +28,7 @@ * Information about your SMTP account */ @ApiModel(description = "Information about your SMTP account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a515c31..c5e87a7 100644 --- a/src/main/java/sibModel/GetAccountRelayData.java +++ b/src/main/java/sibModel/GetAccountRelayData.java @@ -27,7 +27,7 @@ * Data regarding the SMTP account */ @ApiModel(description = "Data regarding the SMTP account") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 964032c..c998b54 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 243eecb..c6c4875 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 23c28da..b0e2012 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6f5e96b..87eb08b 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetAttributesEnumeration { @SerializedName("value") private Long value = null; diff --git a/src/main/java/sibModel/GetCampaignOverview.java b/src/main/java/sibModel/GetCampaignOverview.java index 9c97cba..c28b955 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetCampaignOverview { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetCampaignRecipients.java b/src/main/java/sibModel/GetCampaignRecipients.java index 46b8a1e..a0c3d0e 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 384053a..7ab4e69 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetCampaignStats { @SerializedName("listId") private Long listId = null; @@ -70,10 +70,10 @@ public GetCampaignStats listId(Long listId) { } /** - * List Id of email campaign (only in case of get email campaign(s)) + * List Id of email campaign (only in case of get email campaign(s)(not for global stats)) * @return listId **/ - @ApiModelProperty(example = "2", value = "List Id of email campaign (only in case of get email campaign(s))") + @ApiModelProperty(example = "2", value = "List Id of email campaign (only in case of get email campaign(s)(not for global stats))") public Long getListId() { return listId; } @@ -106,10 +106,10 @@ public GetCampaignStats clickers(Long clickers) { } /** - * Number of clicks for the campaign + * Number of total clicks for the campaign * @return clickers **/ - @ApiModelProperty(example = "2665", required = true, value = "Number of clicks for the campaign") + @ApiModelProperty(example = "2665", required = true, value = "Number of total clicks for the campaign") public Long getClickers() { return clickers; } @@ -271,7 +271,7 @@ public GetCampaignStats deferred(Long deferred) { * Number of deferred emails for the campaign * @return deferred **/ - @ApiModelProperty(example = "30", required = true, value = "Number of deferred emails for the campaign") + @ApiModelProperty(example = "30", value = "Number of deferred emails for the campaign") public Long getDeferred() { return deferred; } diff --git a/src/main/java/sibModel/GetChildInfo.java b/src/main/java/sibModel/GetChildInfo.java index ac522fe..806f007 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 420397d..20b9915 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a407d79..83c9d20 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 66d5857..f7d957c 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 4c4b31d..478cdbd 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 e96ca47..f21cea5 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 7f89706..af07a85 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 7f68d59..f5ede49 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 26a1b77..573e71a 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a9a8c4f..63c7d94 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 dc2aaee..3ab457b 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetContactCampaignStatsOpened { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java b/src/main/java/sibModel/GetContactCampaignStatsTransacAttributes.java index b7669aa..8d4edaa 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a1eb57d..b7b8c3f 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 eddb723..d6ff8e9 100644 --- a/src/main/java/sibModel/GetContactDetails.java +++ b/src/main/java/sibModel/GetContactDetails.java @@ -23,15 +23,13 @@ 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 org.threeten.bp.OffsetDateTime; /** * GetContactDetails */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetContactDetails { @SerializedName("email") private String email = null; @@ -55,7 +53,7 @@ public class GetContactDetails { private List listUnsubscribed = null; @SerializedName("attributes") - private Map attributes = new HashMap(); + private Object attributes = null; public GetContactDetails email(String email) { this.email = email; @@ -196,26 +194,21 @@ public void setListUnsubscribed(List listUnsubscribed) { this.listUnsubscribed = listUnsubscribed; } - public GetContactDetails attributes(Map attributes) { + public GetContactDetails attributes(Object attributes) { this.attributes = attributes; return this; } - public GetContactDetails putAttributesItem(String key, String attributesItem) { - this.attributes.put(key, attributesItem); - return this; - } - /** - * Get attributes + * Set of attributes of the contact * @return attributes **/ - @ApiModelProperty(required = true, value = "") - public Map getAttributes() { + @ApiModelProperty(example = "{\"name\":\"Joe\",\"email\":\"joe@example.com\"}", required = true, value = "Set of attributes of the contact") + public Object getAttributes() { return attributes; } - public void setAttributes(Map attributes) { + public void setAttributes(Object attributes) { this.attributes = attributes; } diff --git a/src/main/java/sibModel/GetContacts.java b/src/main/java/sibModel/GetContacts.java index 29c4f60..12d223f 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetContacts { @SerializedName("contacts") private List contacts = new ArrayList(); diff --git a/src/main/java/sibModel/GetEmailCampaign.java b/src/main/java/sibModel/GetEmailCampaign.java index 29a66e5..2a7c768 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetEmailCampaign { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetEmailCampaigns.java b/src/main/java/sibModel/GetEmailCampaigns.java index b29489a..6e75129 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 801a55b..329ccfd 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 392dbed..2c31bfb 100644 --- a/src/main/java/sibModel/GetEmailEventReportEvents.java +++ b/src/main/java/sibModel/GetEmailEventReportEvents.java @@ -27,7 +27,7 @@ /** * GetEmailEventReportEvents */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetEmailEventReportEvents { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/GetExtendedCampaignOverview.java b/src/main/java/sibModel/GetExtendedCampaignOverview.java index e792976..df3e7b2 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedCampaignOverview { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java b/src/main/java/sibModel/GetExtendedCampaignOverviewSender.java index d0822a0..8710b15 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f8fc9aa..96b2672 100644 --- a/src/main/java/sibModel/GetExtendedCampaignStats.java +++ b/src/main/java/sibModel/GetExtendedCampaignStats.java @@ -23,17 +23,17 @@ 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.GetExtendedCampaignStatsLinksStats; import sibModel.GetStatsByDomain; /** * GetExtendedCampaignStats */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedCampaignStats { + @SerializedName("globalStats") + private Object globalStats = null; + @SerializedName("campaignStats") private List campaignStats = new ArrayList(); @@ -44,11 +44,29 @@ public class GetExtendedCampaignStats { private Long remaining = null; @SerializedName("linksStats") - private Map linksStats = new HashMap(); + private Object linksStats = null; @SerializedName("statsByDomain") private GetStatsByDomain statsByDomain = null; + public GetExtendedCampaignStats globalStats(Object globalStats) { + this.globalStats = globalStats; + return this; + } + + /** + * Overall statistics of the campaign + * @return globalStats + **/ + @ApiModelProperty(required = true, value = "Overall statistics of the campaign") + public Object getGlobalStats() { + return globalStats; + } + + public void setGlobalStats(Object globalStats) { + this.globalStats = globalStats; + } + public GetExtendedCampaignStats campaignStats(List campaignStats) { this.campaignStats = campaignStats; return this; @@ -60,10 +78,10 @@ public GetExtendedCampaignStats addCampaignStatsItem(Object campaignStatsItem) { } /** - * Get campaignStats + * List-wise statistics of the campaign. * @return campaignStats **/ - @ApiModelProperty(required = true, value = "") + @ApiModelProperty(required = true, value = "List-wise statistics of the campaign.") public List getCampaignStats() { return campaignStats; } @@ -108,26 +126,21 @@ public void setRemaining(Long remaining) { this.remaining = remaining; } - public GetExtendedCampaignStats linksStats(Map linksStats) { + public GetExtendedCampaignStats linksStats(Object linksStats) { this.linksStats = linksStats; return this; } - public GetExtendedCampaignStats putLinksStatsItem(String key, GetExtendedCampaignStatsLinksStats linksStatsItem) { - this.linksStats.put(key, linksStatsItem); - return this; - } - /** - * Get linksStats + * Statistics about the number of clicks for the links * @return linksStats **/ - @ApiModelProperty(required = true, value = "") - public Map getLinksStats() { + @ApiModelProperty(example = "{\"example.abc.com\":7,\"example.domain.com\":10}", required = true, value = "Statistics about the number of clicks for the links") + public Object getLinksStats() { return linksStats; } - public void setLinksStats(Map linksStats) { + public void setLinksStats(Object linksStats) { this.linksStats = linksStats; } @@ -159,7 +172,8 @@ public boolean equals(java.lang.Object o) { return false; } GetExtendedCampaignStats getExtendedCampaignStats = (GetExtendedCampaignStats) o; - return ObjectUtils.equals(this.campaignStats, getExtendedCampaignStats.campaignStats) && + return ObjectUtils.equals(this.globalStats, getExtendedCampaignStats.globalStats) && + ObjectUtils.equals(this.campaignStats, getExtendedCampaignStats.campaignStats) && ObjectUtils.equals(this.mirrorClick, getExtendedCampaignStats.mirrorClick) && ObjectUtils.equals(this.remaining, getExtendedCampaignStats.remaining) && ObjectUtils.equals(this.linksStats, getExtendedCampaignStats.linksStats) && @@ -168,7 +182,7 @@ public boolean equals(java.lang.Object o) { @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(campaignStats, mirrorClick, remaining, linksStats, statsByDomain); + return ObjectUtils.hashCodeMulti(globalStats, campaignStats, mirrorClick, remaining, linksStats, statsByDomain); } @@ -177,6 +191,7 @@ public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetExtendedCampaignStats {\n"); + sb.append(" globalStats: ").append(toIndentedString(globalStats)).append("\n"); sb.append(" campaignStats: ").append(toIndentedString(campaignStats)).append("\n"); sb.append(" mirrorClick: ").append(toIndentedString(mirrorClick)).append("\n"); sb.append(" remaining: ").append(toIndentedString(remaining)).append("\n"); diff --git a/src/main/java/sibModel/GetExtendedCampaignStatsLinksStats.java b/src/main/java/sibModel/GetExtendedCampaignStatsLinksStats.java deleted file mode 100644 index 713efd5..0000000 --- a/src/main/java/sibModel/GetExtendedCampaignStatsLinksStats.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * 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 | - * - * 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; - -/** - * Statistics about the clicked links - */ -@ApiModel(description = "Statistics about the clicked links") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") -public class GetExtendedCampaignStatsLinksStats { - @SerializedName("nbClick") - private Long nbClick = null; - - public GetExtendedCampaignStatsLinksStats nbClick(Long nbClick) { - this.nbClick = nbClick; - return this; - } - - /** - * Number of clicks for the link - * @return nbClick - **/ - @ApiModelProperty(example = "80", required = true, value = "Number of clicks for the link") - public Long getNbClick() { - return nbClick; - } - - public void setNbClick(Long nbClick) { - this.nbClick = nbClick; - } - - - @Override - public boolean equals(java.lang.Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GetExtendedCampaignStatsLinksStats getExtendedCampaignStatsLinksStats = (GetExtendedCampaignStatsLinksStats) o; - return ObjectUtils.equals(this.nbClick, getExtendedCampaignStatsLinksStats.nbClick); - } - - @Override - public int hashCode() { - return ObjectUtils.hashCodeMulti(nbClick); - } - - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GetExtendedCampaignStatsLinksStats {\n"); - - sb.append(" nbClick: ").append(toIndentedString(nbClick)).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/GetExtendedClient.java b/src/main/java/sibModel/GetExtendedClient.java index 3028fd0..b1bb466 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 0e24c9f..e16b212 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 0c9513d..bee7e0c 100644 --- a/src/main/java/sibModel/GetExtendedContactDetails.java +++ b/src/main/java/sibModel/GetExtendedContactDetails.java @@ -23,9 +23,7 @@ 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 org.threeten.bp.OffsetDateTime; import sibModel.GetContactDetails; import sibModel.GetExtendedContactDetailsStatistics; @@ -33,7 +31,7 @@ /** * GetExtendedContactDetails */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetails { @SerializedName("email") private String email = null; @@ -57,7 +55,7 @@ public class GetExtendedContactDetails { private List listUnsubscribed = null; @SerializedName("attributes") - private Map attributes = new HashMap(); + private Object attributes = null; @SerializedName("statistics") private GetExtendedContactDetailsStatistics statistics = null; @@ -201,26 +199,21 @@ public void setListUnsubscribed(List listUnsubscribed) { this.listUnsubscribed = listUnsubscribed; } - public GetExtendedContactDetails attributes(Map attributes) { + public GetExtendedContactDetails attributes(Object attributes) { this.attributes = attributes; return this; } - public GetExtendedContactDetails putAttributesItem(String key, String attributesItem) { - this.attributes.put(key, attributesItem); - return this; - } - /** - * Get attributes + * Set of attributes of the contact * @return attributes **/ - @ApiModelProperty(required = true, value = "") - public Map getAttributes() { + @ApiModelProperty(example = "{\"name\":\"Joe\",\"email\":\"joe@example.com\"}", required = true, value = "Set of attributes of the contact") + public Object getAttributes() { return attributes; } - public void setAttributes(Map attributes) { + public void setAttributes(Object attributes) { this.attributes = attributes; } diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java b/src/main/java/sibModel/GetExtendedContactDetailsStatistics.java index 317a9c4..8bb92fb 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 fc4e4ac..7608abf 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 a1bd478..8bcdb8a 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsLinks.java @@ -27,7 +27,7 @@ /** * GetExtendedContactDetailsStatisticsLinks */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetailsStatisticsLinks { @SerializedName("count") private Long count = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java index bd10162..a12c137 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsMessagesSent.java @@ -27,7 +27,7 @@ /** * GetExtendedContactDetailsStatisticsMessagesSent */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetailsStatisticsMessagesSent { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsOpened.java index 5129177..8beded8 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetailsStatisticsOpened { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptions.java index a4095a6..66629af 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 1238901..0a0adcc 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.java @@ -27,7 +27,7 @@ /** * GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription { @SerializedName("eventTime") private OffsetDateTime eventTime = null; diff --git a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java index ad1c5d7..8103752 100644 --- a/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java +++ b/src/main/java/sibModel/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.java @@ -27,7 +27,7 @@ /** * GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription { @SerializedName("campaignId") private Long campaignId = null; diff --git a/src/main/java/sibModel/GetExtendedList.java b/src/main/java/sibModel/GetExtendedList.java index fceb3b0..79a48d2 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetExtendedList { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetExtendedListCampaignStats.java b/src/main/java/sibModel/GetExtendedListCampaignStats.java index e544fe9..f829785 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 9246da6..bad5ada 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 11d3ef2..e54c515 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetFolderLists { @SerializedName("lists") private List lists = new ArrayList(); diff --git a/src/main/java/sibModel/GetFolders.java b/src/main/java/sibModel/GetFolders.java index 19445e2..a436108 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 2f09e41..4841b64 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 b4f54c3..aae8763 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 cb4fe5f..9d47745 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 e224d4e..65bc3fc 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 ef26f6f..a044a80 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 b332406..718e465 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetLists { @SerializedName("lists") private List lists = new ArrayList(); diff --git a/src/main/java/sibModel/GetProcess.java b/src/main/java/sibModel/GetProcess.java index b30e62f..d4f4c8a 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 e8c4605..0daf652 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 4bdb016..67d03a6 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f2e6685..42301ca 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6cbef81..b2605d9 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 dc91bf7..6dc8b57 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 7ee4701..8e54cdd 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSendersListSenders { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetSmsCampaign.java b/src/main/java/sibModel/GetSmsCampaign.java index 6b4f0c6..4cc3f96 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSmsCampaign { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetSmsCampaignOverview.java b/src/main/java/sibModel/GetSmsCampaignOverview.java index 34719b6..b690b9a 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSmsCampaignOverview { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetSmsCampaignStats.java b/src/main/java/sibModel/GetSmsCampaignStats.java index 0092258..1232a80 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 b7c9861..8312f64 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 3bf52f6..4c80484 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 69f1a6c..4727056 100644 --- a/src/main/java/sibModel/GetSmsEventReportEvents.java +++ b/src/main/java/sibModel/GetSmsEventReportEvents.java @@ -27,7 +27,7 @@ /** * GetSmsEventReportEvents */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSmsEventReportEvents { @SerializedName("phoneNumber") private String phoneNumber = null; diff --git a/src/main/java/sibModel/GetSmtpTemplateOverview.java b/src/main/java/sibModel/GetSmtpTemplateOverview.java index e2754a6..64a31ad 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSmtpTemplateOverview { @SerializedName("id") private Long id = null; diff --git a/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java b/src/main/java/sibModel/GetSmtpTemplateOverviewSender.java index c6d1d01..1d51dad 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 c8ebf26..debcf2e 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetSmtpTemplates { @SerializedName("count") private Long count = null; diff --git a/src/main/java/sibModel/GetStatsByDomain.java b/src/main/java/sibModel/GetStatsByDomain.java index dc5304a..3b5631b 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 1cbab79..d130ae5 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetTransacAggregatedSmsReport { @SerializedName("range") private String range = null; diff --git a/src/main/java/sibModel/GetTransacSmsReport.java b/src/main/java/sibModel/GetTransacSmsReport.java index bcfbc24..8d4b098 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6f3e3d2..a78dede 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 9170668..7a7cb85 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class GetWebhook { @SerializedName("url") private String url = null; diff --git a/src/main/java/sibModel/GetWebhooks.java b/src/main/java/sibModel/GetWebhooks.java index a863614..26173bc 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f8b4a68..52b1fe6 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 d4d9ba9..f6fc001 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 6885330..32f4c66 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class PostContactInfoContacts { @SerializedName("success") private List success = new ArrayList(); diff --git a/src/main/java/sibModel/PostSendFailed.java b/src/main/java/sibModel/PostSendFailed.java index 044a1b7..c63ca99 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 459e6bb..e0638fa 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 0a02b7e..295d59c 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 85075ce..39da7a5 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class RemainingCreditModelChild { @SerializedName("sms") private Long sms = null; diff --git a/src/main/java/sibModel/RemainingCreditModelReseller.java b/src/main/java/sibModel/RemainingCreditModelReseller.java index ed90336..2a33d48 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class RemainingCreditModelReseller { @SerializedName("sms") private Long sms = null; diff --git a/src/main/java/sibModel/RemoveContactFromList.java b/src/main/java/sibModel/RemoveContactFromList.java index 231bc5f..2f81f3c 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 e762da8..461bb3a 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 443621c..63ad3ae 100644 --- a/src/main/java/sibModel/RequestContactExport.java +++ b/src/main/java/sibModel/RequestContactExport.java @@ -28,7 +28,7 @@ /** * RequestContactExport */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class RequestContactExport { @SerializedName("exportAttributes") private List exportAttributes = null; @@ -53,10 +53,10 @@ public RequestContactExport addExportAttributesItem(String exportAttributesItem) } /** - * Name of attributes to export. These attributes must be in your contact database + * List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. * @return exportAttributes **/ - @ApiModelProperty(value = "Name of attributes to export. These attributes must be in your contact database") + @ApiModelProperty(value = "List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email'].") public List getExportAttributes() { return exportAttributes; } @@ -71,10 +71,10 @@ public RequestContactExport contactFilter(Object contactFilter) { } /** - * Filter to apply to the export + * Set the filter for the contacts to be exported. For example, {'blacklisted':true} will export all the blacklisted contacts. * @return contactFilter **/ - @ApiModelProperty(example = "\"blacklisted:true,listid.id:32\"", required = true, value = "Filter to apply to the export") + @ApiModelProperty(example = "{\"blacklisted\":true,\"listid.id\":32}", required = true, value = "Set the filter for the contacts to be exported. For example, {'blacklisted':true} will export all the blacklisted contacts.") public Object getContactFilter() { return contactFilter; } diff --git a/src/main/java/sibModel/RequestContactImport.java b/src/main/java/sibModel/RequestContactImport.java index bbd8615..79cbd23 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class RequestContactImport { @SerializedName("fileUrl") private String fileUrl = null; @@ -46,16 +46,25 @@ public class RequestContactImport { @SerializedName("newList") private RequestContactImportNewList newList = null; + @SerializedName("emailBlacklist") + private Boolean emailBlacklist = false; + + @SerializedName("smsBlacklist") + private Boolean smsBlacklist = false; + + @SerializedName("updateExistingContacts") + private Boolean updateExistingContacts = true; + public RequestContactImport fileUrl(String fileUrl) { this.fileUrl = fileUrl; return this; } /** - * Mandatory if fileBody not defined. URL of the file to be imported (no local file). Possible file types: .txt, .csv + * Mandatory if fileBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv * @return fileUrl **/ - @ApiModelProperty(example = "https://importfile.domain.com", value = "Mandatory if fileBody not defined. URL of the file to be imported (no local file). Possible file types: .txt, .csv") + @ApiModelProperty(example = "https://importfile.domain.com", value = "Mandatory if fileBody is not defined. URL of the file to be imported (no local file). Possible file formats: .txt, .csv") public String getFileUrl() { return fileUrl; } @@ -96,10 +105,10 @@ public RequestContactImport addListIdsItem(Long listIdsItem) { } /** - * Manadatory if newList is not defined. Ids of the lists in which to add the contacts + * Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7]. * @return listIds **/ - @ApiModelProperty(value = "Manadatory if newList is not defined. Ids of the lists in which to add the contacts") + @ApiModelProperty(value = "Mandatory if newList is not defined. Ids of the lists in which the contacts shall be imported. For example, [2, 4, 7].") public List getListIds() { return listIds; } @@ -144,6 +153,60 @@ public void setNewList(RequestContactImportNewList newList) { this.newList = newList; } + public RequestContactImport emailBlacklist(Boolean emailBlacklist) { + this.emailBlacklist = emailBlacklist; + return this; + } + + /** + * To blacklist all the contacts for email + * @return emailBlacklist + **/ + @ApiModelProperty(example = "false", value = "To blacklist all the contacts for email") + public Boolean isEmailBlacklist() { + return emailBlacklist; + } + + public void setEmailBlacklist(Boolean emailBlacklist) { + this.emailBlacklist = emailBlacklist; + } + + public RequestContactImport smsBlacklist(Boolean smsBlacklist) { + this.smsBlacklist = smsBlacklist; + return this; + } + + /** + * To blacklist all the contacts for sms + * @return smsBlacklist + **/ + @ApiModelProperty(example = "false", value = "To blacklist all the contacts for sms") + public Boolean isSmsBlacklist() { + return smsBlacklist; + } + + public void setSmsBlacklist(Boolean smsBlacklist) { + this.smsBlacklist = smsBlacklist; + } + + public RequestContactImport updateExistingContacts(Boolean updateExistingContacts) { + this.updateExistingContacts = updateExistingContacts; + return this; + } + + /** + * To facilitate the choice to update the existing contacts + * @return updateExistingContacts + **/ + @ApiModelProperty(example = "true", value = "To facilitate the choice to update the existing contacts") + public Boolean isUpdateExistingContacts() { + return updateExistingContacts; + } + + public void setUpdateExistingContacts(Boolean updateExistingContacts) { + this.updateExistingContacts = updateExistingContacts; + } + @Override public boolean equals(java.lang.Object o) { @@ -158,12 +221,15 @@ public boolean equals(java.lang.Object o) { ObjectUtils.equals(this.fileBody, requestContactImport.fileBody) && ObjectUtils.equals(this.listIds, requestContactImport.listIds) && ObjectUtils.equals(this.notifyUrl, requestContactImport.notifyUrl) && - ObjectUtils.equals(this.newList, requestContactImport.newList); + ObjectUtils.equals(this.newList, requestContactImport.newList) && + ObjectUtils.equals(this.emailBlacklist, requestContactImport.emailBlacklist) && + ObjectUtils.equals(this.smsBlacklist, requestContactImport.smsBlacklist) && + ObjectUtils.equals(this.updateExistingContacts, requestContactImport.updateExistingContacts); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(fileUrl, fileBody, listIds, notifyUrl, newList); + return ObjectUtils.hashCodeMulti(fileUrl, fileBody, listIds, notifyUrl, newList, emailBlacklist, smsBlacklist, updateExistingContacts); } @@ -177,6 +243,9 @@ public String toString() { sb.append(" listIds: ").append(toIndentedString(listIds)).append("\n"); sb.append(" notifyUrl: ").append(toIndentedString(notifyUrl)).append("\n"); sb.append(" newList: ").append(toIndentedString(newList)).append("\n"); + sb.append(" emailBlacklist: ").append(toIndentedString(emailBlacklist)).append("\n"); + sb.append(" smsBlacklist: ").append(toIndentedString(smsBlacklist)).append("\n"); + sb.append(" updateExistingContacts: ").append(toIndentedString(updateExistingContacts)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/sibModel/RequestContactImportNewList.java b/src/main/java/sibModel/RequestContactImportNewList.java index d7eca29..bbf7e56 100644 --- a/src/main/java/sibModel/RequestContactImportNewList.java +++ b/src/main/java/sibModel/RequestContactImportNewList.java @@ -24,9 +24,10 @@ import java.io.IOException; /** - * RequestContactImportNewList + * 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 = "2018-04-13T14:27:50.128+05:30") +@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 = "2018-05-24T12:07:09.251+05:30") public class RequestContactImportNewList { @SerializedName("listName") private String listName = null; @@ -58,10 +59,10 @@ public RequestContactImportNewList folderId(Long folderId) { } /** - * Folder id will be used with listName to make newly created list’s desired parent (Mandatory if listName is not empty). + * Id of the folder where this new list shall be created (Mandatory if listName is not empty). * @return folderId **/ - @ApiModelProperty(example = "2", value = "Folder id will be used with listName to make newly created list’s desired parent (Mandatory if listName is not empty).") + @ApiModelProperty(example = "2", value = "Id of the folder where this new list shall be created (Mandatory if listName is not empty).") public Long getFolderId() { return folderId; } diff --git a/src/main/java/sibModel/RequestSmsRecipientExport.java b/src/main/java/sibModel/RequestSmsRecipientExport.java index 71aafde..a91f147 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 fe14b67..8ab39d2 100644 --- a/src/main/java/sibModel/SendEmail.java +++ b/src/main/java/sibModel/SendEmail.java @@ -23,15 +23,13 @@ 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.SendEmailAttachment; /** * SendEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendEmail { @SerializedName("emailTo") private List emailTo = new ArrayList(); @@ -52,10 +50,13 @@ public class SendEmail { private List attachment = null; @SerializedName("headers") - private Map headers = null; + private Object headers = null; @SerializedName("attributes") - private Map attributes = null; + private Object attributes = null; + + @SerializedName("tags") + private List tags = null; public SendEmail emailTo(List emailTo) { this.emailTo = emailTo; @@ -68,10 +69,10 @@ public SendEmail addEmailToItem(String emailToItem) { } /** - * Email addresses of the recipients + * List of the email addresses of the recipients. For example, ['abc@example.com', 'asd@example.com']. * @return emailTo **/ - @ApiModelProperty(required = true, value = "Email addresses of the recipients") + @ApiModelProperty(required = true, value = "List of the email addresses of the recipients. For example, ['abc@example.com', 'asd@example.com'].") public List getEmailTo() { return emailTo; } @@ -94,10 +95,10 @@ public SendEmail addEmailBccItem(String emailBccItem) { } /** - * Email addresses of the recipients in bcc + * List of the email addresses of the recipients in bcc * @return emailBcc **/ - @ApiModelProperty(value = "Email addresses of the recipients in bcc") + @ApiModelProperty(value = "List of the email addresses of the recipients in bcc") public List getEmailBcc() { return emailBcc; } @@ -120,10 +121,10 @@ public SendEmail addEmailCcItem(String emailCcItem) { } /** - * Email addresses of the recipients in cc + * List of the email addresses of the recipients in cc * @return emailCc **/ - @ApiModelProperty(value = "Email addresses of the recipients in cc") + @ApiModelProperty(value = "List of the email addresses of the recipients in cc") public List getEmailCc() { return emailCc; } @@ -138,10 +139,10 @@ public SendEmail replyTo(String replyTo) { } /** - * Email on which campaign recipients will be able to reply to + * Email address which shall be used by campaign recipients to reply back * @return replyTo **/ - @ApiModelProperty(example = "support@myshop.com", value = "Email on which campaign recipients will be able to reply to") + @ApiModelProperty(example = "support@myshop.com", value = "Email address which shall be used by campaign recipients to reply back") public String getReplyTo() { return replyTo; } @@ -182,10 +183,10 @@ public SendEmail addAttachmentItem(SendEmailAttachment attachmentItem) { } /** - * Pass the byte array of the attachment. Extension allowed: 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 and eps + * Pass the list of content ( byte array which is encoded to base64 chunk data at our end ) and name of the attachment. For example, [{'content':'byte array content 1', 'name':'attcahment1'}, {'content':'byte array content 2', 'name':'attcahment2'}]. * @return attachment **/ - @ApiModelProperty(value = "Pass the byte array of the attachment. Extension allowed: 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 and eps") + @ApiModelProperty(value = "Pass the list of content ( byte array which is encoded to base64 chunk data at our end ) and name of the attachment. For example, [{'content':'byte array content 1', 'name':'attcahment1'}, {'content':'byte array content 2', 'name':'attcahment2'}].") public List getAttachment() { return attachment; } @@ -194,56 +195,66 @@ public void setAttachment(List attachment) { this.attachment = attachment; } - public SendEmail headers(Map headers) { + public SendEmail headers(Object headers) { this.headers = headers; return this; } - public SendEmail putHeadersItem(String key, String headersItem) { - if (this.headers == null) { - this.headers = new HashMap(); - } - this.headers.put(key, headersItem); - return this; - } - /** - * Get headers + * Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'} * @return headers **/ - @ApiModelProperty(value = "") - public Map getHeaders() { + @ApiModelProperty(example = "{\"Content-Type\":\"text/html\",\"charset\":\"iso-8859-1\",\"X-Mailin-IP\":\"1.2.3.4\"}", value = "Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'}") + public Object getHeaders() { return headers; } - public void setHeaders(Map headers) { + public void setHeaders(Object headers) { this.headers = headers; } - public SendEmail attributes(Map attributes) { + public SendEmail attributes(Object attributes) { + this.attributes = attributes; + return this; + } + + /** + * Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'} + * @return attributes + **/ + @ApiModelProperty(example = "{\"FNAME\":\"Joe\",\"LNAME\":\"Doe\"}", value = "Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'}") + public Object getAttributes() { + return attributes; + } + + public void setAttributes(Object attributes) { this.attributes = attributes; + } + + public SendEmail tags(List tags) { + this.tags = tags; return this; } - public SendEmail putAttributesItem(String key, String attributesItem) { - if (this.attributes == null) { - this.attributes = new HashMap(); + public SendEmail addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); } - this.attributes.put(key, attributesItem); + this.tags.add(tagsItem); return this; } /** - * Get attributes - * @return attributes + * Tag your emails to find them more easily + * @return tags **/ - @ApiModelProperty(value = "") - public Map getAttributes() { - return attributes; + @ApiModelProperty(value = "Tag your emails to find them more easily") + public List getTags() { + return tags; } - public void setAttributes(Map attributes) { - this.attributes = attributes; + public void setTags(List tags) { + this.tags = tags; } @@ -263,12 +274,13 @@ public boolean equals(java.lang.Object o) { ObjectUtils.equals(this.attachmentUrl, sendEmail.attachmentUrl) && ObjectUtils.equals(this.attachment, sendEmail.attachment) && ObjectUtils.equals(this.headers, sendEmail.headers) && - ObjectUtils.equals(this.attributes, sendEmail.attributes); + ObjectUtils.equals(this.attributes, sendEmail.attributes) && + ObjectUtils.equals(this.tags, sendEmail.tags); } @Override public int hashCode() { - return ObjectUtils.hashCodeMulti(emailTo, emailBcc, emailCc, replyTo, attachmentUrl, attachment, headers, attributes); + return ObjectUtils.hashCodeMulti(emailTo, emailBcc, emailCc, replyTo, attachmentUrl, attachment, headers, attributes, tags); } @@ -285,6 +297,7 @@ public String toString() { sb.append(" attachment: ").append(toIndentedString(attachment)).append("\n"); sb.append(" headers: ").append(toIndentedString(headers)).append("\n"); sb.append(" attributes: ").append(toIndentedString(attributes)).append("\n"); + sb.append(" tags: ").append(toIndentedString(tags)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/sibModel/SendEmailAttachment.java b/src/main/java/sibModel/SendEmailAttachment.java index 2d586b7..70c5eaf 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendEmailAttachment { @SerializedName("content") private byte[] content = null; @@ -43,7 +43,7 @@ public SendEmailAttachment content(byte[] content) { * Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end ) * @return content **/ - @ApiModelProperty(example = "b3JkZXIucGRm", value = "Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end )") + @ApiModelProperty(example = "b3JkZXIucGRm", required = true, value = "Byte array of the attachment generated on the fly ( Encoded to base64 chunk data at our end )") public byte[] getContent() { return content; } @@ -61,7 +61,7 @@ public SendEmailAttachment name(String name) { * Required for content. Name of the attachment * @return name **/ - @ApiModelProperty(example = "myAttachment.png", value = "Required for content. Name of the attachment") + @ApiModelProperty(example = "myAttachment.png", required = true, value = "Required for content. Name of the attachment") public String getName() { return name; } diff --git a/src/main/java/sibModel/SendReport.java b/src/main/java/sibModel/SendReport.java index 2bbfe4c..fe5cd03 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 81b76e2..62bfbef 100644 --- a/src/main/java/sibModel/SendReportEmail.java +++ b/src/main/java/sibModel/SendReportEmail.java @@ -26,9 +26,10 @@ import java.util.List; /** - * SendReportEmail + * Email sending credentials including subject, body, to, cc etc. */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Email sending credentials including subject, body, to, cc etc.") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendReportEmail { @SerializedName("subject") private String subject = null; diff --git a/src/main/java/sibModel/SendSms.java b/src/main/java/sibModel/SendSms.java index 194e34c..5336f79 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 26a630b..23b7e6d 100644 --- a/src/main/java/sibModel/SendSmtpEmail.java +++ b/src/main/java/sibModel/SendSmtpEmail.java @@ -23,9 +23,7 @@ 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.SendSmtpEmailAttachment; import sibModel.SendSmtpEmailBcc; import sibModel.SendSmtpEmailCc; @@ -36,7 +34,7 @@ /** * SendSmtpEmail */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmail { @SerializedName("sender") private SendSmtpEmailSender sender = null; @@ -66,13 +64,16 @@ public class SendSmtpEmail { private List attachment = null; @SerializedName("headers") - private Map headers = null; + private Object headers = null; @SerializedName("templateId") private Long templateId = null; @SerializedName("params") - private Map params = null; + private Object params = null; + + @SerializedName("tags") + private List tags = null; public SendSmtpEmail sender(SendSmtpEmailSender sender) { this.sender = sender; @@ -103,10 +104,10 @@ public SendSmtpEmail addToItem(SendSmtpEmailTo toItem) { } /** - * Email addresses and names of the recipients + * 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 = "Email addresses and names of the recipients") + @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; } @@ -129,10 +130,10 @@ public SendSmtpEmail addBccItem(SendSmtpEmailBcc bccItem) { } /** - * Email addresses and names of the recipients in bcc + * List of email addresses and names (optional) of the recipients in bcc * @return bcc **/ - @ApiModelProperty(value = "Email addresses and names of the recipients in bcc") + @ApiModelProperty(value = "List of email addresses and names (optional) of the recipients in bcc") public List getBcc() { return bcc; } @@ -155,10 +156,10 @@ public SendSmtpEmail addCcItem(SendSmtpEmailCc ccItem) { } /** - * Email addresses and names of the recipients in cc + * List of email addresses and names (optional) of the recipients in cc * @return cc **/ - @ApiModelProperty(value = "Email addresses and names of the recipients in cc") + @ApiModelProperty(value = "List of email addresses and names (optional) of the recipients in cc") public List getCc() { return cc; } @@ -176,7 +177,7 @@ public SendSmtpEmail htmlContent(String htmlContent) { * HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed ) * @return htmlContent **/ - @ApiModelProperty(example = "Please confirm your email address by clicking on the link below", value = "HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed )") + @ApiModelProperty(example = "

Confirm you email

Please confirm your email address by clicking on the link below

", value = "HTML body of the message ( Mandatory if 'templateId' is not passed, ignored if 'templateId' is passed )") public String getHtmlContent() { return htmlContent; } @@ -253,10 +254,10 @@ public SendSmtpEmail addAttachmentItem(SendSmtpEmailAttachment attachmentItem) { } /** - * Pass the absolute URL (no local file) or the byte array of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: 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 and eps ( Ignored if 'templateId' is passed ) + * Pass the absolute URL (no local file) or the byte array 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'}, {'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 and eps ( Ignored if 'templateId' is passed ) * @return attachment **/ - @ApiModelProperty(value = "Pass the absolute URL (no local file) or the byte array of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: 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 and eps ( Ignored if 'templateId' is passed )") + @ApiModelProperty(value = "Pass the absolute URL (no local file) or the byte array 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'}, {'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 and eps ( Ignored if 'templateId' is passed )") public List getAttachment() { return attachment; } @@ -265,29 +266,21 @@ public void setAttachment(List attachment) { this.attachment = attachment; } - public SendSmtpEmail headers(Map headers) { + public SendSmtpEmail headers(Object headers) { this.headers = headers; return this; } - public SendSmtpEmail putHeadersItem(String key, String headersItem) { - if (this.headers == null) { - this.headers = new HashMap(); - } - this.headers.put(key, headersItem); - return this; - } - /** - * Get headers + * Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'} * @return headers **/ - @ApiModelProperty(value = "") - public Map getHeaders() { + @ApiModelProperty(example = "{\"Content-Type\":\"text/html\",\"charset\":\"iso-8859-1\",\"X-Mailin-IP\":\"1.2.3.4\"}", value = "Pass the set of headers that shall be sent along the mail headers in the original email. 'X-Mailin-IP' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, {'Content-Type':'text/html', 'charset':'iso-8859-1', 'X-Mailin-IP':'1.2.3.4'}") + public Object getHeaders() { return headers; } - public void setHeaders(Map headers) { + public void setHeaders(Object headers) { this.headers = headers; } @@ -309,30 +302,48 @@ public void setTemplateId(Long templateId) { this.templateId = templateId; } - public SendSmtpEmail params(Map params) { + public SendSmtpEmail params(Object params) { + this.params = params; + return this; + } + + /** + * Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. + * @return params + **/ + @ApiModelProperty(example = "{\"FNAME\":\"Joe\",\"LNAME\":\"Doe\"}", value = "Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'}.") + public Object getParams() { + return params; + } + + public void setParams(Object params) { this.params = params; + } + + public SendSmtpEmail tags(List tags) { + this.tags = tags; return this; } - public SendSmtpEmail putParamsItem(String key, String paramsItem) { - if (this.params == null) { - this.params = new HashMap(); + public SendSmtpEmail addTagsItem(String tagsItem) { + if (this.tags == null) { + this.tags = new ArrayList(); } - this.params.put(key, paramsItem); + this.tags.add(tagsItem); return this; } /** - * Get params - * @return params + * Tag your emails to find them more easily + * @return tags **/ - @ApiModelProperty(value = "") - public Map getParams() { - return params; + @ApiModelProperty(value = "Tag your emails to find them more easily") + public List getTags() { + return tags; } - public void setParams(Map params) { - this.params = params; + public void setTags(List tags) { + this.tags = tags; } @@ -356,12 +367,13 @@ public boolean equals(java.lang.Object o) { ObjectUtils.equals(this.attachment, sendSmtpEmail.attachment) && ObjectUtils.equals(this.headers, sendSmtpEmail.headers) && ObjectUtils.equals(this.templateId, sendSmtpEmail.templateId) && - ObjectUtils.equals(this.params, sendSmtpEmail.params); + ObjectUtils.equals(this.params, sendSmtpEmail.params) && + 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); + return ObjectUtils.hashCodeMulti(sender, to, bcc, cc, htmlContent, textContent, subject, replyTo, attachment, headers, templateId, params, tags); } @@ -382,6 +394,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(" 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 570623a..87dc98c 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmailAttachment { @SerializedName("url") private String url = null; @@ -82,7 +82,7 @@ public SendSmtpEmailAttachment name(String name) { * Required for content. Name of the attachment * @return name **/ - @ApiModelProperty(example = "myAttachment.png", value = "Required for content. Name of the attachment") + @ApiModelProperty(example = "myAttachment.png", value = "Required if content is passed. Name of the attachment") public String getName() { return name; } diff --git a/src/main/java/sibModel/SendSmtpEmailBcc.java b/src/main/java/sibModel/SendSmtpEmailBcc.java index 087347a..752692d 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 8605451..6399eaa 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmailCc { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailReplyTo.java b/src/main/java/sibModel/SendSmtpEmailReplyTo.java index fa6fbe5..51cf738 100644 --- a/src/main/java/sibModel/SendSmtpEmailReplyTo.java +++ b/src/main/java/sibModel/SendSmtpEmailReplyTo.java @@ -24,10 +24,10 @@ import java.io.IOException; /** - * Email on which transactional mail recipients will be able to reply to + * 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 on which transactional mail recipients will be able to reply to") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@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 = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmailReplyTo { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendSmtpEmailSender.java b/src/main/java/sibModel/SendSmtpEmailSender.java index d568af6..5aaf5e3 100644 --- a/src/main/java/sibModel/SendSmtpEmailSender.java +++ b/src/main/java/sibModel/SendSmtpEmailSender.java @@ -24,10 +24,10 @@ import java.io.IOException; /** - * Sender from which emails are sent. Mandatory if 'templateId' is not passed + * Mandatory if 'templateId' is not passed. Pass name (optional) and email of sender from which emails will be sent. For example, {'name':'Mary from MyShop', 'email':'no-reply@myshop.com'} */ -@ApiModel(description = "Sender from which emails are sent. Mandatory if 'templateId' is not passed") -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Mandatory if 'templateId' is not passed. Pass name (optional) and email of sender from which emails will be sent. For example, {'name':'Mary from MyShop', 'email':'no-reply@myshop.com'}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmailSender { @SerializedName("name") private String name = null; @@ -41,10 +41,10 @@ public SendSmtpEmailSender name(String name) { } /** - * Sender Name from which the emails are sent + * Name of the sender from which the emails will be sent * @return name **/ - @ApiModelProperty(example = "Mary from MyShop", value = "Sender Name from which the emails are sent") + @ApiModelProperty(example = "Mary from MyShop", value = "Name of the sender from which the emails will be sent") public String getName() { return name; } @@ -59,10 +59,10 @@ public SendSmtpEmailSender email(String email) { } /** - * Sender Email from which the emails are sent + * Email of the sender from which the emails will be sent * @return email **/ - @ApiModelProperty(example = "no-reply@myshop.com", required = true, value = "Sender Email from which the emails are sent") + @ApiModelProperty(example = "no-reply@myshop.com", required = true, value = "Email of the sender from which the emails will be sent") public String getEmail() { return email; } diff --git a/src/main/java/sibModel/SendSmtpEmailTo.java b/src/main/java/sibModel/SendSmtpEmailTo.java index b116cec..2d48571 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendSmtpEmailTo { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/SendTemplateEmail.java b/src/main/java/sibModel/SendTemplateEmail.java index 8105794..894d637 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f28cf04..0e4e7a9 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendTestEmail { @SerializedName("emailTo") private List emailTo = null; @@ -47,10 +47,10 @@ public SendTestEmail addEmailToItem(String emailToItem) { } /** - * If empty the test email will be sent to your entire test list. Use this field to send it to specific addresses in your list. + * List of the email addresses of the recipients whom you wish to send the test mail. If left empty, the test mail will be sent to your entire test list. * @return emailTo **/ - @ApiModelProperty(value = "If empty the test email will be sent to your entire test list. Use this field to send it to specific addresses in your list.") + @ApiModelProperty(value = "List of the email addresses of the recipients whom you wish to send the test mail. If left empty, the test mail will be sent to your entire test list.") public List getEmailTo() { return emailTo; } diff --git a/src/main/java/sibModel/SendTestSms.java b/src/main/java/sibModel/SendTestSms.java index 65bc1de..08f6649 100644 --- a/src/main/java/sibModel/SendTestSms.java +++ b/src/main/java/sibModel/SendTestSms.java @@ -28,7 +28,7 @@ /** * SendTestSms */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class SendTestSms { @SerializedName("phoneNumbers") private List phoneNumbers = null; diff --git a/src/main/java/sibModel/SendTransacSms.java b/src/main/java/sibModel/SendTransacSms.java index 6870cc2..ac83625 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 f092825..62de7d0 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateAttribute { @SerializedName("value") private String value = null; @@ -43,10 +43,10 @@ public UpdateAttribute value(String value) { } /** - * Value of the attribute. Use only if the attribute's category is calculated or global + * Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global' * @return value **/ - @ApiModelProperty(example = "COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]", value = "Value of the attribute. Use only if the attribute's category is calculated or global") + @ApiModelProperty(example = "COUNT[BLACKLISTED,BLACKLISTED,<,NOW()]", value = "Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global'") public String getValue() { return value; } @@ -69,10 +69,10 @@ public UpdateAttribute addEnumerationItem(UpdateAttributeEnumeration enumeration } /** - * Values that the attribute can take. Use only if the attribute's category is category + * List of the values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}] * @return enumeration **/ - @ApiModelProperty(value = "Values that the attribute can take. Use only if the attribute's category is category") + @ApiModelProperty(value = "List of the values and labels that the attribute can take. Use only if the attribute's category is \"category\". For example, [{'value':1, 'label':'male'}, {'value':2, 'label':'female'}]") public List getEnumeration() { return enumeration; } diff --git a/src/main/java/sibModel/UpdateAttributeEnumeration.java b/src/main/java/sibModel/UpdateAttributeEnumeration.java index 1052ff9..45f0696 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 96623c6..3a9c824 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateCampaignStatus { /** * Gets or Sets status diff --git a/src/main/java/sibModel/UpdateChild.java b/src/main/java/sibModel/UpdateChild.java index b2581ac..649a043 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateChild { @SerializedName("email") private String email = null; diff --git a/src/main/java/sibModel/UpdateContact.java b/src/main/java/sibModel/UpdateContact.java index c27bd04..ef0dd7d 100644 --- a/src/main/java/sibModel/UpdateContact.java +++ b/src/main/java/sibModel/UpdateContact.java @@ -23,17 +23,15 @@ 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; /** * UpdateContact */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateContact { @SerializedName("attributes") - private Map attributes = null; + private Object attributes = null; @SerializedName("emailBlacklisted") private Boolean emailBlacklisted = null; @@ -50,29 +48,21 @@ public class UpdateContact { @SerializedName("smtpBlacklistSender") private List smtpBlacklistSender = null; - public UpdateContact attributes(Map attributes) { + public UpdateContact attributes(Object attributes) { this.attributes = attributes; return this; } - public UpdateContact putAttributesItem(String key, String attributesItem) { - if (this.attributes == null) { - this.attributes = new HashMap(); - } - this.attributes.put(key, attributesItem); - return this; - } - /** - * Get attributes + * Pass the set of attributes to be updated. These attributes must be present in your account. For eg. {'FNAME':'Ellie', 'LNAME':'Roger'} * @return attributes **/ - @ApiModelProperty(value = "") - public Map getAttributes() { + @ApiModelProperty(example = "{\"FNAME\":\"Ellie\",\"LNAME\":\"Roger\"}", value = "Pass the set of attributes to be updated. These attributes must be present in your account. For eg. {'FNAME':'Ellie', 'LNAME':'Roger'}") + public Object getAttributes() { return attributes; } - public void setAttributes(Map attributes) { + public void setAttributes(Object attributes) { this.attributes = attributes; } @@ -82,10 +72,10 @@ public UpdateContact emailBlacklisted(Boolean emailBlacklisted) { } /** - * Blacklist the contact for emails (emailBlacklisted = true) + * Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) * @return emailBlacklisted **/ - @ApiModelProperty(example = "false", value = "Blacklist the contact for emails (emailBlacklisted = true)") + @ApiModelProperty(example = "false", value = "Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true)") public Boolean isEmailBlacklisted() { return emailBlacklisted; } @@ -100,10 +90,10 @@ public UpdateContact smsBlacklisted(Boolean smsBlacklisted) { } /** - * Blacklist the contact for SMS (smsBlacklisted = true) + * Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) * @return smsBlacklisted **/ - @ApiModelProperty(example = "true", value = "Blacklist the contact for SMS (smsBlacklisted = true)") + @ApiModelProperty(example = "true", value = "Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true)") public Boolean isSmsBlacklisted() { return smsBlacklisted; } diff --git a/src/main/java/sibModel/UpdateEmailCampaign.java b/src/main/java/sibModel/UpdateEmailCampaign.java index 9a719d7..502e6f5 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateEmailCampaign { @SerializedName("tag") private String tag = null; diff --git a/src/main/java/sibModel/UpdateEmailCampaignRecipients.java b/src/main/java/sibModel/UpdateEmailCampaignRecipients.java index 04ee993..26757a7 100644 --- a/src/main/java/sibModel/UpdateEmailCampaignRecipients.java +++ b/src/main/java/sibModel/UpdateEmailCampaignRecipients.java @@ -26,9 +26,10 @@ import java.util.List; /** - * UpdateEmailCampaignRecipients + * List ids to include/exclude from campaign */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "List ids to include/exclude from campaign") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 ef5d529..a67c7c6 100644 --- a/src/main/java/sibModel/UpdateEmailCampaignSender.java +++ b/src/main/java/sibModel/UpdateEmailCampaignSender.java @@ -24,9 +24,10 @@ import java.io.IOException; /** - * UpdateEmailCampaignSender + * Sender details including email and/or name. For example {'name':'xyz' , 'email':'example@abc.com'} */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Sender details including email and/or name. For example {'name':'xyz' , 'email':'example@abc.com'}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 27826b9..326e489 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateList { @SerializedName("name") private String name = null; @@ -40,10 +40,10 @@ public UpdateList name(String name) { } /** - * Name of the list. Only one parameter can be update at once + * Name of the list. Either of the two parameters (name, folderId) can be updated at a time. * @return name **/ - @ApiModelProperty(example = "Magento Customer - ES", value = "Name of the list. Only one parameter can be update at once") + @ApiModelProperty(example = "Magento Customer - ES", value = "Name of the list. Either of the two parameters (name, folderId) can be updated at a time.") public String getName() { return name; } @@ -58,10 +58,10 @@ public UpdateList folderId(Long folderId) { } /** - * Id of the folder in which to move the list. Only one parameter can updated at once + * Id of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time. * @return folderId **/ - @ApiModelProperty(example = "2", value = "Id of the folder in which to move the list. Only one parameter can updated at once") + @ApiModelProperty(example = "2", value = "Id of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time.") public Long getFolderId() { return folderId; } diff --git a/src/main/java/sibModel/UpdateSender.java b/src/main/java/sibModel/UpdateSender.java index aafffde..8fe4ad2 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 4185d09..30537ae 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateSmsCampaign { @SerializedName("name") private String name = null; diff --git a/src/main/java/sibModel/UpdateSmtpTemplate.java b/src/main/java/sibModel/UpdateSmtpTemplate.java index 46db7e2..19465d6 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 672f3c6..40dd096 100644 --- a/src/main/java/sibModel/UpdateSmtpTemplateSender.java +++ b/src/main/java/sibModel/UpdateSmtpTemplateSender.java @@ -24,9 +24,10 @@ import java.io.IOException; /** - * UpdateSmtpTemplateSender + * Sender details including email and/or name. For example {'name':'xyz' , 'email':'example@abc.com'} */ -@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-04-13T14:27:50.128+05:30") +@ApiModel(description = "Sender details including email and/or name. For example {'name':'xyz' , 'email':'example@abc.com'}") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+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 42502ec..cb29ce4 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 = "2018-04-13T14:27:50.128+05:30") +@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-05-24T12:07:09.251+05:30") public class UpdateWebhook { @SerializedName("url") private String url = null; diff --git a/src/test/java/sibApi/AccountApiTest.java b/src/test/java/sibApi/AccountApiTest.java index dc4ee21..b85194f 100644 --- a/src/test/java/sibApi/AccountApiTest.java +++ b/src/test/java/sibApi/AccountApiTest.java @@ -53,7 +53,7 @@ public void getAccountTest() throws ApiException { ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key"); apiKey.setApiKey(SIB_API_KEY); // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) - //api-key.setApiKeyPrefix("Token"); + //apiKey.setApiKeyPrefix("Token"); GetAccount response = api.getAccount(); diff --git a/src/test/java/sibApi/ContactsApiTest.java b/src/test/java/sibApi/ContactsApiTest.java index 2a447dd..3fff022 100644 --- a/src/test/java/sibApi/ContactsApiTest.java +++ b/src/test/java/sibApi/ContactsApiTest.java @@ -55,7 +55,6 @@ public class ContactsApiTest { private final ContactsApi api = new ContactsApi(); - /** * Add existing contacts to a list * diff --git a/src/test/java/sibApi/ProcessApiTest.java b/src/test/java/sibApi/ProcessApiTest.java index 6156ca6..ea6ec38 100644 --- a/src/test/java/sibApi/ProcessApiTest.java +++ b/src/test/java/sibApi/ProcessApiTest.java @@ -33,7 +33,6 @@ public class ProcessApiTest { private final ProcessApi api = new ProcessApi(); - /** * Return the informations for a process * diff --git a/src/test/java/sibApi/SmtpApiTest.java b/src/test/java/sibApi/SmtpApiTest.java index 88f3338..8748d3b 100644 --- a/src/test/java/sibApi/SmtpApiTest.java +++ b/src/test/java/sibApi/SmtpApiTest.java @@ -198,7 +198,7 @@ public void getSmtpTemplatesTest() throws ApiException { /** * Send a template * - * + * This endpoint is deprecated. Prefer v3/smtp/email instead. * * @throws ApiException * if the Api call fails