From 29df675e190b7510eae9f38b7097addaa2ecff88 Mon Sep 17 00:00:00 2001 From: aakanksha Date: Wed, 27 Dec 2017 14:55:30 +0530 Subject: [PATCH] Swagger updates: Minor updates for contact attributes api --- docs/ContactsApi.md | 8 ++--- docs/CreateEmailCampaign.md | 2 +- docs/CreateSmsCampaign.md | 2 +- docs/GetCampaignOverview.md | 2 +- docs/GetContactCampaignStatsOpened.md | 2 +- docs/GetContactDetails.md | 2 +- docs/GetEmailCampaign.md | 6 ++-- docs/GetEmailEventReportEvents.md | 2 +- docs/GetExtendedCampaignOverview.md | 6 ++-- docs/GetExtendedContactDetails.md | 2 +- ...etExtendedContactDetailsStatisticsLinks.md | 2 +- ...dedContactDetailsStatisticsMessagesSent.md | 2 +- ...tExtendedContactDetailsStatisticsOpened.md | 2 +- ...sticsUnsubscriptionsAdminUnsubscription.md | 2 +- ...isticsUnsubscriptionsUserUnsubscription.md | 2 +- docs/GetExtendedList.md | 2 +- docs/GetSmsCampaign.md | 6 ++-- docs/GetSmsCampaignOverview.md | 6 ++-- docs/GetSmtpTemplateOverview.md | 4 +-- docs/GetWebhook.md | 4 +-- docs/ListsApi.md | 4 +-- docs/UpdateAttributeEnumeration.md | 4 +-- docs/UpdateEmailCampaign.md | 2 +- docs/UpdateSmsCampaign.md | 2 +- setup.py | 2 +- sib_api_v3_sdk/apis/contacts_api.py | 8 ++--- sib_api_v3_sdk/apis/lists_api.py | 4 +-- .../models/create_email_campaign.py | 4 +-- sib_api_v3_sdk/models/create_sms_campaign.py | 4 +-- .../models/get_campaign_overview.py | 4 +-- .../get_contact_campaign_stats_opened.py | 4 +-- sib_api_v3_sdk/models/get_contact_details.py | 4 +-- sib_api_v3_sdk/models/get_email_campaign.py | 12 +++---- .../models/get_email_event_report_events.py | 4 +-- .../models/get_extended_campaign_overview.py | 12 +++---- .../models/get_extended_contact_details.py | 4 +-- ...tended_contact_details_statistics_links.py | 4 +-- ...ontact_details_statistics_messages_sent.py | 4 +-- ...ended_contact_details_statistics_opened.py | 4 +-- ...cs_unsubscriptions_admin_unsubscription.py | 4 +-- ...ics_unsubscriptions_user_unsubscription.py | 4 +-- sib_api_v3_sdk/models/get_extended_list.py | 4 +-- sib_api_v3_sdk/models/get_sms_campaign.py | 12 +++---- .../models/get_sms_campaign_overview.py | 12 +++---- .../models/get_smtp_template_overview.py | 8 ++--- sib_api_v3_sdk/models/get_webhook.py | 8 ++--- .../models/update_attribute_enumeration.py | 36 ++++++++++--------- .../models/update_email_campaign.py | 4 +-- sib_api_v3_sdk/models/update_sms_campaign.py | 4 +-- 49 files changed, 127 insertions(+), 125 deletions(-) diff --git a/docs/ContactsApi.md b/docs/ContactsApi.md index 021c450..9ff67be 100644 --- a/docs/ContactsApi.md +++ b/docs/ContactsApi.md @@ -614,7 +614,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY' api_instance = sib_api_v3_sdk.ContactsApi() limit = 50 # int | Number of documents per page (optional) (default to 50) offset = 0 # int | Index of the first document of the page (optional) (default to 0) -modified_since = '2013-10-20T19:20:30+01:00' # datetime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) (optional) +modified_since = '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) (optional) try: # Get all the contacts @@ -630,7 +630,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **int**| Number of documents per page | [optional] [default to 50] **offset** | **int**| Index of the first document of the page | [optional] [default to 0] - **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] + **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] ### Return type @@ -668,7 +668,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.ContactsApi() list_id = 789 # int | Id of the list -modified_since = '2013-10-20T19:20:30+01:00' # datetime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) (optional) +modified_since = '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) (optional) limit = 50 # int | Number of documents per page (optional) (default to 50) offset = 0 # int | Index of the first document of the page (optional) (default to 0) @@ -685,7 +685,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **list_id** | **int**| Id of the list | - **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] + **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **limit** | **int**| Number of documents per page | [optional] [default to 50] **offset** | **int**| Index of the first document of the page | [optional] [default to 0] diff --git a/docs/CreateEmailCampaign.md b/docs/CreateEmailCampaign.md index 1cbad8c..5f80920 100644 --- a/docs/CreateEmailCampaign.md +++ b/docs/CreateEmailCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **name** | **str** | Name of the campaign | **html_content** | **str** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional] **html_url** | **str** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional] -**scheduled_at** | **datetime** | Sending date and time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **subject** | **str** | Subject of the campaign | **reply_to** | **str** | Email on which the campaign recipients will be able to reply to | [optional] **to_field** | **str** | 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/CreateSmsCampaign.md b/docs/CreateSmsCampaign.md index f27b335..0e16553 100644 --- a/docs/CreateSmsCampaign.md +++ b/docs/CreateSmsCampaign.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **sender** | **str** | Name of the sender. The number of characters is limited to 11 | **content** | **str** | 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] -**scheduled_at** | **datetime** | Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetCampaignOverview.md b/docs/GetCampaignOverview.md index a8b39d3..e57d237 100644 --- a/docs/GetCampaignOverview.md +++ b/docs/GetCampaignOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **subject** | **str** | Subject of the campaign | **type** | **str** | Type of campaign | **status** | **str** | Status of the campaign | -**scheduled_at** | **datetime** | Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetContactCampaignStatsOpened.md b/docs/GetContactCampaignStatsOpened.md index 71c4ebd..fc32632 100644 --- a/docs/GetContactCampaignStatsOpened.md +++ b/docs/GetContactCampaignStatsOpened.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaign_id** | **int** | ID of the campaign which generated the event | **count** | **int** | Number of openings of the campaign | -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | **ip** | **str** | IP from which the user has opened the campaign | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetContactDetails.md b/docs/GetContactDetails.md index 2ec2e48..c5aef6e 100644 --- a/docs/GetContactDetails.md +++ b/docs/GetContactDetails.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **int** | ID of the contact for which you requested the details | **email_blacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **sms_blacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**modified_at** | **datetime** | Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **list_ids** | **list[int]** | | **list_unsubscribed** | **list[int]** | | [optional] **attributes** | **dict(str, str)** | | diff --git a/docs/GetEmailCampaign.md b/docs/GetEmailCampaign.md index b4140a9..dd732ec 100644 --- a/docs/GetEmailCampaign.md +++ b/docs/GetEmailCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **subject** | **str** | Subject of the campaign | **type** | **str** | Type of campaign | **status** | **str** | Status of the campaign | -**scheduled_at** | **datetime** | Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **test_sent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **str** | Header of the campaign | **footer** | **str** | Footer of the campaign | @@ -18,8 +18,8 @@ Name | Type | Description | Notes **html_content** | **str** | HTML content of the campaign | **share_link** | **str** | Link to share the campaign on social medias | [optional] **tag** | **str** | Tag of the campaign | -**created_at** | **datetime** | Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **inline_image_activation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirror_active** | **bool** | 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** | **bool** | 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 7fab074..615d494 100644 --- a/docs/GetEmailEventReportEvents.md +++ b/docs/GetEmailEventReportEvents.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **str** | Email address which generates the event | -**date** | **datetime** | Date on which the event has been generated | +**date** | **datetime** | UTC date-time on which the event has been generated | **subject** | **str** | Subject of the event | [optional] **message_id** | **str** | Message ID which generated the event | **event** | **str** | Event which occurred | diff --git a/docs/GetExtendedCampaignOverview.md b/docs/GetExtendedCampaignOverview.md index dd5c53d..8b62363 100644 --- a/docs/GetExtendedCampaignOverview.md +++ b/docs/GetExtendedCampaignOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **subject** | **str** | Subject of the campaign | **type** | **str** | Type of campaign | **status** | **str** | Status of the campaign | -**scheduled_at** | **datetime** | Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **test_sent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **str** | Header of the campaign | **footer** | **str** | Footer of the campaign | @@ -18,8 +18,8 @@ Name | Type | Description | Notes **html_content** | **str** | HTML content of the campaign | **share_link** | **str** | Link to share the campaign on social medias | [optional] **tag** | **str** | Tag of the campaign | -**created_at** | **datetime** | Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | **inline_image_activation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirror_active** | **bool** | 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** | **bool** | 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/GetExtendedContactDetails.md b/docs/GetExtendedContactDetails.md index 3ddf2cb..281c47b 100644 --- a/docs/GetExtendedContactDetails.md +++ b/docs/GetExtendedContactDetails.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **int** | ID of the contact for which you requested the details | **email_blacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **sms_blacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**modified_at** | **datetime** | Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) | **list_ids** | **list[int]** | | **list_unsubscribed** | **list[int]** | | [optional] **attributes** | **dict(str, str)** | | diff --git a/docs/GetExtendedContactDetailsStatisticsLinks.md b/docs/GetExtendedContactDetailsStatisticsLinks.md index d0e796a..51829e1 100644 --- a/docs/GetExtendedContactDetailsStatisticsLinks.md +++ b/docs/GetExtendedContactDetailsStatisticsLinks.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **int** | Number of clicks on this link for the campaign | -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | **ip** | **str** | IP from which the user has clicked on the link | **url** | **str** | URL of the clicked link | diff --git a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md index 623a3ac..69d633f 100644 --- a/docs/GetExtendedContactDetailsStatisticsMessagesSent.md +++ b/docs/GetExtendedContactDetailsStatisticsMessagesSent.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaign_id** | **int** | ID of the campaign which generated the event | -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsOpened.md b/docs/GetExtendedContactDetailsStatisticsOpened.md index a6581c7..5ba5558 100644 --- a/docs/GetExtendedContactDetailsStatisticsOpened.md +++ b/docs/GetExtendedContactDetailsStatisticsOpened.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaign_id** | **int** | ID of the campaign which generated the event | **count** | **int** | Number of openings for the campaign | -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | **ip** | **str** | IP from which the user has opened the email | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md index 0b0b4ca..9ecfaef 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | **ip** | **str** | IP from which the user has been unsubscribed | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md index 37edd53..b3d4ea6 100644 --- a/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md +++ b/docs/GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaign_id** | **int** | ID of the campaign which generated the event | -**event_time** | **datetime** | Date of the event | +**event_time** | **datetime** | UTC date-time of the event | **ip** | **str** | IP from which the user has unsubscribed | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetExtendedList.md b/docs/GetExtendedList.md index 5fad4f2..352f107 100644 --- a/docs/GetExtendedList.md +++ b/docs/GetExtendedList.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **total_blacklisted** | **int** | Number of blacklisted contacts in the list | **total_subscribers** | **int** | Number of contacts in the list | **folder_id** | **int** | ID of the folder | -**created_at** | **datetime** | Creation Date of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) | **campaign_stats** | [**list[GetExtendedListCampaignStats]**](GetExtendedListCampaignStats.md) | | [optional] **dynamic_list** | **bool** | 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 14f15f5..e26ae7b 100644 --- a/docs/GetSmsCampaign.md +++ b/docs/GetSmsCampaign.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **name** | **str** | Name of the SMS Campaign | **status** | **str** | Status of the SMS Campaign | **content** | **str** | Content of the SMS Campaign | -**scheduled_at** | **datetime** | Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | +**scheduled_at** | **datetime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | **test_sent** | **bool** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **str** | Sender of the SMS Campaign | -**created_at** | **datetime** | Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSmsCampaignOverview.md b/docs/GetSmsCampaignOverview.md index 167a242..565025a 100644 --- a/docs/GetSmsCampaignOverview.md +++ b/docs/GetSmsCampaignOverview.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **name** | **str** | Name of the SMS Campaign | **status** | **str** | Status of the SMS Campaign | **content** | **str** | Content of the SMS Campaign | -**scheduled_at** | **datetime** | Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | +**scheduled_at** | **datetime** | UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format | **test_sent** | **bool** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **str** | Sender of the SMS Campaign | -**created_at** | **datetime** | Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetSmtpTemplateOverview.md b/docs/GetSmtpTemplateOverview.md index 78ef401..c1a4885 100644 --- a/docs/GetSmtpTemplateOverview.md +++ b/docs/GetSmtpTemplateOverview.md @@ -13,8 +13,8 @@ Name | Type | Description | Notes **to_field** | **str** | Customisation of the \"to\" field for the template | **tag** | **str** | Tag of the template | **html_content** | **str** | HTML content of the template | -**created_at** | **datetime** | Creation date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Last modification date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/GetWebhook.md b/docs/GetWebhook.md index 05d3677..1461ebe 100644 --- a/docs/GetWebhook.md +++ b/docs/GetWebhook.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **description** | **str** | Description of the webhook | **events** | **list[str]** | | **type** | **str** | Type of webhook (marketing or transac) | -**created_at** | **datetime** | Creation date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | -**modified_at** | **datetime** | Last modification date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**created_at** | **datetime** | Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | +**modified_at** | **datetime** | Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ListsApi.md b/docs/ListsApi.md index 4c40f2c..67c855a 100644 --- a/docs/ListsApi.md +++ b/docs/ListsApi.md @@ -190,7 +190,7 @@ sib_api_v3_sdk.configuration.api_key['api-key'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = sib_api_v3_sdk.ListsApi() list_id = 789 # int | Id of the list -modified_since = '2013-10-20T19:20:30+01:00' # datetime | Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) (optional) +modified_since = '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) (optional) limit = 50 # int | Number of documents per page (optional) (default to 50) offset = 0 # int | Index of the first document of the page (optional) (default to 0) @@ -207,7 +207,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **list_id** | **int**| Id of the list | - **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] + **modified_since** | **datetime**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **limit** | **int**| Number of documents per page | [optional] [default to 50] **offset** | **int**| Index of the first document of the page | [optional] [default to 0] diff --git a/docs/UpdateAttributeEnumeration.md b/docs/UpdateAttributeEnumeration.md index b731664..19c7caf 100644 --- a/docs/UpdateAttributeEnumeration.md +++ b/docs/UpdateAttributeEnumeration.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **int** | Id of the value | [optional] -**label** | **str** | Label of the value | [optional] +**value** | **int** | Id of the value | +**label** | **str** | Label of the value | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/UpdateEmailCampaign.md b/docs/UpdateEmailCampaign.md index 1b5a2ae..07b59ec 100644 --- a/docs/UpdateEmailCampaign.md +++ b/docs/UpdateEmailCampaign.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **name** | **str** | Name of the campaign | [optional] **html_content** | **str** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional] **html_url** | **str** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] -**scheduled_at** | **datetime** | Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] **subject** | **str** | Subject of the campaign | [optional] **reply_to** | **str** | Email on which campaign recipients will be able to reply to | [optional] **to_field** | **str** | 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/UpdateSmsCampaign.md b/docs/UpdateSmsCampaign.md index 02583de..7e95d67 100644 --- a/docs/UpdateSmsCampaign.md +++ b/docs/UpdateSmsCampaign.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **sender** | **str** | Name of the sender. The number of characters is limited to 11 | [optional] **content** | **str** | 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] -**scheduled_at** | **datetime** | Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] +**scheduled_at** | **datetime** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/setup.py b/setup.py index 81070e2..215b774 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from setuptools import setup, find_packages NAME = "sib-api-v3-sdk" -VERSION = "1.1.3" +VERSION = "1.1.4" # To install the library, run the following # # python setup.py install diff --git a/sib_api_v3_sdk/apis/contacts_api.py b/sib_api_v3_sdk/apis/contacts_api.py index 5c924d8..6a569b9 100644 --- a/sib_api_v3_sdk/apis/contacts_api.py +++ b/sib_api_v3_sdk/apis/contacts_api.py @@ -1219,7 +1219,7 @@ def get_contacts(self, **kwargs): for asynchronous request. (optional) :param int limit: Number of documents per page :param int offset: Index of the first document of the page - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: GetContacts If the method is called asynchronously, returns the request thread. @@ -1246,7 +1246,7 @@ def get_contacts_with_http_info(self, **kwargs): for asynchronous request. (optional) :param int limit: Number of documents per page :param int offset: Index of the first document of the page - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: GetContacts If the method is called asynchronously, returns the request thread. @@ -1329,7 +1329,7 @@ def get_contacts_from_list(self, list_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param int list_id: Id of the list (required) - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :param int limit: Number of documents per page :param int offset: Index of the first document of the page :return: GetContacts @@ -1357,7 +1357,7 @@ def get_contacts_from_list_with_http_info(self, list_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param int list_id: Id of the list (required) - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :param int limit: Number of documents per page :param int offset: Index of the first document of the page :return: GetContacts diff --git a/sib_api_v3_sdk/apis/lists_api.py b/sib_api_v3_sdk/apis/lists_api.py index ad5bce7..387d31c 100644 --- a/sib_api_v3_sdk/apis/lists_api.py +++ b/sib_api_v3_sdk/apis/lists_api.py @@ -373,7 +373,7 @@ def get_contacts_from_list(self, list_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param int list_id: Id of the list (required) - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :param int limit: Number of documents per page :param int offset: Index of the first document of the page :return: GetContacts @@ -401,7 +401,7 @@ def get_contacts_from_list_with_http_info(self, list_id, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param int list_id: Id of the list (required) - :param datetime modified_since: Filter (urlencoded) the contacts modified after a given date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) + :param datetime modified_since: Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :param int limit: Number of documents per page :param int offset: Index of the first document of the page :return: GetContacts diff --git a/sib_api_v3_sdk/models/create_email_campaign.py b/sib_api_v3_sdk/models/create_email_campaign.py index fc13964..6930969 100644 --- a/sib_api_v3_sdk/models/create_email_campaign.py +++ b/sib_api_v3_sdk/models/create_email_campaign.py @@ -249,7 +249,7 @@ def html_url(self, html_url): def scheduled_at(self): """ Gets the scheduled_at of this CreateEmailCampaign. - Sending date and time (YYYY-MM-DDTHH:mm:ss.SSSZ) + Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this CreateEmailCampaign. :rtype: datetime @@ -260,7 +260,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this CreateEmailCampaign. - Sending date and time (YYYY-MM-DDTHH:mm:ss.SSSZ) + Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this CreateEmailCampaign. :type: datetime diff --git a/sib_api_v3_sdk/models/create_sms_campaign.py b/sib_api_v3_sdk/models/create_sms_campaign.py index 4437d8b..194d60d 100644 --- a/sib_api_v3_sdk/models/create_sms_campaign.py +++ b/sib_api_v3_sdk/models/create_sms_campaign.py @@ -166,7 +166,7 @@ def recipients(self, recipients): def scheduled_at(self): """ Gets the scheduled_at of this CreateSmsCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this CreateSmsCampaign. :rtype: datetime @@ -177,7 +177,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this CreateSmsCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this CreateSmsCampaign. :type: datetime diff --git a/sib_api_v3_sdk/models/get_campaign_overview.py b/sib_api_v3_sdk/models/get_campaign_overview.py index 88a2911..909bb11 100644 --- a/sib_api_v3_sdk/models/get_campaign_overview.py +++ b/sib_api_v3_sdk/models/get_campaign_overview.py @@ -209,7 +209,7 @@ def status(self, status): def scheduled_at(self): """ Gets the scheduled_at of this GetCampaignOverview. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this GetCampaignOverview. :rtype: datetime @@ -220,7 +220,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this GetCampaignOverview. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this GetCampaignOverview. :type: datetime diff --git a/sib_api_v3_sdk/models/get_contact_campaign_stats_opened.py b/sib_api_v3_sdk/models/get_contact_campaign_stats_opened.py index 79c336a..79ba0d0 100644 --- a/sib_api_v3_sdk/models/get_contact_campaign_stats_opened.py +++ b/sib_api_v3_sdk/models/get_contact_campaign_stats_opened.py @@ -113,7 +113,7 @@ def count(self, count): def event_time(self): """ Gets the event_time of this GetContactCampaignStatsOpened. - Date of the event + UTC date-time of the event :return: The event_time of this GetContactCampaignStatsOpened. :rtype: datetime @@ -124,7 +124,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetContactCampaignStatsOpened. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetContactCampaignStatsOpened. :type: datetime diff --git a/sib_api_v3_sdk/models/get_contact_details.py b/sib_api_v3_sdk/models/get_contact_details.py index 52c36da..88863fa 100644 --- a/sib_api_v3_sdk/models/get_contact_details.py +++ b/sib_api_v3_sdk/models/get_contact_details.py @@ -180,7 +180,7 @@ def sms_blacklisted(self, sms_blacklisted): def modified_at(self): """ Gets the modified_at of this GetContactDetails. - Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetContactDetails. :rtype: datetime @@ -191,7 +191,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetContactDetails. - Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetContactDetails. :type: datetime diff --git a/sib_api_v3_sdk/models/get_email_campaign.py b/sib_api_v3_sdk/models/get_email_campaign.py index 4e48d69..77212fb 100644 --- a/sib_api_v3_sdk/models/get_email_campaign.py +++ b/sib_api_v3_sdk/models/get_email_campaign.py @@ -270,7 +270,7 @@ def status(self, status): def scheduled_at(self): """ Gets the scheduled_at of this GetEmailCampaign. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this GetEmailCampaign. :rtype: datetime @@ -281,7 +281,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this GetEmailCampaign. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this GetEmailCampaign. :type: datetime @@ -512,7 +512,7 @@ def tag(self, tag): def created_at(self): """ Gets the created_at of this GetEmailCampaign. - Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetEmailCampaign. :rtype: datetime @@ -523,7 +523,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetEmailCampaign. - Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetEmailCampaign. :type: datetime @@ -537,7 +537,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetEmailCampaign. - Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetEmailCampaign. :rtype: datetime @@ -548,7 +548,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetEmailCampaign. - Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetEmailCampaign. :type: datetime diff --git a/sib_api_v3_sdk/models/get_email_event_report_events.py b/sib_api_v3_sdk/models/get_email_event_report_events.py index fcb6b2f..525cd77 100644 --- a/sib_api_v3_sdk/models/get_email_event_report_events.py +++ b/sib_api_v3_sdk/models/get_email_event_report_events.py @@ -116,7 +116,7 @@ def email(self, email): def date(self): """ Gets the date of this GetEmailEventReportEvents. - Date on which the event has been generated + UTC date-time on which the event has been generated :return: The date of this GetEmailEventReportEvents. :rtype: datetime @@ -127,7 +127,7 @@ def date(self): def date(self, date): """ Sets the date of this GetEmailEventReportEvents. - Date on which the event has been generated + UTC date-time on which the event has been generated :param date: The date of this GetEmailEventReportEvents. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_campaign_overview.py b/sib_api_v3_sdk/models/get_extended_campaign_overview.py index 5aaebc8..2c6b63a 100644 --- a/sib_api_v3_sdk/models/get_extended_campaign_overview.py +++ b/sib_api_v3_sdk/models/get_extended_campaign_overview.py @@ -270,7 +270,7 @@ def status(self, status): def scheduled_at(self): """ Gets the scheduled_at of this GetExtendedCampaignOverview. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this GetExtendedCampaignOverview. :rtype: datetime @@ -281,7 +281,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this GetExtendedCampaignOverview. - Date on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which campaign is scheduled (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this GetExtendedCampaignOverview. :type: datetime @@ -512,7 +512,7 @@ def tag(self, tag): def created_at(self): """ Gets the created_at of this GetExtendedCampaignOverview. - Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetExtendedCampaignOverview. :rtype: datetime @@ -523,7 +523,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetExtendedCampaignOverview. - Creation date of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetExtendedCampaignOverview. :type: datetime @@ -537,7 +537,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetExtendedCampaignOverview. - Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetExtendedCampaignOverview. :rtype: datetime @@ -548,7 +548,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetExtendedCampaignOverview. - Date of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetExtendedCampaignOverview. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details.py b/sib_api_v3_sdk/models/get_extended_contact_details.py index 8557563..a9ba44e 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details.py @@ -185,7 +185,7 @@ def sms_blacklisted(self, sms_blacklisted): def modified_at(self): """ Gets the modified_at of this GetExtendedContactDetails. - Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetExtendedContactDetails. :rtype: datetime @@ -196,7 +196,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetExtendedContactDetails. - Last modification date of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetExtendedContactDetails. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_links.py b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_links.py index 7265ef7..2e6fc3d 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_links.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_links.py @@ -88,7 +88,7 @@ def count(self, count): def event_time(self): """ Gets the event_time of this GetExtendedContactDetailsStatisticsLinks. - Date of the event + UTC date-time of the event :return: The event_time of this GetExtendedContactDetailsStatisticsLinks. :rtype: datetime @@ -99,7 +99,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetExtendedContactDetailsStatisticsLinks. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetExtendedContactDetailsStatisticsLinks. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_messages_sent.py b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_messages_sent.py index 3ae110b..7775bad 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_messages_sent.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_messages_sent.py @@ -80,7 +80,7 @@ def campaign_id(self, campaign_id): def event_time(self): """ Gets the event_time of this GetExtendedContactDetailsStatisticsMessagesSent. - Date of the event + UTC date-time of the event :return: The event_time of this GetExtendedContactDetailsStatisticsMessagesSent. :rtype: datetime @@ -91,7 +91,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetExtendedContactDetailsStatisticsMessagesSent. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetExtendedContactDetailsStatisticsMessagesSent. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_opened.py b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_opened.py index 3ca8461..786c362 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_opened.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_opened.py @@ -113,7 +113,7 @@ def count(self, count): def event_time(self): """ Gets the event_time of this GetExtendedContactDetailsStatisticsOpened. - Date of the event + UTC date-time of the event :return: The event_time of this GetExtendedContactDetailsStatisticsOpened. :rtype: datetime @@ -124,7 +124,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetExtendedContactDetailsStatisticsOpened. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetExtendedContactDetailsStatisticsOpened. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.py b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.py index 366c6a4..a5b0e5f 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_admin_unsubscription.py @@ -55,7 +55,7 @@ def __init__(self, event_time=None, ip=None): def event_time(self): """ Gets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. - Date of the event + UTC date-time of the event :return: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. :rtype: datetime @@ -66,7 +66,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.py b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.py index b802388..aa114db 100644 --- a/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.py +++ b/sib_api_v3_sdk/models/get_extended_contact_details_statistics_unsubscriptions_user_unsubscription.py @@ -84,7 +84,7 @@ def campaign_id(self, campaign_id): def event_time(self): """ Gets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. - Date of the event + UTC date-time of the event :return: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. :rtype: datetime @@ -95,7 +95,7 @@ def event_time(self): def event_time(self, event_time): """ Sets the event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. - Date of the event + UTC date-time of the event :param event_time: The event_time of this GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription. :type: datetime diff --git a/sib_api_v3_sdk/models/get_extended_list.py b/sib_api_v3_sdk/models/get_extended_list.py index 6b7e067..1aee722 100644 --- a/sib_api_v3_sdk/models/get_extended_list.py +++ b/sib_api_v3_sdk/models/get_extended_list.py @@ -206,7 +206,7 @@ def folder_id(self, folder_id): def created_at(self): """ Gets the created_at of this GetExtendedList. - Creation Date of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetExtendedList. :rtype: datetime @@ -217,7 +217,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetExtendedList. - Creation Date of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the list (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetExtendedList. :type: datetime diff --git a/sib_api_v3_sdk/models/get_sms_campaign.py b/sib_api_v3_sdk/models/get_sms_campaign.py index 5613f8e..c180a74 100644 --- a/sib_api_v3_sdk/models/get_sms_campaign.py +++ b/sib_api_v3_sdk/models/get_sms_campaign.py @@ -189,7 +189,7 @@ def content(self, content): def scheduled_at(self): """ Gets the scheduled_at of this GetSmsCampaign. - Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format + UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format :return: The scheduled_at of this GetSmsCampaign. :rtype: datetime @@ -200,7 +200,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this GetSmsCampaign. - Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format + UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format :param scheduled_at: The scheduled_at of this GetSmsCampaign. :type: datetime @@ -264,7 +264,7 @@ def sender(self, sender): def created_at(self): """ Gets the created_at of this GetSmsCampaign. - Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetSmsCampaign. :rtype: datetime @@ -275,7 +275,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetSmsCampaign. - Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetSmsCampaign. :type: datetime @@ -289,7 +289,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetSmsCampaign. - Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetSmsCampaign. :rtype: datetime @@ -300,7 +300,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetSmsCampaign. - Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetSmsCampaign. :type: datetime diff --git a/sib_api_v3_sdk/models/get_sms_campaign_overview.py b/sib_api_v3_sdk/models/get_sms_campaign_overview.py index 5c2af0b..ac6d6b9 100644 --- a/sib_api_v3_sdk/models/get_sms_campaign_overview.py +++ b/sib_api_v3_sdk/models/get_sms_campaign_overview.py @@ -189,7 +189,7 @@ def content(self, content): def scheduled_at(self): """ Gets the scheduled_at of this GetSmsCampaignOverview. - Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format + UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format :return: The scheduled_at of this GetSmsCampaignOverview. :rtype: datetime @@ -200,7 +200,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this GetSmsCampaignOverview. - Date on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format + UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format :param scheduled_at: The scheduled_at of this GetSmsCampaignOverview. :type: datetime @@ -264,7 +264,7 @@ def sender(self, sender): def created_at(self): """ Gets the created_at of this GetSmsCampaignOverview. - Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetSmsCampaignOverview. :rtype: datetime @@ -275,7 +275,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetSmsCampaignOverview. - Creation date of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetSmsCampaignOverview. :type: datetime @@ -289,7 +289,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetSmsCampaignOverview. - Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetSmsCampaignOverview. :rtype: datetime @@ -300,7 +300,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetSmsCampaignOverview. - Date of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetSmsCampaignOverview. :type: datetime diff --git a/sib_api_v3_sdk/models/get_smtp_template_overview.py b/sib_api_v3_sdk/models/get_smtp_template_overview.py index 4de3321..e58d558 100644 --- a/sib_api_v3_sdk/models/get_smtp_template_overview.py +++ b/sib_api_v3_sdk/models/get_smtp_template_overview.py @@ -342,7 +342,7 @@ def html_content(self, html_content): def created_at(self): """ Gets the created_at of this GetSmtpTemplateOverview. - Creation date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetSmtpTemplateOverview. :rtype: datetime @@ -353,7 +353,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetSmtpTemplateOverview. - Creation date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetSmtpTemplateOverview. :type: datetime @@ -367,7 +367,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetSmtpTemplateOverview. - Last modification date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetSmtpTemplateOverview. :rtype: datetime @@ -378,7 +378,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetSmtpTemplateOverview. - Last modification date of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the template (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetSmtpTemplateOverview. :type: datetime diff --git a/sib_api_v3_sdk/models/get_webhook.py b/sib_api_v3_sdk/models/get_webhook.py index e57dec4..1b48955 100644 --- a/sib_api_v3_sdk/models/get_webhook.py +++ b/sib_api_v3_sdk/models/get_webhook.py @@ -204,7 +204,7 @@ def type(self, type): def created_at(self): """ Gets the created_at of this GetWebhook. - Creation date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The created_at of this GetWebhook. :rtype: datetime @@ -215,7 +215,7 @@ def created_at(self): def created_at(self, created_at): """ Sets the created_at of this GetWebhook. - Creation date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) + Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) :param created_at: The created_at of this GetWebhook. :type: datetime @@ -229,7 +229,7 @@ def created_at(self, created_at): def modified_at(self): """ Gets the modified_at of this GetWebhook. - Last modification date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The modified_at of this GetWebhook. :rtype: datetime @@ -240,7 +240,7 @@ def modified_at(self): def modified_at(self, modified_at): """ Sets the modified_at of this GetWebhook. - Last modification date of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) + Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ) :param modified_at: The modified_at of this GetWebhook. :type: datetime diff --git a/sib_api_v3_sdk/models/update_attribute_enumeration.py b/sib_api_v3_sdk/models/update_attribute_enumeration.py index 14de53f..89582c2 100644 --- a/sib_api_v3_sdk/models/update_attribute_enumeration.py +++ b/sib_api_v3_sdk/models/update_attribute_enumeration.py @@ -31,50 +31,50 @@ class UpdateAttributeEnumeration(object): and the value is json key in definition. """ swagger_types = { - 'id': 'int', + 'value': 'int', 'label': 'str' } attribute_map = { - 'id': 'id', + 'value': 'value', 'label': 'label' } - def __init__(self, id=None, label=None): + def __init__(self, value=None, label=None): """ UpdateAttributeEnumeration - a model defined in Swagger """ - self._id = None + self._value = None self._label = None - if id is not None: - self.id = id - if label is not None: - self.label = label + self.value = value + self.label = label @property - def id(self): + def value(self): """ - Gets the id of this UpdateAttributeEnumeration. + Gets the value of this UpdateAttributeEnumeration. Id of the value - :return: The id of this UpdateAttributeEnumeration. + :return: The value of this UpdateAttributeEnumeration. :rtype: int """ - return self._id + return self._value - @id.setter - def id(self, id): + @value.setter + def value(self, value): """ - Sets the id of this UpdateAttributeEnumeration. + Sets the value of this UpdateAttributeEnumeration. Id of the value - :param id: The id of this UpdateAttributeEnumeration. + :param value: The value of this UpdateAttributeEnumeration. :type: int """ + if value is None: + raise ValueError("Invalid value for `value`, must not be `None`") - self._id = id + self._value = value @property def label(self): @@ -96,6 +96,8 @@ def label(self, label): :param label: The label of this UpdateAttributeEnumeration. :type: str """ + if label is None: + raise ValueError("Invalid value for `label`, must not be `None`") self._label = label diff --git a/sib_api_v3_sdk/models/update_email_campaign.py b/sib_api_v3_sdk/models/update_email_campaign.py index a700cd8..69c7f23 100644 --- a/sib_api_v3_sdk/models/update_email_campaign.py +++ b/sib_api_v3_sdk/models/update_email_campaign.py @@ -245,7 +245,7 @@ def html_url(self, html_url): def scheduled_at(self): """ Gets the scheduled_at of this UpdateEmailCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this UpdateEmailCampaign. :rtype: datetime @@ -256,7 +256,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this UpdateEmailCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this UpdateEmailCampaign. :type: datetime diff --git a/sib_api_v3_sdk/models/update_sms_campaign.py b/sib_api_v3_sdk/models/update_sms_campaign.py index fe2c6ca..b62bb87 100644 --- a/sib_api_v3_sdk/models/update_sms_campaign.py +++ b/sib_api_v3_sdk/models/update_sms_campaign.py @@ -164,7 +164,7 @@ def recipients(self, recipients): def scheduled_at(self): """ Gets the scheduled_at of this UpdateSmsCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :return: The scheduled_at of this UpdateSmsCampaign. :rtype: datetime @@ -175,7 +175,7 @@ def scheduled_at(self): def scheduled_at(self, scheduled_at): """ Sets the scheduled_at of this UpdateSmsCampaign. - Date and time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) + UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ) :param scheduled_at: The scheduled_at of this UpdateSmsCampaign. :type: datetime