sib-api-v3-sdk 2.1.4 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/ContactsApi.md +4 -4
- data/docs/CreateEmailCampaign.md +1 -1
- data/docs/CreateSmsCampaign.md +1 -1
- data/docs/GetCampaignOverview.md +1 -1
- data/docs/GetContactCampaignStatsOpened.md +1 -1
- data/docs/GetContactDetails.md +1 -1
- data/docs/GetEmailCampaign.md +3 -3
- data/docs/GetEmailEventReportEvents.md +1 -1
- data/docs/GetExtendedCampaignOverview.md +3 -3
- data/docs/GetExtendedContactDetails.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsLinks.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsOpened.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +1 -1
- data/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +1 -1
- data/docs/GetExtendedList.md +1 -1
- data/docs/GetSmsCampaign.md +3 -3
- data/docs/GetSmsCampaignOverview.md +3 -3
- data/docs/GetSmtpTemplateOverview.md +2 -2
- data/docs/GetWebhook.md +2 -2
- data/docs/ListsApi.md +2 -2
- data/docs/UpdateAttributeEnumeration.md +2 -2
- data/docs/UpdateEmailCampaign.md +1 -1
- data/docs/UpdateSmsCampaign.md +1 -1
- data/lib/sib-api-v3-sdk/api/contacts_api.rb +4 -4
- data/lib/sib-api-v3-sdk/api/lists_api.rb +2 -2
- data/lib/sib-api-v3-sdk/models/create_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/create_sms_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_campaign_overview.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_campaign_stats_opened.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_contact_details.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_email_campaign.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_email_event_report_events.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_campaign_overview.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_links.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_messages_sent.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_opened.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_extended_list.rb +1 -1
- data/lib/sib-api-v3-sdk/models/get_sms_campaign.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_sms_campaign_overview.rb +3 -3
- data/lib/sib-api-v3-sdk/models/get_smtp_template_overview.rb +2 -2
- data/lib/sib-api-v3-sdk/models/get_webhook.rb +2 -2
- data/lib/sib-api-v3-sdk/models/update_attribute_enumeration.rb +17 -7
- data/lib/sib-api-v3-sdk/models/update_email_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/models/update_sms_campaign.rb +1 -1
- data/lib/sib-api-v3-sdk/version.rb +1 -1
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/lists_api_spec.rb +1 -1
- data/spec/models/update_attribute_enumeration_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19503547afd97ecb12d358d7c0aeebd81585d9db
|
|
4
|
+
data.tar.gz: 307cfbf953edfe33b3324964d8bbb147b610c6a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a7c06c6f6dfdb73bcc74939355c014da1645cd0161425fc4546c26f9d620ca53aa82e3518d95d4662989afab064afd07cfe21ac870e6e1fe6c85511c8233319
|
|
7
|
+
data.tar.gz: af3d544837feb4b76c240217bd0f2123f16ea99acf098bd8a1ddf1068035dae18c004771d5d872a4e3f0a3024e7aeebbecce2a7f0f5399607aa442d4445bd71c
|
data/docs/ContactsApi.md
CHANGED
|
@@ -627,7 +627,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
|
|
|
627
627
|
opts = {
|
|
628
628
|
limit: 50, # Integer | Number of documents per page
|
|
629
629
|
offset: 0, # Integer | Index of the first document of the page
|
|
630
|
-
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
630
|
+
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
begin
|
|
@@ -645,7 +645,7 @@ Name | Type | Description | Notes
|
|
|
645
645
|
------------- | ------------- | ------------- | -------------
|
|
646
646
|
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
|
|
647
647
|
**offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
|
|
648
|
-
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
648
|
+
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
649
649
|
|
|
650
650
|
### Return type
|
|
651
651
|
|
|
@@ -684,7 +684,7 @@ api_instance = SibApiV3Sdk::ContactsApi.new
|
|
|
684
684
|
list_id = 789 # Integer | Id of the list
|
|
685
685
|
|
|
686
686
|
opts = {
|
|
687
|
-
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
687
|
+
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
688
688
|
limit: 50, # Integer | Number of documents per page
|
|
689
689
|
offset: 0 # Integer | Index of the first document of the page
|
|
690
690
|
}
|
|
@@ -703,7 +703,7 @@ end
|
|
|
703
703
|
Name | Type | Description | Notes
|
|
704
704
|
------------- | ------------- | ------------- | -------------
|
|
705
705
|
**list_id** | **Integer**| Id of the list |
|
|
706
|
-
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
706
|
+
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
707
707
|
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
|
|
708
708
|
**offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
|
|
709
709
|
|
data/docs/CreateEmailCampaign.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**name** | **String** | Name of the campaign |
|
|
9
9
|
**html_content** | **String** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
|
|
10
10
|
**html_url** | **String** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
|
|
11
|
-
**scheduled_at** | **DateTime** | Sending date
|
|
11
|
+
**scheduled_at** | **DateTime** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
12
12
|
**subject** | **String** | Subject of the campaign |
|
|
13
13
|
**reply_to** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
|
|
14
14
|
**to_field** | **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]
|
data/docs/CreateSmsCampaign.md
CHANGED
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**sender** | **String** | Name of the sender. The number of characters is limited to 11 |
|
|
8
8
|
**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]
|
|
9
9
|
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
|
|
10
|
-
**scheduled_at** | **DateTime** |
|
|
10
|
+
**scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
11
11
|
|
|
12
12
|
|
data/docs/GetCampaignOverview.md
CHANGED
|
@@ -8,6 +8,6 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**subject** | **String** | Subject of the campaign |
|
|
9
9
|
**type** | **String** | Type of campaign |
|
|
10
10
|
**status** | **String** | Status of the campaign |
|
|
11
|
-
**scheduled_at** | **DateTime** |
|
|
11
|
+
**scheduled_at** | **DateTime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
12
12
|
|
|
13
13
|
|
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**campaign_id** | **Integer** | ID of the campaign which generated the event |
|
|
7
7
|
**count** | **Integer** | Number of openings of the campaign |
|
|
8
|
-
**event_time** | **DateTime** |
|
|
8
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
9
9
|
**ip** | **String** | IP from which the user has opened the campaign |
|
|
10
10
|
|
|
11
11
|
|
data/docs/GetContactDetails.md
CHANGED
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**id** | **Integer** | ID of the contact for which you requested the details |
|
|
8
8
|
**email_blacklisted** | **BOOLEAN** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) |
|
|
9
9
|
**sms_blacklisted** | **BOOLEAN** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) |
|
|
10
|
-
**modified_at** | **DateTime** | Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
10
|
+
**modified_at** | **DateTime** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
11
11
|
**list_ids** | **Array<Integer>** | |
|
|
12
12
|
**list_unsubscribed** | **Array<Integer>** | | [optional]
|
|
13
13
|
**attributes** | **Hash<String, String>** | |
|
data/docs/GetEmailCampaign.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**subject** | **String** | Subject of the campaign |
|
|
9
9
|
**type** | **String** | Type of campaign |
|
|
10
10
|
**status** | **String** | Status of the campaign |
|
|
11
|
-
**scheduled_at** | **DateTime** |
|
|
11
|
+
**scheduled_at** | **DateTime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
12
12
|
**test_sent** | **BOOLEAN** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
|
|
13
13
|
**header** | **String** | Header of the campaign |
|
|
14
14
|
**footer** | **String** | Footer of the campaign |
|
|
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**html_content** | **String** | HTML content of the campaign |
|
|
19
19
|
**share_link** | **String** | Link to share the campaign on social medias | [optional]
|
|
20
20
|
**tag** | **String** | Tag of the campaign |
|
|
21
|
-
**created_at** | **DateTime** | Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
22
|
-
**modified_at** | **DateTime** |
|
|
21
|
+
**created_at** | **DateTime** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
22
|
+
**modified_at** | **DateTime** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
23
23
|
**inline_image_activation** | **BOOLEAN** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional]
|
|
24
24
|
**mirror_active** | **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]
|
|
25
25
|
**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]
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**email** | **String** | Email address which generates the event |
|
|
7
|
-
**date** | **DateTime** |
|
|
7
|
+
**date** | **DateTime** | UTC date-time on which the event has been generated |
|
|
8
8
|
**subject** | **String** | Subject of the event | [optional]
|
|
9
9
|
**message_id** | **String** | Message ID which generated the event |
|
|
10
10
|
**event** | **String** | Event which occurred |
|
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**subject** | **String** | Subject of the campaign |
|
|
9
9
|
**type** | **String** | Type of campaign |
|
|
10
10
|
**status** | **String** | Status of the campaign |
|
|
11
|
-
**scheduled_at** | **DateTime** |
|
|
11
|
+
**scheduled_at** | **DateTime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
12
12
|
**test_sent** | **BOOLEAN** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) |
|
|
13
13
|
**header** | **String** | Header of the campaign |
|
|
14
14
|
**footer** | **String** | Footer of the campaign |
|
|
@@ -18,8 +18,8 @@ Name | Type | Description | Notes
|
|
|
18
18
|
**html_content** | **String** | HTML content of the campaign |
|
|
19
19
|
**share_link** | **String** | Link to share the campaign on social medias | [optional]
|
|
20
20
|
**tag** | **String** | Tag of the campaign |
|
|
21
|
-
**created_at** | **DateTime** | Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
22
|
-
**modified_at** | **DateTime** |
|
|
21
|
+
**created_at** | **DateTime** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
22
|
+
**modified_at** | **DateTime** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
23
23
|
**inline_image_activation** | **BOOLEAN** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional]
|
|
24
24
|
**mirror_active** | **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]
|
|
25
25
|
**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]
|
|
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**id** | **Integer** | ID of the contact for which you requested the details |
|
|
8
8
|
**email_blacklisted** | **BOOLEAN** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) |
|
|
9
9
|
**sms_blacklisted** | **BOOLEAN** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) |
|
|
10
|
-
**modified_at** | **DateTime** | Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
10
|
+
**modified_at** | **DateTime** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
11
11
|
**list_ids** | **Array<Integer>** | |
|
|
12
12
|
**list_unsubscribed** | **Array<Integer>** | | [optional]
|
|
13
13
|
**attributes** | **Hash<String, String>** | |
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**count** | **Integer** | Number of clicks on this link for the campaign |
|
|
7
|
-
**event_time** | **DateTime** |
|
|
7
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
8
8
|
**ip** | **String** | IP from which the user has clicked on the link |
|
|
9
9
|
**url** | **String** | URL of the clicked link |
|
|
10
10
|
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**campaign_id** | **Integer** | ID of the campaign which generated the event |
|
|
7
|
-
**event_time** | **DateTime** |
|
|
7
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
8
8
|
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**campaign_id** | **Integer** | ID of the campaign which generated the event |
|
|
7
7
|
**count** | **Integer** | Number of openings for the campaign |
|
|
8
|
-
**event_time** | **DateTime** |
|
|
8
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
9
9
|
**ip** | **String** | IP from which the user has opened the email |
|
|
10
10
|
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**event_time** | **DateTime** |
|
|
6
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
7
7
|
**ip** | **String** | IP from which the user has been unsubscribed |
|
|
8
8
|
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**campaign_id** | **Integer** | ID of the campaign which generated the event |
|
|
7
|
-
**event_time** | **DateTime** |
|
|
7
|
+
**event_time** | **DateTime** | UTC date-time of the event |
|
|
8
8
|
**ip** | **String** | IP from which the user has unsubscribed |
|
|
9
9
|
|
|
10
10
|
|
data/docs/GetExtendedList.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**total_blacklisted** | **Integer** | Number of blacklisted contacts in the list |
|
|
9
9
|
**total_subscribers** | **Integer** | Number of contacts in the list |
|
|
10
10
|
**folder_id** | **Integer** | ID of the folder |
|
|
11
|
-
**created_at** | **DateTime** | Creation
|
|
11
|
+
**created_at** | **DateTime** | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
12
12
|
**campaign_stats** | [**Array<GetExtendedListCampaignStats>**](GetExtendedListCampaignStats.md) | | [optional]
|
|
13
13
|
**dynamic_list** | **BOOLEAN** | Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) | [optional]
|
|
14
14
|
|
data/docs/GetSmsCampaign.md
CHANGED
|
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | Name of the SMS Campaign |
|
|
8
8
|
**status** | **String** | Status of the SMS Campaign |
|
|
9
9
|
**content** | **String** | Content of the SMS Campaign |
|
|
10
|
-
**scheduled_at** | **DateTime** |
|
|
10
|
+
**scheduled_at** | **DateTime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format |
|
|
11
11
|
**test_sent** | **BOOLEAN** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) |
|
|
12
12
|
**sender** | **String** | Sender of the SMS Campaign |
|
|
13
|
-
**created_at** | **DateTime** | Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
14
|
-
**modified_at** | **DateTime** |
|
|
13
|
+
**created_at** | **DateTime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
14
|
+
**modified_at** | **DateTime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
15
15
|
|
|
16
16
|
|
|
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**name** | **String** | Name of the SMS Campaign |
|
|
8
8
|
**status** | **String** | Status of the SMS Campaign |
|
|
9
9
|
**content** | **String** | Content of the SMS Campaign |
|
|
10
|
-
**scheduled_at** | **DateTime** |
|
|
10
|
+
**scheduled_at** | **DateTime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format |
|
|
11
11
|
**test_sent** | **BOOLEAN** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) |
|
|
12
12
|
**sender** | **String** | Sender of the SMS Campaign |
|
|
13
|
-
**created_at** | **DateTime** | Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
14
|
-
**modified_at** | **DateTime** |
|
|
13
|
+
**created_at** | **DateTime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
14
|
+
**modified_at** | **DateTime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
15
15
|
|
|
16
16
|
|
|
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**to_field** | **String** | Customisation of the \"to\" field for the template |
|
|
14
14
|
**tag** | **String** | Tag of the template |
|
|
15
15
|
**html_content** | **String** | HTML content of the template |
|
|
16
|
-
**created_at** | **DateTime** | Creation date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
17
|
-
**modified_at** | **DateTime** | Last modification date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
16
|
+
**created_at** | **DateTime** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
17
|
+
**modified_at** | **DateTime** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
18
18
|
|
|
19
19
|
|
data/docs/GetWebhook.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**description** | **String** | Description of the webhook |
|
|
9
9
|
**events** | **Array<String>** | |
|
|
10
10
|
**type** | **String** | Type of webhook (marketing or transac) |
|
|
11
|
-
**created_at** | **DateTime** | Creation date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
12
|
-
**modified_at** | **DateTime** | Last modification date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
11
|
+
**created_at** | **DateTime** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
12
|
+
**modified_at** | **DateTime** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) |
|
|
13
13
|
|
|
14
14
|
|
data/docs/ListsApi.md
CHANGED
|
@@ -195,7 +195,7 @@ api_instance = SibApiV3Sdk::ListsApi.new
|
|
|
195
195
|
list_id = 789 # Integer | Id of the list
|
|
196
196
|
|
|
197
197
|
opts = {
|
|
198
|
-
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
198
|
+
modified_since: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
199
199
|
limit: 50, # Integer | Number of documents per page
|
|
200
200
|
offset: 0 # Integer | Index of the first document of the page
|
|
201
201
|
}
|
|
@@ -214,7 +214,7 @@ end
|
|
|
214
214
|
Name | Type | Description | Notes
|
|
215
215
|
------------- | ------------- | ------------- | -------------
|
|
216
216
|
**list_id** | **Integer**| Id of the list |
|
|
217
|
-
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
217
|
+
**modified_since** | **DateTime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
218
218
|
**limit** | **Integer**| Number of documents per page | [optional] [default to 50]
|
|
219
219
|
**offset** | **Integer**| Index of the first document of the page | [optional] [default to 0]
|
|
220
220
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**
|
|
7
|
-
**label** | **String** | Label of the value |
|
|
6
|
+
**value** | **Integer** | Id of the value |
|
|
7
|
+
**label** | **String** | Label of the value |
|
|
8
8
|
|
|
9
9
|
|
data/docs/UpdateEmailCampaign.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**name** | **String** | Name of the campaign | [optional]
|
|
9
9
|
**html_content** | **String** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional]
|
|
10
10
|
**html_url** | **String** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional]
|
|
11
|
-
**scheduled_at** | **DateTime** |
|
|
11
|
+
**scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
12
12
|
**subject** | **String** | Subject of the campaign | [optional]
|
|
13
13
|
**reply_to** | **String** | Email on which campaign recipients will be able to reply to | [optional]
|
|
14
14
|
**to_field** | **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]
|
data/docs/UpdateSmsCampaign.md
CHANGED
|
@@ -7,6 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**sender** | **String** | Name of the sender. The number of characters is limited to 11 | [optional]
|
|
8
8
|
**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]
|
|
9
9
|
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
|
|
10
|
-
**scheduled_at** | **DateTime** |
|
|
10
|
+
**scheduled_at** | **DateTime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional]
|
|
11
11
|
|
|
12
12
|
|
|
@@ -652,7 +652,7 @@ module SibApiV3Sdk
|
|
|
652
652
|
# @param [Hash] opts the optional parameters
|
|
653
653
|
# @option opts [Integer] :limit Number of documents per page (default to 50)
|
|
654
654
|
# @option opts [Integer] :offset Index of the first document of the page (default to 0)
|
|
655
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
655
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
656
656
|
# @return [GetContacts]
|
|
657
657
|
def get_contacts(opts = {})
|
|
658
658
|
data, _status_code, _headers = get_contacts_with_http_info(opts)
|
|
@@ -664,7 +664,7 @@ module SibApiV3Sdk
|
|
|
664
664
|
# @param [Hash] opts the optional parameters
|
|
665
665
|
# @option opts [Integer] :limit Number of documents per page
|
|
666
666
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
667
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
667
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
668
668
|
# @return [Array<(GetContacts, Fixnum, Hash)>] GetContacts data, response status code and response headers
|
|
669
669
|
def get_contacts_with_http_info(opts = {})
|
|
670
670
|
if @api_client.config.debugging
|
|
@@ -713,7 +713,7 @@ module SibApiV3Sdk
|
|
|
713
713
|
#
|
|
714
714
|
# @param list_id Id of the list
|
|
715
715
|
# @param [Hash] opts the optional parameters
|
|
716
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
716
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
717
717
|
# @option opts [Integer] :limit Number of documents per page (default to 50)
|
|
718
718
|
# @option opts [Integer] :offset Index of the first document of the page (default to 0)
|
|
719
719
|
# @return [GetContacts]
|
|
@@ -726,7 +726,7 @@ module SibApiV3Sdk
|
|
|
726
726
|
#
|
|
727
727
|
# @param list_id Id of the list
|
|
728
728
|
# @param [Hash] opts the optional parameters
|
|
729
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
729
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
730
730
|
# @option opts [Integer] :limit Number of documents per page
|
|
731
731
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
732
732
|
# @return [Array<(GetContacts, Fixnum, Hash)>] GetContacts data, response status code and response headers
|
|
@@ -194,7 +194,7 @@ module SibApiV3Sdk
|
|
|
194
194
|
#
|
|
195
195
|
# @param list_id Id of the list
|
|
196
196
|
# @param [Hash] opts the optional parameters
|
|
197
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
197
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
198
198
|
# @option opts [Integer] :limit Number of documents per page (default to 50)
|
|
199
199
|
# @option opts [Integer] :offset Index of the first document of the page (default to 0)
|
|
200
200
|
# @return [GetContacts]
|
|
@@ -207,7 +207,7 @@ module SibApiV3Sdk
|
|
|
207
207
|
#
|
|
208
208
|
# @param list_id Id of the list
|
|
209
209
|
# @param [Hash] opts the optional parameters
|
|
210
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
210
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
211
211
|
# @option opts [Integer] :limit Number of documents per page
|
|
212
212
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
213
213
|
# @return [Array<(GetContacts, Fixnum, Hash)>] GetContacts data, response status code and response headers
|
|
@@ -29,7 +29,7 @@ module SibApiV3Sdk
|
|
|
29
29
|
# Mandatory if htmlContent is empty. Url to the message (HTML)
|
|
30
30
|
attr_accessor :html_url
|
|
31
31
|
|
|
32
|
-
# Sending date
|
|
32
|
+
# Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
33
33
|
attr_accessor :scheduled_at
|
|
34
34
|
|
|
35
35
|
# Subject of the campaign
|
|
@@ -30,7 +30,7 @@ module SibApiV3Sdk
|
|
|
30
30
|
# Status of the campaign
|
|
31
31
|
attr_accessor :status
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
34
34
|
attr_accessor :scheduled_at
|
|
35
35
|
|
|
36
36
|
class EnumAttributeValidator
|
|
@@ -27,7 +27,7 @@ module SibApiV3Sdk
|
|
|
27
27
|
# Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted)
|
|
28
28
|
attr_accessor :sms_blacklisted
|
|
29
29
|
|
|
30
|
-
# Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
30
|
+
# Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
31
31
|
attr_accessor :modified_at
|
|
32
32
|
|
|
33
33
|
attr_accessor :list_ids
|
|
@@ -30,7 +30,7 @@ module SibApiV3Sdk
|
|
|
30
30
|
# Status of the campaign
|
|
31
31
|
attr_accessor :status
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
34
34
|
attr_accessor :scheduled_at
|
|
35
35
|
|
|
36
36
|
# Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent)
|
|
@@ -59,10 +59,10 @@ module SibApiV3Sdk
|
|
|
59
59
|
# Tag of the campaign
|
|
60
60
|
attr_accessor :tag
|
|
61
61
|
|
|
62
|
-
# Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
62
|
+
# Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
63
63
|
attr_accessor :created_at
|
|
64
64
|
|
|
65
|
-
#
|
|
65
|
+
# UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
66
66
|
attr_accessor :modified_at
|
|
67
67
|
|
|
68
68
|
# Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.
|
|
@@ -30,7 +30,7 @@ module SibApiV3Sdk
|
|
|
30
30
|
# Status of the campaign
|
|
31
31
|
attr_accessor :status
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
34
34
|
attr_accessor :scheduled_at
|
|
35
35
|
|
|
36
36
|
# Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent)
|
|
@@ -59,10 +59,10 @@ module SibApiV3Sdk
|
|
|
59
59
|
# Tag of the campaign
|
|
60
60
|
attr_accessor :tag
|
|
61
61
|
|
|
62
|
-
# Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
62
|
+
# Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
63
63
|
attr_accessor :created_at
|
|
64
64
|
|
|
65
|
-
#
|
|
65
|
+
# UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
66
66
|
attr_accessor :modified_at
|
|
67
67
|
|
|
68
68
|
# Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email.
|
|
@@ -27,7 +27,7 @@ module SibApiV3Sdk
|
|
|
27
27
|
# Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted)
|
|
28
28
|
attr_accessor :sms_blacklisted
|
|
29
29
|
|
|
30
|
-
# Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
30
|
+
# Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
31
31
|
attr_accessor :modified_at
|
|
32
32
|
|
|
33
33
|
attr_accessor :list_ids
|
|
@@ -30,7 +30,7 @@ module SibApiV3Sdk
|
|
|
30
30
|
# ID of the folder
|
|
31
31
|
attr_accessor :folder_id
|
|
32
32
|
|
|
33
|
-
# Creation
|
|
33
|
+
# Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
34
34
|
attr_accessor :created_at
|
|
35
35
|
|
|
36
36
|
attr_accessor :campaign_stats
|
|
@@ -27,7 +27,7 @@ module SibApiV3Sdk
|
|
|
27
27
|
# Content of the SMS Campaign
|
|
28
28
|
attr_accessor :content
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format
|
|
31
31
|
attr_accessor :scheduled_at
|
|
32
32
|
|
|
33
33
|
# Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent)
|
|
@@ -36,10 +36,10 @@ module SibApiV3Sdk
|
|
|
36
36
|
# Sender of the SMS Campaign
|
|
37
37
|
attr_accessor :sender
|
|
38
38
|
|
|
39
|
-
# Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
39
|
+
# Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
40
40
|
attr_accessor :created_at
|
|
41
41
|
|
|
42
|
-
#
|
|
42
|
+
# UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
43
43
|
attr_accessor :modified_at
|
|
44
44
|
|
|
45
45
|
class EnumAttributeValidator
|
|
@@ -27,7 +27,7 @@ module SibApiV3Sdk
|
|
|
27
27
|
# Content of the SMS Campaign
|
|
28
28
|
attr_accessor :content
|
|
29
29
|
|
|
30
|
-
#
|
|
30
|
+
# UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format
|
|
31
31
|
attr_accessor :scheduled_at
|
|
32
32
|
|
|
33
33
|
# Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent)
|
|
@@ -36,10 +36,10 @@ module SibApiV3Sdk
|
|
|
36
36
|
# Sender of the SMS Campaign
|
|
37
37
|
attr_accessor :sender
|
|
38
38
|
|
|
39
|
-
# Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
39
|
+
# Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
40
40
|
attr_accessor :created_at
|
|
41
41
|
|
|
42
|
-
#
|
|
42
|
+
# UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
43
43
|
attr_accessor :modified_at
|
|
44
44
|
|
|
45
45
|
class EnumAttributeValidator
|
|
@@ -44,10 +44,10 @@ module SibApiV3Sdk
|
|
|
44
44
|
# HTML content of the template
|
|
45
45
|
attr_accessor :html_content
|
|
46
46
|
|
|
47
|
-
# Creation date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
47
|
+
# Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
48
48
|
attr_accessor :created_at
|
|
49
49
|
|
|
50
|
-
# Last modification date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
50
|
+
# Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
51
51
|
attr_accessor :modified_at
|
|
52
52
|
|
|
53
53
|
|
|
@@ -29,10 +29,10 @@ module SibApiV3Sdk
|
|
|
29
29
|
# Type of webhook (marketing or transac)
|
|
30
30
|
attr_accessor :type
|
|
31
31
|
|
|
32
|
-
# Creation date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
32
|
+
# Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
33
33
|
attr_accessor :created_at
|
|
34
34
|
|
|
35
|
-
# Last modification date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
35
|
+
# Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
36
36
|
attr_accessor :modified_at
|
|
37
37
|
|
|
38
38
|
class EnumAttributeValidator
|
|
@@ -16,7 +16,7 @@ module SibApiV3Sdk
|
|
|
16
16
|
|
|
17
17
|
class UpdateAttributeEnumeration
|
|
18
18
|
# Id of the value
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :value
|
|
20
20
|
|
|
21
21
|
# Label of the value
|
|
22
22
|
attr_accessor :label
|
|
@@ -25,7 +25,7 @@ module SibApiV3Sdk
|
|
|
25
25
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
26
26
|
def self.attribute_map
|
|
27
27
|
{
|
|
28
|
-
:'
|
|
28
|
+
:'value' => :'value',
|
|
29
29
|
:'label' => :'label'
|
|
30
30
|
}
|
|
31
31
|
end
|
|
@@ -33,7 +33,7 @@ module SibApiV3Sdk
|
|
|
33
33
|
# Attribute type mapping.
|
|
34
34
|
def self.swagger_types
|
|
35
35
|
{
|
|
36
|
-
:'
|
|
36
|
+
:'value' => :'Integer',
|
|
37
37
|
:'label' => :'String'
|
|
38
38
|
}
|
|
39
39
|
end
|
|
@@ -46,8 +46,8 @@ module SibApiV3Sdk
|
|
|
46
46
|
# convert string to symbol for hash key
|
|
47
47
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
48
48
|
|
|
49
|
-
if attributes.has_key?(:'
|
|
50
|
-
self.
|
|
49
|
+
if attributes.has_key?(:'value')
|
|
50
|
+
self.value = attributes[:'value']
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
if attributes.has_key?(:'label')
|
|
@@ -60,12 +60,22 @@ module SibApiV3Sdk
|
|
|
60
60
|
# @return Array for valid properies with the reasons
|
|
61
61
|
def list_invalid_properties
|
|
62
62
|
invalid_properties = Array.new
|
|
63
|
+
if @value.nil?
|
|
64
|
+
invalid_properties.push("invalid value for 'value', value cannot be nil.")
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
if @label.nil?
|
|
68
|
+
invalid_properties.push("invalid value for 'label', label cannot be nil.")
|
|
69
|
+
end
|
|
70
|
+
|
|
63
71
|
return invalid_properties
|
|
64
72
|
end
|
|
65
73
|
|
|
66
74
|
# Check to see if the all the properties in the model are valid
|
|
67
75
|
# @return true if the model is valid
|
|
68
76
|
def valid?
|
|
77
|
+
return false if @value.nil?
|
|
78
|
+
return false if @label.nil?
|
|
69
79
|
return true
|
|
70
80
|
end
|
|
71
81
|
|
|
@@ -74,7 +84,7 @@ module SibApiV3Sdk
|
|
|
74
84
|
def ==(o)
|
|
75
85
|
return true if self.equal?(o)
|
|
76
86
|
self.class == o.class &&
|
|
77
|
-
|
|
87
|
+
value == o.value &&
|
|
78
88
|
label == o.label
|
|
79
89
|
end
|
|
80
90
|
|
|
@@ -87,7 +97,7 @@ module SibApiV3Sdk
|
|
|
87
97
|
# Calculates hash code according to all attributes.
|
|
88
98
|
# @return [Fixnum] Hash code
|
|
89
99
|
def hash
|
|
90
|
-
[
|
|
100
|
+
[value, label].hash
|
|
91
101
|
end
|
|
92
102
|
|
|
93
103
|
# Builds the object from hash
|
|
@@ -29,7 +29,7 @@ module SibApiV3Sdk
|
|
|
29
29
|
# Url which contents the body of the email message. REQUIRED if htmlContent is empty
|
|
30
30
|
attr_accessor :html_url
|
|
31
31
|
|
|
32
|
-
#
|
|
32
|
+
# UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
33
33
|
attr_accessor :scheduled_at
|
|
34
34
|
|
|
35
35
|
# Subject of the campaign
|
|
@@ -173,7 +173,7 @@ describe 'ContactsApi' do
|
|
|
173
173
|
# @param [Hash] opts the optional parameters
|
|
174
174
|
# @option opts [Integer] :limit Number of documents per page
|
|
175
175
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
176
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
176
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
177
177
|
# @return [GetContacts]
|
|
178
178
|
describe 'get_contacts test' do
|
|
179
179
|
it "should work" do
|
|
@@ -186,7 +186,7 @@ describe 'ContactsApi' do
|
|
|
186
186
|
#
|
|
187
187
|
# @param list_id Id of the list
|
|
188
188
|
# @param [Hash] opts the optional parameters
|
|
189
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
189
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
190
190
|
# @option opts [Integer] :limit Number of documents per page
|
|
191
191
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
192
192
|
# @return [GetContacts]
|
data/spec/api/lists_api_spec.rb
CHANGED
|
@@ -74,7 +74,7 @@ describe 'ListsApi' do
|
|
|
74
74
|
#
|
|
75
75
|
# @param list_id Id of the list
|
|
76
76
|
# @param [Hash] opts the optional parameters
|
|
77
|
-
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
77
|
+
# @option opts [DateTime] :modified_since Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ)
|
|
78
78
|
# @option opts [Integer] :limit Number of documents per page
|
|
79
79
|
# @option opts [Integer] :offset Index of the first document of the page
|
|
80
80
|
# @return [GetContacts]
|
|
@@ -32,7 +32,7 @@ describe 'UpdateAttributeEnumeration' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(SibApiV3Sdk::UpdateAttributeEnumeration)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "value"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sib-api-v3-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SendinBlue Developers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-12-
|
|
11
|
+
date: 2017-12-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|