From b9df254922d85ed2d0ab57b1c4c36b50363f58c6 Mon Sep 17 00:00:00 2001 From: ekta-slt Date: Tue, 12 Sep 2017 11:12:59 +0530 Subject: [PATCH] Package rename & namespace update --- README.md | 8 +- autoload.php | 6 +- composer.json | 8 +- docs/Api/AccountApi.md | 12 +- docs/Api/AttributesApi.md | 32 +- docs/Api/ContactsApi.md | 262 ++++++----- docs/Api/EmailCampaignsApi.md | 102 +++-- docs/Api/FoldersApi.md | 62 +-- docs/Api/ListsApi.md | 100 +++-- docs/Api/ProcessApi.md | 22 +- docs/Api/ResellerApi.md | 100 +++-- docs/Api/SMSCampaignsApi.md | 106 +++-- docs/Api/SMTPApi.md | 124 +++--- docs/Api/SendersApi.md | 62 +-- docs/Api/TransactionalSMSApi.md | 46 +- docs/Api/WebhooksApi.md | 52 ++- docs/Model/AddCredits.md | 0 docs/Model/AddRemoveContactToList.md | 0 docs/Model/CreaUpdateFolder.md | 0 docs/Model/CreateAttribute.md | 2 +- docs/Model/CreateEmailCampaign.md | 4 +- docs/Model/CreateModel.md | 0 docs/Model/CreateSender.md | 2 +- docs/Model/CreateSmsCampaign.md | 4 +- docs/Model/CreateSmtpTemplate.md | 2 +- docs/Model/CreateWebhook.md | 0 docs/Model/ErrorModel.md | 0 docs/Model/GetAccount.md | 8 +- docs/Model/GetAccountRelay.md | 2 +- docs/Model/GetAttributes.md | 2 +- docs/Model/GetAttributesAttributes.md | 2 +- docs/Model/GetCampaignOverview.md | 2 +- docs/Model/GetCampaignRecipients.md | 4 +- docs/Model/GetChildInfo.md | 8 +- docs/Model/GetChildrenList.md | 0 docs/Model/GetContactCampaignStats.md | 16 +- docs/Model/GetContactCampaignStatsClicked.md | 2 +- .../GetContactCampaignStatsUnsubscriptions.md | 4 +- docs/Model/GetContactDetails.md | 2 +- docs/Model/GetContacts.md | 0 docs/Model/GetEmailCampaign.md | 8 +- docs/Model/GetEmailEventReport.md | 2 +- docs/Model/GetExtendedCampaignOverview.md | 8 +- docs/Model/GetExtendedCampaignStats.md | 4 +- docs/Model/GetExtendedClient.md | 2 +- docs/Model/GetExtendedContactDetails.md | 2 +- docs/Model/GetExtendedList.md | 4 +- docs/Model/GetExtendedListCampaignStats.md | 2 +- docs/Model/GetFolderLists.md | 0 docs/Model/GetFolders.md | 0 docs/Model/GetIp.md | 0 docs/Model/GetIpFromSender.md | 0 docs/Model/GetIps.md | 2 +- docs/Model/GetIpsFromSender.md | 2 +- docs/Model/GetLists.md | 2 +- docs/Model/GetListsLists.md | 2 +- docs/Model/GetProcesses.md | 2 +- docs/Model/GetReports.md | 2 +- docs/Model/GetSendersList.md | 2 +- docs/Model/GetSendersListSenders.md | 2 +- docs/Model/GetSmsCampaign.md | 6 +- docs/Model/GetSmsCampaignOverview.md | 6 +- docs/Model/GetSmsCampaigns.md | 0 docs/Model/GetSmsEventReport.md | 2 +- docs/Model/GetSmtpTemplateOverview.md | 6 +- docs/Model/GetSmtpTemplates.md | 2 +- docs/Model/GetStatsByDomain.md | 0 docs/Model/GetTransacSmsReport.md | 2 +- docs/Model/GetWebhook.md | 4 +- docs/Model/GetWebhooks.md | 0 docs/Model/PostContactInfo.md | 2 +- docs/Model/RemainingCreditModel.md | 4 +- docs/Model/RemoveCredits.md | 0 docs/Model/RequestContactImport.md | 2 +- docs/Model/SendEmail.md | 2 +- docs/Model/SendReport.md | 2 +- docs/Model/SendSms.md | 0 docs/Model/SendSmtpEmail.md | 12 +- docs/Model/UpdateCampaignStatus.md | 0 docs/Model/UpdateEmailCampaign.md | 6 +- docs/Model/UpdateSender.md | 2 +- docs/Model/UpdateSmsCampaign.md | 4 +- docs/Model/UpdateSmtpTemplate.md | 2 +- docs/Model/UpdateWebhook.md | 0 lib/Api/AccountApi.php | 40 +- lib/Api/AttributesApi.php | 68 +-- lib/Api/ContactsApi.php | 420 +++++++++--------- lib/Api/EmailCampaignsApi.php | 168 +++---- lib/Api/FoldersApi.php | 118 ++--- lib/Api/ListsApi.php | 180 ++++---- lib/Api/ProcessApi.php | 60 +-- lib/Api/ResellerApi.php | 180 ++++---- lib/Api/SMSCampaignsApi.php | 172 +++---- lib/Api/SMTPApi.php | 204 ++++----- lib/Api/SendersApi.php | 114 ++--- lib/Api/TransactionalSMSApi.php | 96 ++-- lib/Api/WebhooksApi.php | 100 ++--- lib/ApiClient.php | 12 +- lib/ApiException.php | 6 +- lib/Configuration.php | 8 +- lib/Model/AddCredits.php | 10 +- lib/Model/AddRemoveContactToList.php | 10 +- lib/Model/CreaUpdateFolder.php | 10 +- lib/Model/CreateAttribute.php | 16 +- lib/Model/CreateAttributeEnumemaration.php | 10 +- lib/Model/CreateChild.php | 10 +- lib/Model/CreateContact.php | 10 +- lib/Model/CreateEmailCampaign.php | 32 +- lib/Model/CreateEmailCampaignRecipients.php | 10 +- lib/Model/CreateEmailCampaignSender.php | 10 +- lib/Model/CreateList.php | 10 +- lib/Model/CreateModel.php | 10 +- lib/Model/CreateSender.php | 16 +- lib/Model/CreateSenderIps.php | 10 +- lib/Model/CreateSenderModel.php | 10 +- lib/Model/CreateSmsCampaign.php | 28 +- lib/Model/CreateSmsCampaignRecipients.php | 10 +- lib/Model/CreateSmtpEmail.php | 10 +- lib/Model/CreateSmtpTemplate.php | 16 +- lib/Model/CreateSmtpTemplateSender.php | 10 +- lib/Model/CreateWebhook.php | 10 +- lib/Model/CreatedProcessId.php | 10 +- lib/Model/DeleteHardbounces.php | 10 +- lib/Model/EmailExportRecipients.php | 10 +- lib/Model/ErrorModel.php | 14 +- lib/Model/GetAccount.php | 34 +- lib/Model/GetAccountMarketingAutomation.php | 10 +- lib/Model/GetAccountPlan.php | 10 +- lib/Model/GetAccountRelay.php | 16 +- lib/Model/GetAccountRelayData.php | 10 +- lib/Model/GetAggregatedReport.php | 10 +- lib/Model/GetAttributes.php | 16 +- lib/Model/GetAttributesAttributes.php | 16 +- lib/Model/GetAttributesEnumeration.php | 10 +- lib/Model/GetCampaignOverview.php | 28 +- lib/Model/GetCampaignRecipients.php | 22 +- .../GetCampaignRecipientsExclusionLists.php | 10 +- lib/Model/GetCampaignRecipientsLists.php | 10 +- lib/Model/GetCampaignStats.php | 10 +- lib/Model/GetChildInfo.php | 34 +- lib/Model/GetChildInfoApiKeys.php | 10 +- lib/Model/GetChildInfoCredits.php | 10 +- lib/Model/GetChildInfoIps.php | 10 +- lib/Model/GetChildInfoStatistics.php | 10 +- lib/Model/GetChildrenList.php | 10 +- lib/Model/GetClient.php | 10 +- lib/Model/GetContactCampaignStats.php | 58 +-- lib/Model/GetContactCampaignStatsClicked.php | 16 +- lib/Model/GetContactCampaignStatsLinks.php | 10 +- .../GetContactCampaignStatsMessagesSent.php | 10 +- lib/Model/GetContactCampaignStatsOpened.php | 10 +- ...tContactCampaignStatsTransacAttributes.php | 10 +- ...GetContactCampaignStatsUnsubscriptions.php | 22 +- ...tatsUnsubscriptionsAdminUnsubscription.php | 10 +- ...StatsUnsubscriptionsUserUnsubscription.php | 10 +- lib/Model/GetContactDetails.php | 30 +- lib/Model/GetContacts.php | 10 +- lib/Model/GetEmailCampaign.php | 58 ++- lib/Model/GetEmailCampaigns.php | 10 +- lib/Model/GetEmailEventReport.php | 16 +- lib/Model/GetEmailEventReportEvents.php | 10 +- lib/Model/GetExtendedCampaignOverview.php | 58 ++- .../GetExtendedCampaignOverviewSender.php | 10 +- lib/Model/GetExtendedCampaignStats.php | 22 +- .../GetExtendedCampaignStatsLinksStats.php | 10 +- lib/Model/GetExtendedClient.php | 16 +- lib/Model/GetExtendedClientAddress.php | 10 +- lib/Model/GetExtendedContactDetails.php | 30 +- lib/Model/GetExtendedList.php | 36 +- lib/Model/GetExtendedListCampaignStats.php | 16 +- lib/Model/GetFolder.php | 10 +- lib/Model/GetFolderLists.php | 10 +- lib/Model/GetFolders.php | 10 +- lib/Model/GetIp.php | 10 +- lib/Model/GetIpFromSender.php | 10 +- lib/Model/GetIps.php | 16 +- lib/Model/GetIpsFromSender.php | 16 +- lib/Model/GetList.php | 10 +- lib/Model/GetLists.php | 16 +- lib/Model/GetListsFolder.php | 10 +- lib/Model/GetListsLists.php | 16 +- lib/Model/GetProcess.php | 10 +- lib/Model/GetProcesses.php | 16 +- lib/Model/GetReports.php | 16 +- lib/Model/GetReportsReports.php | 10 +- lib/Model/GetSendersList.php | 16 +- lib/Model/GetSendersListIps.php | 10 +- lib/Model/GetSendersListSenders.php | 16 +- lib/Model/GetSmsCampaign.php | 46 +- lib/Model/GetSmsCampaignOverview.php | 46 +- lib/Model/GetSmsCampaignStats.php | 10 +- lib/Model/GetSmsCampaigns.php | 10 +- lib/Model/GetSmsEventReport.php | 16 +- lib/Model/GetSmsEventReportEvents.php | 10 +- lib/Model/GetSmtpTemplateOverview.php | 40 +- lib/Model/GetSmtpTemplateOverviewSender.php | 10 +- lib/Model/GetSmtpTemplates.php | 16 +- lib/Model/GetStatsByDomain.php | 10 +- lib/Model/GetTransacAggregatedSmsReport.php | 10 +- lib/Model/GetTransacSmsReport.php | 16 +- lib/Model/GetTransacSmsReportReports.php | 10 +- lib/Model/GetWebhook.php | 50 ++- lib/Model/GetWebhooks.php | 10 +- lib/Model/ManageIp.php | 10 +- lib/Model/PostContactInfo.php | 16 +- lib/Model/PostContactInfoContacts.php | 10 +- lib/Model/PostSendFailed.php | 10 +- lib/Model/PostSendSmsTestFailed.php | 10 +- lib/Model/RemainingCreditModel.php | 22 +- lib/Model/RemainingCreditModelChild.php | 10 +- lib/Model/RemainingCreditModelReseller.php | 10 +- lib/Model/RemoveCredits.php | 10 +- lib/Model/RequestContactExport.php | 10 +- lib/Model/RequestContactImport.php | 16 +- lib/Model/RequestContactImportNewList.php | 10 +- lib/Model/RequestSMSRecipientExport.php | 10 +- lib/Model/SendEmail.php | 16 +- lib/Model/SendEmailAttachment.php | 10 +- lib/Model/SendReport.php | 16 +- lib/Model/SendReportEmail.php | 10 +- lib/Model/SendSms.php | 10 +- lib/Model/SendSmtpEmail.php | 46 +- lib/Model/SendSmtpEmailAttachment.php | 10 +- lib/Model/SendSmtpEmailBcc.php | 10 +- lib/Model/SendSmtpEmailCc.php | 10 +- lib/Model/SendSmtpEmailReplyTo.php | 10 +- lib/Model/SendSmtpEmailSender.php | 10 +- lib/Model/SendSmtpEmailTo.php | 10 +- lib/Model/SendTemplateEmail.php | 10 +- lib/Model/SendTestEmail.php | 10 +- lib/Model/SendTestSms.php | 10 +- lib/Model/SendTransacSms.php | 10 +- lib/Model/UpdateCampaignStatus.php | 10 +- lib/Model/UpdateChild.php | 10 +- lib/Model/UpdateContact.php | 10 +- lib/Model/UpdateEmailCampaign.php | 34 +- lib/Model/UpdateEmailCampaignRecipients.php | 10 +- lib/Model/UpdateEmailCampaignSender.php | 10 +- lib/Model/UpdateList.php | 10 +- lib/Model/UpdateSender.php | 16 +- lib/Model/UpdateSmsCampaign.php | 28 +- lib/Model/UpdateSmtpTemplate.php | 16 +- lib/Model/UpdateSmtpTemplateSender.php | 10 +- lib/Model/UpdateWebhook.php | 10 +- lib/ObjectSerializer.php | 8 +- test/Api/AccountApiTest.php | 14 +- test/Api/AttributesApiTest.php | 14 +- test/Api/ContactsApiTest.php | 14 +- test/Api/EmailCampaignsApiTest.php | 14 +- test/Api/FoldersApiTest.php | 14 +- test/Api/ListsApiTest.php | 14 +- test/Api/ProcessApiTest.php | 14 +- test/Api/ResellerApiTest.php | 14 +- test/Api/SMSCampaignsApiTest.php | 14 +- test/Api/SMTPApiTest.php | 14 +- test/Api/SendersApiTest.php | 14 +- test/Api/TransactionalSMSApiTest.php | 14 +- test/Api/WebhooksApiTest.php | 14 +- test/Model/AddCreditsTest.php | 6 +- test/Model/AddRemoveContactToListTest.php | 6 +- test/Model/CreaUpdateFolderTest.php | 6 +- .../CreateAttributeEnumemarationTest.php | 6 +- test/Model/CreateAttributeTest.php | 6 +- test/Model/CreateChildTest.php | 6 +- test/Model/CreateContactTest.php | 6 +- .../CreateEmailCampaignRecipientsTest.php | 6 +- test/Model/CreateEmailCampaignSenderTest.php | 6 +- test/Model/CreateEmailCampaignTest.php | 6 +- test/Model/CreateListTest.php | 6 +- test/Model/CreateModelTest.php | 6 +- test/Model/CreateSenderIpsTest.php | 6 +- test/Model/CreateSenderModelTest.php | 6 +- test/Model/CreateSenderTest.php | 6 +- .../Model/CreateSmsCampaignRecipientsTest.php | 6 +- test/Model/CreateSmsCampaignTest.php | 6 +- test/Model/CreateSmtpEmailTest.php | 6 +- test/Model/CreateSmtpTemplateSenderTest.php | 6 +- test/Model/CreateSmtpTemplateTest.php | 6 +- test/Model/CreateWebhookTest.php | 6 +- test/Model/CreatedProcessIdTest.php | 6 +- test/Model/DeleteHardbouncesTest.php | 6 +- test/Model/EmailExportRecipientsTest.php | 6 +- test/Model/ErrorModelTest.php | 6 +- .../GetAccountMarketingAutomationTest.php | 6 +- test/Model/GetAccountPlanTest.php | 6 +- test/Model/GetAccountRelayDataTest.php | 6 +- test/Model/GetAccountRelayTest.php | 6 +- test/Model/GetAccountTest.php | 6 +- test/Model/GetAggregatedReportTest.php | 6 +- test/Model/GetAttributesAttributesTest.php | 6 +- test/Model/GetAttributesEnumerationTest.php | 6 +- test/Model/GetAttributesTest.php | 6 +- test/Model/GetCampaignOverviewTest.php | 6 +- ...etCampaignRecipientsExclusionListsTest.php | 6 +- test/Model/GetCampaignRecipientsListsTest.php | 6 +- test/Model/GetCampaignRecipientsTest.php | 6 +- test/Model/GetCampaignStatsTest.php | 6 +- test/Model/GetChildInfoApiKeysTest.php | 6 +- test/Model/GetChildInfoCreditsTest.php | 6 +- test/Model/GetChildInfoIpsTest.php | 6 +- test/Model/GetChildInfoStatisticsTest.php | 6 +- test/Model/GetChildInfoTest.php | 6 +- test/Model/GetChildrenListTest.php | 6 +- test/Model/GetClientTest.php | 6 +- .../GetContactCampaignStatsClickedTest.php | 6 +- .../GetContactCampaignStatsLinksTest.php | 6 +- ...etContactCampaignStatsMessagesSentTest.php | 6 +- .../GetContactCampaignStatsOpenedTest.php | 6 +- test/Model/GetContactCampaignStatsTest.php | 6 +- ...tactCampaignStatsTransacAttributesTest.php | 6 +- ...UnsubscriptionsAdminUnsubscriptionTest.php | 6 +- ...ontactCampaignStatsUnsubscriptionsTest.php | 6 +- ...sUnsubscriptionsUserUnsubscriptionTest.php | 6 +- test/Model/GetContactDetailsTest.php | 6 +- test/Model/GetContactsTest.php | 6 +- test/Model/GetEmailCampaignTest.php | 6 +- test/Model/GetEmailCampaignsTest.php | 6 +- test/Model/GetEmailEventReportEventsTest.php | 6 +- test/Model/GetEmailEventReportTest.php | 6 +- .../GetExtendedCampaignOverviewSenderTest.php | 6 +- .../Model/GetExtendedCampaignOverviewTest.php | 6 +- ...GetExtendedCampaignStatsLinksStatsTest.php | 6 +- test/Model/GetExtendedCampaignStatsTest.php | 6 +- test/Model/GetExtendedClientAddressTest.php | 6 +- test/Model/GetExtendedClientTest.php | 6 +- test/Model/GetExtendedContactDetailsTest.php | 6 +- .../GetExtendedListCampaignStatsTest.php | 6 +- test/Model/GetExtendedListTest.php | 6 +- test/Model/GetFolderListsTest.php | 6 +- test/Model/GetFolderTest.php | 6 +- test/Model/GetFoldersTest.php | 6 +- test/Model/GetIpFromSenderTest.php | 6 +- test/Model/GetIpTest.php | 6 +- test/Model/GetIpsFromSenderTest.php | 6 +- test/Model/GetIpsTest.php | 6 +- test/Model/GetListTest.php | 6 +- test/Model/GetListsFolderTest.php | 6 +- test/Model/GetListsListsTest.php | 6 +- test/Model/GetListsTest.php | 6 +- test/Model/GetProcessTest.php | 6 +- test/Model/GetProcessesTest.php | 6 +- test/Model/GetReportsReportsTest.php | 6 +- test/Model/GetReportsTest.php | 6 +- test/Model/GetSendersListIpsTest.php | 6 +- test/Model/GetSendersListSendersTest.php | 6 +- test/Model/GetSendersListTest.php | 6 +- test/Model/GetSmsCampaignOverviewTest.php | 6 +- test/Model/GetSmsCampaignStatsTest.php | 6 +- test/Model/GetSmsCampaignTest.php | 6 +- test/Model/GetSmsCampaignsTest.php | 6 +- test/Model/GetSmsEventReportEventsTest.php | 6 +- test/Model/GetSmsEventReportTest.php | 6 +- .../GetSmtpTemplateOverviewSenderTest.php | 6 +- test/Model/GetSmtpTemplateOverviewTest.php | 6 +- test/Model/GetSmtpTemplatesTest.php | 6 +- test/Model/GetStatsByDomainTest.php | 6 +- .../GetTransacAggregatedSmsReportTest.php | 6 +- test/Model/GetTransacSmsReportReportsTest.php | 6 +- test/Model/GetTransacSmsReportTest.php | 6 +- test/Model/GetWebhookTest.php | 6 +- test/Model/GetWebhooksTest.php | 6 +- test/Model/ManageIpTest.php | 6 +- test/Model/PostContactInfoContactsTest.php | 6 +- test/Model/PostContactInfoTest.php | 6 +- test/Model/PostSendFailedTest.php | 6 +- test/Model/PostSendSmsTestFailedTest.php | 6 +- test/Model/RemainingCreditModelChildTest.php | 6 +- .../RemainingCreditModelResellerTest.php | 6 +- test/Model/RemainingCreditModelTest.php | 6 +- test/Model/RemoveCreditsTest.php | 6 +- test/Model/RequestContactExportTest.php | 6 +- .../Model/RequestContactImportNewListTest.php | 6 +- test/Model/RequestContactImportTest.php | 6 +- test/Model/RequestSMSRecipientExportTest.php | 6 +- test/Model/SendEmailAttachmentTest.php | 6 +- test/Model/SendEmailTest.php | 6 +- test/Model/SendReportEmailTest.php | 6 +- test/Model/SendReportTest.php | 6 +- test/Model/SendSmsTest.php | 6 +- test/Model/SendSmtpEmailAttachmentTest.php | 6 +- test/Model/SendSmtpEmailBccTest.php | 6 +- test/Model/SendSmtpEmailCcTest.php | 6 +- test/Model/SendSmtpEmailReplyToTest.php | 6 +- test/Model/SendSmtpEmailSenderTest.php | 6 +- test/Model/SendSmtpEmailTest.php | 6 +- test/Model/SendSmtpEmailToTest.php | 6 +- test/Model/SendTemplateEmailTest.php | 6 +- test/Model/SendTestEmailTest.php | 6 +- test/Model/SendTestSmsTest.php | 6 +- test/Model/SendTransacSmsTest.php | 6 +- test/Model/UpdateCampaignStatusTest.php | 6 +- test/Model/UpdateChildTest.php | 6 +- test/Model/UpdateContactTest.php | 6 +- .../UpdateEmailCampaignRecipientsTest.php | 6 +- test/Model/UpdateEmailCampaignSenderTest.php | 6 +- test/Model/UpdateEmailCampaignTest.php | 6 +- test/Model/UpdateListTest.php | 6 +- test/Model/UpdateSenderTest.php | 6 +- test/Model/UpdateSmsCampaignTest.php | 6 +- test/Model/UpdateSmtpTemplateSenderTest.php | 6 +- test/Model/UpdateSmtpTemplateTest.php | 6 +- test/Model/UpdateWebhookTest.php | 6 +- 402 files changed, 3361 insertions(+), 3113 deletions(-) mode change 100755 => 100644 docs/Model/AddCredits.md mode change 100755 => 100644 docs/Model/AddRemoveContactToList.md mode change 100755 => 100644 docs/Model/CreaUpdateFolder.md mode change 100755 => 100644 docs/Model/CreateAttribute.md mode change 100755 => 100644 docs/Model/CreateModel.md mode change 100755 => 100644 docs/Model/CreateSender.md mode change 100755 => 100644 docs/Model/CreateWebhook.md mode change 100755 => 100644 docs/Model/ErrorModel.md mode change 100755 => 100644 docs/Model/GetAttributes.md mode change 100755 => 100644 docs/Model/GetChildrenList.md mode change 100755 => 100644 docs/Model/GetContacts.md mode change 100755 => 100644 docs/Model/GetEmailEventReport.md mode change 100755 => 100644 docs/Model/GetFolderLists.md mode change 100755 => 100644 docs/Model/GetFolders.md mode change 100755 => 100644 docs/Model/GetIp.md mode change 100755 => 100644 docs/Model/GetIpFromSender.md mode change 100755 => 100644 docs/Model/GetIps.md mode change 100755 => 100644 docs/Model/GetIpsFromSender.md mode change 100755 => 100644 docs/Model/GetLists.md mode change 100755 => 100644 docs/Model/GetProcesses.md mode change 100755 => 100644 docs/Model/GetReports.md mode change 100755 => 100644 docs/Model/GetSendersList.md mode change 100755 => 100644 docs/Model/GetSmsCampaigns.md mode change 100755 => 100644 docs/Model/GetSmsEventReport.md mode change 100755 => 100644 docs/Model/GetSmtpTemplates.md mode change 100755 => 100644 docs/Model/GetStatsByDomain.md mode change 100755 => 100644 docs/Model/GetTransacSmsReport.md mode change 100755 => 100644 docs/Model/GetWebhooks.md mode change 100755 => 100644 docs/Model/PostContactInfo.md mode change 100755 => 100644 docs/Model/RemainingCreditModel.md mode change 100755 => 100644 docs/Model/RemoveCredits.md mode change 100755 => 100644 docs/Model/SendReport.md mode change 100755 => 100644 docs/Model/SendSms.md mode change 100755 => 100644 docs/Model/UpdateCampaignStatus.md mode change 100755 => 100644 docs/Model/UpdateSender.md mode change 100755 => 100644 docs/Model/UpdateWebhook.md mode change 100755 => 100644 lib/Api/AccountApi.php mode change 100755 => 100644 lib/Model/AddCredits.php mode change 100755 => 100644 lib/Model/AddRemoveContactToList.php mode change 100755 => 100644 lib/Model/CreaUpdateFolder.php mode change 100755 => 100644 lib/Model/CreateAttribute.php mode change 100755 => 100644 lib/Model/CreateModel.php mode change 100755 => 100644 lib/Model/CreateWebhook.php mode change 100755 => 100644 lib/Model/ErrorModel.php mode change 100755 => 100644 lib/Model/GetIp.php mode change 100755 => 100644 lib/Model/GetIpFromSender.php mode change 100755 => 100644 lib/Model/GetStatsByDomain.php mode change 100755 => 100644 lib/Model/RemoveCredits.php mode change 100755 => 100644 lib/Model/SendSms.php mode change 100755 => 100644 lib/Model/UpdateCampaignStatus.php mode change 100755 => 100644 lib/Model/UpdateWebhook.php mode change 100755 => 100644 test/Api/AccountApiTest.php mode change 100755 => 100644 test/Api/AttributesApiTest.php mode change 100755 => 100644 test/Api/ContactsApiTest.php mode change 100755 => 100644 test/Api/EmailCampaignsApiTest.php mode change 100755 => 100644 test/Api/FoldersApiTest.php mode change 100755 => 100644 test/Api/ListsApiTest.php mode change 100755 => 100644 test/Api/ProcessApiTest.php mode change 100755 => 100644 test/Api/ResellerApiTest.php mode change 100755 => 100644 test/Api/SMSCampaignsApiTest.php mode change 100755 => 100644 test/Api/SMTPApiTest.php mode change 100755 => 100644 test/Api/SendersApiTest.php mode change 100755 => 100644 test/Api/TransactionalSMSApiTest.php mode change 100755 => 100644 test/Api/WebhooksApiTest.php diff --git a/README.md b/README.md index 74e4c7ea..ccbe7683 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ To install the bindings via [Composer](http://getcomposer.org/), add the followi } ], "require": { - "sendinblue/sendinblue-apiv3": "*@dev" + "sendinblue/api-v3-sdk": "*@dev" } } ``` @@ -63,9 +63,11 @@ Please follow the [installation procedure](#installation--usage) and then run th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\AccountApi(); +$api_instance = new Sendinblue\Client\Api\AccountApi(); try { $result = $api_instance->getAccount(); diff --git a/autoload.php b/autoload.php index 9a0da045..f27e989e 100755 --- a/autoload.php +++ b/autoload.php @@ -15,10 +15,10 @@ * An example of a project-specific implementation. * * After registering this autoload function with SPL, the following line - * would cause the function to attempt to load the \Swagger\Client\Baz\Qux class + * would cause the function to attempt to load the \Sendinblue\Client\Baz\Qux class * from /path/to/project/lib/Baz/Qux.php: * - * new \Swagger\Client\Baz\Qux; + * new \Sendinblue\Client\Baz\Qux; * * @param string $class The fully-qualified class name. * @@ -27,7 +27,7 @@ spl_autoload_register(function ($class) { // project-specific namespace prefix - $prefix = 'Swagger\\Client\\'; + $prefix = 'Sendinblue\\Client\\'; // base directory for the namespace prefix $base_dir = __DIR__ . '/lib/'; diff --git a/composer.json b/composer.json index 980387fd..ef5d4179 100755 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "sendinblue/sendinblue-apiv3", + "name": "sendinblue/api-v3-sdk", "description": "Official SendinBlue provided RESTFul API V3 php library", "keywords": [ "sendinblue", @@ -30,14 +30,14 @@ "friendsofphp/php-cs-fixer": "~1.12" }, "autoload": { - "psr-4": { "Swagger\\Client\\" : "lib/" } + "psr-4": { "Sendinblue\\Client\\" : "lib/" } }, "autoload-dev": { - "psr-4": { "Swagger\\Client\\" : "test/" } + "psr-4": { "Sendinblue\\Client\\" : "test/" } }, "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } } } diff --git a/docs/Api/AccountApi.md b/docs/Api/AccountApi.md index 01943c26..b0f92d92 100644 --- a/docs/Api/AccountApi.md +++ b/docs/Api/AccountApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\AccountApi +# Sendinblue\Client\AccountApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -8,7 +8,7 @@ Method | HTTP request | Description # **getAccount** -> \Swagger\Client\Model\GetAccount getAccount() +> \Sendinblue\Client\Model\GetAccount getAccount() Get your account informations, plans and credits details @@ -18,9 +18,11 @@ Get your account informations, plans and credits details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\AccountApi(); +$api_instance = new Sendinblue\Client\Api\AccountApi(); try { $result = $api_instance->getAccount(); @@ -36,7 +38,7 @@ This endpoint does not need any parameter. ### Return type -[**\Swagger\Client\Model\GetAccount**](../Model/GetAccount.md) +[**\Sendinblue\Client\Model\GetAccount**](../Model/GetAccount.md) ### Authorization diff --git a/docs/Api/AttributesApi.md b/docs/Api/AttributesApi.md index 41f80f35..6f637c1e 100644 --- a/docs/Api/AttributesApi.md +++ b/docs/Api/AttributesApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\AttributesApi +# Sendinblue\Client\AttributesApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -10,7 +10,7 @@ Method | HTTP request | Description # **createAttribute** -> \Swagger\Client\Model\CreateModel createAttribute($createAttribute) +> \Sendinblue\Client\Model\CreateModel createAttribute($createAttribute) Creates contact attributes @@ -20,10 +20,12 @@ Creates contact attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\AttributesApi(); -$createAttribute = new \Swagger\Client\Model\CreateAttribute(); // \Swagger\Client\Model\CreateAttribute | Values to create an attribute +$api_instance = new Sendinblue\Client\Api\AttributesApi(); +$createAttribute = new \Sendinblue\Client\Model\CreateAttribute(); // \Sendinblue\Client\Model\CreateAttribute | Values to create an attribute try { $result = $api_instance->createAttribute($createAttribute); @@ -38,11 +40,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createAttribute** | [**\Swagger\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | + **createAttribute** | [**\Sendinblue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -66,9 +68,11 @@ Deletes an attribute require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\AttributesApi(); +$api_instance = new Sendinblue\Client\Api\AttributesApi(); $attributeId = "attributeId_example"; // string | id of the attribute try { @@ -101,7 +105,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAttributes** -> \Swagger\Client\Model\GetAttributes getAttributes() +> \Sendinblue\Client\Model\GetAttributes getAttributes() Lists all attributes @@ -111,9 +115,11 @@ Lists all attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\AttributesApi(); +$api_instance = new Sendinblue\Client\Api\AttributesApi(); try { $result = $api_instance->getAttributes(); @@ -129,7 +135,7 @@ This endpoint does not need any parameter. ### Return type -[**\Swagger\Client\Model\GetAttributes**](../Model/GetAttributes.md) +[**\Sendinblue\Client\Model\GetAttributes**](../Model/GetAttributes.md) ### Authorization diff --git a/docs/Api/ContactsApi.md b/docs/Api/ContactsApi.md index a485de4f..b3c7bb1a 100644 --- a/docs/Api/ContactsApi.md +++ b/docs/Api/ContactsApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\ContactsApi +# Sendinblue\Client\ContactsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -31,7 +31,7 @@ Method | HTTP request | Description # **addContactToList** -> \Swagger\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) +> \Sendinblue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) Add existing contacts to a list @@ -41,11 +41,13 @@ Add existing contacts to a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Swagger\Client\Model\AddRemoveContactToList(); // \Swagger\Client\Model\AddRemoveContactToList | Emails addresses of the contacts +$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts try { $result = $api_instance->addContactToList($listId, $contactEmails); @@ -61,11 +63,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Swagger\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | + **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | ### Return type -[**\Swagger\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -79,7 +81,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createAttribute** -> \Swagger\Client\Model\CreateModel createAttribute($createAttribute) +> \Sendinblue\Client\Model\CreateModel createAttribute($createAttribute) Creates contact attributes @@ -89,10 +91,12 @@ Creates contact attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$createAttribute = new \Swagger\Client\Model\CreateAttribute(); // \Swagger\Client\Model\CreateAttribute | Values to create an attribute +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$createAttribute = new \Sendinblue\Client\Model\CreateAttribute(); // \Sendinblue\Client\Model\CreateAttribute | Values to create an attribute try { $result = $api_instance->createAttribute($createAttribute); @@ -107,11 +111,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createAttribute** | [**\Swagger\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | + **createAttribute** | [**\Sendinblue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -125,7 +129,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createContact** -> \Swagger\Client\Model\CreateModel createContact($createContact) +> \Sendinblue\Client\Model\CreateModel createContact($createContact) Create a contact @@ -135,10 +139,12 @@ Create a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$createContact = new \Swagger\Client\Model\CreateContact(); // \Swagger\Client\Model\CreateContact | Values to create a contact +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$createContact = new \Sendinblue\Client\Model\CreateContact(); // \Sendinblue\Client\Model\CreateContact | Values to create a contact try { $result = $api_instance->createContact($createContact); @@ -153,11 +159,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createContact** | [**\Swagger\Client\Model\CreateContact**](../Model/CreateContact.md)| Values to create a contact | + **createContact** | [**\Sendinblue\Client\Model\CreateContact**](../Model/CreateContact.md)| Values to create a contact | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -171,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createFolder** -> \Swagger\Client\Model\CreateModel createFolder($name) +> \Sendinblue\Client\Model\CreateModel createFolder($name) Create a folder @@ -181,10 +187,12 @@ Create a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$name = new \Swagger\Client\Model\CreaUpdateFolder(); // \Swagger\Client\Model\CreaUpdateFolder | Name of the folder +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder try { $result = $api_instance->createFolder($name); @@ -199,11 +207,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**\Swagger\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -217,7 +225,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createList** -> \Swagger\Client\Model\CreateModel createList($createList) +> \Sendinblue\Client\Model\CreateModel createList($createList) Create a list @@ -227,10 +235,12 @@ Create a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$createList = new \Swagger\Client\Model\CreateList(); // \Swagger\Client\Model\CreateList | Values to create a list +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$createList = new \Sendinblue\Client\Model\CreateList(); // \Sendinblue\Client\Model\CreateList | Values to create a list try { $result = $api_instance->createList($createList); @@ -245,11 +255,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createList** | [**\Swagger\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | + **createList** | [**\Sendinblue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -273,9 +283,11 @@ Deletes an attribute require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $attributeId = "attributeId_example"; // string | id of the attribute try { @@ -318,9 +330,11 @@ Delete a folder (and all its lists) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder try { @@ -363,9 +377,11 @@ Delete a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -398,7 +414,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAttributes** -> \Swagger\Client\Model\GetAttributes getAttributes() +> \Sendinblue\Client\Model\GetAttributes getAttributes() Lists all attributes @@ -408,9 +424,11 @@ Lists all attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); try { $result = $api_instance->getAttributes(); @@ -426,7 +444,7 @@ This endpoint does not need any parameter. ### Return type -[**\Swagger\Client\Model\GetAttributes**](../Model/GetAttributes.md) +[**\Sendinblue\Client\Model\GetAttributes**](../Model/GetAttributes.md) ### Authorization @@ -440,7 +458,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactInfo** -> \Swagger\Client\Model\GetExtendedContactDetails getContactInfo($email) +> \Sendinblue\Client\Model\GetExtendedContactDetails getContactInfo($email) Retrieves contact informations @@ -450,9 +468,11 @@ Retrieves contact informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email (urlencoded) of the contact try { @@ -472,7 +492,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetExtendedContactDetails**](../Model/GetExtendedContactDetails.md) +[**\Sendinblue\Client\Model\GetExtendedContactDetails**](../Model/GetExtendedContactDetails.md) ### Authorization @@ -486,7 +506,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactStats** -> \Swagger\Client\Model\GetContactCampaignStats getContactStats($email) +> \Sendinblue\Client\Model\GetContactCampaignStats getContactStats($email) Get the campaigns statistics for a contact @@ -496,9 +516,11 @@ Get the campaigns statistics for a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email address (urlencoded) of the contact try { @@ -518,7 +540,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetContactCampaignStats**](../Model/GetContactCampaignStats.md) +[**\Sendinblue\Client\Model\GetContactCampaignStats**](../Model/GetContactCampaignStats.md) ### Authorization @@ -532,7 +554,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContacts** -> \Swagger\Client\Model\GetContacts getContacts($limit, $offset) +> \Sendinblue\Client\Model\GetContacts getContacts($limit, $offset) Get all the contacts @@ -542,9 +564,11 @@ Get all the contacts require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $limit = 50; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -566,7 +590,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -580,7 +604,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactsFromList** -> \Swagger\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) +> \Sendinblue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) Get the contacts in a list @@ -590,9 +614,11 @@ Get the contacts in a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list $modifiedSince = "modifiedSince_example"; // string | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) $limit = 50; // int | Number of documents per page @@ -618,7 +644,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -632,7 +658,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolder** -> \Swagger\Client\Model\GetFolder getFolder($folderId) +> \Sendinblue\Client\Model\GetFolder getFolder($folderId) Returns folder details @@ -642,9 +668,11 @@ Returns folder details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | id of the folder try { @@ -664,7 +692,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolder**](../Model/GetFolder.md) +[**\Sendinblue\Client\Model\GetFolder**](../Model/GetFolder.md) ### Authorization @@ -678,7 +706,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Swagger\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -688,9 +716,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -714,7 +744,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -728,7 +758,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolders** -> \Swagger\Client\Model\GetFolders getFolders($limit, $offset) +> \Sendinblue\Client\Model\GetFolders getFolders($limit, $offset) Get all the folders @@ -738,9 +768,11 @@ Get all the folders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -762,7 +794,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolders**](../Model/GetFolders.md) +[**\Sendinblue\Client\Model\GetFolders**](../Model/GetFolders.md) ### Authorization @@ -776,7 +808,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getList** -> \Swagger\Client\Model\GetExtendedList getList($listId) +> \Sendinblue\Client\Model\GetExtendedList getList($listId) Get the details of a list @@ -786,9 +818,11 @@ Get the details of a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -808,7 +842,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) +[**\Sendinblue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) ### Authorization @@ -822,7 +856,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getLists** -> \Swagger\Client\Model\GetLists getLists($limit, $offset) +> \Sendinblue\Client\Model\GetLists getLists($limit, $offset) Get all the lists @@ -832,9 +866,11 @@ Get all the lists require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -856,7 +892,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetLists**](../Model/GetLists.md) +[**\Sendinblue\Client\Model\GetLists**](../Model/GetLists.md) ### Authorization @@ -870,7 +906,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **importContacts** -> \Swagger\Client\Model\CreatedProcessId importContacts($requestContactImport) +> \Sendinblue\Client\Model\CreatedProcessId importContacts($requestContactImport) Import contacts @@ -882,10 +918,12 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$requestContactImport = new \Swagger\Client\Model\RequestContactImport(); // \Swagger\Client\Model\RequestContactImport | Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$requestContactImport = new \Sendinblue\Client\Model\RequestContactImport(); // \Sendinblue\Client\Model\RequestContactImport | Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` try { $result = $api_instance->importContacts($requestContactImport); @@ -900,11 +938,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requestContactImport** | [**\Swagger\Client\Model\RequestContactImport**](../Model/RequestContactImport.md)| Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` | + **requestContactImport** | [**\Sendinblue\Client\Model\RequestContactImport**](../Model/RequestContactImport.md)| Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` | ### Return type -[**\Swagger\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -918,7 +956,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeContactToList** -> \Swagger\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) +> \Sendinblue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) Remove existing contacts from a list @@ -928,11 +966,13 @@ Remove existing contacts from a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Swagger\Client\Model\AddRemoveContactToList(); // \Swagger\Client\Model\AddRemoveContactToList | Emails adresses of the contact +$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails adresses of the contact try { $result = $api_instance->removeContactToList($listId, $contactEmails); @@ -948,11 +988,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Swagger\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | + **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | ### Return type -[**\Swagger\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -966,7 +1006,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **requestContactExport** -> \Swagger\Client\Model\CreatedProcessId requestContactExport($requestContactExport) +> \Sendinblue\Client\Model\CreatedProcessId requestContactExport($requestContactExport) Export contacts @@ -978,10 +1018,12 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); -$requestContactExport = new \Swagger\Client\Model\RequestContactExport(); // \Swagger\Client\Model\RequestContactExport | Values to request a contact export +$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$requestContactExport = new \Sendinblue\Client\Model\RequestContactExport(); // \Sendinblue\Client\Model\RequestContactExport | Values to request a contact export try { $result = $api_instance->requestContactExport($requestContactExport); @@ -996,11 +1038,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requestContactExport** | [**\Swagger\Client\Model\RequestContactExport**](../Model/RequestContactExport.md)| Values to request a contact export | + **requestContactExport** | [**\Sendinblue\Client\Model\RequestContactExport**](../Model/RequestContactExport.md)| Values to request a contact export | ### Return type -[**\Swagger\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -1024,11 +1066,13 @@ Updates a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email (urlencoded) of the contact -$updateContact = new \Swagger\Client\Model\UpdateContact(); // \Swagger\Client\Model\UpdateContact | Values to update a contact +$updateContact = new \Sendinblue\Client\Model\UpdateContact(); // \Sendinblue\Client\Model\UpdateContact | Values to update a contact try { $api_instance->updateContact($email, $updateContact); @@ -1043,7 +1087,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **email** | **string**| Email (urlencoded) of the contact | - **updateContact** | [**\Swagger\Client\Model\UpdateContact**](../Model/UpdateContact.md)| Values to update a contact | + **updateContact** | [**\Sendinblue\Client\Model\UpdateContact**](../Model/UpdateContact.md)| Values to update a contact | ### Return type @@ -1071,11 +1115,13 @@ Update a contact folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder -$name = new \Swagger\Client\Model\CreaUpdateFolder(); // \Swagger\Client\Model\CreaUpdateFolder | Name of the folder +$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder try { $api_instance->updateFolder($folderId, $name); @@ -1090,7 +1136,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **folderId** | **string**| Id of the folder | - **name** | [**\Swagger\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type @@ -1118,11 +1164,13 @@ Update a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ContactsApi(); +$api_instance = new Sendinblue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$updateList = new \Swagger\Client\Model\UpdateList(); // \Swagger\Client\Model\UpdateList | Values to update a list +$updateList = new \Sendinblue\Client\Model\UpdateList(); // \Sendinblue\Client\Model\UpdateList | Values to update a list try { $api_instance->updateList($listId, $updateList); @@ -1137,7 +1185,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **updateList** | [**\Swagger\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | + **updateList** | [**\Sendinblue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | ### Return type diff --git a/docs/Api/EmailCampaignsApi.md b/docs/Api/EmailCampaignsApi.md index 3a5c6726..f45988bc 100644 --- a/docs/Api/EmailCampaignsApi.md +++ b/docs/Api/EmailCampaignsApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\EmailCampaignsApi +# Sendinblue\Client\EmailCampaignsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -17,7 +17,7 @@ Method | HTTP request | Description # **createEmailCampaign** -> \Swagger\Client\Model\CreateModel createEmailCampaign($emailCampaigns) +> \Sendinblue\Client\Model\CreateModel createEmailCampaign($emailCampaigns) Create an email campaign @@ -27,10 +27,12 @@ Create an email campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); -$emailCampaigns = new \Swagger\Client\Model\CreateEmailCampaign(); // \Swagger\Client\Model\CreateEmailCampaign | Values to create a campaign +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$emailCampaigns = new \Sendinblue\Client\Model\CreateEmailCampaign(); // \Sendinblue\Client\Model\CreateEmailCampaign | Values to create a campaign try { $result = $api_instance->createEmailCampaign($emailCampaigns); @@ -45,11 +47,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **emailCampaigns** | [**\Swagger\Client\Model\CreateEmailCampaign**](../Model/CreateEmailCampaign.md)| Values to create a campaign | + **emailCampaigns** | [**\Sendinblue\Client\Model\CreateEmailCampaign**](../Model/CreateEmailCampaign.md)| Values to create a campaign | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -73,9 +75,11 @@ Delete an email campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign try { @@ -108,7 +112,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **emailExportRecipients** -> \Swagger\Client\Model\CreatedProcessId emailExportRecipients($campaignId, $recipientExport) +> \Sendinblue\Client\Model\CreatedProcessId emailExportRecipients($campaignId, $recipientExport) Export the recipients of a campaign @@ -118,11 +122,13 @@ Export the recipients of a campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$recipientExport = new \Swagger\Client\Model\EmailExportRecipients(); // \Swagger\Client\Model\EmailExportRecipients | Values to send for a recipient export request +$recipientExport = new \Sendinblue\Client\Model\EmailExportRecipients(); // \Sendinblue\Client\Model\EmailExportRecipients | Values to send for a recipient export request try { $result = $api_instance->emailExportRecipients($campaignId, $recipientExport); @@ -138,11 +144,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **recipientExport** | [**\Swagger\Client\Model\EmailExportRecipients**](../Model/EmailExportRecipients.md)| Values to send for a recipient export request | [optional] + **recipientExport** | [**\Sendinblue\Client\Model\EmailExportRecipients**](../Model/EmailExportRecipients.md)| Values to send for a recipient export request | [optional] ### Return type -[**\Swagger\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -156,7 +162,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailCampaign** -> \Swagger\Client\Model\GetEmailCampaign getEmailCampaign($campaignId) +> \Sendinblue\Client\Model\GetEmailCampaign getEmailCampaign($campaignId) Get campaign informations @@ -166,9 +172,11 @@ Get campaign informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign try { @@ -188,7 +196,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetEmailCampaign**](../Model/GetEmailCampaign.md) +[**\Sendinblue\Client\Model\GetEmailCampaign**](../Model/GetEmailCampaign.md) ### Authorization @@ -202,7 +210,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailCampaigns** -> \Swagger\Client\Model\GetEmailCampaigns getEmailCampaigns($type, $status, $limit, $offset) +> \Sendinblue\Client\Model\GetEmailCampaigns getEmailCampaigns($type, $status, $limit, $offset) Return all your created campaigns @@ -212,9 +220,11 @@ Return all your created campaigns require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $type = "type_example"; // string | Filter on the type of the campaigns $status = "status_example"; // string | Filter on the status of the campaign $limit = 500; // int | Number of documents per page @@ -240,7 +250,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetEmailCampaigns**](../Model/GetEmailCampaigns.md) +[**\Sendinblue\Client\Model\GetEmailCampaigns**](../Model/GetEmailCampaigns.md) ### Authorization @@ -264,9 +274,11 @@ Send an email campaign id of the campaign immediately require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign try { @@ -311,11 +323,13 @@ A PDF will be sent to the specified email addresses require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$sendReport = new \Swagger\Client\Model\SendReport(); // \Swagger\Client\Model\SendReport | Values for send a report +$sendReport = new \Sendinblue\Client\Model\SendReport(); // \Sendinblue\Client\Model\SendReport | Values for send a report try { $api_instance->sendReport($campaignId, $sendReport); @@ -330,7 +344,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **sendReport** | [**\Swagger\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | + **sendReport** | [**\Sendinblue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | ### Return type @@ -358,11 +372,13 @@ Send an email campaign to your test list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$emailTo = new \Swagger\Client\Model\SendTestEmail(); // \Swagger\Client\Model\SendTestEmail | +$emailTo = new \Sendinblue\Client\Model\SendTestEmail(); // \Sendinblue\Client\Model\SendTestEmail | try { $api_instance->sendTestEmail($campaignId, $emailTo); @@ -377,7 +393,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **emailTo** | [**\Swagger\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | + **emailTo** | [**\Sendinblue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | ### Return type @@ -405,11 +421,13 @@ Update a campaign status require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$status = new \Swagger\Client\Model\UpdateCampaignStatus(); // \Swagger\Client\Model\UpdateCampaignStatus | Status of the campaign +$status = new \Sendinblue\Client\Model\UpdateCampaignStatus(); // \Sendinblue\Client\Model\UpdateCampaignStatus | Status of the campaign try { $api_instance->updateCampaignStatus($campaignId, $status); @@ -424,7 +442,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **status** | [**\Swagger\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign | + **status** | [**\Sendinblue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign | ### Return type @@ -452,11 +470,13 @@ Update a campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\EmailCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$emailCampaign = new \Swagger\Client\Model\UpdateEmailCampaign(); // \Swagger\Client\Model\UpdateEmailCampaign | Values to update a campaign +$emailCampaign = new \Sendinblue\Client\Model\UpdateEmailCampaign(); // \Sendinblue\Client\Model\UpdateEmailCampaign | Values to update a campaign try { $api_instance->updateEmailCampaigns($campaignId, $emailCampaign); @@ -471,7 +491,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **emailCampaign** | [**\Swagger\Client\Model\UpdateEmailCampaign**](../Model/UpdateEmailCampaign.md)| Values to update a campaign | + **emailCampaign** | [**\Sendinblue\Client\Model\UpdateEmailCampaign**](../Model/UpdateEmailCampaign.md)| Values to update a campaign | ### Return type diff --git a/docs/Api/FoldersApi.md b/docs/Api/FoldersApi.md index ffb03a51..80de6316 100644 --- a/docs/Api/FoldersApi.md +++ b/docs/Api/FoldersApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\FoldersApi +# Sendinblue\Client\FoldersApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createFolder** -> \Swagger\Client\Model\CreateModel createFolder($name) +> \Sendinblue\Client\Model\CreateModel createFolder($name) Create a folder @@ -23,10 +23,12 @@ Create a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); -$name = new \Swagger\Client\Model\CreaUpdateFolder(); // \Swagger\Client\Model\CreaUpdateFolder | Name of the folder +$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder try { $result = $api_instance->createFolder($name); @@ -41,11 +43,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**\Swagger\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -69,9 +71,11 @@ Delete a folder (and all its lists) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); +$api_instance = new Sendinblue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder try { @@ -104,7 +108,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolder** -> \Swagger\Client\Model\GetFolder getFolder($folderId) +> \Sendinblue\Client\Model\GetFolder getFolder($folderId) Returns folder details @@ -114,9 +118,11 @@ Returns folder details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); +$api_instance = new Sendinblue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | id of the folder try { @@ -136,7 +142,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolder**](../Model/GetFolder.md) +[**\Sendinblue\Client\Model\GetFolder**](../Model/GetFolder.md) ### Authorization @@ -150,7 +156,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Swagger\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -160,9 +166,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); +$api_instance = new Sendinblue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -186,7 +194,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -200,7 +208,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolders** -> \Swagger\Client\Model\GetFolders getFolders($limit, $offset) +> \Sendinblue\Client\Model\GetFolders getFolders($limit, $offset) Get all the folders @@ -210,9 +218,11 @@ Get all the folders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); +$api_instance = new Sendinblue\Client\Api\FoldersApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -234,7 +244,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolders**](../Model/GetFolders.md) +[**\Sendinblue\Client\Model\GetFolders**](../Model/GetFolders.md) ### Authorization @@ -258,11 +268,13 @@ Update a contact folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\FoldersApi(); +$api_instance = new Sendinblue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder -$name = new \Swagger\Client\Model\CreaUpdateFolder(); // \Swagger\Client\Model\CreaUpdateFolder | Name of the folder +$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder try { $api_instance->updateFolder($folderId, $name); @@ -277,7 +289,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **folderId** | **string**| Id of the folder | - **name** | [**\Swagger\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type diff --git a/docs/Api/ListsApi.md b/docs/Api/ListsApi.md index bf757739..aef7983a 100644 --- a/docs/Api/ListsApi.md +++ b/docs/Api/ListsApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\ListsApi +# Sendinblue\Client\ListsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -16,7 +16,7 @@ Method | HTTP request | Description # **addContactToList** -> \Swagger\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) +> \Sendinblue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) Add existing contacts to a list @@ -26,11 +26,13 @@ Add existing contacts to a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Swagger\Client\Model\AddRemoveContactToList(); // \Swagger\Client\Model\AddRemoveContactToList | Emails addresses of the contacts +$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts try { $result = $api_instance->addContactToList($listId, $contactEmails); @@ -46,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Swagger\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | + **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | ### Return type -[**\Swagger\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -64,7 +66,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createList** -> \Swagger\Client\Model\CreateModel createList($createList) +> \Sendinblue\Client\Model\CreateModel createList($createList) Create a list @@ -74,10 +76,12 @@ Create a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); -$createList = new \Swagger\Client\Model\CreateList(); // \Swagger\Client\Model\CreateList | Values to create a list +$api_instance = new Sendinblue\Client\Api\ListsApi(); +$createList = new \Sendinblue\Client\Model\CreateList(); // \Sendinblue\Client\Model\CreateList | Values to create a list try { $result = $api_instance->createList($createList); @@ -92,11 +96,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createList** | [**\Swagger\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | + **createList** | [**\Sendinblue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -120,9 +124,11 @@ Delete a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -155,7 +161,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactsFromList** -> \Swagger\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) +> \Sendinblue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) Get the contacts in a list @@ -165,9 +171,11 @@ Get the contacts in a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list $modifiedSince = "modifiedSince_example"; // string | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) $limit = 50; // int | Number of documents per page @@ -193,7 +201,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -207,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Swagger\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -217,9 +225,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -243,7 +253,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -257,7 +267,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getList** -> \Swagger\Client\Model\GetExtendedList getList($listId) +> \Sendinblue\Client\Model\GetExtendedList getList($listId) Get the details of a list @@ -267,9 +277,11 @@ Get the details of a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -289,7 +301,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) +[**\Sendinblue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) ### Authorization @@ -303,7 +315,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getLists** -> \Swagger\Client\Model\GetLists getLists($limit, $offset) +> \Sendinblue\Client\Model\GetLists getLists($limit, $offset) Get all the lists @@ -313,9 +325,11 @@ Get all the lists require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -337,7 +351,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetLists**](../Model/GetLists.md) +[**\Sendinblue\Client\Model\GetLists**](../Model/GetLists.md) ### Authorization @@ -351,7 +365,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeContactToList** -> \Swagger\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) +> \Sendinblue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) Remove existing contacts from a list @@ -361,11 +375,13 @@ Remove existing contacts from a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Swagger\Client\Model\AddRemoveContactToList(); // \Swagger\Client\Model\AddRemoveContactToList | Emails adresses of the contact +$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails adresses of the contact try { $result = $api_instance->removeContactToList($listId, $contactEmails); @@ -381,11 +397,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Swagger\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | + **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | ### Return type -[**\Swagger\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -409,11 +425,13 @@ Update a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ListsApi(); +$api_instance = new Sendinblue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$updateList = new \Swagger\Client\Model\UpdateList(); // \Swagger\Client\Model\UpdateList | Values to update a list +$updateList = new \Sendinblue\Client\Model\UpdateList(); // \Sendinblue\Client\Model\UpdateList | Values to update a list try { $api_instance->updateList($listId, $updateList); @@ -428,7 +446,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **updateList** | [**\Swagger\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | + **updateList** | [**\Sendinblue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | ### Return type diff --git a/docs/Api/ProcessApi.md b/docs/Api/ProcessApi.md index e1268a1d..be42a01c 100644 --- a/docs/Api/ProcessApi.md +++ b/docs/Api/ProcessApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\ProcessApi +# Sendinblue\Client\ProcessApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -9,7 +9,7 @@ Method | HTTP request | Description # **getProcess** -> \Swagger\Client\Model\GetProcess getProcess($processId) +> \Sendinblue\Client\Model\GetProcess getProcess($processId) Return the informations for a process @@ -19,9 +19,11 @@ Return the informations for a process require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ProcessApi(); +$api_instance = new Sendinblue\Client\Api\ProcessApi(); $processId = "processId_example"; // string | Id of the process try { @@ -41,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetProcess**](../Model/GetProcess.md) +[**\Sendinblue\Client\Model\GetProcess**](../Model/GetProcess.md) ### Authorization @@ -55,7 +57,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getProcesses** -> \Swagger\Client\Model\GetProcesses getProcesses($limit, $offset) +> \Sendinblue\Client\Model\GetProcesses getProcesses($limit, $offset) Return all the processes for your account @@ -65,9 +67,11 @@ Return all the processes for your account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ProcessApi(); +$api_instance = new Sendinblue\Client\Api\ProcessApi(); $limit = 10; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. @@ -89,7 +93,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetProcesses**](../Model/GetProcesses.md) +[**\Sendinblue\Client\Model\GetProcesses**](../Model/GetProcesses.md) ### Authorization diff --git a/docs/Api/ResellerApi.md b/docs/Api/ResellerApi.md index 2c3c885b..9a915e03 100644 --- a/docs/Api/ResellerApi.md +++ b/docs/Api/ResellerApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\ResellerApi +# Sendinblue\Client\ResellerApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -16,7 +16,7 @@ Method | HTTP request | Description # **addCredits** -> \Swagger\Client\Model\RemainingCreditModel addCredits($childId, $addCredits) +> \Sendinblue\Client\Model\RemainingCreditModel addCredits($childId, $addCredits) Add Email and/or SMS credits to a specific child account @@ -26,11 +26,13 @@ Add Email and/or SMS credits to a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$addCredits = new \Swagger\Client\Model\AddCredits(); // \Swagger\Client\Model\AddCredits | Values to post to add credit to a specific child account +$addCredits = new \Sendinblue\Client\Model\AddCredits(); // \Sendinblue\Client\Model\AddCredits | Values to post to add credit to a specific child account try { $result = $api_instance->addCredits($childId, $addCredits); @@ -46,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **addCredits** | [**\Swagger\Client\Model\AddCredits**](../Model/AddCredits.md)| Values to post to add credit to a specific child account | + **addCredits** | [**\Sendinblue\Client\Model\AddCredits**](../Model/AddCredits.md)| Values to post to add credit to a specific child account | ### Return type -[**\Swagger\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) +[**\Sendinblue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) ### Authorization @@ -74,11 +76,13 @@ Associate a dedicated IP to the child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$ipId = new \Swagger\Client\Model\ManageIp(); // \Swagger\Client\Model\ManageIp | IP's id +$ipId = new \Sendinblue\Client\Model\ManageIp(); // \Sendinblue\Client\Model\ManageIp | IP's id try { $api_instance->associateIpToChild($childId, $ipId); @@ -93,7 +97,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **ipId** | [**\Swagger\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | + **ipId** | [**\Sendinblue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | ### Return type @@ -111,7 +115,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createResellerChild** -> \Swagger\Client\Model\CreateModel createResellerChild($resellerChild) +> \Sendinblue\Client\Model\CreateModel createResellerChild($resellerChild) Creates a reseller child @@ -121,10 +125,12 @@ Creates a reseller child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); -$resellerChild = new \Swagger\Client\Model\CreateChild(); // \Swagger\Client\Model\CreateChild | reseller child to add +$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$resellerChild = new \Sendinblue\Client\Model\CreateChild(); // \Sendinblue\Client\Model\CreateChild | reseller child to add try { $result = $api_instance->createResellerChild($resellerChild); @@ -139,11 +145,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **resellerChild** | [**\Swagger\Client\Model\CreateChild**](../Model/CreateChild.md)| reseller child to add | [optional] + **resellerChild** | [**\Sendinblue\Client\Model\CreateChild**](../Model/CreateChild.md)| reseller child to add | [optional] ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -167,9 +173,11 @@ Deletes a single reseller child based on the childId supplied require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child try { @@ -212,11 +220,13 @@ Dissociate a dedicated IP to the child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$ipId = new \Swagger\Client\Model\ManageIp(); // \Swagger\Client\Model\ManageIp | IP's id +$ipId = new \Sendinblue\Client\Model\ManageIp(); // \Sendinblue\Client\Model\ManageIp | IP's id try { $api_instance->dissociateIpFromChild($childId, $ipId); @@ -231,7 +241,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **ipId** | [**\Swagger\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | + **ipId** | [**\Sendinblue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | ### Return type @@ -249,7 +259,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getChildInfo** -> \Swagger\Client\Model\GetChildInfo getChildInfo($childId) +> \Sendinblue\Client\Model\GetChildInfo getChildInfo($childId) Gets the info about a specific child account @@ -259,9 +269,11 @@ Gets the info about a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child try { @@ -281,7 +293,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetChildInfo**](../Model/GetChildInfo.md) +[**\Sendinblue\Client\Model\GetChildInfo**](../Model/GetChildInfo.md) ### Authorization @@ -295,7 +307,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getResellerChilds** -> \Swagger\Client\Model\GetChildrenList getResellerChilds() +> \Sendinblue\Client\Model\GetChildrenList getResellerChilds() Gets the list of all reseller's children accounts @@ -305,9 +317,11 @@ Gets the list of all reseller's children accounts require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); try { $result = $api_instance->getResellerChilds(); @@ -323,7 +337,7 @@ This endpoint does not need any parameter. ### Return type -[**\Swagger\Client\Model\GetChildrenList**](../Model/GetChildrenList.md) +[**\Sendinblue\Client\Model\GetChildrenList**](../Model/GetChildrenList.md) ### Authorization @@ -337,7 +351,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeCredits** -> \Swagger\Client\Model\RemainingCreditModel removeCredits($childId, $removeCredits) +> \Sendinblue\Client\Model\RemainingCreditModel removeCredits($childId, $removeCredits) Remove Email and/or SMS credits from a specific child account @@ -347,11 +361,13 @@ Remove Email and/or SMS credits from a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$removeCredits = new \Swagger\Client\Model\RemoveCredits(); // \Swagger\Client\Model\RemoveCredits | Values to post to remove email or SMS credits from a specific child account +$removeCredits = new \Sendinblue\Client\Model\RemoveCredits(); // \Sendinblue\Client\Model\RemoveCredits | Values to post to remove email or SMS credits from a specific child account try { $result = $api_instance->removeCredits($childId, $removeCredits); @@ -367,11 +383,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **removeCredits** | [**\Swagger\Client\Model\RemoveCredits**](../Model/RemoveCredits.md)| Values to post to remove email or SMS credits from a specific child account | + **removeCredits** | [**\Sendinblue\Client\Model\RemoveCredits**](../Model/RemoveCredits.md)| Values to post to remove email or SMS credits from a specific child account | ### Return type -[**\Swagger\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) +[**\Sendinblue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) ### Authorization @@ -395,11 +411,13 @@ Updates infos of reseller's child based on the childId supplied require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\ResellerApi(); +$api_instance = new Sendinblue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$resellerChild = new \Swagger\Client\Model\UpdateChild(); // \Swagger\Client\Model\UpdateChild | values to update in child profile +$resellerChild = new \Sendinblue\Client\Model\UpdateChild(); // \Sendinblue\Client\Model\UpdateChild | values to update in child profile try { $api_instance->updateResellerChild($childId, $resellerChild); @@ -414,7 +432,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **resellerChild** | [**\Swagger\Client\Model\UpdateChild**](../Model/UpdateChild.md)| values to update in child profile | + **resellerChild** | [**\Sendinblue\Client\Model\UpdateChild**](../Model/UpdateChild.md)| values to update in child profile | ### Return type diff --git a/docs/Api/SMSCampaignsApi.md b/docs/Api/SMSCampaignsApi.md index 127c25d4..efa4be05 100644 --- a/docs/Api/SMSCampaignsApi.md +++ b/docs/Api/SMSCampaignsApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\SMSCampaignsApi +# Sendinblue\Client\SMSCampaignsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -17,7 +17,7 @@ Method | HTTP request | Description # **createSMSCampaign** -> \Swagger\Client\Model\CreateModel createSMSCampaign($createSmsCampaign) +> \Sendinblue\Client\Model\CreateModel createSMSCampaign($createSmsCampaign) Creates a SMS campaign @@ -27,10 +27,12 @@ Creates a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); -$createSmsCampaign = new \Swagger\Client\Model\CreateSmsCampaign(); // \Swagger\Client\Model\CreateSmsCampaign | Values to create an SMS Campaign +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$createSmsCampaign = new \Sendinblue\Client\Model\CreateSmsCampaign(); // \Sendinblue\Client\Model\CreateSmsCampaign | Values to create an SMS Campaign try { $result = $api_instance->createSMSCampaign($createSmsCampaign); @@ -45,11 +47,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createSmsCampaign** | [**\Swagger\Client\Model\CreateSmsCampaign**](../Model/CreateSmsCampaign.md)| Values to create an SMS Campaign | + **createSmsCampaign** | [**\Sendinblue\Client\Model\CreateSmsCampaign**](../Model/CreateSmsCampaign.md)| Values to create an SMS Campaign | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -73,9 +75,11 @@ Delete the SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign try { @@ -108,7 +112,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSMSCampaigns** -> \Swagger\Client\Model\GetSmsCampaigns getSMSCampaigns($status, $limit, $offset) +> \Sendinblue\Client\Model\GetSmsCampaigns getSMSCampaigns($status, $limit, $offset) Returns the informations for all your created SMS campaigns @@ -118,9 +122,11 @@ Returns the informations for all your created SMS campaigns require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $status = "status_example"; // string | Status of campaign. $limit = 500; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. @@ -144,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetSmsCampaigns**](../Model/GetSmsCampaigns.md) +[**\Sendinblue\Client\Model\GetSmsCampaigns**](../Model/GetSmsCampaigns.md) ### Authorization @@ -158,7 +164,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmsCampaign** -> \Swagger\Client\Model\GetSmsCampaign getSmsCampaign($campaignId, $getSmsCampaign) +> \Sendinblue\Client\Model\GetSmsCampaign getSmsCampaign($campaignId, $getSmsCampaign) Get a SMS campaign @@ -168,11 +174,13 @@ Get a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign -$getSmsCampaign = new \Swagger\Client\Model\GetSmsCampaign(); // \Swagger\Client\Model\GetSmsCampaign | Values to update an SMS Campaign +$getSmsCampaign = new \Sendinblue\Client\Model\GetSmsCampaign(); // \Sendinblue\Client\Model\GetSmsCampaign | Values to update an SMS Campaign try { $result = $api_instance->getSmsCampaign($campaignId, $getSmsCampaign); @@ -188,11 +196,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the SMS campaign | - **getSmsCampaign** | [**\Swagger\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md)| Values to update an SMS Campaign | + **getSmsCampaign** | [**\Sendinblue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md)| Values to update an SMS Campaign | ### Return type -[**\Swagger\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md) +[**\Sendinblue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md) ### Authorization @@ -206,7 +214,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **requestSMSRecipientExport** -> \Swagger\Client\Model\CreatedProcessId requestSMSRecipientExport($campaignId, $recipientExport) +> \Sendinblue\Client\Model\CreatedProcessId requestSMSRecipientExport($campaignId, $recipientExport) Exports the recipients of the specified campaign. @@ -218,11 +226,13 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$recipientExport = new \Swagger\Client\Model\RequestSMSRecipientExport(); // \Swagger\Client\Model\RequestSMSRecipientExport | Values to send for a recipient export request +$recipientExport = new \Sendinblue\Client\Model\RequestSMSRecipientExport(); // \Sendinblue\Client\Model\RequestSMSRecipientExport | Values to send for a recipient export request try { $result = $api_instance->requestSMSRecipientExport($campaignId, $recipientExport); @@ -238,11 +248,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **recipientExport** | [**\Swagger\Client\Model\RequestSMSRecipientExport**](../Model/RequestSMSRecipientExport.md)| Values to send for a recipient export request | [optional] + **recipientExport** | [**\Sendinblue\Client\Model\RequestSMSRecipientExport**](../Model/RequestSMSRecipientExport.md)| Values to send for a recipient export request | [optional] ### Return type -[**\Swagger\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -266,9 +276,11 @@ Send your SMS campaign immediately require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign try { @@ -313,11 +325,13 @@ Send report of Sent and Archived campaign, to the specified email addresses, wit require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$sendReport = new \Swagger\Client\Model\SendReport(); // \Swagger\Client\Model\SendReport | Values for send a report +$sendReport = new \Sendinblue\Client\Model\SendReport(); // \Sendinblue\Client\Model\SendReport | Values for send a report try { $api_instance->sendSMSReport($campaignId, $sendReport); @@ -332,7 +346,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **sendReport** | [**\Swagger\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | + **sendReport** | [**\Sendinblue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | ### Return type @@ -360,11 +374,13 @@ Send an SMS require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the SMS campaign -$sendTestSms = new \Swagger\Client\Model\SendTestSms(); // \Swagger\Client\Model\SendTestSms | Mobile number to which send the test +$sendTestSms = new \Sendinblue\Client\Model\SendTestSms(); // \Sendinblue\Client\Model\SendTestSms | Mobile number to which send the test try { $api_instance->sendTestSms($campaignId, $sendTestSms); @@ -379,7 +395,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the SMS campaign | - **sendTestSms** | [**\Swagger\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number to which send the test | + **sendTestSms** | [**\Sendinblue\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number to which send the test | ### Return type @@ -407,11 +423,13 @@ Update the campaign status require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$status = new \Swagger\Client\Model\UpdateCampaignStatus(); // \Swagger\Client\Model\UpdateCampaignStatus | Status of the campaign. +$status = new \Sendinblue\Client\Model\UpdateCampaignStatus(); // \Sendinblue\Client\Model\UpdateCampaignStatus | Status of the campaign. try { $api_instance->updateSMSCampaignStatus($campaignId, $status); @@ -426,7 +444,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **status** | [**\Swagger\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign. | + **status** | [**\Sendinblue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign. | ### Return type @@ -454,11 +472,13 @@ Updates a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMSCampaignsApi(); +$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign -$updateSmsCampaign = new \Swagger\Client\Model\UpdateSmsCampaign(); // \Swagger\Client\Model\UpdateSmsCampaign | Values to update an SMS Campaign +$updateSmsCampaign = new \Sendinblue\Client\Model\UpdateSmsCampaign(); // \Sendinblue\Client\Model\UpdateSmsCampaign | Values to update an SMS Campaign try { $api_instance->updateSmsCampaign($campaignId, $updateSmsCampaign); @@ -473,7 +493,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the SMS campaign | - **updateSmsCampaign** | [**\Swagger\Client\Model\UpdateSmsCampaign**](../Model/UpdateSmsCampaign.md)| Values to update an SMS Campaign | + **updateSmsCampaign** | [**\Sendinblue\Client\Model\UpdateSmsCampaign**](../Model/UpdateSmsCampaign.md)| Values to update an SMS Campaign | ### Return type diff --git a/docs/Api/SMTPApi.md b/docs/Api/SMTPApi.md index 26623c27..9b882467 100644 --- a/docs/Api/SMTPApi.md +++ b/docs/Api/SMTPApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\SMTPApi +# Sendinblue\Client\SMTPApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -18,7 +18,7 @@ Method | HTTP request | Description # **createSmtpTemplate** -> \Swagger\Client\Model\CreateModel createSmtpTemplate($smtpTemplate) +> \Sendinblue\Client\Model\CreateModel createSmtpTemplate($smtpTemplate) Create an smtp template @@ -28,10 +28,12 @@ Create an smtp template require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); -$smtpTemplate = new \Swagger\Client\Model\CreateSmtpTemplate(); // \Swagger\Client\Model\CreateSmtpTemplate | values to update in smtp template +$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$smtpTemplate = new \Sendinblue\Client\Model\CreateSmtpTemplate(); // \Sendinblue\Client\Model\CreateSmtpTemplate | values to update in smtp template try { $result = $api_instance->createSmtpTemplate($smtpTemplate); @@ -46,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **smtpTemplate** | [**\Swagger\Client\Model\CreateSmtpTemplate**](../Model/CreateSmtpTemplate.md)| values to update in smtp template | + **smtpTemplate** | [**\Sendinblue\Client\Model\CreateSmtpTemplate**](../Model/CreateSmtpTemplate.md)| values to update in smtp template | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -76,10 +78,12 @@ Delete hardbounces. To use carefully (e.g. in case of temporary ISP failures) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); -$deleteHardbounces = new \Swagger\Client\Model\DeleteHardbounces(); // \Swagger\Client\Model\DeleteHardbounces | values to delete hardbounces +$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$deleteHardbounces = new \Sendinblue\Client\Model\DeleteHardbounces(); // \Sendinblue\Client\Model\DeleteHardbounces | values to delete hardbounces try { $api_instance->deleteHardbounces($deleteHardbounces); @@ -93,7 +97,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **deleteHardbounces** | [**\Swagger\Client\Model\DeleteHardbounces**](../Model/DeleteHardbounces.md)| values to delete hardbounces | [optional] + **deleteHardbounces** | [**\Sendinblue\Client\Model\DeleteHardbounces**](../Model/DeleteHardbounces.md)| values to delete hardbounces | [optional] ### Return type @@ -111,7 +115,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAggregatedSmtpReport** -> \Swagger\Client\Model\GetAggregatedReport getAggregatedSmtpReport($startDate, $endDate, $days, $tag) +> \Sendinblue\Client\Model\GetAggregatedReport getAggregatedSmtpReport($startDate, $endDate, $days, $tag) Get your SMTP activity aggregated over a period of time @@ -121,9 +125,11 @@ Get your SMTP activity aggregated over a period of time require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' @@ -149,7 +155,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetAggregatedReport**](../Model/GetAggregatedReport.md) +[**\Sendinblue\Client\Model\GetAggregatedReport**](../Model/GetAggregatedReport.md) ### Authorization @@ -163,7 +169,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailEventReport** -> \Swagger\Client\Model\GetEmailEventReport getEmailEventReport($limit, $offset, $startDate, $endDate, $days, $email, $event, $tags, $messageId, $templateId) +> \Sendinblue\Client\Model\GetEmailEventReport getEmailEventReport($limit, $offset, $startDate, $endDate, $days, $email, $event, $tags, $messageId, $templateId) Get all your SMTP activity (unaggregated events) @@ -173,9 +179,11 @@ Get all your SMTP activity (unaggregated events) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $limit = 50; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate @@ -213,7 +221,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetEmailEventReport**](../Model/GetEmailEventReport.md) +[**\Sendinblue\Client\Model\GetEmailEventReport**](../Model/GetEmailEventReport.md) ### Authorization @@ -227,7 +235,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpReport** -> \Swagger\Client\Model\GetReports getSmtpReport($limit, $offset, $startDate, $endDate, $days, $tag) +> \Sendinblue\Client\Model\GetReports getSmtpReport($limit, $offset, $startDate, $endDate, $days, $tag) Get your SMTP activity aggregated per day @@ -237,9 +245,11 @@ Get your SMTP activity aggregated per day require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $limit = 50; // int | Number of documents returned per page $offset = 0; // int | Index of the first document on the page $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) @@ -269,7 +279,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetReports**](../Model/GetReports.md) +[**\Sendinblue\Client\Model\GetReports**](../Model/GetReports.md) ### Authorization @@ -283,7 +293,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpTemplate** -> \Swagger\Client\Model\GetSmtpTemplateOverview getSmtpTemplate($templateId) +> \Sendinblue\Client\Model\GetSmtpTemplateOverview getSmtpTemplate($templateId) Returns the template informations @@ -293,9 +303,11 @@ Returns the template informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | id of the template try { @@ -315,7 +327,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetSmtpTemplateOverview**](../Model/GetSmtpTemplateOverview.md) +[**\Sendinblue\Client\Model\GetSmtpTemplateOverview**](../Model/GetSmtpTemplateOverview.md) ### Authorization @@ -329,7 +341,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpTemplates** -> \Swagger\Client\Model\GetSmtpTemplates getSmtpTemplates($templateStatus, $limit, $offset) +> \Sendinblue\Client\Model\GetSmtpTemplates getSmtpTemplates($templateStatus, $limit, $offset) Get the list of SMTP templates @@ -339,9 +351,11 @@ Get the list of SMTP templates require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $templateStatus = true; // bool | Filter on the status of the template. Active = true, inactive = false $limit = 50; // int | Number of documents returned per page $offset = 0; // int | Index of the first document in the page @@ -365,7 +379,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetSmtpTemplates**](../Model/GetSmtpTemplates.md) +[**\Sendinblue\Client\Model\GetSmtpTemplates**](../Model/GetSmtpTemplates.md) ### Authorization @@ -379,7 +393,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTemplate** -> \Swagger\Client\Model\SendTemplateEmail sendTemplate($templateId, $sendEmail) +> \Sendinblue\Client\Model\SendTemplateEmail sendTemplate($templateId, $sendEmail) Send a template @@ -389,11 +403,13 @@ Send a template require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | Id of the template -$sendEmail = new \Swagger\Client\Model\SendEmail(); // \Swagger\Client\Model\SendEmail | +$sendEmail = new \Sendinblue\Client\Model\SendEmail(); // \Sendinblue\Client\Model\SendEmail | try { $result = $api_instance->sendTemplate($templateId, $sendEmail); @@ -409,11 +425,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| Id of the template | - **sendEmail** | [**\Swagger\Client\Model\SendEmail**](../Model/SendEmail.md)| | + **sendEmail** | [**\Sendinblue\Client\Model\SendEmail**](../Model/SendEmail.md)| | ### Return type -[**\Swagger\Client\Model\SendTemplateEmail**](../Model/SendTemplateEmail.md) +[**\Sendinblue\Client\Model\SendTemplateEmail**](../Model/SendTemplateEmail.md) ### Authorization @@ -437,11 +453,13 @@ Send a template to your test list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | Id of the template -$sendTestEmail = new \Swagger\Client\Model\SendTestEmail(); // \Swagger\Client\Model\SendTestEmail | +$sendTestEmail = new \Sendinblue\Client\Model\SendTestEmail(); // \Sendinblue\Client\Model\SendTestEmail | try { $api_instance->sendTestTemplate($templateId, $sendTestEmail); @@ -456,7 +474,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| Id of the template | - **sendTestEmail** | [**\Swagger\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | + **sendTestEmail** | [**\Sendinblue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | ### Return type @@ -474,7 +492,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTransacEmail** -> \Swagger\Client\Model\CreateSmtpEmail sendTransacEmail($sendSmtpEmail) +> \Sendinblue\Client\Model\CreateSmtpEmail sendTransacEmail($sendSmtpEmail) Send a transactional email @@ -484,10 +502,12 @@ Send a transactional email require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); -$sendSmtpEmail = new \Swagger\Client\Model\SendSmtpEmail(); // \Swagger\Client\Model\SendSmtpEmail | Values to send a transactional email +$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$sendSmtpEmail = new \Sendinblue\Client\Model\SendSmtpEmail(); // \Sendinblue\Client\Model\SendSmtpEmail | Values to send a transactional email try { $result = $api_instance->sendTransacEmail($sendSmtpEmail); @@ -502,11 +522,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sendSmtpEmail** | [**\Swagger\Client\Model\SendSmtpEmail**](../Model/SendSmtpEmail.md)| Values to send a transactional email | + **sendSmtpEmail** | [**\Sendinblue\Client\Model\SendSmtpEmail**](../Model/SendSmtpEmail.md)| Values to send a transactional email | ### Return type -[**\Swagger\Client\Model\CreateSmtpEmail**](../Model/CreateSmtpEmail.md) +[**\Sendinblue\Client\Model\CreateSmtpEmail**](../Model/CreateSmtpEmail.md) ### Authorization @@ -530,11 +550,13 @@ Updates an smtp templates require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SMTPApi(); +$api_instance = new Sendinblue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | id of the template -$smtpTemplate = new \Swagger\Client\Model\UpdateSmtpTemplate(); // \Swagger\Client\Model\UpdateSmtpTemplate | values to update in smtp template +$smtpTemplate = new \Sendinblue\Client\Model\UpdateSmtpTemplate(); // \Sendinblue\Client\Model\UpdateSmtpTemplate | values to update in smtp template try { $api_instance->updateSmtpTemplate($templateId, $smtpTemplate); @@ -549,7 +571,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| id of the template | - **smtpTemplate** | [**\Swagger\Client\Model\UpdateSmtpTemplate**](../Model/UpdateSmtpTemplate.md)| values to update in smtp template | + **smtpTemplate** | [**\Sendinblue\Client\Model\UpdateSmtpTemplate**](../Model/UpdateSmtpTemplate.md)| values to update in smtp template | ### Return type diff --git a/docs/Api/SendersApi.md b/docs/Api/SendersApi.md index 950d8257..95109dd5 100644 --- a/docs/Api/SendersApi.md +++ b/docs/Api/SendersApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\SendersApi +# Sendinblue\Client\SendersApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createSender** -> \Swagger\Client\Model\CreateSenderModel createSender($sender) +> \Sendinblue\Client\Model\CreateSenderModel createSender($sender) Create a new sender @@ -23,10 +23,12 @@ Create a new sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); -$sender = new \Swagger\Client\Model\CreateSender(); // \Swagger\Client\Model\CreateSender | sender's name +$api_instance = new Sendinblue\Client\Api\SendersApi(); +$sender = new \Sendinblue\Client\Model\CreateSender(); // \Sendinblue\Client\Model\CreateSender | sender's name try { $result = $api_instance->createSender($sender); @@ -41,11 +43,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sender** | [**\Swagger\Client\Model\CreateSender**](../Model/CreateSender.md)| sender's name | [optional] + **sender** | [**\Sendinblue\Client\Model\CreateSender**](../Model/CreateSender.md)| sender's name | [optional] ### Return type -[**\Swagger\Client\Model\CreateSenderModel**](../Model/CreateSenderModel.md) +[**\Sendinblue\Client\Model\CreateSenderModel**](../Model/CreateSenderModel.md) ### Authorization @@ -69,9 +71,11 @@ Delete a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); +$api_instance = new Sendinblue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender try { @@ -104,7 +108,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getIps** -> \Swagger\Client\Model\GetIps getIps() +> \Sendinblue\Client\Model\GetIps getIps() Return all the dedicated IPs for your account @@ -114,9 +118,11 @@ Return all the dedicated IPs for your account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); +$api_instance = new Sendinblue\Client\Api\SendersApi(); try { $result = $api_instance->getIps(); @@ -132,7 +138,7 @@ This endpoint does not need any parameter. ### Return type -[**\Swagger\Client\Model\GetIps**](../Model/GetIps.md) +[**\Sendinblue\Client\Model\GetIps**](../Model/GetIps.md) ### Authorization @@ -146,7 +152,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getIpsFromSender** -> \Swagger\Client\Model\GetIpsFromSender getIpsFromSender($senderId) +> \Sendinblue\Client\Model\GetIpsFromSender getIpsFromSender($senderId) Return all the dedicated IPs for a sender @@ -156,9 +162,11 @@ Return all the dedicated IPs for a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); +$api_instance = new Sendinblue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender try { @@ -178,7 +186,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetIpsFromSender**](../Model/GetIpsFromSender.md) +[**\Sendinblue\Client\Model\GetIpsFromSender**](../Model/GetIpsFromSender.md) ### Authorization @@ -192,7 +200,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSenders** -> \Swagger\Client\Model\GetSendersList getSenders($ip, $domain) +> \Sendinblue\Client\Model\GetSendersList getSenders($ip, $domain) Get the list of all your senders @@ -202,9 +210,11 @@ Get the list of all your senders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); +$api_instance = new Sendinblue\Client\Api\SendersApi(); $ip = "ip_example"; // string | Filter your senders for a specific ip (available for dedicated IP usage only) $domain = "domain_example"; // string | Filter your senders for a specific domain @@ -226,7 +236,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetSendersList**](../Model/GetSendersList.md) +[**\Sendinblue\Client\Model\GetSendersList**](../Model/GetSendersList.md) ### Authorization @@ -250,11 +260,13 @@ Update a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\SendersApi(); +$api_instance = new Sendinblue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender -$sender = new \Swagger\Client\Model\UpdateSender(); // \Swagger\Client\Model\UpdateSender | sender's name +$sender = new \Sendinblue\Client\Model\UpdateSender(); // \Sendinblue\Client\Model\UpdateSender | sender's name try { $api_instance->updateSender($senderId, $sender); @@ -269,7 +281,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **senderId** | **string**| Id of the sender | - **sender** | [**\Swagger\Client\Model\UpdateSender**](../Model/UpdateSender.md)| sender's name | [optional] + **sender** | [**\Sendinblue\Client\Model\UpdateSender**](../Model/UpdateSender.md)| sender's name | [optional] ### Return type diff --git a/docs/Api/TransactionalSMSApi.md b/docs/Api/TransactionalSMSApi.md index 0abe9902..ed0a9223 100644 --- a/docs/Api/TransactionalSMSApi.md +++ b/docs/Api/TransactionalSMSApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\TransactionalSMSApi +# Sendinblue\Client\TransactionalSMSApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -11,7 +11,7 @@ Method | HTTP request | Description # **getSmsEvents** -> \Swagger\Client\Model\GetSmsEventReport getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags) +> \Sendinblue\Client\Model\GetSmsEventReport getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags) Get all the SMS activity (unaggregated events) @@ -21,9 +21,11 @@ Get all the SMS activity (unaggregated events) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\TransactionalSMSApi(); +$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); $limit = 50; // int | Number of documents per page $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report @@ -57,7 +59,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetSmsEventReport**](../Model/GetSmsEventReport.md) +[**\Sendinblue\Client\Model\GetSmsEventReport**](../Model/GetSmsEventReport.md) ### Authorization @@ -71,7 +73,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getTransacAggregatedSmsReport** -> \Swagger\Client\Model\GetTransacAggregatedSmsReport getTransacAggregatedSmsReport($startDate, $endDate, $days, $tag) +> \Sendinblue\Client\Model\GetTransacAggregatedSmsReport getTransacAggregatedSmsReport($startDate, $endDate, $days, $tag) Get your SMS activity aggregated over a period of time @@ -81,9 +83,11 @@ Get your SMS activity aggregated over a period of time require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\TransactionalSMSApi(); +$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with startDate and endDate @@ -109,7 +113,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetTransacAggregatedSmsReport**](../Model/GetTransacAggregatedSmsReport.md) +[**\Sendinblue\Client\Model\GetTransacAggregatedSmsReport**](../Model/GetTransacAggregatedSmsReport.md) ### Authorization @@ -123,7 +127,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getTransacSmsReport** -> \Swagger\Client\Model\GetTransacSmsReport getTransacSmsReport($startDate, $endDate, $days, $tag) +> \Sendinblue\Client\Model\GetTransacSmsReport getTransacSmsReport($startDate, $endDate, $days, $tag) Get your SMS activity aggregated per day @@ -133,9 +137,11 @@ Get your SMS activity aggregated per day require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\TransactionalSMSApi(); +$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' @@ -161,7 +167,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetTransacSmsReport**](../Model/GetTransacSmsReport.md) +[**\Sendinblue\Client\Model\GetTransacSmsReport**](../Model/GetTransacSmsReport.md) ### Authorization @@ -175,7 +181,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTransacSms** -> \Swagger\Client\Model\SendSms sendTransacSms($sendTransacSms) +> \Sendinblue\Client\Model\SendSms sendTransacSms($sendTransacSms) Send the SMS campaign to the specified mobile number @@ -185,10 +191,12 @@ Send the SMS campaign to the specified mobile number require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\TransactionalSMSApi(); -$sendTransacSms = new \Swagger\Client\Model\SendTransacSms(); // \Swagger\Client\Model\SendTransacSms | Values to send a transactional SMS +$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); +$sendTransacSms = new \Sendinblue\Client\Model\SendTransacSms(); // \Sendinblue\Client\Model\SendTransacSms | Values to send a transactional SMS try { $result = $api_instance->sendTransacSms($sendTransacSms); @@ -203,11 +211,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sendTransacSms** | [**\Swagger\Client\Model\SendTransacSms**](../Model/SendTransacSms.md)| Values to send a transactional SMS | + **sendTransacSms** | [**\Sendinblue\Client\Model\SendTransacSms**](../Model/SendTransacSms.md)| Values to send a transactional SMS | ### Return type -[**\Swagger\Client\Model\SendSms**](../Model/SendSms.md) +[**\Sendinblue\Client\Model\SendSms**](../Model/SendSms.md) ### Authorization diff --git a/docs/Api/WebhooksApi.md b/docs/Api/WebhooksApi.md index 23f4f343..cfb6e834 100644 --- a/docs/Api/WebhooksApi.md +++ b/docs/Api/WebhooksApi.md @@ -1,4 +1,4 @@ -# Swagger\Client\WebhooksApi +# Sendinblue\Client\WebhooksApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -12,7 +12,7 @@ Method | HTTP request | Description # **createWebhook** -> \Swagger\Client\Model\CreateModel createWebhook($createWebhook) +> \Sendinblue\Client\Model\CreateModel createWebhook($createWebhook) Create a webhook @@ -22,10 +22,12 @@ Create a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\WebhooksApi(); -$createWebhook = new \Swagger\Client\Model\CreateWebhook(); // \Swagger\Client\Model\CreateWebhook | Values to create a webhook +$api_instance = new Sendinblue\Client\Api\WebhooksApi(); +$createWebhook = new \Sendinblue\Client\Model\CreateWebhook(); // \Sendinblue\Client\Model\CreateWebhook | Values to create a webhook try { $result = $api_instance->createWebhook($createWebhook); @@ -40,11 +42,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createWebhook** | [**\Swagger\Client\Model\CreateWebhook**](../Model/CreateWebhook.md)| Values to create a webhook | + **createWebhook** | [**\Sendinblue\Client\Model\CreateWebhook**](../Model/CreateWebhook.md)| Values to create a webhook | ### Return type -[**\Swagger\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -68,9 +70,11 @@ Delete a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\WebhooksApi(); +$api_instance = new Sendinblue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook try { @@ -103,7 +107,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getWebhook** -> \Swagger\Client\Model\GetWebhook getWebhook($webhookId) +> \Sendinblue\Client\Model\GetWebhook getWebhook($webhookId) Get a webhook details @@ -113,9 +117,11 @@ Get a webhook details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\WebhooksApi(); +$api_instance = new Sendinblue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook try { @@ -135,7 +141,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetWebhook**](../Model/GetWebhook.md) +[**\Sendinblue\Client\Model\GetWebhook**](../Model/GetWebhook.md) ### Authorization @@ -149,7 +155,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getWebhooks** -> \Swagger\Client\Model\GetWebhooks getWebhooks($type) +> \Sendinblue\Client\Model\GetWebhooks getWebhooks($type) Get all webhooks @@ -159,9 +165,11 @@ Get all webhooks require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\WebhooksApi(); +$api_instance = new Sendinblue\Client\Api\WebhooksApi(); $type = "transactional"; // string | Filter on webhook type try { @@ -181,7 +189,7 @@ Name | Type | Description | Notes ### Return type -[**\Swagger\Client\Model\GetWebhooks**](../Model/GetWebhooks.md) +[**\Sendinblue\Client\Model\GetWebhooks**](../Model/GetWebhooks.md) ### Authorization @@ -205,11 +213,13 @@ Update a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Swagger\Client\Api\WebhooksApi(); +$api_instance = new Sendinblue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook -$updateWebhook = new \Swagger\Client\Model\UpdateWebhook(); // \Swagger\Client\Model\UpdateWebhook | Values to update a webhook +$updateWebhook = new \Sendinblue\Client\Model\UpdateWebhook(); // \Sendinblue\Client\Model\UpdateWebhook | Values to update a webhook try { $api_instance->updateWebhook($webhookId, $updateWebhook); @@ -224,7 +234,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **webhookId** | **string**| Id of the webhook | - **updateWebhook** | [**\Swagger\Client\Model\UpdateWebhook**](../Model/UpdateWebhook.md)| Values to update a webhook | + **updateWebhook** | [**\Sendinblue\Client\Model\UpdateWebhook**](../Model/UpdateWebhook.md)| Values to update a webhook | ### Return type diff --git a/docs/Model/AddCredits.md b/docs/Model/AddCredits.md old mode 100755 new mode 100644 diff --git a/docs/Model/AddRemoveContactToList.md b/docs/Model/AddRemoveContactToList.md old mode 100755 new mode 100644 diff --git a/docs/Model/CreaUpdateFolder.md b/docs/Model/CreaUpdateFolder.md old mode 100755 new mode 100644 diff --git a/docs/Model/CreateAttribute.md b/docs/Model/CreateAttribute.md old mode 100755 new mode 100644 index 288cee1f..3d770338 --- a/docs/Model/CreateAttribute.md +++ b/docs/Model/CreateAttribute.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **category** | **string** | Attribute categorisation. | **name** | **string** | Name of the attribute | **value** | **string** | Value of the attribute | -**enumemaration** | [**\Swagger\Client\Model\CreateAttributeEnumemaration[]**](CreateAttributeEnumemaration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] +**enumemaration** | [**\Sendinblue\Client\Model\CreateAttributeEnumemaration[]**](CreateAttributeEnumemaration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] **type** | **string** | Type of the attribute | [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/Model/CreateEmailCampaign.md b/docs/Model/CreateEmailCampaign.md index 34755616..b730db61 100644 --- a/docs/Model/CreateEmailCampaign.md +++ b/docs/Model/CreateEmailCampaign.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the campaign | [optional] -**sender** | [**\Swagger\Client\Model\CreateEmailCampaignSender**](CreateEmailCampaignSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\CreateEmailCampaignSender**](CreateEmailCampaignSender.md) | | [optional] **name** | **string** | Name of the campaign | **htmlContent** | **string** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional] **htmlUrl** | **string** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | **replyTo** | **string** | Email on which the campaign recipients will be able to reply to | [optional] **toField** | **string** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use [FNAME] [LNAME]. These attributes must already exist in your contact database | [optional] -**recipients** | [**\Swagger\Client\Model\CreateEmailCampaignRecipients**](CreateEmailCampaignRecipients.md) | | [optional] +**recipients** | [**\Sendinblue\Client\Model\CreateEmailCampaignRecipients**](CreateEmailCampaignRecipients.md) | | [optional] **attachmentUrl** | **string** | Absolute url of the attachment (no local file). Extensions allowed xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff and rtf | [optional] **inlineImageActivation** | **bool** | Use true to embedded the images in your email. Final size of the email should be less than 4MB. Campaigns with embedded images can not be sent to more than 5000 contacts | [optional] [default to false] **mirrorActive** | **bool** | Use true to enable the mirror link | [optional] diff --git a/docs/Model/CreateModel.md b/docs/Model/CreateModel.md old mode 100755 new mode 100644 diff --git a/docs/Model/CreateSender.md b/docs/Model/CreateSender.md old mode 100755 new mode 100644 index b961cb2b..6beb3b5f --- a/docs/Model/CreateSender.md +++ b/docs/Model/CreateSender.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | From Name to use for the sender | **email** | **string** | From Email to use for the sender | -**ips** | [**\Swagger\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Mandatory in case of dedicated IP, IPs to associate to the sender | [optional] +**ips** | [**\Sendinblue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Mandatory in case of dedicated IP, IPs to associate to the sender | [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/Model/CreateSmsCampaign.md b/docs/Model/CreateSmsCampaign.md index 0e8f923d..7417d437 100644 --- a/docs/Model/CreateSmsCampaign.md +++ b/docs/Model/CreateSmsCampaign.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes **name** | **string** | Name of the campaign | **sender** | **string** | Name of the sender. The number of characters is limited to 11 | **content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] -**recipients** | [**\Swagger\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**scheduledAt** | **string** | Date and time on which the campaign has to run | [optional] +**recipients** | [**\Sendinblue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] +**scheduledAt** | **string** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [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/Model/CreateSmtpTemplate.md b/docs/Model/CreateSmtpTemplate.md index f47cb433..3441f7f1 100644 --- a/docs/Model/CreateSmtpTemplate.md +++ b/docs/Model/CreateSmtpTemplate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the template | [optional] -**sender** | [**\Swagger\Client\Model\CreateSmtpTemplateSender**](CreateSmtpTemplateSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\CreateSmtpTemplateSender**](CreateSmtpTemplateSender.md) | | [optional] **templateName** | **string** | Name of the template | **htmlContent** | **string** | Body of the message (HTML version). The field must have more than 10 characters. REQUIRED if htmlUrl is empty | [optional] **htmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] diff --git a/docs/Model/CreateWebhook.md b/docs/Model/CreateWebhook.md old mode 100755 new mode 100644 diff --git a/docs/Model/ErrorModel.md b/docs/Model/ErrorModel.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetAccount.md b/docs/Model/GetAccount.md index 47e6e018..16312ce1 100644 --- a/docs/Model/GetAccount.md +++ b/docs/Model/GetAccount.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**address** | [**\Swagger\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] -**plan** | [**\Swagger\Client\Model\GetAccountPlan[]**](GetAccountPlan.md) | Information about your plans and credits | -**relay** | [**\Swagger\Client\Model\GetAccountRelay**](GetAccountRelay.md) | | [optional] -**marketingAutomation** | [**\Swagger\Client\Model\GetAccountMarketingAutomation**](GetAccountMarketingAutomation.md) | | [optional] +**address** | [**\Sendinblue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] +**plan** | [**\Sendinblue\Client\Model\GetAccountPlan[]**](GetAccountPlan.md) | Information about your plans and credits | +**relay** | [**\Sendinblue\Client\Model\GetAccountRelay**](GetAccountRelay.md) | | [optional] +**marketingAutomation** | [**\Sendinblue\Client\Model\GetAccountMarketingAutomation**](GetAccountMarketingAutomation.md) | | [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/Model/GetAccountRelay.md b/docs/Model/GetAccountRelay.md index 2dcc6cc3..d0f94660 100644 --- a/docs/Model/GetAccountRelay.md +++ b/docs/Model/GetAccountRelay.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **enabled** | **bool** | Status of your SMTP Account (true=Enabled, false=Disabled) | -**data** | [**\Swagger\Client\Model\GetAccountRelayData**](GetAccountRelayData.md) | | [optional] +**data** | [**\Sendinblue\Client\Model\GetAccountRelayData**](GetAccountRelayData.md) | | [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/Model/GetAttributes.md b/docs/Model/GetAttributes.md old mode 100755 new mode 100644 index f89217f0..de4d7424 --- a/docs/Model/GetAttributes.md +++ b/docs/Model/GetAttributes.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**\Swagger\Client\Model\GetAttributesAttributes[]**](GetAttributesAttributes.md) | Listing of available contact attributes in your account | +**attributes** | [**\Sendinblue\Client\Model\GetAttributesAttributes[]**](GetAttributesAttributes.md) | Listing of available contact attributes in your account | [[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/Model/GetAttributesAttributes.md b/docs/Model/GetAttributesAttributes.md index c6651417..cad45c11 100644 --- a/docs/Model/GetAttributesAttributes.md +++ b/docs/Model/GetAttributesAttributes.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **string** | Name of the attribute | **category** | **string** | Category of the attribute | **type** | **string** | Type of the attribute | [optional] -**enumeration** | [**\Swagger\Client\Model\GetAttributesEnumeration[]**](GetAttributesEnumeration.md) | Parameter only available for \"category\" type attributes. | [optional] +**enumeration** | [**\Sendinblue\Client\Model\GetAttributesEnumeration[]**](GetAttributesEnumeration.md) | Parameter only available for \"category\" type attributes. | [optional] **calculatedValue** | **string** | Calculated value formula | [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/Model/GetCampaignOverview.md b/docs/Model/GetCampaignOverview.md index a79b6390..07824ecb 100644 --- a/docs/Model/GetCampaignOverview.md +++ b/docs/Model/GetCampaignOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | **type** | **string** | Type of campaign | **status** | **string** | Status of the campaign | -**scheduledAt** | **string** | Date on which campaign is scheduled | +**scheduledAt** | **string** | Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) | [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/Model/GetCampaignRecipients.md b/docs/Model/GetCampaignRecipients.md index 63d5acaf..23eac3af 100644 --- a/docs/Model/GetCampaignRecipients.md +++ b/docs/Model/GetCampaignRecipients.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lists** | [**\Swagger\Client\Model\GetCampaignRecipientsLists[]**](GetCampaignRecipientsLists.md) | Lists included in the campaign | -**exclusionLists** | [**\Swagger\Client\Model\GetCampaignRecipientsExclusionLists[]**](GetCampaignRecipientsExclusionLists.md) | Lists excluded of the campaign | +**lists** | [**\Sendinblue\Client\Model\GetCampaignRecipientsLists[]**](GetCampaignRecipientsLists.md) | Lists included in the campaign | +**exclusionLists** | [**\Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[]**](GetCampaignRecipientsExclusionLists.md) | Lists excluded of 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/Model/GetChildInfo.md b/docs/Model/GetChildInfo.md index 6afaeb44..7d371697 100644 --- a/docs/Model/GetChildInfo.md +++ b/docs/Model/GetChildInfo.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**credits** | [**\Swagger\Client\Model\GetChildInfoCredits**](GetChildInfoCredits.md) | | [optional] -**statistics** | [**\Swagger\Client\Model\GetChildInfoStatistics**](GetChildInfoStatistics.md) | | [optional] +**credits** | [**\Sendinblue\Client\Model\GetChildInfoCredits**](GetChildInfoCredits.md) | | [optional] +**statistics** | [**\Sendinblue\Client\Model\GetChildInfoStatistics**](GetChildInfoStatistics.md) | | [optional] **password** | **string** | The encrypted password of child account | -**ips** | [**\Swagger\Client\Model\GetChildInfoIps[]**](GetChildInfoIps.md) | IP(s) associated to a child account user | [optional] -**apiKeys** | [**\Swagger\Client\Model\GetChildInfoApiKeys[]**](GetChildInfoApiKeys.md) | API Keys associated to child account | [optional] +**ips** | [**\Sendinblue\Client\Model\GetChildInfoIps[]**](GetChildInfoIps.md) | IP(s) associated to a child account user | [optional] +**apiKeys** | [**\Sendinblue\Client\Model\GetChildInfoApiKeys[]**](GetChildInfoApiKeys.md) | API Keys associated to child account | [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/Model/GetChildrenList.md b/docs/Model/GetChildrenList.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetContactCampaignStats.md b/docs/Model/GetContactCampaignStats.md index 0b27fda8..0be89254 100644 --- a/docs/Model/GetContactCampaignStats.md +++ b/docs/Model/GetContactCampaignStats.md @@ -3,14 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**messagesSent** | [**\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**hardBounces** | [**\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**softBounces** | [**\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**complaints** | [**\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**unsubscriptions** | [**\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptions**](GetContactCampaignStatsUnsubscriptions.md) | | [optional] -**opened** | [**\Swagger\Client\Model\GetContactCampaignStatsOpened[]**](GetContactCampaignStatsOpened.md) | | [optional] -**clicked** | [**\Swagger\Client\Model\GetContactCampaignStatsClicked[]**](GetContactCampaignStatsClicked.md) | | [optional] -**transacAttributes** | [**\Swagger\Client\Model\GetContactCampaignStatsTransacAttributes[]**](GetContactCampaignStatsTransacAttributes.md) | | [optional] +**messagesSent** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**hardBounces** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**softBounces** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**complaints** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**unsubscriptions** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions**](GetContactCampaignStatsUnsubscriptions.md) | | [optional] +**opened** | [**\Sendinblue\Client\Model\GetContactCampaignStatsOpened[]**](GetContactCampaignStatsOpened.md) | | [optional] +**clicked** | [**\Sendinblue\Client\Model\GetContactCampaignStatsClicked[]**](GetContactCampaignStatsClicked.md) | | [optional] +**transacAttributes** | [**\Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[]**](GetContactCampaignStatsTransacAttributes.md) | | [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/Model/GetContactCampaignStatsClicked.md b/docs/Model/GetContactCampaignStatsClicked.md index ba7833ce..b222f974 100644 --- a/docs/Model/GetContactCampaignStatsClicked.md +++ b/docs/Model/GetContactCampaignStatsClicked.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **int** | ID of the campaign which generated the event | -**links** | [**\Swagger\Client\Model\GetContactCampaignStatsLinks[]**](GetContactCampaignStatsLinks.md) | | +**links** | [**\Sendinblue\Client\Model\GetContactCampaignStatsLinks[]**](GetContactCampaignStatsLinks.md) | | [[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/Model/GetContactCampaignStatsUnsubscriptions.md b/docs/Model/GetContactCampaignStatsUnsubscriptions.md index 59383e30..3c1a5eae 100644 --- a/docs/Model/GetContactCampaignStatsUnsubscriptions.md +++ b/docs/Model/GetContactCampaignStatsUnsubscriptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userUnsubscription** | [**\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email | -**adminUnsubscription** | [**\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator | +**userUnsubscription** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email | +**adminUnsubscription** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator | [[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/Model/GetContactDetails.md b/docs/Model/GetContactDetails.md index 0aa1bb66..6e1659c1 100644 --- a/docs/Model/GetContactDetails.md +++ b/docs/Model/GetContactDetails.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **int** | ID of the contact for which you requested the details | **emailBlacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **smsBlacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**modifiedAt** | [**\DateTime**](\DateTime.md) | Last modification date of the contact | +**modifiedAt** | **string** | Last modification date of the contact (YYYY-MM-DD HH:mm:ss) | **listIds** | **int[]** | | **listUnsubscribed** | **int[]** | | [optional] **attributes** | **map[string,string]** | | diff --git a/docs/Model/GetContacts.md b/docs/Model/GetContacts.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetEmailCampaign.md b/docs/Model/GetEmailCampaign.md index 35e08724..17163483 100644 --- a/docs/Model/GetEmailCampaign.md +++ b/docs/Model/GetEmailCampaign.md @@ -8,18 +8,18 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | **type** | **string** | Type of campaign | **status** | **string** | Status of the campaign | -**scheduledAt** | **string** | Date on which campaign is scheduled | +**scheduledAt** | **string** | Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) | [optional] **testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **string** | Header of the campaign | **footer** | **string** | Footer of the campaign | -**sender** | [**\Swagger\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" of the campaign | **toField** | **string** | Customisation of the \"to\" field of the campaign | **htmlContent** | **string** | HTML content of the campaign | **shareLink** | **string** | Link to share the campaign on social medias | **tag** | **string** | Tag of the campaign | -**createdAt** | **string** | Creation date of the campaign | -**modifiedAt** | **string** | Date of last modification of the campaign | +**createdAt** | **string** | Creation date of the campaign (YYYY-MM-DD HH:mm:ss) | +**modifiedAt** | **string** | Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) | **inlineImageActivation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirrorActive** | **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/Model/GetEmailEventReport.md b/docs/Model/GetEmailEventReport.md old mode 100755 new mode 100644 index f53942c3..84783e75 --- a/docs/Model/GetEmailEventReport.md +++ b/docs/Model/GetEmailEventReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**events** | [**\Swagger\Client\Model\GetEmailEventReportEvents[]**](GetEmailEventReportEvents.md) | | [optional] +**events** | [**\Sendinblue\Client\Model\GetEmailEventReportEvents[]**](GetEmailEventReportEvents.md) | | [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/Model/GetExtendedCampaignOverview.md b/docs/Model/GetExtendedCampaignOverview.md index 9ed05c76..eb1d0787 100644 --- a/docs/Model/GetExtendedCampaignOverview.md +++ b/docs/Model/GetExtendedCampaignOverview.md @@ -8,18 +8,18 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | **type** | **string** | Type of campaign | **status** | **string** | Status of the campaign | -**scheduledAt** | **string** | Date on which campaign is scheduled | +**scheduledAt** | **string** | Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) | [optional] **testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **string** | Header of the campaign | **footer** | **string** | Footer of the campaign | -**sender** | [**\Swagger\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" of the campaign | **toField** | **string** | Customisation of the \"to\" field of the campaign | **htmlContent** | **string** | HTML content of the campaign | **shareLink** | **string** | Link to share the campaign on social medias | **tag** | **string** | Tag of the campaign | -**createdAt** | **string** | Creation date of the campaign | -**modifiedAt** | **string** | Date of last modification of the campaign | +**createdAt** | **string** | Creation date of the campaign (YYYY-MM-DD HH:mm:ss) | +**modifiedAt** | **string** | Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) | **inlineImageActivation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional] **mirrorActive** | **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/Model/GetExtendedCampaignStats.md b/docs/Model/GetExtendedCampaignStats.md index 182508fd..1e0b411a 100644 --- a/docs/Model/GetExtendedCampaignStats.md +++ b/docs/Model/GetExtendedCampaignStats.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes **campaignStats** | **object[]** | | **mirrorClick** | **int** | Number of clicks on mirror link | **remaining** | **int** | Number of remaning emails to send | -**linksStats** | [**map[string,\Swagger\Client\Model\GetExtendedCampaignStatsLinksStats]**](GetExtendedCampaignStatsLinksStats.md) | | -**statsByDomain** | [**\Swagger\Client\Model\GetStatsByDomain**](GetStatsByDomain.md) | | +**linksStats** | [**map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats]**](GetExtendedCampaignStatsLinksStats.md) | | +**statsByDomain** | [**\Sendinblue\Client\Model\GetStatsByDomain**](GetStatsByDomain.md) | | [[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/Model/GetExtendedClient.md b/docs/Model/GetExtendedClient.md index f5c4f8b0..8f648087 100644 --- a/docs/Model/GetExtendedClient.md +++ b/docs/Model/GetExtendedClient.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**address** | [**\Swagger\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] +**address** | [**\Sendinblue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [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/Model/GetExtendedContactDetails.md b/docs/Model/GetExtendedContactDetails.md index e889c364..80d5cd9c 100644 --- a/docs/Model/GetExtendedContactDetails.md +++ b/docs/Model/GetExtendedContactDetails.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **int** | ID of the contact for which you requested the details | **emailBlacklisted** | **bool** | Blacklist status for email campaigns (true=blacklisted, false=not blacklisted) | **smsBlacklisted** | **bool** | Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted) | -**modifiedAt** | [**\DateTime**](\DateTime.md) | Last modification date of the contact | +**modifiedAt** | **string** | Last modification date of the contact (YYYY-MM-DD HH:mm:ss) | **listIds** | **int[]** | | **listUnsubscribed** | **int[]** | | [optional] **attributes** | **map[string,string]** | | diff --git a/docs/Model/GetExtendedList.md b/docs/Model/GetExtendedList.md index e0ea6c04..84331bf3 100644 --- a/docs/Model/GetExtendedList.md +++ b/docs/Model/GetExtendedList.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **totalBlacklisted** | **int** | Number of blacklisted contacts in the list | **totalSubscribers** | **int** | Number of contacts in the list | **folderId** | **int** | ID of the folder | -**createdAt** | [**\DateTime**](Date.md) | Creation Date of the list | -**campaignStats** | [**\Swagger\Client\Model\GetExtendedListCampaignStats[]**](GetExtendedListCampaignStats.md) | | [optional] +**createdAt** | **string** | Creation Date of the list (YYYY-MM-DD) | +**campaignStats** | [**\Sendinblue\Client\Model\GetExtendedListCampaignStats[]**](GetExtendedListCampaignStats.md) | | [optional] **dynamicList** | **bool** | Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) | [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/Model/GetExtendedListCampaignStats.md b/docs/Model/GetExtendedListCampaignStats.md index 4c25bae6..6d3d6761 100644 --- a/docs/Model/GetExtendedListCampaignStats.md +++ b/docs/Model/GetExtendedListCampaignStats.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **int** | ID of the campaign | -**stats** | [**\Swagger\Client\Model\GetCampaignStats**](GetCampaignStats.md) | | +**stats** | [**\Sendinblue\Client\Model\GetCampaignStats**](GetCampaignStats.md) | | [[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/Model/GetFolderLists.md b/docs/Model/GetFolderLists.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetFolders.md b/docs/Model/GetFolders.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetIp.md b/docs/Model/GetIp.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetIpFromSender.md b/docs/Model/GetIpFromSender.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetIps.md b/docs/Model/GetIps.md old mode 100755 new mode 100644 index 8dadc761..99331f77 --- a/docs/Model/GetIps.md +++ b/docs/Model/GetIps.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ips** | [**\Swagger\Client\Model\GetIp[]**](GetIp.md) | Dedicated IP(s) available on your account | +**ips** | [**\Sendinblue\Client\Model\GetIp[]**](GetIp.md) | Dedicated IP(s) available on your account | [[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/Model/GetIpsFromSender.md b/docs/Model/GetIpsFromSender.md old mode 100755 new mode 100644 index be9b6a45..eae1f6bd --- a/docs/Model/GetIpsFromSender.md +++ b/docs/Model/GetIpsFromSender.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ips** | [**\Swagger\Client\Model\GetIpFromSender[]**](GetIpFromSender.md) | Dedicated IP(s) linked to a sender | +**ips** | [**\Sendinblue\Client\Model\GetIpFromSender[]**](GetIpFromSender.md) | Dedicated IP(s) linked to a sender | [[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/Model/GetLists.md b/docs/Model/GetLists.md old mode 100755 new mode 100644 index 0d1d8ccf..9728fe93 --- a/docs/Model/GetLists.md +++ b/docs/Model/GetLists.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **int** | Number of lists in your account | -**lists** | [**\Swagger\Client\Model\GetListsLists[]**](GetListsLists.md) | Listing of all the lists available in your account | +**lists** | [**\Sendinblue\Client\Model\GetListsLists[]**](GetListsLists.md) | Listing of all the lists available in your account | [[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/Model/GetListsLists.md b/docs/Model/GetListsLists.md index e5e16ed4..62d4ed7b 100644 --- a/docs/Model/GetListsLists.md +++ b/docs/Model/GetListsLists.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**folder** | [**\Swagger\Client\Model\GetListsFolder**](GetListsFolder.md) | | [optional] +**folder** | [**\Sendinblue\Client\Model\GetListsFolder**](GetListsFolder.md) | | [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/Model/GetProcesses.md b/docs/Model/GetProcesses.md old mode 100755 new mode 100644 index 43114b89..ad433859 --- a/docs/Model/GetProcesses.md +++ b/docs/Model/GetProcesses.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**processes** | [**\Swagger\Client\Model\GetProcess[]**](GetProcess.md) | List of processes available on your account | [optional] +**processes** | [**\Sendinblue\Client\Model\GetProcess[]**](GetProcess.md) | List of processes available on your account | [optional] **count** | **int** | Number of processes available on your account | [[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/Model/GetReports.md b/docs/Model/GetReports.md old mode 100755 new mode 100644 index b654d77e..61b1a599 --- a/docs/Model/GetReports.md +++ b/docs/Model/GetReports.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reports** | [**\Swagger\Client\Model\GetReportsReports[]**](GetReportsReports.md) | | [optional] +**reports** | [**\Sendinblue\Client\Model\GetReportsReports[]**](GetReportsReports.md) | | [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/Model/GetSendersList.md b/docs/Model/GetSendersList.md old mode 100755 new mode 100644 index 5562c49e..2c37509b --- a/docs/Model/GetSendersList.md +++ b/docs/Model/GetSendersList.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**senders** | [**\Swagger\Client\Model\GetSendersListSenders[]**](GetSendersListSenders.md) | List of the senders available in your account | [optional] +**senders** | [**\Sendinblue\Client\Model\GetSendersListSenders[]**](GetSendersListSenders.md) | List of the senders available in your account | [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/Model/GetSendersListSenders.md b/docs/Model/GetSendersListSenders.md index 4dc22712..e8c743a5 100644 --- a/docs/Model/GetSendersListSenders.md +++ b/docs/Model/GetSendersListSenders.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **string** | From Name associated to the sender | **email** | **string** | From Email associated to the sender | **active** | **bool** | Status of sender (true=activated, false=deactivated) | -**ips** | [**\Swagger\Client\Model\GetSendersListIps[]**](GetSendersListIps.md) | List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs | [optional] +**ips** | [**\Sendinblue\Client\Model\GetSendersListIps[]**](GetSendersListIps.md) | List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs | [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/Model/GetSmsCampaign.md b/docs/Model/GetSmsCampaign.md index bc057a7f..05064a51 100644 --- a/docs/Model/GetSmsCampaign.md +++ b/docs/Model/GetSmsCampaign.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **name** | **string** | Name of the SMS Campaign | **status** | **string** | Status of the SMS Campaign | **content** | **string** | Content of the SMS Campaign | -**scheduledAt** | **string** | Date on which SMS campaign is scheduled | +**scheduledAt** | **string** | Date on which SMS campaign is scheduled. Should be in YYYY-MM-DD HH:mm:ss format | **testSent** | **bool** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **string** | Sender of the SMS Campaign | -**createdAt** | **string** | Creation date of the SMS campaign | -**modifiedAt** | **string** | Date of last modification of the SMS campaign | +**createdAt** | **string** | Creation date of the SMS campaign (YYYY-MM-DD HH:mm:ss) | +**modifiedAt** | **string** | Date of last modification of the SMS campaign (YYYY-MM-DD HH:mm:ss) | [[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/Model/GetSmsCampaignOverview.md b/docs/Model/GetSmsCampaignOverview.md index 8b76d387..d3d3e942 100644 --- a/docs/Model/GetSmsCampaignOverview.md +++ b/docs/Model/GetSmsCampaignOverview.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **name** | **string** | Name of the SMS Campaign | **status** | **string** | Status of the SMS Campaign | **content** | **string** | Content of the SMS Campaign | -**scheduledAt** | **string** | Date on which SMS campaign is scheduled | +**scheduledAt** | **string** | Date on which SMS campaign is scheduled. Should be in YYYY-MM-DD HH:mm:ss format | **testSent** | **bool** | Retrieved the status of test SMS sending. (true=Test SMS has been sent false=Test SMS has not been sent) | **sender** | **string** | Sender of the SMS Campaign | -**createdAt** | **string** | Creation date of the SMS campaign | -**modifiedAt** | **string** | Date of last modification of the SMS campaign | +**createdAt** | **string** | Creation date of the SMS campaign (YYYY-MM-DD HH:mm:ss) | +**modifiedAt** | **string** | Date of last modification of the SMS campaign (YYYY-MM-DD HH:mm:ss) | [[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/Model/GetSmsCampaigns.md b/docs/Model/GetSmsCampaigns.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetSmsEventReport.md b/docs/Model/GetSmsEventReport.md old mode 100755 new mode 100644 index c7ad7024..b1828923 --- a/docs/Model/GetSmsEventReport.md +++ b/docs/Model/GetSmsEventReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**events** | [**\Swagger\Client\Model\GetSmsEventReportEvents[]**](GetSmsEventReportEvents.md) | | [optional] +**events** | [**\Sendinblue\Client\Model\GetSmsEventReportEvents[]**](GetSmsEventReportEvents.md) | | [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/Model/GetSmtpTemplateOverview.md b/docs/Model/GetSmtpTemplateOverview.md index 85f010e5..531a0ed4 100644 --- a/docs/Model/GetSmtpTemplateOverview.md +++ b/docs/Model/GetSmtpTemplateOverview.md @@ -8,13 +8,13 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the template | **isActive** | **bool** | Status of template (true=active, false=inactive) | **testSent** | **bool** | Status of test sending for the template (true=test email has been sent, false=test email has not been sent) | -**sender** | [**\Swagger\Client\Model\GetSmtpTemplateOverviewSender**](GetSmtpTemplateOverviewSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\GetSmtpTemplateOverviewSender**](GetSmtpTemplateOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" for the template | **toField** | **string** | Customisation of the \"to\" field for the template | **tag** | **string** | Tag of the template | **htmlContent** | **string** | HTML content of the template | -**createdAt** | **string** | Creation date of the template | -**modifiedAt** | **string** | Last modification date of the template | +**createdAt** | **string** | Creation date of the template (YYYY-MM-DD HH:mm:ss) | +**modifiedAt** | **string** | Last modification date of the template (YYYY-MM-DD HH:mm:ss) | [[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/Model/GetSmtpTemplates.md b/docs/Model/GetSmtpTemplates.md old mode 100755 new mode 100644 index 299240dd..3fbbecf0 --- a/docs/Model/GetSmtpTemplates.md +++ b/docs/Model/GetSmtpTemplates.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **int** | Count of smtp templates | [optional] -**templates** | [**\Swagger\Client\Model\GetSmtpTemplateOverview[]**](GetSmtpTemplateOverview.md) | | [optional] +**templates** | [**\Sendinblue\Client\Model\GetSmtpTemplateOverview[]**](GetSmtpTemplateOverview.md) | | [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/Model/GetStatsByDomain.md b/docs/Model/GetStatsByDomain.md old mode 100755 new mode 100644 diff --git a/docs/Model/GetTransacSmsReport.md b/docs/Model/GetTransacSmsReport.md old mode 100755 new mode 100644 index 3a58e006..89f688cb --- a/docs/Model/GetTransacSmsReport.md +++ b/docs/Model/GetTransacSmsReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reports** | [**\Swagger\Client\Model\GetTransacSmsReportReports[]**](GetTransacSmsReportReports.md) | | [optional] +**reports** | [**\Sendinblue\Client\Model\GetTransacSmsReportReports[]**](GetTransacSmsReportReports.md) | | [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/Model/GetWebhook.md b/docs/Model/GetWebhook.md index a678dcd1..99e3822f 100644 --- a/docs/Model/GetWebhook.md +++ b/docs/Model/GetWebhook.md @@ -8,8 +8,8 @@ Name | Type | Description | Notes **description** | **string** | Description of the webhook | **events** | **string[]** | | **type** | **string** | Type of webhook (marketing or transac) | -**createdAt** | [**\DateTime**](Date.md) | Creation date of the webhook | -**modifiedAt** | [**\DateTime**](Date.md) | Last modification date of the webhook | +**createdAt** | **string** | Creation date of the webhook (YYYY-MM-DD) | +**modifiedAt** | **string** | Last modification date of the webhook (YYYY-MM-DD) | [[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/Model/GetWebhooks.md b/docs/Model/GetWebhooks.md old mode 100755 new mode 100644 diff --git a/docs/Model/PostContactInfo.md b/docs/Model/PostContactInfo.md old mode 100755 new mode 100644 index 68d00f99..b61246ae --- a/docs/Model/PostContactInfo.md +++ b/docs/Model/PostContactInfo.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**contacts** | [**\Swagger\Client\Model\PostContactInfoContacts**](PostContactInfoContacts.md) | | [optional] +**contacts** | [**\Sendinblue\Client\Model\PostContactInfoContacts**](PostContactInfoContacts.md) | | [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/Model/RemainingCreditModel.md b/docs/Model/RemainingCreditModel.md old mode 100755 new mode 100644 index a6ea357c..3c5b6184 --- a/docs/Model/RemainingCreditModel.md +++ b/docs/Model/RemainingCreditModel.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**child** | [**\Swagger\Client\Model\RemainingCreditModelChild**](RemainingCreditModelChild.md) | | [optional] -**reseller** | [**\Swagger\Client\Model\RemainingCreditModelReseller**](RemainingCreditModelReseller.md) | | [optional] +**child** | [**\Sendinblue\Client\Model\RemainingCreditModelChild**](RemainingCreditModelChild.md) | | [optional] +**reseller** | [**\Sendinblue\Client\Model\RemainingCreditModelReseller**](RemainingCreditModelReseller.md) | | [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/Model/RemoveCredits.md b/docs/Model/RemoveCredits.md old mode 100755 new mode 100644 diff --git a/docs/Model/RequestContactImport.md b/docs/Model/RequestContactImport.md index 281af433..9b2a8614 100644 --- a/docs/Model/RequestContactImport.md +++ b/docs/Model/RequestContactImport.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **fileBody** | **string** | Mandatory if fileUrl is not defined. CSV content to be imported. Use semicolon to separate multiple attributes | [optional] **listIds** | **int[]** | Manadatory if newList is not defined. Ids of the lists in which to add the contacts | [optional] **notifyUrl** | **string** | URL that will be called once the export process is finished | [optional] -**newList** | [**\Swagger\Client\Model\RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional] +**newList** | [**\Sendinblue\Client\Model\RequestContactImportNewList**](RequestContactImportNewList.md) | | [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/Model/SendEmail.md b/docs/Model/SendEmail.md index df19c128..91ab35c2 100644 --- a/docs/Model/SendEmail.md +++ b/docs/Model/SendEmail.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **emailCc** | **string[]** | Email addresses of the recipients in cc | [optional] **replyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional] **attachmentUrl** | **string** | Absolute url of the attachment (no local file). Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] -**attachment** | [**\Swagger\Client\Model\SendEmailAttachment[]**](SendEmailAttachment.md) | Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] +**attachment** | [**\Sendinblue\Client\Model\SendEmailAttachment[]**](SendEmailAttachment.md) | Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] **headers** | **map[string,string]** | | [optional] **attributes** | **map[string,string]** | | [optional] diff --git a/docs/Model/SendReport.md b/docs/Model/SendReport.md old mode 100755 new mode 100644 index e83a1301..92b2f737 --- a/docs/Model/SendReport.md +++ b/docs/Model/SendReport.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **language** | **string** | Language of email content for campaign report sending. | [optional] [default to 'fr'] -**email** | [**\Swagger\Client\Model\SendReportEmail**](SendReportEmail.md) | | [optional] +**email** | [**\Sendinblue\Client\Model\SendReportEmail**](SendReportEmail.md) | | [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/Model/SendSms.md b/docs/Model/SendSms.md old mode 100755 new mode 100644 diff --git a/docs/Model/SendSmtpEmail.md b/docs/Model/SendSmtpEmail.md index 4b49e1cc..ead8bdb7 100644 --- a/docs/Model/SendSmtpEmail.md +++ b/docs/Model/SendSmtpEmail.md @@ -3,15 +3,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sender** | [**\Swagger\Client\Model\SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] -**to** | [**\Swagger\Client\Model\SendSmtpEmailTo[]**](SendSmtpEmailTo.md) | Email addresses and names of the recipients | -**bcc** | [**\Swagger\Client\Model\SendSmtpEmailBcc[]**](SendSmtpEmailBcc.md) | Email addresses and names of the recipients in bcc | [optional] -**cc** | [**\Swagger\Client\Model\SendSmtpEmailCc[]**](SendSmtpEmailCc.md) | Email addresses and names of the recipients in cc | [optional] +**sender** | [**\Sendinblue\Client\Model\SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] +**to** | [**\Sendinblue\Client\Model\SendSmtpEmailTo[]**](SendSmtpEmailTo.md) | Email addresses and names of the recipients | +**bcc** | [**\Sendinblue\Client\Model\SendSmtpEmailBcc[]**](SendSmtpEmailBcc.md) | Email addresses and names of the recipients in bcc | [optional] +**cc** | [**\Sendinblue\Client\Model\SendSmtpEmailCc[]**](SendSmtpEmailCc.md) | Email addresses and names of the recipients in cc | [optional] **htmlContent** | **string** | HTML body of the message | **textContent** | **string** | Plain Text body of the message | [optional] **subject** | **string** | Subject of the message | -**replyTo** | [**\Swagger\Client\Model\SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] -**attachment** | [**\Swagger\Client\Model\SendSmtpEmailAttachment[]**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] +**replyTo** | [**\Sendinblue\Client\Model\SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] +**attachment** | [**\Sendinblue\Client\Model\SendSmtpEmailAttachment[]**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] **headers** | **map[string,string]** | | [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/Model/UpdateCampaignStatus.md b/docs/Model/UpdateCampaignStatus.md old mode 100755 new mode 100644 diff --git a/docs/Model/UpdateEmailCampaign.md b/docs/Model/UpdateEmailCampaign.md index 288d43c5..9b519610 100644 --- a/docs/Model/UpdateEmailCampaign.md +++ b/docs/Model/UpdateEmailCampaign.md @@ -4,15 +4,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the campaign | [optional] -**sender** | [**\Swagger\Client\Model\UpdateEmailCampaignSender**](UpdateEmailCampaignSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\UpdateEmailCampaignSender**](UpdateEmailCampaignSender.md) | | [optional] **name** | **string** | Name of the campaign | [optional] **htmlContent** | **string** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional] **htmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] -**scheduledAt** | **string** | Date and time on which the campaign has to run | [optional] +**scheduledAt** | **string** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [optional] **subject** | **string** | Subject of the campaign | [optional] **replyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional] **toField** | **string** | This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add [FNAME] [LNAME]. To use the contact attributes here, these must already exist in SendinBlue account | [optional] -**recipients** | [**\Swagger\Client\Model\UpdateEmailCampaignRecipients**](UpdateEmailCampaignRecipients.md) | | [optional] +**recipients** | [**\Sendinblue\Client\Model\UpdateEmailCampaignRecipients**](UpdateEmailCampaignRecipients.md) | | [optional] **attachmentUrl** | **string** | Absolute url of the attachment. Url not allowed from local machine. File must be hosted somewhere.Possilbe extension values are xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff and rtf | [optional] **inlineImageActivation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. You cannot send a campaign of more than 4MB with images embedded in the email. Campaigns with the images embedded in the email must be sent to less than 5000 contacts. | [optional] [default to false] **mirrorActive** | **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] diff --git a/docs/Model/UpdateSender.md b/docs/Model/UpdateSender.md old mode 100755 new mode 100644 index 260c3284..b8b7c0e6 --- a/docs/Model/UpdateSender.md +++ b/docs/Model/UpdateSender.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | From Name to update the sender | [optional] **email** | **string** | From Email to update the sender | [optional] -**ips** | [**\Swagger\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. | [optional] +**ips** | [**\Sendinblue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. | [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/Model/UpdateSmsCampaign.md b/docs/Model/UpdateSmsCampaign.md index 78e7b422..2b52c32e 100644 --- a/docs/Model/UpdateSmsCampaign.md +++ b/docs/Model/UpdateSmsCampaign.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes **name** | **string** | Name of the campaign | [optional] **sender** | **string** | Name of the sender. The number of characters is limited to 11 | [optional] **content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] -**recipients** | [**\Swagger\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] -**scheduledAt** | **string** | Date and time on which the campaign has to run | [optional] +**recipients** | [**\Sendinblue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] +**scheduledAt** | **string** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [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/Model/UpdateSmtpTemplate.md b/docs/Model/UpdateSmtpTemplate.md index 8918a606..daef670b 100644 --- a/docs/Model/UpdateSmtpTemplate.md +++ b/docs/Model/UpdateSmtpTemplate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the template | [optional] -**sender** | [**\Swagger\Client\Model\UpdateSmtpTemplateSender**](UpdateSmtpTemplateSender.md) | | [optional] +**sender** | [**\Sendinblue\Client\Model\UpdateSmtpTemplateSender**](UpdateSmtpTemplateSender.md) | | [optional] **templateName** | **string** | Name of the template | [optional] **htmlContent** | **string** | Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters) | [optional] **htmlUrl** | **string** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional] diff --git a/docs/Model/UpdateWebhook.md b/docs/Model/UpdateWebhook.md old mode 100755 new mode 100644 diff --git a/lib/Api/AccountApi.php b/lib/Api/AccountApi.php old mode 100755 new mode 100644 index e57fe7c3..0a862e92 --- a/lib/Api/AccountApi.php +++ b/lib/Api/AccountApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * AccountApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class AccountApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return AccountApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,8 +92,8 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Get your account informations, plans and credits details * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetAccount + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetAccount */ public function getAccount() { @@ -106,8 +106,8 @@ public function getAccount() * * Get your account informations, plans and credits details * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetAccount, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetAccount, HTTP status code, HTTP response headers (array of strings) */ public function getAccountWithHttpInfo() { @@ -143,15 +143,15 @@ public function getAccountWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetAccount', + '\Sendinblue\Client\Model\GetAccount', '/account' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetAccount', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAccount', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetAccount', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAccount', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/AttributesApi.php b/lib/Api/AttributesApi.php index d452c3aa..d45759be 100644 --- a/lib/Api/AttributesApi.php +++ b/lib/Api/AttributesApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * AttributesApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class AttributesApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return AttributesApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Creates contact attributes * - * @param \Swagger\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createAttribute($createAttribute) { @@ -107,9 +107,9 @@ public function createAttribute($createAttribute) * * Creates contact attributes * - * @param \Swagger\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createAttributeWithHttpInfo($createAttribute) { @@ -154,19 +154,19 @@ public function createAttributeWithHttpInfo($createAttribute) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createAttributeWithHttpInfo($createAttribute) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteAttribute($attributeId) @@ -196,7 +196,7 @@ public function deleteAttribute($attributeId) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteAttributeWithHttpInfo($attributeId) @@ -253,11 +253,11 @@ public function deleteAttributeWithHttpInfo($attributeId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -271,8 +271,8 @@ public function deleteAttributeWithHttpInfo($attributeId) * * Lists all attributes * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetAttributes + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetAttributes */ public function getAttributes() { @@ -285,8 +285,8 @@ public function getAttributes() * * Lists all attributes * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) */ public function getAttributesWithHttpInfo() { @@ -322,15 +322,15 @@ public function getAttributesWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetAttributes', + '\Sendinblue\Client\Model\GetAttributes', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetAttributes', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAttributes', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ContactsApi.php b/lib/Api/ContactsApi.php index 2563aa7b..591f2679 100644 --- a/lib/Api/ContactsApi.php +++ b/lib/Api/ContactsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * ContactsApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ContactsApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return ContactsApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\PostContactInfo + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\PostContactInfo */ public function addContactToList($listId, $contactEmails) { @@ -109,9 +109,9 @@ public function addContactToList($listId, $contactEmails) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function addContactToListWithHttpInfo($listId, $contactEmails) { @@ -168,23 +168,23 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\PostContactInfo', + '\Sendinblue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -198,9 +198,9 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) * * Creates contact attributes * - * @param \Swagger\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createAttribute($createAttribute) { @@ -213,9 +213,9 @@ public function createAttribute($createAttribute) * * Creates contact attributes * - * @param \Swagger\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createAttributeWithHttpInfo($createAttribute) { @@ -260,19 +260,19 @@ public function createAttributeWithHttpInfo($createAttribute) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -286,9 +286,9 @@ public function createAttributeWithHttpInfo($createAttribute) * * Create a contact * - * @param \Swagger\Client\Model\CreateContact $createContact Values to create a contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateContact $createContact Values to create a contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createContact($createContact) { @@ -301,9 +301,9 @@ public function createContact($createContact) * * Create a contact * - * @param \Swagger\Client\Model\CreateContact $createContact Values to create a contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateContact $createContact Values to create a contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createContactWithHttpInfo($createContact) { @@ -348,19 +348,19 @@ public function createContactWithHttpInfo($createContact) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -374,9 +374,9 @@ public function createContactWithHttpInfo($createContact) * * Create a folder * - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createFolder($name) { @@ -389,9 +389,9 @@ public function createFolder($name) * * Create a folder * - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createFolderWithHttpInfo($name) { @@ -436,19 +436,19 @@ public function createFolderWithHttpInfo($name) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -462,9 +462,9 @@ public function createFolderWithHttpInfo($name) * * Create a list * - * @param \Swagger\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createList($createList) { @@ -477,9 +477,9 @@ public function createList($createList) * * Create a list * - * @param \Swagger\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createListWithHttpInfo($createList) { @@ -524,19 +524,19 @@ public function createListWithHttpInfo($createList) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -551,7 +551,7 @@ public function createListWithHttpInfo($createList) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteAttribute($attributeId) @@ -566,7 +566,7 @@ public function deleteAttribute($attributeId) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteAttributeWithHttpInfo($attributeId) @@ -623,11 +623,11 @@ public function deleteAttributeWithHttpInfo($attributeId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -642,7 +642,7 @@ public function deleteAttributeWithHttpInfo($attributeId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteFolder($folderId) @@ -657,7 +657,7 @@ public function deleteFolder($folderId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteFolderWithHttpInfo($folderId) @@ -714,11 +714,11 @@ public function deleteFolderWithHttpInfo($folderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -733,7 +733,7 @@ public function deleteFolderWithHttpInfo($folderId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteList($listId) @@ -748,7 +748,7 @@ public function deleteList($listId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteListWithHttpInfo($listId) @@ -805,11 +805,11 @@ public function deleteListWithHttpInfo($listId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -823,8 +823,8 @@ public function deleteListWithHttpInfo($listId) * * Lists all attributes * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetAttributes + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetAttributes */ public function getAttributes() { @@ -837,8 +837,8 @@ public function getAttributes() * * Lists all attributes * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) */ public function getAttributesWithHttpInfo() { @@ -874,15 +874,15 @@ public function getAttributesWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetAttributes', + '\Sendinblue\Client\Model\GetAttributes', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetAttributes', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAttributes', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -897,8 +897,8 @@ public function getAttributesWithHttpInfo() * Retrieves contact informations * * @param string $email Email (urlencoded) of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetExtendedContactDetails + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetExtendedContactDetails */ public function getContactInfo($email) { @@ -912,8 +912,8 @@ public function getContactInfo($email) * Retrieves contact informations * * @param string $email Email (urlencoded) of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetExtendedContactDetails, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetExtendedContactDetails, HTTP status code, HTTP response headers (array of strings) */ public function getContactInfoWithHttpInfo($email) { @@ -961,23 +961,23 @@ public function getContactInfoWithHttpInfo($email) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetExtendedContactDetails', + '\Sendinblue\Client\Model\GetExtendedContactDetails', '/contacts/{email}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetExtendedContactDetails', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedContactDetails', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetExtendedContactDetails', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedContactDetails', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -992,8 +992,8 @@ public function getContactInfoWithHttpInfo($email) * Get the campaigns statistics for a contact * * @param string $email Email address (urlencoded) of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetContactCampaignStats + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetContactCampaignStats */ public function getContactStats($email) { @@ -1007,8 +1007,8 @@ public function getContactStats($email) * Get the campaigns statistics for a contact * * @param string $email Email address (urlencoded) of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetContactCampaignStats, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetContactCampaignStats, HTTP status code, HTTP response headers (array of strings) */ public function getContactStatsWithHttpInfo($email) { @@ -1056,23 +1056,23 @@ public function getContactStatsWithHttpInfo($email) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetContactCampaignStats', + '\Sendinblue\Client\Model\GetContactCampaignStats', '/contacts/{email}/campaignStats' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetContactCampaignStats', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContactCampaignStats', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetContactCampaignStats', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContactCampaignStats', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1088,8 +1088,8 @@ public function getContactStatsWithHttpInfo($email) * * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetContacts + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetContacts */ public function getContacts($limit = '50', $offset = '0') { @@ -1104,8 +1104,8 @@ public function getContacts($limit = '50', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsWithHttpInfo($limit = '50', $offset = '0') { @@ -1153,19 +1153,19 @@ public function getContactsWithHttpInfo($limit = '50', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetContacts', + '\Sendinblue\Client\Model\GetContacts', '/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1183,8 +1183,8 @@ public function getContactsWithHttpInfo($limit = '50', $offset = '0') * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetContacts + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetContacts */ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -1201,8 +1201,8 @@ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50 * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -1270,23 +1270,23 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetContacts', + '\Sendinblue\Client\Model\GetContacts', '/contacts/lists/{listId}/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1301,8 +1301,8 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolder + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolder */ public function getFolder($folderId) { @@ -1316,8 +1316,8 @@ public function getFolder($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) */ public function getFolderWithHttpInfo($folderId) { @@ -1365,23 +1365,23 @@ public function getFolderWithHttpInfo($folderId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolder', + '\Sendinblue\Client\Model\GetFolder', '/contacts/folders/{folderId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolder', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolder', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1398,8 +1398,8 @@ public function getFolderWithHttpInfo($folderId) * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolderLists + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -1415,8 +1415,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -1476,23 +1476,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolderLists', + '\Sendinblue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1508,8 +1508,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolders + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolders */ public function getFolders($limit, $offset) { @@ -1524,8 +1524,8 @@ public function getFolders($limit, $offset) * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) */ public function getFoldersWithHttpInfo($limit, $offset) { @@ -1581,19 +1581,19 @@ public function getFoldersWithHttpInfo($limit, $offset) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolders', + '\Sendinblue\Client\Model\GetFolders', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolders', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolders', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1608,8 +1608,8 @@ public function getFoldersWithHttpInfo($limit, $offset) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetExtendedList + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetExtendedList */ public function getList($listId) { @@ -1623,8 +1623,8 @@ public function getList($listId) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) */ public function getListWithHttpInfo($listId) { @@ -1672,23 +1672,23 @@ public function getListWithHttpInfo($listId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetExtendedList', + '\Sendinblue\Client\Model\GetExtendedList', '/contacts/lists/{listId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetExtendedList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1704,8 +1704,8 @@ public function getListWithHttpInfo($listId) * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetLists + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetLists */ public function getLists($limit = '10', $offset = '0') { @@ -1720,8 +1720,8 @@ public function getLists($limit = '10', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) */ public function getListsWithHttpInfo($limit = '10', $offset = '0') { @@ -1769,19 +1769,19 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetLists', + '\Sendinblue\Client\Model\GetLists', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1795,9 +1795,9 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') * * Import contacts * - * @param \Swagger\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreatedProcessId + * @param \Sendinblue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreatedProcessId */ public function importContacts($requestContactImport) { @@ -1810,9 +1810,9 @@ public function importContacts($requestContactImport) * * Import contacts * - * @param \Swagger\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function importContactsWithHttpInfo($requestContactImport) { @@ -1857,19 +1857,19 @@ public function importContactsWithHttpInfo($requestContactImport) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreatedProcessId', + '\Sendinblue\Client\Model\CreatedProcessId', '/contacts/import' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1884,9 +1884,9 @@ public function importContactsWithHttpInfo($requestContactImport) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\PostContactInfo + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\PostContactInfo */ public function removeContactToList($listId, $contactEmails) { @@ -1900,9 +1900,9 @@ public function removeContactToList($listId, $contactEmails) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function removeContactToListWithHttpInfo($listId, $contactEmails) { @@ -1959,23 +1959,23 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\PostContactInfo', + '\Sendinblue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1989,9 +1989,9 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) * * Export contacts * - * @param \Swagger\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreatedProcessId + * @param \Sendinblue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreatedProcessId */ public function requestContactExport($requestContactExport) { @@ -2004,9 +2004,9 @@ public function requestContactExport($requestContactExport) * * Export contacts * - * @param \Swagger\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function requestContactExportWithHttpInfo($requestContactExport) { @@ -2051,19 +2051,19 @@ public function requestContactExportWithHttpInfo($requestContactExport) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreatedProcessId', + '\Sendinblue\Client\Model\CreatedProcessId', '/contacts/export' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2078,8 +2078,8 @@ public function requestContactExportWithHttpInfo($requestContactExport) * Updates a contact * * @param string $email Email (urlencoded) of the contact (required) - * @param \Swagger\Client\Model\UpdateContact $updateContact Values to update a contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateContact $updateContact Values to update a contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateContact($email, $updateContact) @@ -2094,8 +2094,8 @@ public function updateContact($email, $updateContact) * Updates a contact * * @param string $email Email (urlencoded) of the contact (required) - * @param \Swagger\Client\Model\UpdateContact $updateContact Values to update a contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateContact $updateContact Values to update a contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateContactWithHttpInfo($email, $updateContact) @@ -2161,11 +2161,11 @@ public function updateContactWithHttpInfo($email, $updateContact) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2180,8 +2180,8 @@ public function updateContactWithHttpInfo($email, $updateContact) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateFolder($folderId, $name) @@ -2196,8 +2196,8 @@ public function updateFolder($folderId, $name) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateFolderWithHttpInfo($folderId, $name) @@ -2263,11 +2263,11 @@ public function updateFolderWithHttpInfo($folderId, $name) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2282,8 +2282,8 @@ public function updateFolderWithHttpInfo($folderId, $name) * Update a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateList($listId, $updateList) @@ -2298,8 +2298,8 @@ public function updateList($listId, $updateList) * Update a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateListWithHttpInfo($listId, $updateList) @@ -2365,11 +2365,11 @@ public function updateListWithHttpInfo($listId, $updateList) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/EmailCampaignsApi.php b/lib/Api/EmailCampaignsApi.php index 9632bd41..e0fc3afa 100644 --- a/lib/Api/EmailCampaignsApi.php +++ b/lib/Api/EmailCampaignsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * EmailCampaignsApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class EmailCampaignsApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return EmailCampaignsApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Create an email campaign * - * @param \Swagger\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createEmailCampaign($emailCampaigns) { @@ -107,9 +107,9 @@ public function createEmailCampaign($emailCampaigns) * * Create an email campaign * - * @param \Swagger\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createEmailCampaignWithHttpInfo($emailCampaigns) { @@ -154,19 +154,19 @@ public function createEmailCampaignWithHttpInfo($emailCampaigns) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/emailCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createEmailCampaignWithHttpInfo($emailCampaigns) * Delete an email campaign * * @param string $campaignId id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteEmailCampaigns($campaignId) @@ -196,7 +196,7 @@ public function deleteEmailCampaigns($campaignId) * Delete an email campaign * * @param string $campaignId id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteEmailCampaignsWithHttpInfo($campaignId) @@ -253,11 +253,11 @@ public function deleteEmailCampaignsWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,9 +272,9 @@ public function deleteEmailCampaignsWithHttpInfo($campaignId) * Export the recipients of a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreatedProcessId + * @param \Sendinblue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreatedProcessId */ public function emailExportRecipients($campaignId, $recipientExport = null) { @@ -288,9 +288,9 @@ public function emailExportRecipients($campaignId, $recipientExport = null) * Export the recipients of a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport = null) { @@ -343,23 +343,23 @@ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreatedProcessId', + '\Sendinblue\Client\Model\CreatedProcessId', '/emailCampaigns/{campaignId}/exportRecipients' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -374,8 +374,8 @@ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport * Get campaign informations * * @param string $campaignId Id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetEmailCampaign + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetEmailCampaign */ public function getEmailCampaign($campaignId) { @@ -389,8 +389,8 @@ public function getEmailCampaign($campaignId) * Get campaign informations * * @param string $campaignId Id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetEmailCampaign, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetEmailCampaign, HTTP status code, HTTP response headers (array of strings) */ public function getEmailCampaignWithHttpInfo($campaignId) { @@ -438,23 +438,23 @@ public function getEmailCampaignWithHttpInfo($campaignId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetEmailCampaign', + '\Sendinblue\Client\Model\GetEmailCampaign', '/emailCampaigns/{campaignId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetEmailCampaign', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailCampaign', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetEmailCampaign', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailCampaign', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -472,8 +472,8 @@ public function getEmailCampaignWithHttpInfo($campaignId) * @param string $status Filter on the status of the campaign (optional) * @param int $limit Number of documents per page (optional, default to 500) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetEmailCampaigns + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetEmailCampaigns */ public function getEmailCampaigns($type = null, $status = null, $limit = '500', $offset = '0') { @@ -490,8 +490,8 @@ public function getEmailCampaigns($type = null, $status = null, $limit = '500', * @param string $status Filter on the status of the campaign (optional) * @param int $limit Number of documents per page (optional, default to 500) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetEmailCampaigns, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetEmailCampaigns, HTTP status code, HTTP response headers (array of strings) */ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $limit = '500', $offset = '0') { @@ -547,19 +547,19 @@ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $lim $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetEmailCampaigns', + '\Sendinblue\Client\Model\GetEmailCampaigns', '/emailCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetEmailCampaigns', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailCampaigns', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetEmailCampaigns', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailCampaigns', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -574,7 +574,7 @@ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $lim * Send an email campaign id of the campaign immediately * * @param string $campaignId Id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendEmailCampaignNow($campaignId) @@ -589,7 +589,7 @@ public function sendEmailCampaignNow($campaignId) * Send an email campaign id of the campaign immediately * * @param string $campaignId Id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendEmailCampaignNowWithHttpInfo($campaignId) @@ -646,15 +646,15 @@ public function sendEmailCampaignNowWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -669,8 +669,8 @@ public function sendEmailCampaignNowWithHttpInfo($campaignId) * Send the report of a campaigns * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendReport($campaignId, $sendReport) @@ -685,8 +685,8 @@ public function sendReport($campaignId, $sendReport) * Send the report of a campaigns * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendReportWithHttpInfo($campaignId, $sendReport) @@ -752,11 +752,11 @@ public function sendReportWithHttpInfo($campaignId, $sendReport) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -771,8 +771,8 @@ public function sendReportWithHttpInfo($campaignId, $sendReport) * Send an email campaign to your test list * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\SendTestEmail $emailTo (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestEmail $emailTo (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendTestEmail($campaignId, $emailTo) @@ -787,8 +787,8 @@ public function sendTestEmail($campaignId, $emailTo) * Send an email campaign to your test list * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\SendTestEmail $emailTo (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestEmail $emailTo (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) @@ -854,11 +854,11 @@ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -873,8 +873,8 @@ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) * Update a campaign status * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateCampaignStatus($campaignId, $status) @@ -889,8 +889,8 @@ public function updateCampaignStatus($campaignId, $status) * Update a campaign status * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateCampaignStatusWithHttpInfo($campaignId, $status) @@ -956,11 +956,11 @@ public function updateCampaignStatusWithHttpInfo($campaignId, $status) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -975,8 +975,8 @@ public function updateCampaignStatusWithHttpInfo($campaignId, $status) * Update a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateEmailCampaigns($campaignId, $emailCampaign) @@ -991,8 +991,8 @@ public function updateEmailCampaigns($campaignId, $emailCampaign) * Update a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Swagger\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateEmailCampaignsWithHttpInfo($campaignId, $emailCampaign) @@ -1058,11 +1058,11 @@ public function updateEmailCampaignsWithHttpInfo($campaignId, $emailCampaign) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/FoldersApi.php b/lib/Api/FoldersApi.php index b022d835..6069fe5a 100644 --- a/lib/Api/FoldersApi.php +++ b/lib/Api/FoldersApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * FoldersApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class FoldersApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return FoldersApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Create a folder * - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createFolder($name) { @@ -107,9 +107,9 @@ public function createFolder($name) * * Create a folder * - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createFolderWithHttpInfo($name) { @@ -154,19 +154,19 @@ public function createFolderWithHttpInfo($name) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createFolderWithHttpInfo($name) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteFolder($folderId) @@ -196,7 +196,7 @@ public function deleteFolder($folderId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteFolderWithHttpInfo($folderId) @@ -253,11 +253,11 @@ public function deleteFolderWithHttpInfo($folderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,8 +272,8 @@ public function deleteFolderWithHttpInfo($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolder + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolder */ public function getFolder($folderId) { @@ -287,8 +287,8 @@ public function getFolder($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) */ public function getFolderWithHttpInfo($folderId) { @@ -336,23 +336,23 @@ public function getFolderWithHttpInfo($folderId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolder', + '\Sendinblue\Client\Model\GetFolder', '/contacts/folders/{folderId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolder', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolder', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -369,8 +369,8 @@ public function getFolderWithHttpInfo($folderId) * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolderLists + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -386,8 +386,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -447,23 +447,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolderLists', + '\Sendinblue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -479,8 +479,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolders + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolders */ public function getFolders($limit, $offset) { @@ -495,8 +495,8 @@ public function getFolders($limit, $offset) * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) */ public function getFoldersWithHttpInfo($limit, $offset) { @@ -552,19 +552,19 @@ public function getFoldersWithHttpInfo($limit, $offset) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolders', + '\Sendinblue\Client\Model\GetFolders', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolders', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolders', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -579,8 +579,8 @@ public function getFoldersWithHttpInfo($limit, $offset) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateFolder($folderId, $name) @@ -595,8 +595,8 @@ public function updateFolder($folderId, $name) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Swagger\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateFolderWithHttpInfo($folderId, $name) @@ -662,11 +662,11 @@ public function updateFolderWithHttpInfo($folderId, $name) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ListsApi.php b/lib/Api/ListsApi.php index 7ebcb04c..571f2d4b 100644 --- a/lib/Api/ListsApi.php +++ b/lib/Api/ListsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * ListsApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ListsApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return ListsApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\PostContactInfo + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\PostContactInfo */ public function addContactToList($listId, $contactEmails) { @@ -109,9 +109,9 @@ public function addContactToList($listId, $contactEmails) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function addContactToListWithHttpInfo($listId, $contactEmails) { @@ -168,23 +168,23 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\PostContactInfo', + '\Sendinblue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -198,9 +198,9 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) * * Create a list * - * @param \Swagger\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createList($createList) { @@ -213,9 +213,9 @@ public function createList($createList) * * Create a list * - * @param \Swagger\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createListWithHttpInfo($createList) { @@ -260,19 +260,19 @@ public function createListWithHttpInfo($createList) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -287,7 +287,7 @@ public function createListWithHttpInfo($createList) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteList($listId) @@ -302,7 +302,7 @@ public function deleteList($listId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteListWithHttpInfo($listId) @@ -359,11 +359,11 @@ public function deleteListWithHttpInfo($listId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -381,8 +381,8 @@ public function deleteListWithHttpInfo($listId) * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetContacts + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetContacts */ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -399,8 +399,8 @@ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50 * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -468,23 +468,23 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetContacts', + '\Sendinblue\Client\Model\GetContacts', '/contacts/lists/{listId}/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -501,8 +501,8 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetFolderLists + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -518,8 +518,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -579,23 +579,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetFolderLists', + '\Sendinblue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -610,8 +610,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetExtendedList + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetExtendedList */ public function getList($listId) { @@ -625,8 +625,8 @@ public function getList($listId) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) */ public function getListWithHttpInfo($listId) { @@ -674,23 +674,23 @@ public function getListWithHttpInfo($listId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetExtendedList', + '\Sendinblue\Client\Model\GetExtendedList', '/contacts/lists/{listId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetExtendedList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -706,8 +706,8 @@ public function getListWithHttpInfo($listId) * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetLists + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetLists */ public function getLists($limit = '10', $offset = '0') { @@ -722,8 +722,8 @@ public function getLists($limit = '10', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) */ public function getListsWithHttpInfo($limit = '10', $offset = '0') { @@ -771,19 +771,19 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetLists', + '\Sendinblue\Client\Model\GetLists', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -798,9 +798,9 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\PostContactInfo + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\PostContactInfo */ public function removeContactToList($listId, $contactEmails) { @@ -814,9 +814,9 @@ public function removeContactToList($listId, $contactEmails) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function removeContactToListWithHttpInfo($listId, $contactEmails) { @@ -873,23 +873,23 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\PostContactInfo', + '\Sendinblue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -904,8 +904,8 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) * Update a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateList($listId, $updateList) @@ -920,8 +920,8 @@ public function updateList($listId, $updateList) * Update a list * * @param string $listId Id of the list (required) - * @param \Swagger\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateListWithHttpInfo($listId, $updateList) @@ -987,11 +987,11 @@ public function updateListWithHttpInfo($listId, $updateList) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ProcessApi.php b/lib/Api/ProcessApi.php index 28e8f6e3..256827df 100644 --- a/lib/Api/ProcessApi.php +++ b/lib/Api/ProcessApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * ProcessApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ProcessApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return ProcessApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,8 +93,8 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * Return the informations for a process * * @param string $processId Id of the process (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetProcess + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetProcess */ public function getProcess($processId) { @@ -108,8 +108,8 @@ public function getProcess($processId) * Return the informations for a process * * @param string $processId Id of the process (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetProcess, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetProcess, HTTP status code, HTTP response headers (array of strings) */ public function getProcessWithHttpInfo($processId) { @@ -157,23 +157,23 @@ public function getProcessWithHttpInfo($processId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetProcess', + '\Sendinblue\Client\Model\GetProcess', '/processes/{processId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetProcess', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetProcess', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetProcess', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetProcess', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -189,8 +189,8 @@ public function getProcessWithHttpInfo($processId) * * @param int $limit Number limitation for the result returned (optional, default to 10) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetProcesses + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetProcesses */ public function getProcesses($limit = '10', $offset = '0') { @@ -205,8 +205,8 @@ public function getProcesses($limit = '10', $offset = '0') * * @param int $limit Number limitation for the result returned (optional, default to 10) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetProcesses, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetProcesses, HTTP status code, HTTP response headers (array of strings) */ public function getProcessesWithHttpInfo($limit = '10', $offset = '0') { @@ -254,19 +254,19 @@ public function getProcessesWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetProcesses', + '\Sendinblue\Client\Model\GetProcesses', '/processes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetProcesses', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetProcesses', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetProcesses', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetProcesses', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ResellerApi.php b/lib/Api/ResellerApi.php index 2f437bc5..571bf3dc 100644 --- a/lib/Api/ResellerApi.php +++ b/lib/Api/ResellerApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * ResellerApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ResellerApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return ResellerApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * Add Email and/or SMS credits to a specific child account * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\RemainingCreditModel + * @param \Sendinblue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\RemainingCreditModel */ public function addCredits($childId, $addCredits) { @@ -109,9 +109,9 @@ public function addCredits($childId, $addCredits) * Add Email and/or SMS credits to a specific child account * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) */ public function addCreditsWithHttpInfo($childId, $addCredits) { @@ -168,27 +168,27 @@ public function addCreditsWithHttpInfo($childId, $addCredits) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\RemainingCreditModel', + '\Sendinblue\Client\Model\RemainingCreditModel', '/reseller/children/{childId}/credits/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -203,8 +203,8 @@ public function addCreditsWithHttpInfo($childId, $addCredits) * Associate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function associateIpToChild($childId, $ipId) @@ -219,8 +219,8 @@ public function associateIpToChild($childId, $ipId) * Associate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function associateIpToChildWithHttpInfo($childId, $ipId) @@ -286,11 +286,11 @@ public function associateIpToChildWithHttpInfo($childId, $ipId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -304,9 +304,9 @@ public function associateIpToChildWithHttpInfo($childId, $ipId) * * Creates a reseller child * - * @param \Swagger\Client\Model\CreateChild $resellerChild reseller child to add (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateChild $resellerChild reseller child to add (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createResellerChild($resellerChild = null) { @@ -319,9 +319,9 @@ public function createResellerChild($resellerChild = null) * * Creates a reseller child * - * @param \Swagger\Client\Model\CreateChild $resellerChild reseller child to add (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateChild $resellerChild reseller child to add (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createResellerChildWithHttpInfo($resellerChild = null) { @@ -362,23 +362,23 @@ public function createResellerChildWithHttpInfo($resellerChild = null) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/reseller/children' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -393,7 +393,7 @@ public function createResellerChildWithHttpInfo($resellerChild = null) * Deletes a single reseller child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteResellerChild($childId) @@ -408,7 +408,7 @@ public function deleteResellerChild($childId) * Deletes a single reseller child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteResellerChildWithHttpInfo($childId) @@ -465,15 +465,15 @@ public function deleteResellerChildWithHttpInfo($childId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -488,8 +488,8 @@ public function deleteResellerChildWithHttpInfo($childId) * Dissociate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function dissociateIpFromChild($childId, $ipId) @@ -504,8 +504,8 @@ public function dissociateIpFromChild($childId, $ipId) * Dissociate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) @@ -571,11 +571,11 @@ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -590,8 +590,8 @@ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) * Gets the info about a specific child account * * @param int $childId id of reseller's child (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetChildInfo + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetChildInfo */ public function getChildInfo($childId) { @@ -605,8 +605,8 @@ public function getChildInfo($childId) * Gets the info about a specific child account * * @param int $childId id of reseller's child (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetChildInfo, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetChildInfo, HTTP status code, HTTP response headers (array of strings) */ public function getChildInfoWithHttpInfo($childId) { @@ -654,27 +654,27 @@ public function getChildInfoWithHttpInfo($childId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetChildInfo', + '\Sendinblue\Client\Model\GetChildInfo', '/reseller/children/{childId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetChildInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetChildInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetChildInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetChildInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -688,8 +688,8 @@ public function getChildInfoWithHttpInfo($childId) * * Gets the list of all reseller's children accounts * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetChildrenList + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetChildrenList */ public function getResellerChilds() { @@ -702,8 +702,8 @@ public function getResellerChilds() * * Gets the list of all reseller's children accounts * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetChildrenList, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetChildrenList, HTTP status code, HTTP response headers (array of strings) */ public function getResellerChildsWithHttpInfo() { @@ -739,19 +739,19 @@ public function getResellerChildsWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetChildrenList', + '\Sendinblue\Client\Model\GetChildrenList', '/reseller/children' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetChildrenList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetChildrenList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetChildrenList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetChildrenList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -766,9 +766,9 @@ public function getResellerChildsWithHttpInfo() * Remove Email and/or SMS credits from a specific child account * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\RemainingCreditModel + * @param \Sendinblue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\RemainingCreditModel */ public function removeCredits($childId, $removeCredits) { @@ -782,9 +782,9 @@ public function removeCredits($childId, $removeCredits) * Remove Email and/or SMS credits from a specific child account * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) */ public function removeCreditsWithHttpInfo($childId, $removeCredits) { @@ -841,27 +841,27 @@ public function removeCreditsWithHttpInfo($childId, $removeCredits) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\RemainingCreditModel', + '\Sendinblue\Client\Model\RemainingCreditModel', '/reseller/children/{childId}/credits/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -876,8 +876,8 @@ public function removeCreditsWithHttpInfo($childId, $removeCredits) * Updates infos of reseller's child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\UpdateChild $resellerChild values to update in child profile (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateResellerChild($childId, $resellerChild) @@ -892,8 +892,8 @@ public function updateResellerChild($childId, $resellerChild) * Updates infos of reseller's child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @param \Swagger\Client\Model\UpdateChild $resellerChild values to update in child profile (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateResellerChildWithHttpInfo($childId, $resellerChild) @@ -959,15 +959,15 @@ public function updateResellerChildWithHttpInfo($childId, $resellerChild) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SMSCampaignsApi.php b/lib/Api/SMSCampaignsApi.php index e13d4116..14de68dd 100644 --- a/lib/Api/SMSCampaignsApi.php +++ b/lib/Api/SMSCampaignsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * SMSCampaignsApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SMSCampaignsApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return SMSCampaignsApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Creates a SMS campaign * - * @param \Swagger\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createSMSCampaign($createSmsCampaign) { @@ -107,9 +107,9 @@ public function createSMSCampaign($createSmsCampaign) * * Creates a SMS campaign * - * @param \Swagger\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createSMSCampaignWithHttpInfo($createSmsCampaign) { @@ -154,19 +154,19 @@ public function createSMSCampaignWithHttpInfo($createSmsCampaign) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/smsCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createSMSCampaignWithHttpInfo($createSmsCampaign) * Delete the SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteSMSCampaigns($campaignId) @@ -196,7 +196,7 @@ public function deleteSMSCampaigns($campaignId) * Delete the SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteSMSCampaignsWithHttpInfo($campaignId) @@ -253,11 +253,11 @@ public function deleteSMSCampaignsWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -274,8 +274,8 @@ public function deleteSMSCampaignsWithHttpInfo($campaignId) * @param string $status Status of campaign. (optional) * @param int $limit Number limitation for the result returned (optional, default to 500) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSmsCampaigns + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSmsCampaigns */ public function getSMSCampaigns($status = null, $limit = '500', $offset = '0') { @@ -291,8 +291,8 @@ public function getSMSCampaigns($status = null, $limit = '500', $offset = '0') * @param string $status Status of campaign. (optional) * @param int $limit Number limitation for the result returned (optional, default to 500) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSmsCampaigns, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSmsCampaigns, HTTP status code, HTTP response headers (array of strings) */ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $offset = '0') { @@ -344,19 +344,19 @@ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $off $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSmsCampaigns', + '\Sendinblue\Client\Model\GetSmsCampaigns', '/smsCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSmsCampaigns', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsCampaigns', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSmsCampaigns', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsCampaigns', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -371,9 +371,9 @@ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $off * Get a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Swagger\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSmsCampaign + * @param \Sendinblue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSmsCampaign */ public function getSmsCampaign($campaignId, $getSmsCampaign) { @@ -387,9 +387,9 @@ public function getSmsCampaign($campaignId, $getSmsCampaign) * Get a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Swagger\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSmsCampaign, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSmsCampaign, HTTP status code, HTTP response headers (array of strings) */ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) { @@ -446,23 +446,23 @@ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSmsCampaign', + '\Sendinblue\Client\Model\GetSmsCampaign', '/smsCampaigns/{campaignId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSmsCampaign', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsCampaign', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSmsCampaign', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsCampaign', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -477,9 +477,9 @@ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) * Exports the recipients of the specified campaign. * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreatedProcessId + * @param \Sendinblue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreatedProcessId */ public function requestSMSRecipientExport($campaignId, $recipientExport = null) { @@ -493,9 +493,9 @@ public function requestSMSRecipientExport($campaignId, $recipientExport = null) * Exports the recipients of the specified campaign. * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExport = null) { @@ -548,23 +548,23 @@ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExp $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreatedProcessId', + '\Sendinblue\Client\Model\CreatedProcessId', '/smsCampaigns/{campaignId}/exportRecipients' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -579,7 +579,7 @@ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExp * Send your SMS campaign immediately * * @param string $campaignId id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendSMSCampaignNow($campaignId) @@ -594,7 +594,7 @@ public function sendSMSCampaignNow($campaignId) * Send your SMS campaign immediately * * @param string $campaignId id of the campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendSMSCampaignNowWithHttpInfo($campaignId) @@ -651,15 +651,15 @@ public function sendSMSCampaignNowWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -674,8 +674,8 @@ public function sendSMSCampaignNowWithHttpInfo($campaignId) * Send report of SMS campaigns * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendSMSReport($campaignId, $sendReport) @@ -690,8 +690,8 @@ public function sendSMSReport($campaignId, $sendReport) * Send report of SMS campaigns * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) @@ -757,11 +757,11 @@ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -776,8 +776,8 @@ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) * Send an SMS * * @param string $campaignId Id of the SMS campaign (required) - * @param \Swagger\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendTestSms($campaignId, $sendTestSms) @@ -792,8 +792,8 @@ public function sendTestSms($campaignId, $sendTestSms) * Send an SMS * * @param string $campaignId Id of the SMS campaign (required) - * @param \Swagger\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) @@ -859,11 +859,11 @@ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostSendSmsTestFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendSmsTestFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -878,8 +878,8 @@ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) * Update the campaign status * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateSMSCampaignStatus($campaignId, $status) @@ -894,8 +894,8 @@ public function updateSMSCampaignStatus($campaignId, $status) * Update the campaign status * * @param string $campaignId id of the campaign (required) - * @param \Swagger\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) @@ -961,11 +961,11 @@ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -980,8 +980,8 @@ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) * Updates a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Swagger\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateSmsCampaign($campaignId, $updateSmsCampaign) @@ -996,8 +996,8 @@ public function updateSmsCampaign($campaignId, $updateSmsCampaign) * Updates a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Swagger\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSmsCampaignWithHttpInfo($campaignId, $updateSmsCampaign) @@ -1063,11 +1063,11 @@ public function updateSmsCampaignWithHttpInfo($campaignId, $updateSmsCampaign) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SMTPApi.php b/lib/Api/SMTPApi.php index 4fb24438..1c8c848a 100644 --- a/lib/Api/SMTPApi.php +++ b/lib/Api/SMTPApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * SMTPApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SMTPApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return SMTPApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Create an smtp template * - * @param \Swagger\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createSmtpTemplate($smtpTemplate) { @@ -107,9 +107,9 @@ public function createSmtpTemplate($smtpTemplate) * * Create an smtp template * - * @param \Swagger\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createSmtpTemplateWithHttpInfo($smtpTemplate) { @@ -154,19 +154,19 @@ public function createSmtpTemplateWithHttpInfo($smtpTemplate) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/smtp/templates' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -180,8 +180,8 @@ public function createSmtpTemplateWithHttpInfo($smtpTemplate) * * Delete hardbounces * - * @param \Swagger\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteHardbounces($deleteHardbounces = null) @@ -195,8 +195,8 @@ public function deleteHardbounces($deleteHardbounces = null) * * Delete hardbounces * - * @param \Swagger\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) @@ -246,7 +246,7 @@ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -264,8 +264,8 @@ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetAggregatedReport + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetAggregatedReport */ public function getAggregatedSmtpReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -282,8 +282,8 @@ public function getAggregatedSmtpReport($startDate = null, $endDate = null, $day * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetAggregatedReport, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetAggregatedReport, HTTP status code, HTTP response headers (array of strings) */ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -335,19 +335,19 @@ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetAggregatedReport', + '\Sendinblue\Client\Model\GetAggregatedReport', '/smtp/statistics/aggregatedReport' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetAggregatedReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAggregatedReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetAggregatedReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAggregatedReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -371,8 +371,8 @@ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate * @param string $tags Filter the report for tags (serialized and urlencoded array) (optional) * @param string $messageId Filter on a specific message id (optional) * @param string $templateId Filter on a specific template id (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetEmailEventReport + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetEmailEventReport */ public function getEmailEventReport($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $email = null, $event = null, $tags = null, $messageId = null, $templateId = null) { @@ -395,8 +395,8 @@ public function getEmailEventReport($limit = '50', $offset = '0', $startDate = n * @param string $tags Filter the report for tags (serialized and urlencoded array) (optional) * @param string $messageId Filter on a specific message id (optional) * @param string $templateId Filter on a specific template id (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetEmailEventReport, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetEmailEventReport, HTTP status code, HTTP response headers (array of strings) */ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $email = null, $event = null, $tags = null, $messageId = null, $templateId = null) { @@ -476,19 +476,19 @@ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $s $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetEmailEventReport', + '\Sendinblue\Client\Model\GetEmailEventReport', '/smtp/statistics/events' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetEmailEventReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailEventReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetEmailEventReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailEventReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -508,8 +508,8 @@ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $s * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetReports + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetReports */ public function getSmtpReport($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $tag = null) { @@ -528,8 +528,8 @@ public function getSmtpReport($limit = '50', $offset = '0', $startDate = null, $ * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetReports, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetReports, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $tag = null) { @@ -593,19 +593,19 @@ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDa $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetReports', + '\Sendinblue\Client\Model\GetReports', '/smtp/statistics/reports' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetReports', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetReports', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetReports', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetReports', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -620,8 +620,8 @@ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDa * Returns the template informations * * @param string $templateId id of the template (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSmtpTemplateOverview + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSmtpTemplateOverview */ public function getSmtpTemplate($templateId) { @@ -635,8 +635,8 @@ public function getSmtpTemplate($templateId) * Returns the template informations * * @param string $templateId id of the template (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSmtpTemplateOverview, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSmtpTemplateOverview, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpTemplateWithHttpInfo($templateId) { @@ -684,23 +684,23 @@ public function getSmtpTemplateWithHttpInfo($templateId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSmtpTemplateOverview', + '\Sendinblue\Client\Model\GetSmtpTemplateOverview', '/smtp/templates/{templateId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSmtpTemplateOverview', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmtpTemplateOverview', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSmtpTemplateOverview', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmtpTemplateOverview', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -717,8 +717,8 @@ public function getSmtpTemplateWithHttpInfo($templateId) * @param bool $templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param int $limit Number of documents returned per page (optional, default to 50) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSmtpTemplates + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSmtpTemplates */ public function getSmtpTemplates($templateStatus = null, $limit = '50', $offset = '0') { @@ -734,8 +734,8 @@ public function getSmtpTemplates($templateStatus = null, $limit = '50', $offset * @param bool $templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param int $limit Number of documents returned per page (optional, default to 50) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSmtpTemplates, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSmtpTemplates, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '50', $offset = '0') { @@ -787,19 +787,19 @@ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '5 $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSmtpTemplates', + '\Sendinblue\Client\Model\GetSmtpTemplates', '/smtp/templates' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSmtpTemplates', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmtpTemplates', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSmtpTemplates', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmtpTemplates', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -814,9 +814,9 @@ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '5 * Send a template * * @param string $templateId Id of the template (required) - * @param \Swagger\Client\Model\SendEmail $sendEmail (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\SendTemplateEmail + * @param \Sendinblue\Client\Model\SendEmail $sendEmail (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\SendTemplateEmail */ public function sendTemplate($templateId, $sendEmail) { @@ -830,9 +830,9 @@ public function sendTemplate($templateId, $sendEmail) * Send a template * * @param string $templateId Id of the template (required) - * @param \Swagger\Client\Model\SendEmail $sendEmail (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\SendTemplateEmail, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\SendEmail $sendEmail (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\SendTemplateEmail, HTTP status code, HTTP response headers (array of strings) */ public function sendTemplateWithHttpInfo($templateId, $sendEmail) { @@ -889,23 +889,23 @@ public function sendTemplateWithHttpInfo($templateId, $sendEmail) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\SendTemplateEmail', + '\Sendinblue\Client\Model\SendTemplateEmail', '/smtp/templates/{templateId}/send' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\SendTemplateEmail', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\SendTemplateEmail', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\SendTemplateEmail', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\SendTemplateEmail', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -920,8 +920,8 @@ public function sendTemplateWithHttpInfo($templateId, $sendEmail) * Send a template to your test list * * @param string $templateId Id of the template (required) - * @param \Swagger\Client\Model\SendTestEmail $sendTestEmail (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestEmail $sendTestEmail (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function sendTestTemplate($templateId, $sendTestEmail) @@ -936,8 +936,8 @@ public function sendTestTemplate($templateId, $sendTestEmail) * Send a template to your test list * * @param string $templateId Id of the template (required) - * @param \Swagger\Client\Model\SendTestEmail $sendTestEmail (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\SendTestEmail $sendTestEmail (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) @@ -1003,11 +1003,11 @@ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1021,9 +1021,9 @@ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) * * Send a transactional email * - * @param \Swagger\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateSmtpEmail + * @param \Sendinblue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateSmtpEmail */ public function sendTransacEmail($sendSmtpEmail) { @@ -1036,9 +1036,9 @@ public function sendTransacEmail($sendSmtpEmail) * * Send a transactional email * - * @param \Swagger\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateSmtpEmail, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateSmtpEmail, HTTP status code, HTTP response headers (array of strings) */ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) { @@ -1083,19 +1083,19 @@ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateSmtpEmail', + '\Sendinblue\Client\Model\CreateSmtpEmail', '/smtp/email' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateSmtpEmail', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateSmtpEmail', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateSmtpEmail', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateSmtpEmail', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1110,8 +1110,8 @@ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) * Updates an smtp templates * * @param string $templateId id of the template (required) - * @param \Swagger\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateSmtpTemplate($templateId, $smtpTemplate) @@ -1126,8 +1126,8 @@ public function updateSmtpTemplate($templateId, $smtpTemplate) * Updates an smtp templates * * @param string $templateId id of the template (required) - * @param \Swagger\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSmtpTemplateWithHttpInfo($templateId, $smtpTemplate) @@ -1193,11 +1193,11 @@ public function updateSmtpTemplateWithHttpInfo($templateId, $smtpTemplate) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SendersApi.php b/lib/Api/SendersApi.php index 4221e20c..00740a9d 100644 --- a/lib/Api/SendersApi.php +++ b/lib/Api/SendersApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * SendersApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SendersApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return SendersApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Create a new sender * - * @param \Swagger\Client\Model\CreateSender $sender sender's name (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateSenderModel + * @param \Sendinblue\Client\Model\CreateSender $sender sender's name (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateSenderModel */ public function createSender($sender = null) { @@ -107,9 +107,9 @@ public function createSender($sender = null) * * Create a new sender * - * @param \Swagger\Client\Model\CreateSender $sender sender's name (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateSenderModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateSender $sender sender's name (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateSenderModel, HTTP status code, HTTP response headers (array of strings) */ public function createSenderWithHttpInfo($sender = null) { @@ -150,19 +150,19 @@ public function createSenderWithHttpInfo($sender = null) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateSenderModel', + '\Sendinblue\Client\Model\CreateSenderModel', '/senders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateSenderModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateSenderModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateSenderModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateSenderModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -177,7 +177,7 @@ public function createSenderWithHttpInfo($sender = null) * Delete a sender * * @param string $senderId Id of the sender (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteSender($senderId) @@ -192,7 +192,7 @@ public function deleteSender($senderId) * Delete a sender * * @param string $senderId Id of the sender (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteSenderWithHttpInfo($senderId) @@ -249,11 +249,11 @@ public function deleteSenderWithHttpInfo($senderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -267,8 +267,8 @@ public function deleteSenderWithHttpInfo($senderId) * * Return all the dedicated IPs for your account * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetIps + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetIps */ public function getIps() { @@ -281,8 +281,8 @@ public function getIps() * * Return all the dedicated IPs for your account * - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetIps, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetIps, HTTP status code, HTTP response headers (array of strings) */ public function getIpsWithHttpInfo() { @@ -318,15 +318,15 @@ public function getIpsWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetIps', + '\Sendinblue\Client\Model\GetIps', '/senders/ips' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetIps', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetIps', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetIps', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetIps', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -341,8 +341,8 @@ public function getIpsWithHttpInfo() * Return all the dedicated IPs for a sender * * @param string $senderId Id of the sender (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetIpsFromSender + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetIpsFromSender */ public function getIpsFromSender($senderId) { @@ -356,8 +356,8 @@ public function getIpsFromSender($senderId) * Return all the dedicated IPs for a sender * * @param string $senderId Id of the sender (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetIpsFromSender, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetIpsFromSender, HTTP status code, HTTP response headers (array of strings) */ public function getIpsFromSenderWithHttpInfo($senderId) { @@ -405,23 +405,23 @@ public function getIpsFromSenderWithHttpInfo($senderId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetIpsFromSender', + '\Sendinblue\Client\Model\GetIpsFromSender', '/senders/{senderId}/ips' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetIpsFromSender', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetIpsFromSender', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetIpsFromSender', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetIpsFromSender', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -437,8 +437,8 @@ public function getIpsFromSenderWithHttpInfo($senderId) * * @param string $ip Filter your senders for a specific ip (available for dedicated IP usage only) (optional) * @param string $domain Filter your senders for a specific domain (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSendersList + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSendersList */ public function getSenders($ip = null, $domain = null) { @@ -453,8 +453,8 @@ public function getSenders($ip = null, $domain = null) * * @param string $ip Filter your senders for a specific ip (available for dedicated IP usage only) (optional) * @param string $domain Filter your senders for a specific domain (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSendersList, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSendersList, HTTP status code, HTTP response headers (array of strings) */ public function getSendersWithHttpInfo($ip = null, $domain = null) { @@ -498,19 +498,19 @@ public function getSendersWithHttpInfo($ip = null, $domain = null) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSendersList', + '\Sendinblue\Client\Model\GetSendersList', '/senders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSendersList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSendersList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSendersList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSendersList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -525,8 +525,8 @@ public function getSendersWithHttpInfo($ip = null, $domain = null) * Update a sender * * @param string $senderId Id of the sender (required) - * @param \Swagger\Client\Model\UpdateSender $sender sender's name (optional) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSender $sender sender's name (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateSender($senderId, $sender = null) @@ -541,8 +541,8 @@ public function updateSender($senderId, $sender = null) * Update a sender * * @param string $senderId Id of the sender (required) - * @param \Swagger\Client\Model\UpdateSender $sender sender's name (optional) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateSender $sender sender's name (optional) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSenderWithHttpInfo($senderId, $sender = null) @@ -604,11 +604,11 @@ public function updateSenderWithHttpInfo($senderId, $sender = null) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/TransactionalSMSApi.php b/lib/Api/TransactionalSMSApi.php index 0ff905b3..1d2cf434 100644 --- a/lib/Api/TransactionalSMSApi.php +++ b/lib/Api/TransactionalSMSApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * TransactionalSMSApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class TransactionalSMSApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return TransactionalSMSApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -100,8 +100,8 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * @param string $phoneNumber Filter the report for a specific phone number (optional) * @param string $event Filter the report for specific events (optional) * @param string $tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetSmsEventReport + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetSmsEventReport */ public function getSmsEvents($limit = '50', $startDate = null, $endDate = null, $offset = '0', $days = null, $phoneNumber = null, $event = null, $tags = null) { @@ -122,8 +122,8 @@ public function getSmsEvents($limit = '50', $startDate = null, $endDate = null, * @param string $phoneNumber Filter the report for a specific phone number (optional) * @param string $event Filter the report for specific events (optional) * @param string $tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetSmsEventReport, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetSmsEventReport, HTTP status code, HTTP response headers (array of strings) */ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endDate = null, $offset = '0', $days = null, $phoneNumber = null, $event = null, $tags = null) { @@ -195,19 +195,19 @@ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endD $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetSmsEventReport', + '\Sendinblue\Client\Model\GetSmsEventReport', '/transactionalSMS/statistics/events' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetSmsEventReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsEventReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetSmsEventReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsEventReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -225,8 +225,8 @@ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endD * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) * @param string $tag Filter on a tag (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetTransacAggregatedSmsReport + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetTransacAggregatedSmsReport */ public function getTransacAggregatedSmsReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -243,8 +243,8 @@ public function getTransacAggregatedSmsReport($startDate = null, $endDate = null * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) * @param string $tag Filter on a tag (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetTransacAggregatedSmsReport, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetTransacAggregatedSmsReport, HTTP status code, HTTP response headers (array of strings) */ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -296,19 +296,19 @@ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $en $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetTransacAggregatedSmsReport', + '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', '/transactionalSMS/statistics/aggregatedReport' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetTransacAggregatedSmsReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetTransacAggregatedSmsReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -326,8 +326,8 @@ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $en * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Filter on a tag (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetTransacSmsReport + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetTransacSmsReport */ public function getTransacSmsReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -344,8 +344,8 @@ public function getTransacSmsReport($startDate = null, $endDate = null, $days = * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Filter on a tag (optional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetTransacSmsReport, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetTransacSmsReport, HTTP status code, HTTP response headers (array of strings) */ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -397,19 +397,19 @@ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = nu $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetTransacSmsReport', + '\Sendinblue\Client\Model\GetTransacSmsReport', '/transactionalSMS/statistics/reports' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetTransacSmsReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetTransacSmsReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetTransacSmsReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetTransacSmsReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -423,9 +423,9 @@ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = nu * * Send the SMS campaign to the specified mobile number * - * @param \Swagger\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\SendSms + * @param \Sendinblue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\SendSms */ public function sendTransacSms($sendTransacSms) { @@ -438,9 +438,9 @@ public function sendTransacSms($sendTransacSms) * * Send the SMS campaign to the specified mobile number * - * @param \Swagger\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\SendSms, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\SendSms, HTTP status code, HTTP response headers (array of strings) */ public function sendTransacSmsWithHttpInfo($sendTransacSms) { @@ -485,23 +485,23 @@ public function sendTransacSmsWithHttpInfo($sendTransacSms) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\SendSms', + '\Sendinblue\Client\Model\SendSms', '/transactionalSMS/sms' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\SendSms', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\SendSms', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\SendSms', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\SendSms', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/WebhooksApi.php b/lib/Api/WebhooksApi.php index 95ed986d..0bd04ae2 100644 --- a/lib/Api/WebhooksApi.php +++ b/lib/Api/WebhooksApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Api; +namespace Sendinblue\Client\Api; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\Configuration; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ObjectSerializer; /** * WebhooksApi Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class WebhooksApi /** * API Client * - * @var \Swagger\Client\ApiClient instance of the ApiClient + * @var \Sendinblue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Swagger\Client\ApiClient|null $apiClient The api client to use + * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Swagger\Client\ApiClient $apiClient = null) + public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Swagger\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Swagger\Client\ApiClient get the API client + * @return \Sendinblue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Swagger\Client\ApiClient $apiClient set the API client + * @param \Sendinblue\Client\ApiClient $apiClient set the API client * * @return WebhooksApi */ - public function setApiClient(\Swagger\Client\ApiClient $apiClient) + public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Swagger\Client\ApiClient $apiClient) * * Create a webhook * - * @param \Swagger\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\CreateModel + * @param \Sendinblue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\CreateModel */ public function createWebhook($createWebhook) { @@ -107,9 +107,9 @@ public function createWebhook($createWebhook) * * Create a webhook * - * @param \Swagger\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \Sendinblue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createWebhookWithHttpInfo($createWebhook) { @@ -154,19 +154,19 @@ public function createWebhookWithHttpInfo($createWebhook) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\CreateModel', + '\Sendinblue\Client\Model\CreateModel', '/webhooks' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createWebhookWithHttpInfo($createWebhook) * Delete a webhook * * @param string $webhookId Id of the webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function deleteWebhook($webhookId) @@ -196,7 +196,7 @@ public function deleteWebhook($webhookId) * Delete a webhook * * @param string $webhookId Id of the webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteWebhookWithHttpInfo($webhookId) @@ -253,11 +253,11 @@ public function deleteWebhookWithHttpInfo($webhookId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,8 +272,8 @@ public function deleteWebhookWithHttpInfo($webhookId) * Get a webhook details * * @param string $webhookId Id of the webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetWebhook + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetWebhook */ public function getWebhook($webhookId) { @@ -287,8 +287,8 @@ public function getWebhook($webhookId) * Get a webhook details * * @param string $webhookId Id of the webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetWebhook, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetWebhook, HTTP status code, HTTP response headers (array of strings) */ public function getWebhookWithHttpInfo($webhookId) { @@ -336,23 +336,23 @@ public function getWebhookWithHttpInfo($webhookId) $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetWebhook', + '\Sendinblue\Client\Model\GetWebhook', '/webhooks/{webhookId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetWebhook', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetWebhook', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetWebhook', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetWebhook', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -367,8 +367,8 @@ public function getWebhookWithHttpInfo($webhookId) * Get all webhooks * * @param string $type Filter on webhook type (optional, default to transactional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return \Swagger\Client\Model\GetWebhooks + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return \Sendinblue\Client\Model\GetWebhooks */ public function getWebhooks($type = 'transactional') { @@ -382,8 +382,8 @@ public function getWebhooks($type = 'transactional') * Get all webhooks * * @param string $type Filter on webhook type (optional, default to transactional) - * @throws \Swagger\Client\ApiException on non-2xx response - * @return array of \Swagger\Client\Model\GetWebhooks, HTTP status code, HTTP response headers (array of strings) + * @throws \Sendinblue\Client\ApiException on non-2xx response + * @return array of \Sendinblue\Client\Model\GetWebhooks, HTTP status code, HTTP response headers (array of strings) */ public function getWebhooksWithHttpInfo($type = 'transactional') { @@ -423,19 +423,19 @@ public function getWebhooksWithHttpInfo($type = 'transactional') $queryParams, $httpBody, $headerParams, - '\Swagger\Client\Model\GetWebhooks', + '\Sendinblue\Client\Model\GetWebhooks', '/webhooks' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\GetWebhooks', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetWebhooks', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\GetWebhooks', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetWebhooks', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -450,8 +450,8 @@ public function getWebhooksWithHttpInfo($type = 'transactional') * Update a webhook * * @param string $webhookId Id of the webhook (required) - * @param \Swagger\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return void */ public function updateWebhook($webhookId, $updateWebhook) @@ -466,8 +466,8 @@ public function updateWebhook($webhookId, $updateWebhook) * Update a webhook * * @param string $webhookId Id of the webhook (required) - * @param \Swagger\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) - * @throws \Swagger\Client\ApiException on non-2xx response + * @param \Sendinblue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) + * @throws \Sendinblue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateWebhookWithHttpInfo($webhookId, $updateWebhook) @@ -533,11 +533,11 @@ public function updateWebhookWithHttpInfo($webhookId, $updateWebhook) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/ApiClient.php b/lib/ApiClient.php index f7ee7813..29b2b88a 100644 --- a/lib/ApiClient.php +++ b/lib/ApiClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * ApiClient Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -66,7 +66,7 @@ class ApiClient * * @param Configuration $config config for this ApiClient */ - public function __construct(\Swagger\Client\Configuration $config = null) + public function __construct(\Sendinblue\Client\Configuration $config = null) { if ($config === null) { $config = Configuration::getDefaultConfiguration(); @@ -132,7 +132,7 @@ public function getApiKeyWithPrefix($apiKeyIdentifier) * @param string $responseType expected response type of the endpoint * @param string $endpointPath path to method endpoint before expanding parameters * - * @throws \Swagger\Client\ApiException on a non 2xx response + * @throws \Sendinblue\Client\ApiException on a non 2xx response * @return mixed */ public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) @@ -153,7 +153,7 @@ public function callApi($resourcePath, $method, $queryParams, $postData, $header if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) { $postData = http_build_query($postData); } elseif ((is_object($postData) or is_array($postData)) and !in_array('Content-Type: multipart/form-data', $headers, true)) { // json model - $postData = json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($postData)); + $postData = json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($postData)); } $url = $this->config->getHost() . $resourcePath; diff --git a/lib/ApiException.php b/lib/ApiException.php index 32133532..c75a2b05 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,7 +26,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client; +namespace Sendinblue\Client; use \Exception; @@ -34,7 +34,7 @@ * ApiException Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/lib/Configuration.php b/lib/Configuration.php index 044a68ec..bd867469 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,14 +26,14 @@ * Do not edit the class manually. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * Configuration Class Doc Comment * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -724,7 +724,7 @@ public static function setDefaultConfiguration(Configuration $config) */ public static function toDebugReport() { - $report = 'PHP SDK (Swagger\Client) Debug Report:' . PHP_EOL; + $report = 'PHP SDK (Sendinblue\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 3.0.0' . PHP_EOL; diff --git a/lib/Model/AddCredits.php b/lib/Model/AddCredits.php old mode 100755 new mode 100644 index 9b5350ce..849607e5 --- a/lib/Model/AddCredits.php +++ b/lib/Model/AddCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddCredits Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/AddRemoveContactToList.php b/lib/Model/AddRemoveContactToList.php old mode 100755 new mode 100644 index c344ad1c..2ade88e9 --- a/lib/Model/AddRemoveContactToList.php +++ b/lib/Model/AddRemoveContactToList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddRemoveContactToList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreaUpdateFolder.php b/lib/Model/CreaUpdateFolder.php old mode 100755 new mode 100644 index 09d8e2c4..34d6339a --- a/lib/Model/CreaUpdateFolder.php +++ b/lib/Model/CreaUpdateFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreaUpdateFolder Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateAttribute.php b/lib/Model/CreateAttribute.php old mode 100755 new mode 100644 index 8d009cdf..d3eef18d --- a/lib/Model/CreateAttribute.php +++ b/lib/Model/CreateAttribute.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateAttribute Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class CreateAttribute implements ArrayAccess 'category' => 'string', 'name' => 'string', 'value' => 'string', - 'enumemaration' => '\Swagger\Client\Model\CreateAttributeEnumemaration[]', + 'enumemaration' => '\Sendinblue\Client\Model\CreateAttributeEnumemaration[]', 'type' => 'string' ]; @@ -338,7 +338,7 @@ public function setValue($value) /** * Gets enumemaration - * @return \Swagger\Client\Model\CreateAttributeEnumemaration[] + * @return \Sendinblue\Client\Model\CreateAttributeEnumemaration[] */ public function getEnumemaration() { @@ -347,7 +347,7 @@ public function getEnumemaration() /** * Sets enumemaration - * @param \Swagger\Client\Model\CreateAttributeEnumemaration[] $enumemaration Values that the attribute can take. Use only if the attribute's category is category + * @param \Sendinblue\Client\Model\CreateAttributeEnumemaration[] $enumemaration Values that the attribute can take. Use only if the attribute's category is category * @return $this */ public function setEnumemaration($enumemaration) @@ -438,10 +438,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateAttributeEnumemaration.php b/lib/Model/CreateAttributeEnumemaration.php index 3ac20474..b9f452bc 100644 --- a/lib/Model/CreateAttributeEnumemaration.php +++ b/lib/Model/CreateAttributeEnumemaration.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateAttributeEnumemaration Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateChild.php b/lib/Model/CreateChild.php index d18437ca..5a24ff80 100644 --- a/lib/Model/CreateChild.php +++ b/lib/Model/CreateChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateChild Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateContact.php b/lib/Model/CreateContact.php index a008d8fe..cfc2916c 100644 --- a/lib/Model/CreateContact.php +++ b/lib/Model/CreateContact.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateContact Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaign.php b/lib/Model/CreateEmailCampaign.php index d207aa2d..ab9ec765 100644 --- a/lib/Model/CreateEmailCampaign.php +++ b/lib/Model/CreateEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class CreateEmailCampaign implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Swagger\Client\Model\CreateEmailCampaignSender', + 'sender' => '\Sendinblue\Client\Model\CreateEmailCampaignSender', 'name' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -63,7 +63,7 @@ class CreateEmailCampaign implements ArrayAccess 'subject' => 'string', 'replyTo' => 'string', 'toField' => 'string', - 'recipients' => '\Swagger\Client\Model\CreateEmailCampaignRecipients', + 'recipients' => '\Sendinblue\Client\Model\CreateEmailCampaignRecipients', 'attachmentUrl' => 'string', 'inlineImageActivation' => 'bool', 'mirrorActive' => 'bool', @@ -263,8 +263,8 @@ public function listInvalidProperties() if ($this->container['name'] === null) { $invalid_properties[] = "'name' can't be null"; } - if (!is_null($this->container['scheduledAt']) && !preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['subject'] === null) { @@ -296,7 +296,7 @@ public function valid() if ($this->container['name'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } if ($this->container['subject'] === null) { @@ -336,7 +336,7 @@ public function setTag($tag) /** * Gets sender - * @return \Swagger\Client\Model\CreateEmailCampaignSender + * @return \Sendinblue\Client\Model\CreateEmailCampaignSender */ public function getSender() { @@ -345,7 +345,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\CreateEmailCampaignSender $sender + * @param \Sendinblue\Client\Model\CreateEmailCampaignSender $sender * @return $this */ public function setSender($sender) @@ -435,8 +435,8 @@ public function getScheduledAt() public function setScheduledAt($scheduledAt) { - if (!is_null($scheduledAt) && (!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling CreateEmailCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling CreateEmailCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -509,7 +509,7 @@ public function setToField($toField) /** * Gets recipients - * @return \Swagger\Client\Model\CreateEmailCampaignRecipients + * @return \Sendinblue\Client\Model\CreateEmailCampaignRecipients */ public function getRecipients() { @@ -518,7 +518,7 @@ public function getRecipients() /** * Sets recipients - * @param \Swagger\Client\Model\CreateEmailCampaignRecipients $recipients + * @param \Sendinblue\Client\Model\CreateEmailCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -756,10 +756,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaignRecipients.php b/lib/Model/CreateEmailCampaignRecipients.php index 51a99cdc..b36028ae 100644 --- a/lib/Model/CreateEmailCampaignRecipients.php +++ b/lib/Model/CreateEmailCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaignRecipients Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaignSender.php b/lib/Model/CreateEmailCampaignSender.php index ed32452e..fe9ff136 100644 --- a/lib/Model/CreateEmailCampaignSender.php +++ b/lib/Model/CreateEmailCampaignSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaignSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateList.php b/lib/Model/CreateList.php index 494070d9..669c83a4 100644 --- a/lib/Model/CreateList.php +++ b/lib/Model/CreateList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateModel.php b/lib/Model/CreateModel.php old mode 100755 new mode 100644 index 44f3bc76..07372a03 --- a/lib/Model/CreateModel.php +++ b/lib/Model/CreateModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateModel Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSender.php b/lib/Model/CreateSender.php index c7dc3a29..e7d48397 100644 --- a/lib/Model/CreateSender.php +++ b/lib/Model/CreateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class CreateSender implements ArrayAccess protected static $swaggerTypes = [ 'name' => 'string', 'email' => 'string', - 'ips' => '\Swagger\Client\Model\CreateSenderIps[]' + 'ips' => '\Sendinblue\Client\Model\CreateSenderIps[]' ]; /** @@ -228,7 +228,7 @@ public function setEmail($email) /** * Gets ips - * @return \Swagger\Client\Model\CreateSenderIps[] + * @return \Sendinblue\Client\Model\CreateSenderIps[] */ public function getIps() { @@ -237,7 +237,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\CreateSenderIps[] $ips Mandatory in case of dedicated IP, IPs to associate to the sender + * @param \Sendinblue\Client\Model\CreateSenderIps[] $ips Mandatory in case of dedicated IP, IPs to associate to the sender * @return $this */ public function setIps($ips) @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSenderIps.php b/lib/Model/CreateSenderIps.php index bb113823..ef43f173 100644 --- a/lib/Model/CreateSenderIps.php +++ b/lib/Model/CreateSenderIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSenderIps Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -320,10 +320,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSenderModel.php b/lib/Model/CreateSenderModel.php index 8fb81495..c313e69c 100644 --- a/lib/Model/CreateSenderModel.php +++ b/lib/Model/CreateSenderModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSenderModel Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmsCampaign.php b/lib/Model/CreateSmsCampaign.php index 0de1546c..0ffbc649 100644 --- a/lib/Model/CreateSmsCampaign.php +++ b/lib/Model/CreateSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmsCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class CreateSmsCampaign implements ArrayAccess 'name' => 'string', 'sender' => 'string', 'content' => 'string', - 'recipients' => '\Swagger\Client\Model\CreateSmsCampaignRecipients', + 'recipients' => '\Sendinblue\Client\Model\CreateSmsCampaignRecipients', 'scheduledAt' => 'string' ]; @@ -178,8 +178,8 @@ public function listInvalidProperties() $invalid_properties[] = "invalid value for 'sender', the character length must be smaller than or equal to 11."; } - if (!is_null($this->container['scheduledAt']) && !preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -203,7 +203,7 @@ public function valid() if (strlen($this->container['sender']) > 11) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } return true; @@ -279,7 +279,7 @@ public function setContent($content) /** * Gets recipients - * @return \Swagger\Client\Model\CreateSmsCampaignRecipients + * @return \Sendinblue\Client\Model\CreateSmsCampaignRecipients */ public function getRecipients() { @@ -288,7 +288,7 @@ public function getRecipients() /** * Sets recipients - * @param \Swagger\Client\Model\CreateSmsCampaignRecipients $recipients + * @param \Sendinblue\Client\Model\CreateSmsCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -309,14 +309,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date and time on which the campaign has to run + * @param string $scheduledAt Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if (!is_null($scheduledAt) && (!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling CreateSmsCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling CreateSmsCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -375,10 +375,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmsCampaignRecipients.php b/lib/Model/CreateSmsCampaignRecipients.php index 893ad921..341b8fd0 100644 --- a/lib/Model/CreateSmsCampaignRecipients.php +++ b/lib/Model/CreateSmsCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmsCampaignRecipients Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpEmail.php b/lib/Model/CreateSmtpEmail.php index ba30ef03..80061def 100644 --- a/lib/Model/CreateSmtpEmail.php +++ b/lib/Model/CreateSmtpEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpTemplate.php b/lib/Model/CreateSmtpTemplate.php index a6c7459c..eaf1284b 100644 --- a/lib/Model/CreateSmtpTemplate.php +++ b/lib/Model/CreateSmtpTemplate.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpTemplate Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class CreateSmtpTemplate implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Swagger\Client\Model\CreateSmtpTemplateSender', + 'sender' => '\Sendinblue\Client\Model\CreateSmtpTemplateSender', 'templateName' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -249,7 +249,7 @@ public function setTag($tag) /** * Gets sender - * @return \Swagger\Client\Model\CreateSmtpTemplateSender + * @return \Sendinblue\Client\Model\CreateSmtpTemplateSender */ public function getSender() { @@ -258,7 +258,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\CreateSmtpTemplateSender $sender + * @param \Sendinblue\Client\Model\CreateSmtpTemplateSender $sender * @return $this */ public function setSender($sender) @@ -487,10 +487,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpTemplateSender.php b/lib/Model/CreateSmtpTemplateSender.php index 213d527d..ea772836 100644 --- a/lib/Model/CreateSmtpTemplateSender.php +++ b/lib/Model/CreateSmtpTemplateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpTemplateSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateWebhook.php b/lib/Model/CreateWebhook.php old mode 100755 new mode 100644 index 13775f32..2b626b04 --- a/lib/Model/CreateWebhook.php +++ b/lib/Model/CreateWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateWebhook Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -354,10 +354,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreatedProcessId.php b/lib/Model/CreatedProcessId.php index d9667ff5..bab8a926 100644 --- a/lib/Model/CreatedProcessId.php +++ b/lib/Model/CreatedProcessId.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreatedProcessId Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/DeleteHardbounces.php b/lib/Model/DeleteHardbounces.php index 209ceb98..3526bd3d 100644 --- a/lib/Model/DeleteHardbounces.php +++ b/lib/Model/DeleteHardbounces.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteHardbounces Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/EmailExportRecipients.php b/lib/Model/EmailExportRecipients.php index 40c15314..abf215bc 100644 --- a/lib/Model/EmailExportRecipients.php +++ b/lib/Model/EmailExportRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * EmailExportRecipients Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -312,10 +312,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/ErrorModel.php b/lib/Model/ErrorModel.php old mode 100755 new mode 100644 index f6676b69..80ec7c68 --- a/lib/Model/ErrorModel.php +++ b/lib/Model/ErrorModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ErrorModel Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -133,6 +133,8 @@ public static function getters() const CODE_DUPLICATE_PARAMETER = 'duplicate_parameter'; const CODE_METHOD_NOT_ALLOWED = 'method_not_allowed'; const CODE_UNAUTHORIZED = 'unauthorized'; + const CODE_ACCOUNT_UNDER_VALIDATION = 'account_under_validation'; + const CODE_NOT_ACCEPTABLE = 'not_acceptable'; @@ -155,6 +157,8 @@ public function getCodeAllowableValues() self::CODE_DUPLICATE_PARAMETER, self::CODE_METHOD_NOT_ALLOWED, self::CODE_UNAUTHORIZED, + self::CODE_ACCOUNT_UNDER_VALIDATION, + self::CODE_NOT_ACCEPTABLE, ]; } @@ -326,10 +330,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccount.php b/lib/Model/GetAccount.php index bb2b89ac..9fddeb9d 100644 --- a/lib/Model/GetAccount.php +++ b/lib/Model/GetAccount.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccount Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,10 +58,10 @@ class GetAccount implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'address' => '\Swagger\Client\Model\GetExtendedClientAddress', - 'plan' => '\Swagger\Client\Model\GetAccountPlan[]', - 'relay' => '\Swagger\Client\Model\GetAccountRelay', - 'marketingAutomation' => '\Swagger\Client\Model\GetAccountMarketingAutomation' + 'address' => '\Sendinblue\Client\Model\GetExtendedClientAddress', + 'plan' => '\Sendinblue\Client\Model\GetAccountPlan[]', + 'relay' => '\Sendinblue\Client\Model\GetAccountRelay', + 'marketingAutomation' => '\Sendinblue\Client\Model\GetAccountMarketingAutomation' ]; /** @@ -318,7 +318,7 @@ public function setCompanyName($companyName) /** * Gets address - * @return \Swagger\Client\Model\GetExtendedClientAddress + * @return \Sendinblue\Client\Model\GetExtendedClientAddress */ public function getAddress() { @@ -327,7 +327,7 @@ public function getAddress() /** * Sets address - * @param \Swagger\Client\Model\GetExtendedClientAddress $address + * @param \Sendinblue\Client\Model\GetExtendedClientAddress $address * @return $this */ public function setAddress($address) @@ -339,7 +339,7 @@ public function setAddress($address) /** * Gets plan - * @return \Swagger\Client\Model\GetAccountPlan[] + * @return \Sendinblue\Client\Model\GetAccountPlan[] */ public function getPlan() { @@ -348,7 +348,7 @@ public function getPlan() /** * Sets plan - * @param \Swagger\Client\Model\GetAccountPlan[] $plan Information about your plans and credits + * @param \Sendinblue\Client\Model\GetAccountPlan[] $plan Information about your plans and credits * @return $this */ public function setPlan($plan) @@ -360,7 +360,7 @@ public function setPlan($plan) /** * Gets relay - * @return \Swagger\Client\Model\GetAccountRelay + * @return \Sendinblue\Client\Model\GetAccountRelay */ public function getRelay() { @@ -369,7 +369,7 @@ public function getRelay() /** * Sets relay - * @param \Swagger\Client\Model\GetAccountRelay $relay + * @param \Sendinblue\Client\Model\GetAccountRelay $relay * @return $this */ public function setRelay($relay) @@ -381,7 +381,7 @@ public function setRelay($relay) /** * Gets marketingAutomation - * @return \Swagger\Client\Model\GetAccountMarketingAutomation + * @return \Sendinblue\Client\Model\GetAccountMarketingAutomation */ public function getMarketingAutomation() { @@ -390,7 +390,7 @@ public function getMarketingAutomation() /** * Sets marketingAutomation - * @param \Swagger\Client\Model\GetAccountMarketingAutomation $marketingAutomation + * @param \Sendinblue\Client\Model\GetAccountMarketingAutomation $marketingAutomation * @return $this */ public function setMarketingAutomation($marketingAutomation) @@ -451,10 +451,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountMarketingAutomation.php b/lib/Model/GetAccountMarketingAutomation.php index e019e95a..50e02ada 100644 --- a/lib/Model/GetAccountMarketingAutomation.php +++ b/lib/Model/GetAccountMarketingAutomation.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccountMarketingAutomation Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountPlan.php b/lib/Model/GetAccountPlan.php index dbd2f1ca..2cb6d564 100644 --- a/lib/Model/GetAccountPlan.php +++ b/lib/Model/GetAccountPlan.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccountPlan Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -382,10 +382,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountRelay.php b/lib/Model/GetAccountRelay.php index 1e7ae28f..345a1e44 100644 --- a/lib/Model/GetAccountRelay.php +++ b/lib/Model/GetAccountRelay.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Information about your SMTP account - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class GetAccountRelay implements ArrayAccess */ protected static $swaggerTypes = [ 'enabled' => 'bool', - 'data' => '\Swagger\Client\Model\GetAccountRelayData' + 'data' => '\Sendinblue\Client\Model\GetAccountRelayData' ]; /** @@ -196,7 +196,7 @@ public function setEnabled($enabled) /** * Gets data - * @return \Swagger\Client\Model\GetAccountRelayData + * @return \Sendinblue\Client\Model\GetAccountRelayData */ public function getData() { @@ -205,7 +205,7 @@ public function getData() /** * Sets data - * @param \Swagger\Client\Model\GetAccountRelayData $data + * @param \Sendinblue\Client\Model\GetAccountRelayData $data * @return $this */ public function setData($data) @@ -266,10 +266,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountRelayData.php b/lib/Model/GetAccountRelayData.php index bd9e0101..e92387f8 100644 --- a/lib/Model/GetAccountRelayData.php +++ b/lib/Model/GetAccountRelayData.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Data regarding the SMTP account - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -305,10 +305,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAggregatedReport.php b/lib/Model/GetAggregatedReport.php index d6115e4f..50e95b46 100644 --- a/lib/Model/GetAggregatedReport.php +++ b/lib/Model/GetAggregatedReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAggregatedReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -601,10 +601,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributes.php b/lib/Model/GetAttributes.php index d7465fb8..66d1c06d 100644 --- a/lib/Model/GetAttributes.php +++ b/lib/Model/GetAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributes Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetAttributes implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'attributes' => '\Swagger\Client\Model\GetAttributesAttributes[]' + 'attributes' => '\Sendinblue\Client\Model\GetAttributesAttributes[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets attributes - * @return \Swagger\Client\Model\GetAttributesAttributes[] + * @return \Sendinblue\Client\Model\GetAttributesAttributes[] */ public function getAttributes() { @@ -177,7 +177,7 @@ public function getAttributes() /** * Sets attributes - * @param \Swagger\Client\Model\GetAttributesAttributes[] $attributes Listing of available contact attributes in your account + * @param \Sendinblue\Client\Model\GetAttributesAttributes[] $attributes Listing of available contact attributes in your account * @return $this */ public function setAttributes($attributes) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributesAttributes.php b/lib/Model/GetAttributesAttributes.php index db97699e..06c5e2b7 100644 --- a/lib/Model/GetAttributesAttributes.php +++ b/lib/Model/GetAttributesAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributesAttributes Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetAttributesAttributes implements ArrayAccess 'name' => 'string', 'category' => 'string', 'type' => 'string', - 'enumeration' => '\Swagger\Client\Model\GetAttributesEnumeration[]', + 'enumeration' => '\Sendinblue\Client\Model\GetAttributesEnumeration[]', 'calculatedValue' => 'string' ]; @@ -374,7 +374,7 @@ public function setType($type) /** * Gets enumeration - * @return \Swagger\Client\Model\GetAttributesEnumeration[] + * @return \Sendinblue\Client\Model\GetAttributesEnumeration[] */ public function getEnumeration() { @@ -383,7 +383,7 @@ public function getEnumeration() /** * Sets enumeration - * @param \Swagger\Client\Model\GetAttributesEnumeration[] $enumeration Parameter only available for \"category\" type attributes. + * @param \Sendinblue\Client\Model\GetAttributesEnumeration[] $enumeration Parameter only available for \"category\" type attributes. * @return $this */ public function setEnumeration($enumeration) @@ -465,10 +465,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributesEnumeration.php b/lib/Model/GetAttributesEnumeration.php index 150c81d9..7dcb5ff6 100644 --- a/lib/Model/GetAttributesEnumeration.php +++ b/lib/Model/GetAttributesEnumeration.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributesEnumeration Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignOverview.php b/lib/Model/GetCampaignOverview.php index a7673843..563e2a3f 100644 --- a/lib/Model/GetCampaignOverview.php +++ b/lib/Model/GetCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignOverview Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -241,11 +241,8 @@ public function listInvalidProperties() ); } - if ($this->container['scheduledAt'] === null) { - $invalid_properties[] = "'scheduledAt' can't be null"; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -283,10 +280,7 @@ public function valid() if (!in_array($this->container['status'], $allowed_values)) { return false; } - if ($this->container['scheduledAt'] === null) { - return false; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } return true; @@ -427,14 +421,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date on which campaign is scheduled + * @param string $scheduledAt Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -493,10 +487,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipients.php b/lib/Model/GetCampaignRecipients.php index 4498a6c2..8725bba1 100644 --- a/lib/Model/GetCampaignRecipients.php +++ b/lib/Model/GetCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipients Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class GetCampaignRecipients implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'lists' => '\Swagger\Client\Model\GetCampaignRecipientsLists[]', - 'exclusionLists' => '\Swagger\Client\Model\GetCampaignRecipientsExclusionLists[]' + 'lists' => '\Sendinblue\Client\Model\GetCampaignRecipientsLists[]', + 'exclusionLists' => '\Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[]' ]; /** @@ -180,7 +180,7 @@ public function valid() /** * Gets lists - * @return \Swagger\Client\Model\GetCampaignRecipientsLists[] + * @return \Sendinblue\Client\Model\GetCampaignRecipientsLists[] */ public function getLists() { @@ -189,7 +189,7 @@ public function getLists() /** * Sets lists - * @param \Swagger\Client\Model\GetCampaignRecipientsLists[] $lists Lists included in the campaign + * @param \Sendinblue\Client\Model\GetCampaignRecipientsLists[] $lists Lists included in the campaign * @return $this */ public function setLists($lists) @@ -201,7 +201,7 @@ public function setLists($lists) /** * Gets exclusionLists - * @return \Swagger\Client\Model\GetCampaignRecipientsExclusionLists[] + * @return \Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[] */ public function getExclusionLists() { @@ -210,7 +210,7 @@ public function getExclusionLists() /** * Sets exclusionLists - * @param \Swagger\Client\Model\GetCampaignRecipientsExclusionLists[] $exclusionLists Lists excluded of the campaign + * @param \Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[] $exclusionLists Lists excluded of the campaign * @return $this */ public function setExclusionLists($exclusionLists) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipientsExclusionLists.php b/lib/Model/GetCampaignRecipientsExclusionLists.php index 9d7a6a28..0b3f4f91 100644 --- a/lib/Model/GetCampaignRecipientsExclusionLists.php +++ b/lib/Model/GetCampaignRecipientsExclusionLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipientsExclusionLists Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipientsLists.php b/lib/Model/GetCampaignRecipientsLists.php index e378031f..3d969349 100644 --- a/lib/Model/GetCampaignRecipientsLists.php +++ b/lib/Model/GetCampaignRecipientsLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipientsLists Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignStats.php b/lib/Model/GetCampaignStats.php index 3d3f6ab9..26782052 100644 --- a/lib/Model/GetCampaignStats.php +++ b/lib/Model/GetCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignStats Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -601,10 +601,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfo.php b/lib/Model/GetChildInfo.php index 8a1ef8c7..c3ca9db3 100644 --- a/lib/Model/GetChildInfo.php +++ b/lib/Model/GetChildInfo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfo Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,11 +58,11 @@ class GetChildInfo implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'credits' => '\Swagger\Client\Model\GetChildInfoCredits', - 'statistics' => '\Swagger\Client\Model\GetChildInfoStatistics', + 'credits' => '\Sendinblue\Client\Model\GetChildInfoCredits', + 'statistics' => '\Sendinblue\Client\Model\GetChildInfoStatistics', 'password' => 'string', - 'ips' => '\Swagger\Client\Model\GetChildInfoIps[]', - 'apiKeys' => '\Swagger\Client\Model\GetChildInfoApiKeys[]' + 'ips' => '\Sendinblue\Client\Model\GetChildInfoIps[]', + 'apiKeys' => '\Sendinblue\Client\Model\GetChildInfoApiKeys[]' ]; /** @@ -324,7 +324,7 @@ public function setCompanyName($companyName) /** * Gets credits - * @return \Swagger\Client\Model\GetChildInfoCredits + * @return \Sendinblue\Client\Model\GetChildInfoCredits */ public function getCredits() { @@ -333,7 +333,7 @@ public function getCredits() /** * Sets credits - * @param \Swagger\Client\Model\GetChildInfoCredits $credits + * @param \Sendinblue\Client\Model\GetChildInfoCredits $credits * @return $this */ public function setCredits($credits) @@ -345,7 +345,7 @@ public function setCredits($credits) /** * Gets statistics - * @return \Swagger\Client\Model\GetChildInfoStatistics + * @return \Sendinblue\Client\Model\GetChildInfoStatistics */ public function getStatistics() { @@ -354,7 +354,7 @@ public function getStatistics() /** * Sets statistics - * @param \Swagger\Client\Model\GetChildInfoStatistics $statistics + * @param \Sendinblue\Client\Model\GetChildInfoStatistics $statistics * @return $this */ public function setStatistics($statistics) @@ -387,7 +387,7 @@ public function setPassword($password) /** * Gets ips - * @return \Swagger\Client\Model\GetChildInfoIps[] + * @return \Sendinblue\Client\Model\GetChildInfoIps[] */ public function getIps() { @@ -396,7 +396,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\GetChildInfoIps[] $ips IP(s) associated to a child account user + * @param \Sendinblue\Client\Model\GetChildInfoIps[] $ips IP(s) associated to a child account user * @return $this */ public function setIps($ips) @@ -408,7 +408,7 @@ public function setIps($ips) /** * Gets apiKeys - * @return \Swagger\Client\Model\GetChildInfoApiKeys[] + * @return \Sendinblue\Client\Model\GetChildInfoApiKeys[] */ public function getApiKeys() { @@ -417,7 +417,7 @@ public function getApiKeys() /** * Sets apiKeys - * @param \Swagger\Client\Model\GetChildInfoApiKeys[] $apiKeys API Keys associated to child account + * @param \Sendinblue\Client\Model\GetChildInfoApiKeys[] $apiKeys API Keys associated to child account * @return $this */ public function setApiKeys($apiKeys) @@ -478,10 +478,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoApiKeys.php b/lib/Model/GetChildInfoApiKeys.php index 90512092..14ed26aa 100644 --- a/lib/Model/GetChildInfoApiKeys.php +++ b/lib/Model/GetChildInfoApiKeys.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfoApiKeys Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoCredits.php b/lib/Model/GetChildInfoCredits.php index b1ee8ea7..c9e3a773 100644 --- a/lib/Model/GetChildInfoCredits.php +++ b/lib/Model/GetChildInfoCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Credits available for your child - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -260,10 +260,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoIps.php b/lib/Model/GetChildInfoIps.php index 38c9f88b..c975c262 100644 --- a/lib/Model/GetChildInfoIps.php +++ b/lib/Model/GetChildInfoIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfoIps Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoStatistics.php b/lib/Model/GetChildInfoStatistics.php index c4a5822b..0699d0b9 100644 --- a/lib/Model/GetChildInfoStatistics.php +++ b/lib/Model/GetChildInfoStatistics.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Statistics about your child account activity - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -287,10 +287,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildrenList.php b/lib/Model/GetChildrenList.php index 342baccf..ee05ae38 100644 --- a/lib/Model/GetChildrenList.php +++ b/lib/Model/GetChildrenList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildrenList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetClient.php b/lib/Model/GetClient.php index ecc6ab26..4b389bac 100644 --- a/lib/Model/GetClient.php +++ b/lib/Model/GetClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetClient Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStats.php b/lib/Model/GetContactCampaignStats.php index 80fa71c7..0ed98229 100644 --- a/lib/Model/GetContactCampaignStats.php +++ b/lib/Model/GetContactCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Campaign Statistics for the contact - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,14 +55,14 @@ class GetContactCampaignStats implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'messagesSent' => '\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'hardBounces' => '\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'softBounces' => '\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'complaints' => '\Swagger\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'unsubscriptions' => '\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptions', - 'opened' => '\Swagger\Client\Model\GetContactCampaignStatsOpened[]', - 'clicked' => '\Swagger\Client\Model\GetContactCampaignStatsClicked[]', - 'transacAttributes' => '\Swagger\Client\Model\GetContactCampaignStatsTransacAttributes[]' + 'messagesSent' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'hardBounces' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'softBounces' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'complaints' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'unsubscriptions' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions', + 'opened' => '\Sendinblue\Client\Model\GetContactCampaignStatsOpened[]', + 'clicked' => '\Sendinblue\Client\Model\GetContactCampaignStatsClicked[]', + 'transacAttributes' => '\Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[]' ]; /** @@ -205,7 +205,7 @@ public function valid() /** * Gets messagesSent - * @return \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getMessagesSent() { @@ -214,7 +214,7 @@ public function getMessagesSent() /** * Sets messagesSent - * @param \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] $messagesSent + * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $messagesSent * @return $this */ public function setMessagesSent($messagesSent) @@ -226,7 +226,7 @@ public function setMessagesSent($messagesSent) /** * Gets hardBounces - * @return \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getHardBounces() { @@ -235,7 +235,7 @@ public function getHardBounces() /** * Sets hardBounces - * @param \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] $hardBounces + * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $hardBounces * @return $this */ public function setHardBounces($hardBounces) @@ -247,7 +247,7 @@ public function setHardBounces($hardBounces) /** * Gets softBounces - * @return \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getSoftBounces() { @@ -256,7 +256,7 @@ public function getSoftBounces() /** * Sets softBounces - * @param \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] $softBounces + * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $softBounces * @return $this */ public function setSoftBounces($softBounces) @@ -268,7 +268,7 @@ public function setSoftBounces($softBounces) /** * Gets complaints - * @return \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getComplaints() { @@ -277,7 +277,7 @@ public function getComplaints() /** * Sets complaints - * @param \Swagger\Client\Model\GetContactCampaignStatsMessagesSent[] $complaints + * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $complaints * @return $this */ public function setComplaints($complaints) @@ -289,7 +289,7 @@ public function setComplaints($complaints) /** * Gets unsubscriptions - * @return \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptions + * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions */ public function getUnsubscriptions() { @@ -298,7 +298,7 @@ public function getUnsubscriptions() /** * Sets unsubscriptions - * @param \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptions $unsubscriptions + * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions $unsubscriptions * @return $this */ public function setUnsubscriptions($unsubscriptions) @@ -310,7 +310,7 @@ public function setUnsubscriptions($unsubscriptions) /** * Gets opened - * @return \Swagger\Client\Model\GetContactCampaignStatsOpened[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsOpened[] */ public function getOpened() { @@ -319,7 +319,7 @@ public function getOpened() /** * Sets opened - * @param \Swagger\Client\Model\GetContactCampaignStatsOpened[] $opened + * @param \Sendinblue\Client\Model\GetContactCampaignStatsOpened[] $opened * @return $this */ public function setOpened($opened) @@ -331,7 +331,7 @@ public function setOpened($opened) /** * Gets clicked - * @return \Swagger\Client\Model\GetContactCampaignStatsClicked[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsClicked[] */ public function getClicked() { @@ -340,7 +340,7 @@ public function getClicked() /** * Sets clicked - * @param \Swagger\Client\Model\GetContactCampaignStatsClicked[] $clicked + * @param \Sendinblue\Client\Model\GetContactCampaignStatsClicked[] $clicked * @return $this */ public function setClicked($clicked) @@ -352,7 +352,7 @@ public function setClicked($clicked) /** * Gets transacAttributes - * @return \Swagger\Client\Model\GetContactCampaignStatsTransacAttributes[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[] */ public function getTransacAttributes() { @@ -361,7 +361,7 @@ public function getTransacAttributes() /** * Sets transacAttributes - * @param \Swagger\Client\Model\GetContactCampaignStatsTransacAttributes[] $transacAttributes + * @param \Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[] $transacAttributes * @return $this */ public function setTransacAttributes($transacAttributes) @@ -422,10 +422,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsClicked.php b/lib/Model/GetContactCampaignStatsClicked.php index 01965711..039355d9 100644 --- a/lib/Model/GetContactCampaignStatsClicked.php +++ b/lib/Model/GetContactCampaignStatsClicked.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsClicked Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetContactCampaignStatsClicked implements ArrayAccess */ protected static $swaggerTypes = [ 'campaignId' => 'int', - 'links' => '\Swagger\Client\Model\GetContactCampaignStatsLinks[]' + 'links' => '\Sendinblue\Client\Model\GetContactCampaignStatsLinks[]' ]; /** @@ -201,7 +201,7 @@ public function setCampaignId($campaignId) /** * Gets links - * @return \Swagger\Client\Model\GetContactCampaignStatsLinks[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsLinks[] */ public function getLinks() { @@ -210,7 +210,7 @@ public function getLinks() /** * Sets links - * @param \Swagger\Client\Model\GetContactCampaignStatsLinks[] $links + * @param \Sendinblue\Client\Model\GetContactCampaignStatsLinks[] $links * @return $this */ public function setLinks($links) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsLinks.php b/lib/Model/GetContactCampaignStatsLinks.php index 021acc04..22bd857e 100644 --- a/lib/Model/GetContactCampaignStatsLinks.php +++ b/lib/Model/GetContactCampaignStatsLinks.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsLinks Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsMessagesSent.php b/lib/Model/GetContactCampaignStatsMessagesSent.php index 119d2167..9165807f 100644 --- a/lib/Model/GetContactCampaignStatsMessagesSent.php +++ b/lib/Model/GetContactCampaignStatsMessagesSent.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsMessagesSent Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsOpened.php b/lib/Model/GetContactCampaignStatsOpened.php index 0938fbe4..687f4e0c 100644 --- a/lib/Model/GetContactCampaignStatsOpened.php +++ b/lib/Model/GetContactCampaignStatsOpened.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsOpened Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsTransacAttributes.php b/lib/Model/GetContactCampaignStatsTransacAttributes.php index 6e66d090..d92b4700 100644 --- a/lib/Model/GetContactCampaignStatsTransacAttributes.php +++ b/lib/Model/GetContactCampaignStatsTransacAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsTransacAttributes Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptions.php b/lib/Model/GetContactCampaignStatsUnsubscriptions.php index ccc18857..16a98cb4 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptions.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptions.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptions Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class GetContactCampaignStatsUnsubscriptions implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'userUnsubscription' => '\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]', - 'adminUnsubscription' => '\Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]' + 'userUnsubscription' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]', + 'adminUnsubscription' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]' ]; /** @@ -180,7 +180,7 @@ public function valid() /** * Gets userUnsubscription - * @return \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] */ public function getUserUnsubscription() { @@ -189,7 +189,7 @@ public function getUserUnsubscription() /** * Sets userUnsubscription - * @param \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] $userUnsubscription Contact has unsubscribed via the unsubscription link in the email + * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] $userUnsubscription Contact has unsubscribed via the unsubscription link in the email * @return $this */ public function setUserUnsubscription($userUnsubscription) @@ -201,7 +201,7 @@ public function setUserUnsubscription($userUnsubscription) /** * Gets adminUnsubscription - * @return \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] + * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] */ public function getAdminUnsubscription() { @@ -210,7 +210,7 @@ public function getAdminUnsubscription() /** * Sets adminUnsubscription - * @param \Swagger\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] $adminUnsubscription Contact has been unsubscribed from the administrator + * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] $adminUnsubscription Contact has been unsubscribed from the administrator * @return $this */ public function setAdminUnsubscription($adminUnsubscription) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php b/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php index 7c1ef022..4716b67c 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptionsAdminUnsubscription Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php b/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php index 4e27a35e..df659934 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptionsUserUnsubscription Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactDetails.php b/lib/Model/GetContactDetails.php index 7af3e984..3d08c665 100644 --- a/lib/Model/GetContactDetails.php +++ b/lib/Model/GetContactDetails.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactDetails Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetContactDetails implements ArrayAccess 'id' => 'int', 'emailBlacklisted' => 'bool', 'smsBlacklisted' => 'bool', - 'modifiedAt' => '\DateTime', + 'modifiedAt' => 'string', 'listIds' => 'int[]', 'listUnsubscribed' => 'int[]', 'attributes' => 'map[string,string]' @@ -73,7 +73,7 @@ class GetContactDetails implements ArrayAccess 'id' => 'int32', 'emailBlacklisted' => null, 'smsBlacklisted' => null, - 'modifiedAt' => 'date-time', + 'modifiedAt' => null, 'listIds' => 'int32', 'listUnsubscribed' => 'int32', 'attributes' => null @@ -201,6 +201,10 @@ public function listInvalidProperties() if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; + } + if ($this->container['listIds'] === null) { $invalid_properties[] = "'listIds' can't be null"; } @@ -234,6 +238,9 @@ public function valid() if ($this->container['modifiedAt'] === null) { return false; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + return false; + } if ($this->container['listIds'] === null) { return false; } @@ -330,7 +337,7 @@ public function setSmsBlacklisted($smsBlacklisted) /** * Gets modifiedAt - * @return \DateTime + * @return string */ public function getModifiedAt() { @@ -339,11 +346,16 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param \DateTime $modifiedAt Last modification date of the contact + * @param string $modifiedAt Last modification date of the contact (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { + + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetContactDetails., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); + } + $this->container['modifiedAt'] = $modifiedAt; return $this; @@ -463,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContacts.php b/lib/Model/GetContacts.php index 33570d2e..1a35b730 100644 --- a/lib/Model/GetContacts.php +++ b/lib/Model/GetContacts.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContacts Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailCampaign.php b/lib/Model/GetEmailCampaign.php index d85b7021..deef833d 100644 --- a/lib/Model/GetEmailCampaign.php +++ b/lib/Model/GetEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -63,7 +63,7 @@ class GetEmailCampaign implements ArrayAccess 'testSent' => 'bool', 'header' => 'string', 'footer' => 'string', - 'sender' => '\Swagger\Client\Model\GetExtendedCampaignOverviewSender', + 'sender' => '\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'htmlContent' => 'string', @@ -325,11 +325,8 @@ public function listInvalidProperties() ); } - if ($this->container['scheduledAt'] === null) { - $invalid_properties[] = "'scheduledAt' can't be null"; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['testSent'] === null) { @@ -359,15 +356,15 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { - $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { - $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -405,10 +402,7 @@ public function valid() if (!in_array($this->container['status'], $allowed_values)) { return false; } - if ($this->container['scheduledAt'] === null) { - return false; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } if ($this->container['testSent'] === null) { @@ -438,13 +432,13 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { return false; } if ($this->container['modifiedAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { return false; } return true; @@ -585,14 +579,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date on which campaign is scheduled + * @param string $scheduledAt Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetEmailCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetEmailCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -665,7 +659,7 @@ public function setFooter($footer) /** * Gets sender - * @return \Swagger\Client\Model\GetExtendedCampaignOverviewSender + * @return \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender */ public function getSender() { @@ -674,7 +668,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\GetExtendedCampaignOverviewSender $sender + * @param \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender $sender * @return $this */ public function setSender($sender) @@ -800,14 +794,14 @@ public function getCreatedAt() /** * Sets createdAt - * @param string $createdAt Creation date of the campaign + * @param string $createdAt Creation date of the campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setCreatedAt($createdAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $createdAt))) { - throw new \InvalidArgumentException("invalid value for $createdAt when calling GetEmailCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetEmailCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['createdAt'] = $createdAt; @@ -826,14 +820,14 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param string $modifiedAt Date of last modification of the campaign + * @param string $modifiedAt Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $modifiedAt))) { - throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetEmailCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetEmailCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['modifiedAt'] = $modifiedAt; @@ -955,10 +949,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailCampaigns.php b/lib/Model/GetEmailCampaigns.php index ad0b3a1a..02b29924 100644 --- a/lib/Model/GetEmailCampaigns.php +++ b/lib/Model/GetEmailCampaigns.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailCampaigns Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailEventReport.php b/lib/Model/GetEmailEventReport.php index 3f43d592..3de67d23 100644 --- a/lib/Model/GetEmailEventReport.php +++ b/lib/Model/GetEmailEventReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailEventReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetEmailEventReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'events' => '\Swagger\Client\Model\GetEmailEventReportEvents[]' + 'events' => '\Sendinblue\Client\Model\GetEmailEventReportEvents[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets events - * @return \Swagger\Client\Model\GetEmailEventReportEvents[] + * @return \Sendinblue\Client\Model\GetEmailEventReportEvents[] */ public function getEvents() { @@ -171,7 +171,7 @@ public function getEvents() /** * Sets events - * @param \Swagger\Client\Model\GetEmailEventReportEvents[] $events + * @param \Sendinblue\Client\Model\GetEmailEventReportEvents[] $events * @return $this */ public function setEvents($events) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailEventReportEvents.php b/lib/Model/GetEmailEventReportEvents.php index 1d2a4e1b..66ae00c4 100644 --- a/lib/Model/GetEmailEventReportEvents.php +++ b/lib/Model/GetEmailEventReportEvents.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailEventReportEvents Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -483,10 +483,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignOverview.php b/lib/Model/GetExtendedCampaignOverview.php index cce4c504..238c0499 100644 --- a/lib/Model/GetExtendedCampaignOverview.php +++ b/lib/Model/GetExtendedCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignOverview Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -63,7 +63,7 @@ class GetExtendedCampaignOverview implements ArrayAccess 'testSent' => 'bool', 'header' => 'string', 'footer' => 'string', - 'sender' => '\Swagger\Client\Model\GetExtendedCampaignOverviewSender', + 'sender' => '\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'htmlContent' => 'string', @@ -325,11 +325,8 @@ public function listInvalidProperties() ); } - if ($this->container['scheduledAt'] === null) { - $invalid_properties[] = "'scheduledAt' can't be null"; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['testSent'] === null) { @@ -359,15 +356,15 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { - $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { - $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -405,10 +402,7 @@ public function valid() if (!in_array($this->container['status'], $allowed_values)) { return false; } - if ($this->container['scheduledAt'] === null) { - return false; - } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } if ($this->container['testSent'] === null) { @@ -438,13 +432,13 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { return false; } if ($this->container['modifiedAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { return false; } return true; @@ -585,14 +579,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date on which campaign is scheduled + * @param string $scheduledAt Date on which campaign is scheduled (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetExtendedCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetExtendedCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -665,7 +659,7 @@ public function setFooter($footer) /** * Gets sender - * @return \Swagger\Client\Model\GetExtendedCampaignOverviewSender + * @return \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender */ public function getSender() { @@ -674,7 +668,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\GetExtendedCampaignOverviewSender $sender + * @param \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender $sender * @return $this */ public function setSender($sender) @@ -800,14 +794,14 @@ public function getCreatedAt() /** * Sets createdAt - * @param string $createdAt Creation date of the campaign + * @param string $createdAt Creation date of the campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setCreatedAt($createdAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $createdAt))) { - throw new \InvalidArgumentException("invalid value for $createdAt when calling GetExtendedCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetExtendedCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['createdAt'] = $createdAt; @@ -826,14 +820,14 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param string $modifiedAt Date of last modification of the campaign + * @param string $modifiedAt Date of last modification of the campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $modifiedAt))) { - throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetExtendedCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetExtendedCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['modifiedAt'] = $modifiedAt; @@ -955,10 +949,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignOverviewSender.php b/lib/Model/GetExtendedCampaignOverviewSender.php index 3473e93b..dec8308c 100644 --- a/lib/Model/GetExtendedCampaignOverviewSender.php +++ b/lib/Model/GetExtendedCampaignOverviewSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignOverviewSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignStats.php b/lib/Model/GetExtendedCampaignStats.php index dd76f2ca..eac547ef 100644 --- a/lib/Model/GetExtendedCampaignStats.php +++ b/lib/Model/GetExtendedCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignStats Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,8 +57,8 @@ class GetExtendedCampaignStats implements ArrayAccess 'campaignStats' => 'object[]', 'mirrorClick' => 'int', 'remaining' => 'int', - 'linksStats' => 'map[string,\Swagger\Client\Model\GetExtendedCampaignStatsLinksStats]', - 'statsByDomain' => '\Swagger\Client\Model\GetStatsByDomain' + 'linksStats' => 'map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats]', + 'statsByDomain' => '\Sendinblue\Client\Model\GetStatsByDomain' ]; /** @@ -279,7 +279,7 @@ public function setRemaining($remaining) /** * Gets linksStats - * @return map[string,\Swagger\Client\Model\GetExtendedCampaignStatsLinksStats] + * @return map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats] */ public function getLinksStats() { @@ -288,7 +288,7 @@ public function getLinksStats() /** * Sets linksStats - * @param map[string,\Swagger\Client\Model\GetExtendedCampaignStatsLinksStats] $linksStats + * @param map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats] $linksStats * @return $this */ public function setLinksStats($linksStats) @@ -300,7 +300,7 @@ public function setLinksStats($linksStats) /** * Gets statsByDomain - * @return \Swagger\Client\Model\GetStatsByDomain + * @return \Sendinblue\Client\Model\GetStatsByDomain */ public function getStatsByDomain() { @@ -309,7 +309,7 @@ public function getStatsByDomain() /** * Sets statsByDomain - * @param \Swagger\Client\Model\GetStatsByDomain $statsByDomain + * @param \Sendinblue\Client\Model\GetStatsByDomain $statsByDomain * @return $this */ public function setStatsByDomain($statsByDomain) @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignStatsLinksStats.php b/lib/Model/GetExtendedCampaignStatsLinksStats.php index e2822473..7461e506 100644 --- a/lib/Model/GetExtendedCampaignStatsLinksStats.php +++ b/lib/Model/GetExtendedCampaignStatsLinksStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Statistics about the clicked links - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -239,10 +239,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedClient.php b/lib/Model/GetExtendedClient.php index da01216c..ee5a306c 100644 --- a/lib/Model/GetExtendedClient.php +++ b/lib/Model/GetExtendedClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedClient Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetExtendedClient implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'address' => '\Swagger\Client\Model\GetExtendedClientAddress' + 'address' => '\Sendinblue\Client\Model\GetExtendedClientAddress' ]; /** @@ -294,7 +294,7 @@ public function setCompanyName($companyName) /** * Gets address - * @return \Swagger\Client\Model\GetExtendedClientAddress + * @return \Sendinblue\Client\Model\GetExtendedClientAddress */ public function getAddress() { @@ -303,7 +303,7 @@ public function getAddress() /** * Sets address - * @param \Swagger\Client\Model\GetExtendedClientAddress $address + * @param \Sendinblue\Client\Model\GetExtendedClientAddress $address * @return $this */ public function setAddress($address) @@ -364,10 +364,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedClientAddress.php b/lib/Model/GetExtendedClientAddress.php index 4ea07ac8..b2009ab1 100644 --- a/lib/Model/GetExtendedClientAddress.php +++ b/lib/Model/GetExtendedClientAddress.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Address informations - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -338,10 +338,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedContactDetails.php b/lib/Model/GetExtendedContactDetails.php index 12a4c7a2..15ccec45 100644 --- a/lib/Model/GetExtendedContactDetails.php +++ b/lib/Model/GetExtendedContactDetails.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedContactDetails Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetExtendedContactDetails implements ArrayAccess 'id' => 'int', 'emailBlacklisted' => 'bool', 'smsBlacklisted' => 'bool', - 'modifiedAt' => '\DateTime', + 'modifiedAt' => 'string', 'listIds' => 'int[]', 'listUnsubscribed' => 'int[]', 'attributes' => 'map[string,string]' @@ -73,7 +73,7 @@ class GetExtendedContactDetails implements ArrayAccess 'id' => 'int32', 'emailBlacklisted' => null, 'smsBlacklisted' => null, - 'modifiedAt' => 'date-time', + 'modifiedAt' => null, 'listIds' => 'int32', 'listUnsubscribed' => 'int32', 'attributes' => null @@ -201,6 +201,10 @@ public function listInvalidProperties() if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; + } + if ($this->container['listIds'] === null) { $invalid_properties[] = "'listIds' can't be null"; } @@ -234,6 +238,9 @@ public function valid() if ($this->container['modifiedAt'] === null) { return false; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + return false; + } if ($this->container['listIds'] === null) { return false; } @@ -330,7 +337,7 @@ public function setSmsBlacklisted($smsBlacklisted) /** * Gets modifiedAt - * @return \DateTime + * @return string */ public function getModifiedAt() { @@ -339,11 +346,16 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param \DateTime $modifiedAt Last modification date of the contact + * @param string $modifiedAt Last modification date of the contact (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { + + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetExtendedContactDetails., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); + } + $this->container['modifiedAt'] = $modifiedAt; return $this; @@ -463,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedList.php b/lib/Model/GetExtendedList.php index 8d6c2e02..b4f31975 100644 --- a/lib/Model/GetExtendedList.php +++ b/lib/Model/GetExtendedList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,8 +59,8 @@ class GetExtendedList implements ArrayAccess 'totalBlacklisted' => 'int', 'totalSubscribers' => 'int', 'folderId' => 'int', - 'createdAt' => '\DateTime', - 'campaignStats' => '\Swagger\Client\Model\GetExtendedListCampaignStats[]', + 'createdAt' => 'string', + 'campaignStats' => '\Sendinblue\Client\Model\GetExtendedListCampaignStats[]', 'dynamicList' => 'bool' ]; @@ -74,7 +74,7 @@ class GetExtendedList implements ArrayAccess 'totalBlacklisted' => 'int32', 'totalSubscribers' => 'int32', 'folderId' => 'int32', - 'createdAt' => 'date', + 'createdAt' => null, 'campaignStats' => null, 'dynamicList' => null ]; @@ -204,6 +204,10 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."; + } + return $invalid_properties; } @@ -234,6 +238,9 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['createdAt'])) { + return false; + } return true; } @@ -345,7 +352,7 @@ public function setFolderId($folderId) /** * Gets createdAt - * @return \DateTime + * @return string */ public function getCreatedAt() { @@ -354,11 +361,16 @@ public function getCreatedAt() /** * Sets createdAt - * @param \DateTime $createdAt Creation Date of the list + * @param string $createdAt Creation Date of the list (YYYY-MM-DD) * @return $this */ public function setCreatedAt($createdAt) { + + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetExtendedList., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."); + } + $this->container['createdAt'] = $createdAt; return $this; @@ -366,7 +378,7 @@ public function setCreatedAt($createdAt) /** * Gets campaignStats - * @return \Swagger\Client\Model\GetExtendedListCampaignStats[] + * @return \Sendinblue\Client\Model\GetExtendedListCampaignStats[] */ public function getCampaignStats() { @@ -375,7 +387,7 @@ public function getCampaignStats() /** * Sets campaignStats - * @param \Swagger\Client\Model\GetExtendedListCampaignStats[] $campaignStats + * @param \Sendinblue\Client\Model\GetExtendedListCampaignStats[] $campaignStats * @return $this */ public function setCampaignStats($campaignStats) @@ -457,10 +469,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedListCampaignStats.php b/lib/Model/GetExtendedListCampaignStats.php index 6d2b42ce..c986b65d 100644 --- a/lib/Model/GetExtendedListCampaignStats.php +++ b/lib/Model/GetExtendedListCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedListCampaignStats Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetExtendedListCampaignStats implements ArrayAccess */ protected static $swaggerTypes = [ 'campaignId' => 'int', - 'stats' => '\Swagger\Client\Model\GetCampaignStats' + 'stats' => '\Sendinblue\Client\Model\GetCampaignStats' ]; /** @@ -201,7 +201,7 @@ public function setCampaignId($campaignId) /** * Gets stats - * @return \Swagger\Client\Model\GetCampaignStats + * @return \Sendinblue\Client\Model\GetCampaignStats */ public function getStats() { @@ -210,7 +210,7 @@ public function getStats() /** * Sets stats - * @param \Swagger\Client\Model\GetCampaignStats $stats + * @param \Sendinblue\Client\Model\GetCampaignStats $stats * @return $this */ public function setStats($stats) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolder.php b/lib/Model/GetFolder.php index e68530cf..9b63d90b 100644 --- a/lib/Model/GetFolder.php +++ b/lib/Model/GetFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolder Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolderLists.php b/lib/Model/GetFolderLists.php index c30d8480..fa100692 100644 --- a/lib/Model/GetFolderLists.php +++ b/lib/Model/GetFolderLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolderLists Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolders.php b/lib/Model/GetFolders.php index dcd3dba8..f03d926d 100644 --- a/lib/Model/GetFolders.php +++ b/lib/Model/GetFolders.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolders Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIp.php b/lib/Model/GetIp.php old mode 100755 new mode 100644 index 819288e5..6ba2e998 --- a/lib/Model/GetIp.php +++ b/lib/Model/GetIp.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIp Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIpFromSender.php b/lib/Model/GetIpFromSender.php old mode 100755 new mode 100644 index 90970881..008a5a3b --- a/lib/Model/GetIpFromSender.php +++ b/lib/Model/GetIpFromSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIpFromSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIps.php b/lib/Model/GetIps.php index 2c04bca1..998e65fd 100644 --- a/lib/Model/GetIps.php +++ b/lib/Model/GetIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIps Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetIps implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'ips' => '\Swagger\Client\Model\GetIp[]' + 'ips' => '\Sendinblue\Client\Model\GetIp[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets ips - * @return \Swagger\Client\Model\GetIp[] + * @return \Sendinblue\Client\Model\GetIp[] */ public function getIps() { @@ -177,7 +177,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\GetIp[] $ips Dedicated IP(s) available on your account + * @param \Sendinblue\Client\Model\GetIp[] $ips Dedicated IP(s) available on your account * @return $this */ public function setIps($ips) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIpsFromSender.php b/lib/Model/GetIpsFromSender.php index 48cc32c2..65d656d2 100644 --- a/lib/Model/GetIpsFromSender.php +++ b/lib/Model/GetIpsFromSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIpsFromSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetIpsFromSender implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'ips' => '\Swagger\Client\Model\GetIpFromSender[]' + 'ips' => '\Sendinblue\Client\Model\GetIpFromSender[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets ips - * @return \Swagger\Client\Model\GetIpFromSender[] + * @return \Sendinblue\Client\Model\GetIpFromSender[] */ public function getIps() { @@ -177,7 +177,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\GetIpFromSender[] $ips Dedicated IP(s) linked to a sender + * @param \Sendinblue\Client\Model\GetIpFromSender[] $ips Dedicated IP(s) linked to a sender * @return $this */ public function setIps($ips) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetList.php b/lib/Model/GetList.php index 300d67fd..f51ebe1c 100644 --- a/lib/Model/GetList.php +++ b/lib/Model/GetList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetLists.php b/lib/Model/GetLists.php index 1f2e11b7..c461cb08 100644 --- a/lib/Model/GetLists.php +++ b/lib/Model/GetLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetLists Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetLists implements ArrayAccess */ protected static $swaggerTypes = [ 'count' => 'int', - 'lists' => '\Swagger\Client\Model\GetListsLists[]' + 'lists' => '\Sendinblue\Client\Model\GetListsLists[]' ]; /** @@ -201,7 +201,7 @@ public function setCount($count) /** * Gets lists - * @return \Swagger\Client\Model\GetListsLists[] + * @return \Sendinblue\Client\Model\GetListsLists[] */ public function getLists() { @@ -210,7 +210,7 @@ public function getLists() /** * Sets lists - * @param \Swagger\Client\Model\GetListsLists[] $lists Listing of all the lists available in your account + * @param \Sendinblue\Client\Model\GetListsLists[] $lists Listing of all the lists available in your account * @return $this */ public function setLists($lists) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetListsFolder.php b/lib/Model/GetListsFolder.php index 30a6597b..66dec431 100644 --- a/lib/Model/GetListsFolder.php +++ b/lib/Model/GetListsFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetListsFolder Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetListsLists.php b/lib/Model/GetListsLists.php index 043e49fa..78df6385 100644 --- a/lib/Model/GetListsLists.php +++ b/lib/Model/GetListsLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetListsLists Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetListsLists implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'folder' => '\Swagger\Client\Model\GetListsFolder' + 'folder' => '\Sendinblue\Client\Model\GetListsFolder' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets folder - * @return \Swagger\Client\Model\GetListsFolder + * @return \Sendinblue\Client\Model\GetListsFolder */ public function getFolder() { @@ -171,7 +171,7 @@ public function getFolder() /** * Sets folder - * @param \Swagger\Client\Model\GetListsFolder $folder + * @param \Sendinblue\Client\Model\GetListsFolder $folder * @return $this */ public function setFolder($folder) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetProcess.php b/lib/Model/GetProcess.php index 18431662..3eac27a8 100644 --- a/lib/Model/GetProcess.php +++ b/lib/Model/GetProcess.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetProcess Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetProcesses.php b/lib/Model/GetProcesses.php index 503de031..6d05b6ba 100644 --- a/lib/Model/GetProcesses.php +++ b/lib/Model/GetProcesses.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetProcesses Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetProcesses implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'processes' => '\Swagger\Client\Model\GetProcess[]', + 'processes' => '\Sendinblue\Client\Model\GetProcess[]', 'count' => 'int' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets processes - * @return \Swagger\Client\Model\GetProcess[] + * @return \Sendinblue\Client\Model\GetProcess[] */ public function getProcesses() { @@ -183,7 +183,7 @@ public function getProcesses() /** * Sets processes - * @param \Swagger\Client\Model\GetProcess[] $processes List of processes available on your account + * @param \Sendinblue\Client\Model\GetProcess[] $processes List of processes available on your account * @return $this */ public function setProcesses($processes) @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetReports.php b/lib/Model/GetReports.php index 52df7f97..775ca645 100644 --- a/lib/Model/GetReports.php +++ b/lib/Model/GetReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetReports Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetReports implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'reports' => '\Swagger\Client\Model\GetReportsReports[]' + 'reports' => '\Sendinblue\Client\Model\GetReportsReports[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets reports - * @return \Swagger\Client\Model\GetReportsReports[] + * @return \Sendinblue\Client\Model\GetReportsReports[] */ public function getReports() { @@ -171,7 +171,7 @@ public function getReports() /** * Sets reports - * @param \Swagger\Client\Model\GetReportsReports[] $reports + * @param \Sendinblue\Client\Model\GetReportsReports[] $reports * @return $this */ public function setReports($reports) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetReportsReports.php b/lib/Model/GetReportsReports.php index 8809a30f..46fcc429 100644 --- a/lib/Model/GetReportsReports.php +++ b/lib/Model/GetReportsReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetReportsReports Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -634,10 +634,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersList.php b/lib/Model/GetSendersList.php index bcf29023..eadd397a 100644 --- a/lib/Model/GetSendersList.php +++ b/lib/Model/GetSendersList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetSendersList implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'senders' => '\Swagger\Client\Model\GetSendersListSenders[]' + 'senders' => '\Sendinblue\Client\Model\GetSendersListSenders[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets senders - * @return \Swagger\Client\Model\GetSendersListSenders[] + * @return \Sendinblue\Client\Model\GetSendersListSenders[] */ public function getSenders() { @@ -171,7 +171,7 @@ public function getSenders() /** * Sets senders - * @param \Swagger\Client\Model\GetSendersListSenders[] $senders List of the senders available in your account + * @param \Sendinblue\Client\Model\GetSendersListSenders[] $senders List of the senders available in your account * @return $this */ public function setSenders($senders) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersListIps.php b/lib/Model/GetSendersListIps.php index 4d316352..8f220b4c 100644 --- a/lib/Model/GetSendersListIps.php +++ b/lib/Model/GetSendersListIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersListIps Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersListSenders.php b/lib/Model/GetSendersListSenders.php index c138f9cf..449635c8 100644 --- a/lib/Model/GetSendersListSenders.php +++ b/lib/Model/GetSendersListSenders.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersListSenders Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetSendersListSenders implements ArrayAccess 'name' => 'string', 'email' => 'string', 'active' => 'bool', - 'ips' => '\Swagger\Client\Model\GetSendersListIps[]' + 'ips' => '\Sendinblue\Client\Model\GetSendersListIps[]' ]; /** @@ -294,7 +294,7 @@ public function setActive($active) /** * Gets ips - * @return \Swagger\Client\Model\GetSendersListIps[] + * @return \Sendinblue\Client\Model\GetSendersListIps[] */ public function getIps() { @@ -303,7 +303,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\GetSendersListIps[] $ips List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs + * @param \Sendinblue\Client\Model\GetSendersListIps[] $ips List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs * @return $this */ public function setIps($ips) @@ -364,10 +364,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaign.php b/lib/Model/GetSmsCampaign.php index 1ad1d3a8..476e2008 100644 --- a/lib/Model/GetSmsCampaign.php +++ b/lib/Model/GetSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -237,8 +237,8 @@ public function listInvalidProperties() if ($this->container['scheduledAt'] === null) { $invalid_properties[] = "'scheduledAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['testSent'] === null) { @@ -250,15 +250,15 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { - $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { - $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -292,7 +292,7 @@ public function valid() if ($this->container['scheduledAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } if ($this->container['testSent'] === null) { @@ -304,13 +304,13 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { return false; } if ($this->container['modifiedAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { return false; } return true; @@ -421,14 +421,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date on which SMS campaign is scheduled + * @param string $scheduledAt Date on which SMS campaign is scheduled. Should be in YYYY-MM-DD HH:mm:ss format * @return $this */ public function setScheduledAt($scheduledAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetSmsCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetSmsCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -489,14 +489,14 @@ public function getCreatedAt() /** * Sets createdAt - * @param string $createdAt Creation date of the SMS campaign + * @param string $createdAt Creation date of the SMS campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setCreatedAt($createdAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $createdAt))) { - throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmsCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmsCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['createdAt'] = $createdAt; @@ -515,14 +515,14 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param string $modifiedAt Date of last modification of the SMS campaign + * @param string $modifiedAt Date of last modification of the SMS campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $modifiedAt))) { - throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmsCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmsCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['modifiedAt'] = $modifiedAt; @@ -581,10 +581,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaignOverview.php b/lib/Model/GetSmsCampaignOverview.php index 5d2b232b..913ca8d5 100644 --- a/lib/Model/GetSmsCampaignOverview.php +++ b/lib/Model/GetSmsCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaignOverview Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -237,8 +237,8 @@ public function listInvalidProperties() if ($this->container['scheduledAt'] === null) { $invalid_properties[] = "'scheduledAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['testSent'] === null) { @@ -250,15 +250,15 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { - $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { - $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -292,7 +292,7 @@ public function valid() if ($this->container['scheduledAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } if ($this->container['testSent'] === null) { @@ -304,13 +304,13 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { return false; } if ($this->container['modifiedAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { return false; } return true; @@ -421,14 +421,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date on which SMS campaign is scheduled + * @param string $scheduledAt Date on which SMS campaign is scheduled. Should be in YYYY-MM-DD HH:mm:ss format * @return $this */ public function setScheduledAt($scheduledAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetSmsCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling GetSmsCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -489,14 +489,14 @@ public function getCreatedAt() /** * Sets createdAt - * @param string $createdAt Creation date of the SMS campaign + * @param string $createdAt Creation date of the SMS campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setCreatedAt($createdAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $createdAt))) { - throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmsCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmsCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['createdAt'] = $createdAt; @@ -515,14 +515,14 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param string $modifiedAt Date of last modification of the SMS campaign + * @param string $modifiedAt Date of last modification of the SMS campaign (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $modifiedAt))) { - throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmsCampaignOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmsCampaignOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['modifiedAt'] = $modifiedAt; @@ -581,10 +581,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaignStats.php b/lib/Model/GetSmsCampaignStats.php index 2291977f..5f46d1da 100644 --- a/lib/Model/GetSmsCampaignStats.php +++ b/lib/Model/GetSmsCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaignStats Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -436,10 +436,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaigns.php b/lib/Model/GetSmsCampaigns.php index 48481936..d103eff8 100644 --- a/lib/Model/GetSmsCampaigns.php +++ b/lib/Model/GetSmsCampaigns.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaigns Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsEventReport.php b/lib/Model/GetSmsEventReport.php index 714cec05..7ffdf757 100644 --- a/lib/Model/GetSmsEventReport.php +++ b/lib/Model/GetSmsEventReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsEventReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetSmsEventReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'events' => '\Swagger\Client\Model\GetSmsEventReportEvents[]' + 'events' => '\Sendinblue\Client\Model\GetSmsEventReportEvents[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets events - * @return \Swagger\Client\Model\GetSmsEventReportEvents[] + * @return \Sendinblue\Client\Model\GetSmsEventReportEvents[] */ public function getEvents() { @@ -171,7 +171,7 @@ public function getEvents() /** * Sets events - * @param \Swagger\Client\Model\GetSmsEventReportEvents[] $events + * @param \Sendinblue\Client\Model\GetSmsEventReportEvents[] $events * @return $this */ public function setEvents($events) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsEventReportEvents.php b/lib/Model/GetSmsEventReportEvents.php index 8c8d2feb..a63741e3 100644 --- a/lib/Model/GetSmsEventReportEvents.php +++ b/lib/Model/GetSmsEventReportEvents.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsEventReportEvents Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -479,10 +479,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplateOverview.php b/lib/Model/GetSmtpTemplateOverview.php index 95d4232e..7b81533e 100644 --- a/lib/Model/GetSmtpTemplateOverview.php +++ b/lib/Model/GetSmtpTemplateOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplateOverview Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,7 +59,7 @@ class GetSmtpTemplateOverview implements ArrayAccess 'subject' => 'string', 'isActive' => 'bool', 'testSent' => 'bool', - 'sender' => '\Swagger\Client\Model\GetSmtpTemplateOverviewSender', + 'sender' => '\Sendinblue\Client\Model\GetSmtpTemplateOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'tag' => 'string', @@ -240,15 +240,15 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { - $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { - $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -293,13 +293,13 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['createdAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['createdAt'])) { return false; } if ($this->container['modifiedAt'] === null) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['modifiedAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['modifiedAt'])) { return false; } return true; @@ -413,7 +413,7 @@ public function setTestSent($testSent) /** * Gets sender - * @return \Swagger\Client\Model\GetSmtpTemplateOverviewSender + * @return \Sendinblue\Client\Model\GetSmtpTemplateOverviewSender */ public function getSender() { @@ -422,7 +422,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\GetSmtpTemplateOverviewSender $sender + * @param \Sendinblue\Client\Model\GetSmtpTemplateOverviewSender $sender * @return $this */ public function setSender($sender) @@ -527,14 +527,14 @@ public function getCreatedAt() /** * Sets createdAt - * @param string $createdAt Creation date of the template + * @param string $createdAt Creation date of the template (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setCreatedAt($createdAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $createdAt))) { - throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmtpTemplateOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetSmtpTemplateOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['createdAt'] = $createdAt; @@ -553,14 +553,14 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param string $modifiedAt Last modification date of the template + * @param string $modifiedAt Last modification date of the template (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setModifiedAt($modifiedAt) { - if ((!preg_match("/YYYY-MM-DD HH:mm:ss/", $modifiedAt))) { - throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmtpTemplateOverview., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetSmtpTemplateOverview., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['modifiedAt'] = $modifiedAt; @@ -619,10 +619,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplateOverviewSender.php b/lib/Model/GetSmtpTemplateOverviewSender.php index 10fb7b0c..d5fed144 100644 --- a/lib/Model/GetSmtpTemplateOverviewSender.php +++ b/lib/Model/GetSmtpTemplateOverviewSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplateOverviewSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplates.php b/lib/Model/GetSmtpTemplates.php index 24bf826a..962d8db9 100644 --- a/lib/Model/GetSmtpTemplates.php +++ b/lib/Model/GetSmtpTemplates.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplates Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetSmtpTemplates implements ArrayAccess */ protected static $swaggerTypes = [ 'count' => 'int', - 'templates' => '\Swagger\Client\Model\GetSmtpTemplateOverview[]' + 'templates' => '\Sendinblue\Client\Model\GetSmtpTemplateOverview[]' ]; /** @@ -189,7 +189,7 @@ public function setCount($count) /** * Gets templates - * @return \Swagger\Client\Model\GetSmtpTemplateOverview[] + * @return \Sendinblue\Client\Model\GetSmtpTemplateOverview[] */ public function getTemplates() { @@ -198,7 +198,7 @@ public function getTemplates() /** * Sets templates - * @param \Swagger\Client\Model\GetSmtpTemplateOverview[] $templates + * @param \Sendinblue\Client\Model\GetSmtpTemplateOverview[] $templates * @return $this */ public function setTemplates($templates) @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetStatsByDomain.php b/lib/Model/GetStatsByDomain.php old mode 100755 new mode 100644 index 3d947938..04f3989b --- a/lib/Model/GetStatsByDomain.php +++ b/lib/Model/GetStatsByDomain.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetStatsByDomain Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -213,10 +213,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacAggregatedSmsReport.php b/lib/Model/GetTransacAggregatedSmsReport.php index 2b03e5a0..1fe2633d 100644 --- a/lib/Model/GetTransacAggregatedSmsReport.php +++ b/lib/Model/GetTransacAggregatedSmsReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacAggregatedSmsReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -535,10 +535,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacSmsReport.php b/lib/Model/GetTransacSmsReport.php index 0f61e113..383d855b 100644 --- a/lib/Model/GetTransacSmsReport.php +++ b/lib/Model/GetTransacSmsReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacSmsReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetTransacSmsReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'reports' => '\Swagger\Client\Model\GetTransacSmsReportReports[]' + 'reports' => '\Sendinblue\Client\Model\GetTransacSmsReportReports[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets reports - * @return \Swagger\Client\Model\GetTransacSmsReportReports[] + * @return \Sendinblue\Client\Model\GetTransacSmsReportReports[] */ public function getReports() { @@ -171,7 +171,7 @@ public function getReports() /** * Sets reports - * @param \Swagger\Client\Model\GetTransacSmsReportReports[] $reports + * @param \Sendinblue\Client\Model\GetTransacSmsReportReports[] $reports * @return $this */ public function setReports($reports) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacSmsReportReports.php b/lib/Model/GetTransacSmsReportReports.php index 694d04f4..b3dd808d 100644 --- a/lib/Model/GetTransacSmsReportReports.php +++ b/lib/Model/GetTransacSmsReportReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacSmsReportReports Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -568,10 +568,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetWebhook.php b/lib/Model/GetWebhook.php index 8c652348..5fe66d7f 100644 --- a/lib/Model/GetWebhook.php +++ b/lib/Model/GetWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetWebhook Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,8 +59,8 @@ class GetWebhook implements ArrayAccess 'description' => 'string', 'events' => 'string[]', 'type' => 'string', - 'createdAt' => '\DateTime', - 'modifiedAt' => '\DateTime' + 'createdAt' => 'string', + 'modifiedAt' => 'string' ]; /** @@ -73,8 +73,8 @@ class GetWebhook implements ArrayAccess 'description' => null, 'events' => null, 'type' => null, - 'createdAt' => 'date', - 'modifiedAt' => 'date' + 'createdAt' => null, + 'modifiedAt' => null ]; public static function swaggerTypes() @@ -220,9 +220,17 @@ public function listInvalidProperties() if ($this->container['createdAt'] === null) { $invalid_properties[] = "'createdAt' can't be null"; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['createdAt'])) { + $invalid_properties[] = "invalid value for 'createdAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."; + } + if ($this->container['modifiedAt'] === null) { $invalid_properties[] = "'modifiedAt' can't be null"; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['modifiedAt'])) { + $invalid_properties[] = "invalid value for 'modifiedAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."; + } + return $invalid_properties; } @@ -257,9 +265,15 @@ public function valid() if ($this->container['createdAt'] === null) { return false; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['createdAt'])) { + return false; + } if ($this->container['modifiedAt'] === null) { return false; } + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $this->container['modifiedAt'])) { + return false; + } return true; } @@ -380,7 +394,7 @@ public function setType($type) /** * Gets createdAt - * @return \DateTime + * @return string */ public function getCreatedAt() { @@ -389,11 +403,16 @@ public function getCreatedAt() /** * Sets createdAt - * @param \DateTime $createdAt Creation date of the webhook + * @param string $createdAt Creation date of the webhook (YYYY-MM-DD) * @return $this */ public function setCreatedAt($createdAt) { + + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $createdAt))) { + throw new \InvalidArgumentException("invalid value for $createdAt when calling GetWebhook., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."); + } + $this->container['createdAt'] = $createdAt; return $this; @@ -401,7 +420,7 @@ public function setCreatedAt($createdAt) /** * Gets modifiedAt - * @return \DateTime + * @return string */ public function getModifiedAt() { @@ -410,11 +429,16 @@ public function getModifiedAt() /** * Sets modifiedAt - * @param \DateTime $modifiedAt Last modification date of the webhook + * @param string $modifiedAt Last modification date of the webhook (YYYY-MM-DD) * @return $this */ public function setModifiedAt($modifiedAt) { + + if ((!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2})?$/", $modifiedAt))) { + throw new \InvalidArgumentException("invalid value for $modifiedAt when calling GetWebhook., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2})?$/."); + } + $this->container['modifiedAt'] = $modifiedAt; return $this; @@ -471,10 +495,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetWebhooks.php b/lib/Model/GetWebhooks.php index fdde8265..04ce99e6 100644 --- a/lib/Model/GetWebhooks.php +++ b/lib/Model/GetWebhooks.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetWebhooks Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/ManageIp.php b/lib/Model/ManageIp.php index b09d018d..2a179ef0 100644 --- a/lib/Model/ManageIp.php +++ b/lib/Model/ManageIp.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ManageIp Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostContactInfo.php b/lib/Model/PostContactInfo.php index 73d8c15c..c40a0f55 100644 --- a/lib/Model/PostContactInfo.php +++ b/lib/Model/PostContactInfo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostContactInfo Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class PostContactInfo implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'contacts' => '\Swagger\Client\Model\PostContactInfoContacts' + 'contacts' => '\Sendinblue\Client\Model\PostContactInfoContacts' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets contacts - * @return \Swagger\Client\Model\PostContactInfoContacts + * @return \Sendinblue\Client\Model\PostContactInfoContacts */ public function getContacts() { @@ -171,7 +171,7 @@ public function getContacts() /** * Sets contacts - * @param \Swagger\Client\Model\PostContactInfoContacts $contacts + * @param \Sendinblue\Client\Model\PostContactInfoContacts $contacts * @return $this */ public function setContacts($contacts) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostContactInfoContacts.php b/lib/Model/PostContactInfoContacts.php index 05377885..16c81cd5 100644 --- a/lib/Model/PostContactInfoContacts.php +++ b/lib/Model/PostContactInfoContacts.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostContactInfoContacts Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostSendFailed.php b/lib/Model/PostSendFailed.php index 6972e247..e1265c07 100644 --- a/lib/Model/PostSendFailed.php +++ b/lib/Model/PostSendFailed.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostSendFailed Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -352,10 +352,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostSendSmsTestFailed.php b/lib/Model/PostSendSmsTestFailed.php index 8f5713d5..367e39b5 100644 --- a/lib/Model/PostSendSmsTestFailed.php +++ b/lib/Model/PostSendSmsTestFailed.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostSendSmsTestFailed Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -325,10 +325,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModel.php b/lib/Model/RemainingCreditModel.php index f80f1842..4f883fb4 100644 --- a/lib/Model/RemainingCreditModel.php +++ b/lib/Model/RemainingCreditModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemainingCreditModel Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class RemainingCreditModel implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'child' => '\Swagger\Client\Model\RemainingCreditModelChild', - 'reseller' => '\Swagger\Client\Model\RemainingCreditModelReseller' + 'child' => '\Sendinblue\Client\Model\RemainingCreditModelChild', + 'reseller' => '\Sendinblue\Client\Model\RemainingCreditModelReseller' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets child - * @return \Swagger\Client\Model\RemainingCreditModelChild + * @return \Sendinblue\Client\Model\RemainingCreditModelChild */ public function getChild() { @@ -177,7 +177,7 @@ public function getChild() /** * Sets child - * @param \Swagger\Client\Model\RemainingCreditModelChild $child + * @param \Sendinblue\Client\Model\RemainingCreditModelChild $child * @return $this */ public function setChild($child) @@ -189,7 +189,7 @@ public function setChild($child) /** * Gets reseller - * @return \Swagger\Client\Model\RemainingCreditModelReseller + * @return \Sendinblue\Client\Model\RemainingCreditModelReseller */ public function getReseller() { @@ -198,7 +198,7 @@ public function getReseller() /** * Sets reseller - * @param \Swagger\Client\Model\RemainingCreditModelReseller $reseller + * @param \Sendinblue\Client\Model\RemainingCreditModelReseller $reseller * @return $this */ public function setReseller($reseller) @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModelChild.php b/lib/Model/RemainingCreditModelChild.php index 08396a63..8e736c48 100644 --- a/lib/Model/RemainingCreditModelChild.php +++ b/lib/Model/RemainingCreditModelChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Credits remaining for child account - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -272,10 +272,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModelReseller.php b/lib/Model/RemainingCreditModelReseller.php index 3c4bd03f..24de0020 100644 --- a/lib/Model/RemainingCreditModelReseller.php +++ b/lib/Model/RemainingCreditModelReseller.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemainingCreditModelReseller Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemoveCredits.php b/lib/Model/RemoveCredits.php old mode 100755 new mode 100644 index 24ce9a84..91ad025e --- a/lib/Model/RemoveCredits.php +++ b/lib/Model/RemoveCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemoveCredits Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactExport.php b/lib/Model/RequestContactExport.php index 69019440..8c8cbc82 100644 --- a/lib/Model/RequestContactExport.php +++ b/lib/Model/RequestContactExport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactExport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactImport.php b/lib/Model/RequestContactImport.php index 4d458ca1..06a6d4b9 100644 --- a/lib/Model/RequestContactImport.php +++ b/lib/Model/RequestContactImport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactImport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class RequestContactImport implements ArrayAccess 'fileBody' => 'string', 'listIds' => 'int[]', 'notifyUrl' => 'string', - 'newList' => '\Swagger\Client\Model\RequestContactImportNewList' + 'newList' => '\Sendinblue\Client\Model\RequestContactImportNewList' ]; /** @@ -270,7 +270,7 @@ public function setNotifyUrl($notifyUrl) /** * Gets newList - * @return \Swagger\Client\Model\RequestContactImportNewList + * @return \Sendinblue\Client\Model\RequestContactImportNewList */ public function getNewList() { @@ -279,7 +279,7 @@ public function getNewList() /** * Sets newList - * @param \Swagger\Client\Model\RequestContactImportNewList $newList + * @param \Sendinblue\Client\Model\RequestContactImportNewList $newList * @return $this */ public function setNewList($newList) @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactImportNewList.php b/lib/Model/RequestContactImportNewList.php index 59ed19c4..bc527119 100644 --- a/lib/Model/RequestContactImportNewList.php +++ b/lib/Model/RequestContactImportNewList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactImportNewList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestSMSRecipientExport.php b/lib/Model/RequestSMSRecipientExport.php index 24322303..42c2c84b 100644 --- a/lib/Model/RequestSMSRecipientExport.php +++ b/lib/Model/RequestSMSRecipientExport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestSMSRecipientExport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -308,10 +308,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendEmail.php b/lib/Model/SendEmail.php index ab9c0c43..ec379203 100644 --- a/lib/Model/SendEmail.php +++ b/lib/Model/SendEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,7 +59,7 @@ class SendEmail implements ArrayAccess 'emailCc' => 'string[]', 'replyTo' => 'string', 'attachmentUrl' => 'string', - 'attachment' => '\Swagger\Client\Model\SendEmailAttachment[]', + 'attachment' => '\Sendinblue\Client\Model\SendEmailAttachment[]', 'headers' => 'map[string,string]', 'attributes' => 'map[string,string]' ]; @@ -315,7 +315,7 @@ public function setAttachmentUrl($attachmentUrl) /** * Gets attachment - * @return \Swagger\Client\Model\SendEmailAttachment[] + * @return \Sendinblue\Client\Model\SendEmailAttachment[] */ public function getAttachment() { @@ -324,7 +324,7 @@ public function getAttachment() /** * Sets attachment - * @param \Swagger\Client\Model\SendEmailAttachment[] $attachment Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez + * @param \Sendinblue\Client\Model\SendEmailAttachment[] $attachment Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez * @return $this */ public function setAttachment($attachment) @@ -427,10 +427,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendEmailAttachment.php b/lib/Model/SendEmailAttachment.php index 5e9a76e4..da1c74a2 100644 --- a/lib/Model/SendEmailAttachment.php +++ b/lib/Model/SendEmailAttachment.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendEmailAttachment Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendReport.php b/lib/Model/SendReport.php index d2d50f44..1a1d9c10 100644 --- a/lib/Model/SendReport.php +++ b/lib/Model/SendReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendReport Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class SendReport implements ArrayAccess */ protected static $swaggerTypes = [ 'language' => 'string', - 'email' => '\Swagger\Client\Model\SendReportEmail' + 'email' => '\Sendinblue\Client\Model\SendReportEmail' ]; /** @@ -232,7 +232,7 @@ public function setLanguage($language) /** * Gets email - * @return \Swagger\Client\Model\SendReportEmail + * @return \Sendinblue\Client\Model\SendReportEmail */ public function getEmail() { @@ -241,7 +241,7 @@ public function getEmail() /** * Sets email - * @param \Swagger\Client\Model\SendReportEmail $email + * @param \Sendinblue\Client\Model\SendReportEmail $email * @return $this */ public function setEmail($email) @@ -302,10 +302,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendReportEmail.php b/lib/Model/SendReportEmail.php index 495165a5..18d66e04 100644 --- a/lib/Model/SendReportEmail.php +++ b/lib/Model/SendReportEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendReportEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -402,10 +402,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSms.php b/lib/Model/SendSms.php old mode 100755 new mode 100644 index ce1e1e06..a68afc2e --- a/lib/Model/SendSms.php +++ b/lib/Model/SendSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSms Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmail.php b/lib/Model/SendSmtpEmail.php index cb1fd202..940872bc 100644 --- a/lib/Model/SendSmtpEmail.php +++ b/lib/Model/SendSmtpEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,15 +54,15 @@ class SendSmtpEmail implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'sender' => '\Swagger\Client\Model\SendSmtpEmailSender', - 'to' => '\Swagger\Client\Model\SendSmtpEmailTo[]', - 'bcc' => '\Swagger\Client\Model\SendSmtpEmailBcc[]', - 'cc' => '\Swagger\Client\Model\SendSmtpEmailCc[]', + 'sender' => '\Sendinblue\Client\Model\SendSmtpEmailSender', + 'to' => '\Sendinblue\Client\Model\SendSmtpEmailTo[]', + 'bcc' => '\Sendinblue\Client\Model\SendSmtpEmailBcc[]', + 'cc' => '\Sendinblue\Client\Model\SendSmtpEmailCc[]', 'htmlContent' => 'string', 'textContent' => 'string', 'subject' => 'string', - 'replyTo' => '\Swagger\Client\Model\SendSmtpEmailReplyTo', - 'attachment' => '\Swagger\Client\Model\SendSmtpEmailAttachment[]', + 'replyTo' => '\Sendinblue\Client\Model\SendSmtpEmailReplyTo', + 'attachment' => '\Sendinblue\Client\Model\SendSmtpEmailAttachment[]', 'headers' => 'map[string,string]' ]; @@ -234,7 +234,7 @@ public function valid() /** * Gets sender - * @return \Swagger\Client\Model\SendSmtpEmailSender + * @return \Sendinblue\Client\Model\SendSmtpEmailSender */ public function getSender() { @@ -243,7 +243,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\SendSmtpEmailSender $sender + * @param \Sendinblue\Client\Model\SendSmtpEmailSender $sender * @return $this */ public function setSender($sender) @@ -255,7 +255,7 @@ public function setSender($sender) /** * Gets to - * @return \Swagger\Client\Model\SendSmtpEmailTo[] + * @return \Sendinblue\Client\Model\SendSmtpEmailTo[] */ public function getTo() { @@ -264,7 +264,7 @@ public function getTo() /** * Sets to - * @param \Swagger\Client\Model\SendSmtpEmailTo[] $to Email addresses and names of the recipients + * @param \Sendinblue\Client\Model\SendSmtpEmailTo[] $to Email addresses and names of the recipients * @return $this */ public function setTo($to) @@ -276,7 +276,7 @@ public function setTo($to) /** * Gets bcc - * @return \Swagger\Client\Model\SendSmtpEmailBcc[] + * @return \Sendinblue\Client\Model\SendSmtpEmailBcc[] */ public function getBcc() { @@ -285,7 +285,7 @@ public function getBcc() /** * Sets bcc - * @param \Swagger\Client\Model\SendSmtpEmailBcc[] $bcc Email addresses and names of the recipients in bcc + * @param \Sendinblue\Client\Model\SendSmtpEmailBcc[] $bcc Email addresses and names of the recipients in bcc * @return $this */ public function setBcc($bcc) @@ -297,7 +297,7 @@ public function setBcc($bcc) /** * Gets cc - * @return \Swagger\Client\Model\SendSmtpEmailCc[] + * @return \Sendinblue\Client\Model\SendSmtpEmailCc[] */ public function getCc() { @@ -306,7 +306,7 @@ public function getCc() /** * Sets cc - * @param \Swagger\Client\Model\SendSmtpEmailCc[] $cc Email addresses and names of the recipients in cc + * @param \Sendinblue\Client\Model\SendSmtpEmailCc[] $cc Email addresses and names of the recipients in cc * @return $this */ public function setCc($cc) @@ -381,7 +381,7 @@ public function setSubject($subject) /** * Gets replyTo - * @return \Swagger\Client\Model\SendSmtpEmailReplyTo + * @return \Sendinblue\Client\Model\SendSmtpEmailReplyTo */ public function getReplyTo() { @@ -390,7 +390,7 @@ public function getReplyTo() /** * Sets replyTo - * @param \Swagger\Client\Model\SendSmtpEmailReplyTo $replyTo + * @param \Sendinblue\Client\Model\SendSmtpEmailReplyTo $replyTo * @return $this */ public function setReplyTo($replyTo) @@ -402,7 +402,7 @@ public function setReplyTo($replyTo) /** * Gets attachment - * @return \Swagger\Client\Model\SendSmtpEmailAttachment[] + * @return \Sendinblue\Client\Model\SendSmtpEmailAttachment[] */ public function getAttachment() { @@ -411,7 +411,7 @@ public function getAttachment() /** * Sets attachment - * @param \Swagger\Client\Model\SendSmtpEmailAttachment[] $attachment Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez + * @param \Sendinblue\Client\Model\SendSmtpEmailAttachment[] $attachment Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez * @return $this */ public function setAttachment($attachment) @@ -493,10 +493,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailAttachment.php b/lib/Model/SendSmtpEmailAttachment.php index 1e8cc27a..fb378f5a 100644 --- a/lib/Model/SendSmtpEmailAttachment.php +++ b/lib/Model/SendSmtpEmailAttachment.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailAttachment Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailBcc.php b/lib/Model/SendSmtpEmailBcc.php index 81815e55..749a7a5a 100644 --- a/lib/Model/SendSmtpEmailBcc.php +++ b/lib/Model/SendSmtpEmailBcc.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailBcc Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailCc.php b/lib/Model/SendSmtpEmailCc.php index ad47e38b..682722f5 100644 --- a/lib/Model/SendSmtpEmailCc.php +++ b/lib/Model/SendSmtpEmailCc.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailCc Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailReplyTo.php b/lib/Model/SendSmtpEmailReplyTo.php index b5c5f491..ae363920 100644 --- a/lib/Model/SendSmtpEmailReplyTo.php +++ b/lib/Model/SendSmtpEmailReplyTo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Email on which transactional mail recipients will be able to reply to - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -266,10 +266,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailSender.php b/lib/Model/SendSmtpEmailSender.php index 2d79ab1d..cf47ec8d 100644 --- a/lib/Model/SendSmtpEmailSender.php +++ b/lib/Model/SendSmtpEmailSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailTo.php b/lib/Model/SendSmtpEmailTo.php index abf49d3c..64deae5b 100644 --- a/lib/Model/SendSmtpEmailTo.php +++ b/lib/Model/SendSmtpEmailTo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailTo Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTemplateEmail.php b/lib/Model/SendTemplateEmail.php index 7bc8d21a..21697d30 100644 --- a/lib/Model/SendTemplateEmail.php +++ b/lib/Model/SendTemplateEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTemplateEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTestEmail.php b/lib/Model/SendTestEmail.php index fef686ed..8bda863a 100644 --- a/lib/Model/SendTestEmail.php +++ b/lib/Model/SendTestEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTestEmail Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTestSms.php b/lib/Model/SendTestSms.php index 78a1ae8d..8cac2841 100644 --- a/lib/Model/SendTestSms.php +++ b/lib/Model/SendTestSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTestSms Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTransacSms.php b/lib/Model/SendTransacSms.php index 83a04063..196e24a6 100644 --- a/lib/Model/SendTransacSms.php +++ b/lib/Model/SendTransacSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTransacSms Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -380,10 +380,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateCampaignStatus.php b/lib/Model/UpdateCampaignStatus.php old mode 100755 new mode 100644 index dbf3500a..40e2ae68 --- a/lib/Model/UpdateCampaignStatus.php +++ b/lib/Model/UpdateCampaignStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Status of the campaign - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -280,10 +280,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateChild.php b/lib/Model/UpdateChild.php index 7b918de5..6d9ce13e 100644 --- a/lib/Model/UpdateChild.php +++ b/lib/Model/UpdateChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateChild Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -367,10 +367,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateContact.php b/lib/Model/UpdateContact.php index 28acd5bc..0f889c78 100644 --- a/lib/Model/UpdateContact.php +++ b/lib/Model/UpdateContact.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateContact Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaign.php b/lib/Model/UpdateEmailCampaign.php index baf854bb..81d3b9fa 100644 --- a/lib/Model/UpdateEmailCampaign.php +++ b/lib/Model/UpdateEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpdateEmailCampaign implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Swagger\Client\Model\UpdateEmailCampaignSender', + 'sender' => '\Sendinblue\Client\Model\UpdateEmailCampaignSender', 'name' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -63,7 +63,7 @@ class UpdateEmailCampaign implements ArrayAccess 'subject' => 'string', 'replyTo' => 'string', 'toField' => 'string', - 'recipients' => '\Swagger\Client\Model\UpdateEmailCampaignRecipients', + 'recipients' => '\Sendinblue\Client\Model\UpdateEmailCampaignRecipients', 'attachmentUrl' => 'string', 'inlineImageActivation' => 'bool', 'mirrorActive' => 'bool', @@ -240,8 +240,8 @@ public function listInvalidProperties() { $invalid_properties = []; - if (!is_null($this->container['scheduledAt']) && !preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -256,7 +256,7 @@ public function listInvalidProperties() public function valid() { - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } return true; @@ -286,7 +286,7 @@ public function setTag($tag) /** * Gets sender - * @return \Swagger\Client\Model\UpdateEmailCampaignSender + * @return \Sendinblue\Client\Model\UpdateEmailCampaignSender */ public function getSender() { @@ -295,7 +295,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\UpdateEmailCampaignSender $sender + * @param \Sendinblue\Client\Model\UpdateEmailCampaignSender $sender * @return $this */ public function setSender($sender) @@ -379,14 +379,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date and time on which the campaign has to run + * @param string $scheduledAt Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if (!is_null($scheduledAt) && (!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling UpdateEmailCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling UpdateEmailCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -459,7 +459,7 @@ public function setToField($toField) /** * Gets recipients - * @return \Swagger\Client\Model\UpdateEmailCampaignRecipients + * @return \Sendinblue\Client\Model\UpdateEmailCampaignRecipients */ public function getRecipients() { @@ -468,7 +468,7 @@ public function getRecipients() /** * Sets recipients - * @param \Swagger\Client\Model\UpdateEmailCampaignRecipients $recipients + * @param \Sendinblue\Client\Model\UpdateEmailCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -676,10 +676,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaignRecipients.php b/lib/Model/UpdateEmailCampaignRecipients.php index 5c3c76cc..e912bfc4 100644 --- a/lib/Model/UpdateEmailCampaignRecipients.php +++ b/lib/Model/UpdateEmailCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaignRecipients Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaignSender.php b/lib/Model/UpdateEmailCampaignSender.php index d566637c..7a91a6eb 100644 --- a/lib/Model/UpdateEmailCampaignSender.php +++ b/lib/Model/UpdateEmailCampaignSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaignSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateList.php b/lib/Model/UpdateList.php index 48a1dbd7..786d8bab 100644 --- a/lib/Model/UpdateList.php +++ b/lib/Model/UpdateList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateList Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSender.php b/lib/Model/UpdateSender.php index f2549435..630159eb 100644 --- a/lib/Model/UpdateSender.php +++ b/lib/Model/UpdateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class UpdateSender implements ArrayAccess protected static $swaggerTypes = [ 'name' => 'string', 'email' => 'string', - 'ips' => '\Swagger\Client\Model\CreateSenderIps[]' + 'ips' => '\Sendinblue\Client\Model\CreateSenderIps[]' ]; /** @@ -216,7 +216,7 @@ public function setEmail($email) /** * Gets ips - * @return \Swagger\Client\Model\CreateSenderIps[] + * @return \Sendinblue\Client\Model\CreateSenderIps[] */ public function getIps() { @@ -225,7 +225,7 @@ public function getIps() /** * Sets ips - * @param \Swagger\Client\Model\CreateSenderIps[] $ips Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. + * @param \Sendinblue\Client\Model\CreateSenderIps[] $ips Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. * @return $this */ public function setIps($ips) @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmsCampaign.php b/lib/Model/UpdateSmsCampaign.php index 4b2e6ab3..c99d448a 100644 --- a/lib/Model/UpdateSmsCampaign.php +++ b/lib/Model/UpdateSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmsCampaign Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class UpdateSmsCampaign implements ArrayAccess 'name' => 'string', 'sender' => 'string', 'content' => 'string', - 'recipients' => '\Swagger\Client\Model\CreateSmsCampaignRecipients', + 'recipients' => '\Sendinblue\Client\Model\CreateSmsCampaignRecipients', 'scheduledAt' => 'string' ]; @@ -172,8 +172,8 @@ public function listInvalidProperties() $invalid_properties[] = "invalid value for 'sender', the character length must be smaller than or equal to 11."; } - if (!is_null($this->container['scheduledAt']) && !preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { - $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /YYYY-MM-DD HH:mm:ss/."; + if (!is_null($this->container['scheduledAt']) && !preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { + $invalid_properties[] = "invalid value for 'scheduledAt', must be conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."; } return $invalid_properties; @@ -191,7 +191,7 @@ public function valid() if (strlen($this->container['sender']) > 11) { return false; } - if (!preg_match("/YYYY-MM-DD HH:mm:ss/", $this->container['scheduledAt'])) { + if (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $this->container['scheduledAt'])) { return false; } return true; @@ -267,7 +267,7 @@ public function setContent($content) /** * Gets recipients - * @return \Swagger\Client\Model\CreateSmsCampaignRecipients + * @return \Sendinblue\Client\Model\CreateSmsCampaignRecipients */ public function getRecipients() { @@ -276,7 +276,7 @@ public function getRecipients() /** * Sets recipients - * @param \Swagger\Client\Model\CreateSmsCampaignRecipients $recipients + * @param \Sendinblue\Client\Model\CreateSmsCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -297,14 +297,14 @@ public function getScheduledAt() /** * Sets scheduledAt - * @param string $scheduledAt Date and time on which the campaign has to run + * @param string $scheduledAt Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) * @return $this */ public function setScheduledAt($scheduledAt) { - if (!is_null($scheduledAt) && (!preg_match("/YYYY-MM-DD HH:mm:ss/", $scheduledAt))) { - throw new \InvalidArgumentException("invalid value for $scheduledAt when calling UpdateSmsCampaign., must conform to the pattern /YYYY-MM-DD HH:mm:ss/."); + if (!is_null($scheduledAt) && (!preg_match("/^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/", $scheduledAt))) { + throw new \InvalidArgumentException("invalid value for $scheduledAt when calling UpdateSmsCampaign., must conform to the pattern /^([1-9]\\d{3}-\\d{2}-\\d{2} [0-2]\\d:[0-5]\\d:[0-5]\\d)?$/."); } $this->container['scheduledAt'] = $scheduledAt; @@ -363,10 +363,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmtpTemplate.php b/lib/Model/UpdateSmtpTemplate.php index aedd7736..efa95ef9 100644 --- a/lib/Model/UpdateSmtpTemplate.php +++ b/lib/Model/UpdateSmtpTemplate.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmtpTemplate Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpdateSmtpTemplate implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Swagger\Client\Model\UpdateSmtpTemplateSender', + 'sender' => '\Sendinblue\Client\Model\UpdateSmtpTemplateSender', 'templateName' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -237,7 +237,7 @@ public function setTag($tag) /** * Gets sender - * @return \Swagger\Client\Model\UpdateSmtpTemplateSender + * @return \Sendinblue\Client\Model\UpdateSmtpTemplateSender */ public function getSender() { @@ -246,7 +246,7 @@ public function getSender() /** * Sets sender - * @param \Swagger\Client\Model\UpdateSmtpTemplateSender $sender + * @param \Sendinblue\Client\Model\UpdateSmtpTemplateSender $sender * @return $this */ public function setSender($sender) @@ -475,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmtpTemplateSender.php b/lib/Model/UpdateSmtpTemplateSender.php index 647543ec..c64eba12 100644 --- a/lib/Model/UpdateSmtpTemplateSender.php +++ b/lib/Model/UpdateSmtpTemplateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmtpTemplateSender Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateWebhook.php b/lib/Model/UpdateWebhook.php old mode 100755 new mode 100644 index db263166..17f87a9c --- a/lib/Model/UpdateWebhook.php +++ b/lib/Model/UpdateWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Swagger\Client\Model; +namespace Sendinblue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateWebhook Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Swagger\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index b365f947..83e5d5bd 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * ObjectSerializer Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -288,7 +288,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // If a discriminator is defined and points to a valid subclass, use it. $discriminator = $class::DISCRIMINATOR; if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { - $subclass = '\Swagger\Client\Model\\' . $data->{$discriminator}; + $subclass = '\Sendinblue\Client\Model\\' . $data->{$discriminator}; if (is_subclass_of($subclass, $class)) { $class = $subclass; } diff --git a/test/Api/AccountApiTest.php b/test/Api/AccountApiTest.php old mode 100755 new mode 100644 index 7ebc23c0..8dabfc41 --- a/test/Api/AccountApiTest.php +++ b/test/Api/AccountApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * AccountApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/AttributesApiTest.php b/test/Api/AttributesApiTest.php old mode 100755 new mode 100644 index 3229f8d8..44c6aaad --- a/test/Api/AttributesApiTest.php +++ b/test/Api/AttributesApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * AttributesApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ContactsApiTest.php b/test/Api/ContactsApiTest.php old mode 100755 new mode 100644 index d2f74f39..2767fddd --- a/test/Api/ContactsApiTest.php +++ b/test/Api/ContactsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * ContactsApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/EmailCampaignsApiTest.php b/test/Api/EmailCampaignsApiTest.php old mode 100755 new mode 100644 index 69152903..8fcb63d1 --- a/test/Api/EmailCampaignsApiTest.php +++ b/test/Api/EmailCampaignsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * EmailCampaignsApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/FoldersApiTest.php b/test/Api/FoldersApiTest.php old mode 100755 new mode 100644 index 3131c952..7cb2a49e --- a/test/Api/FoldersApiTest.php +++ b/test/Api/FoldersApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * FoldersApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ListsApiTest.php b/test/Api/ListsApiTest.php old mode 100755 new mode 100644 index f22bae97..25920652 --- a/test/Api/ListsApiTest.php +++ b/test/Api/ListsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * ListsApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ProcessApiTest.php b/test/Api/ProcessApiTest.php old mode 100755 new mode 100644 index f9e4f99f..bf7a7697 --- a/test/Api/ProcessApiTest.php +++ b/test/Api/ProcessApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * ProcessApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ResellerApiTest.php b/test/Api/ResellerApiTest.php old mode 100755 new mode 100644 index 43365343..8b0b37fd --- a/test/Api/ResellerApiTest.php +++ b/test/Api/ResellerApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * ResellerApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SMSCampaignsApiTest.php b/test/Api/SMSCampaignsApiTest.php old mode 100755 new mode 100644 index 9a356c59..8d84c85d --- a/test/Api/SMSCampaignsApiTest.php +++ b/test/Api/SMSCampaignsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * SMSCampaignsApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SMTPApiTest.php b/test/Api/SMTPApiTest.php old mode 100755 new mode 100644 index 81f068d7..7e6d6b24 --- a/test/Api/SMTPApiTest.php +++ b/test/Api/SMTPApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * SMTPApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SendersApiTest.php b/test/Api/SendersApiTest.php old mode 100755 new mode 100644 index bff13159..4ce19566 --- a/test/Api/SendersApiTest.php +++ b/test/Api/SendersApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * SendersApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/TransactionalSMSApiTest.php b/test/Api/TransactionalSMSApiTest.php old mode 100755 new mode 100644 index cd0e83cb..5ac1caab --- a/test/Api/TransactionalSMSApiTest.php +++ b/test/Api/TransactionalSMSApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * TransactionalSMSApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/WebhooksApiTest.php b/test/Api/WebhooksApiTest.php old mode 100755 new mode 100644 index d2ea5838..e77efc3b --- a/test/Api/WebhooksApiTest.php +++ b/test/Api/WebhooksApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Swagger\Client; +namespace Sendinblue\Client; -use \Swagger\Client\Configuration; -use \Swagger\Client\ApiClient; -use \Swagger\Client\ApiException; -use \Swagger\Client\ObjectSerializer; +use \Sendinblue\Client\Configuration; +use \Sendinblue\Client\ApiClient; +use \Sendinblue\Client\ApiException; +use \Sendinblue\Client\ObjectSerializer; /** * WebhooksApiTest Class Doc Comment * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/AddCreditsTest.php b/test/Model/AddCreditsTest.php index 4fcf5538..61792654 100644 --- a/test/Model/AddCreditsTest.php +++ b/test/Model/AddCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * AddCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description AddCredits /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/AddRemoveContactToListTest.php b/test/Model/AddRemoveContactToListTest.php index 03f44a83..f4861cbd 100644 --- a/test/Model/AddRemoveContactToListTest.php +++ b/test/Model/AddRemoveContactToListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * AddRemoveContactToListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description AddRemoveContactToList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreaUpdateFolderTest.php b/test/Model/CreaUpdateFolderTest.php index f29befe7..58df6dda 100644 --- a/test/Model/CreaUpdateFolderTest.php +++ b/test/Model/CreaUpdateFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreaUpdateFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreaUpdateFolder /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateAttributeEnumemarationTest.php b/test/Model/CreateAttributeEnumemarationTest.php index f0d5b5bf..f1e1ef01 100644 --- a/test/Model/CreateAttributeEnumemarationTest.php +++ b/test/Model/CreateAttributeEnumemarationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateAttributeEnumemarationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateAttributeEnumemaration /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateAttributeTest.php b/test/Model/CreateAttributeTest.php index 69166dd9..ad4f2ed5 100644 --- a/test/Model/CreateAttributeTest.php +++ b/test/Model/CreateAttributeTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateAttributeTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateAttribute /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateChildTest.php b/test/Model/CreateChildTest.php index 4e5cd32c..7d66e346 100644 --- a/test/Model/CreateChildTest.php +++ b/test/Model/CreateChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateChild /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateContactTest.php b/test/Model/CreateContactTest.php index 90d84f85..276fcdeb 100644 --- a/test/Model/CreateContactTest.php +++ b/test/Model/CreateContactTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateContactTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateContact /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignRecipientsTest.php b/test/Model/CreateEmailCampaignRecipientsTest.php index 3516bb0f..3f088717 100644 --- a/test/Model/CreateEmailCampaignRecipientsTest.php +++ b/test/Model/CreateEmailCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateEmailCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaignRecipients /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignSenderTest.php b/test/Model/CreateEmailCampaignSenderTest.php index 8054b905..0e996d22 100644 --- a/test/Model/CreateEmailCampaignSenderTest.php +++ b/test/Model/CreateEmailCampaignSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateEmailCampaignSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaignSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignTest.php b/test/Model/CreateEmailCampaignTest.php index 20130b98..55b0ca30 100644 --- a/test/Model/CreateEmailCampaignTest.php +++ b/test/Model/CreateEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateListTest.php b/test/Model/CreateListTest.php index 8d9e2a44..2278e9a0 100644 --- a/test/Model/CreateListTest.php +++ b/test/Model/CreateListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateModelTest.php b/test/Model/CreateModelTest.php index 510adef2..26b7ed4e 100644 --- a/test/Model/CreateModelTest.php +++ b/test/Model/CreateModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateModel /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderIpsTest.php b/test/Model/CreateSenderIpsTest.php index e74c233f..19d2fa9e 100644 --- a/test/Model/CreateSenderIpsTest.php +++ b/test/Model/CreateSenderIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSenderIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSenderIps /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderModelTest.php b/test/Model/CreateSenderModelTest.php index fc110755..6e49cd0d 100644 --- a/test/Model/CreateSenderModelTest.php +++ b/test/Model/CreateSenderModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSenderModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSenderModel /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderTest.php b/test/Model/CreateSenderTest.php index 55c17993..beb63711 100644 --- a/test/Model/CreateSenderTest.php +++ b/test/Model/CreateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmsCampaignRecipientsTest.php b/test/Model/CreateSmsCampaignRecipientsTest.php index fc2e192a..1fbb5516 100644 --- a/test/Model/CreateSmsCampaignRecipientsTest.php +++ b/test/Model/CreateSmsCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSmsCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmsCampaignRecipients /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmsCampaignTest.php b/test/Model/CreateSmsCampaignTest.php index 4fb17fc3..59226e94 100644 --- a/test/Model/CreateSmsCampaignTest.php +++ b/test/Model/CreateSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmsCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpEmailTest.php b/test/Model/CreateSmtpEmailTest.php index 172f7d35..d5ff92a2 100644 --- a/test/Model/CreateSmtpEmailTest.php +++ b/test/Model/CreateSmtpEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSmtpEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpTemplateSenderTest.php b/test/Model/CreateSmtpTemplateSenderTest.php index b9afbfe2..7f6207dd 100644 --- a/test/Model/CreateSmtpTemplateSenderTest.php +++ b/test/Model/CreateSmtpTemplateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSmtpTemplateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpTemplateSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpTemplateTest.php b/test/Model/CreateSmtpTemplateTest.php index e55a3fa6..759fbcaf 100644 --- a/test/Model/CreateSmtpTemplateTest.php +++ b/test/Model/CreateSmtpTemplateTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateSmtpTemplateTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpTemplate /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateWebhookTest.php b/test/Model/CreateWebhookTest.php index a983fe74..8119de8f 100644 --- a/test/Model/CreateWebhookTest.php +++ b/test/Model/CreateWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreateWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateWebhook /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreatedProcessIdTest.php b/test/Model/CreatedProcessIdTest.php index 793cc199..f7cf23af 100644 --- a/test/Model/CreatedProcessIdTest.php +++ b/test/Model/CreatedProcessIdTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * CreatedProcessIdTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreatedProcessId /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/DeleteHardbouncesTest.php b/test/Model/DeleteHardbouncesTest.php index 1c0d22b9..f82f6a4f 100644 --- a/test/Model/DeleteHardbouncesTest.php +++ b/test/Model/DeleteHardbouncesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * DeleteHardbouncesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description DeleteHardbounces /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/EmailExportRecipientsTest.php b/test/Model/EmailExportRecipientsTest.php index 965db5fe..7cee4533 100644 --- a/test/Model/EmailExportRecipientsTest.php +++ b/test/Model/EmailExportRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * EmailExportRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description EmailExportRecipients /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/ErrorModelTest.php b/test/Model/ErrorModelTest.php index 34a07be5..db655e52 100644 --- a/test/Model/ErrorModelTest.php +++ b/test/Model/ErrorModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * ErrorModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description ErrorModel /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountMarketingAutomationTest.php b/test/Model/GetAccountMarketingAutomationTest.php index 0bb945af..091192be 100644 --- a/test/Model/GetAccountMarketingAutomationTest.php +++ b/test/Model/GetAccountMarketingAutomationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAccountMarketingAutomationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccountMarketingAutomation /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountPlanTest.php b/test/Model/GetAccountPlanTest.php index 715c1d39..86517d76 100644 --- a/test/Model/GetAccountPlanTest.php +++ b/test/Model/GetAccountPlanTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAccountPlanTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccountPlan /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountRelayDataTest.php b/test/Model/GetAccountRelayDataTest.php index 4a650c7a..81791b5a 100644 --- a/test/Model/GetAccountRelayDataTest.php +++ b/test/Model/GetAccountRelayDataTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAccountRelayDataTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Data regarding the SMTP account /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountRelayTest.php b/test/Model/GetAccountRelayTest.php index 2e590714..828a255e 100644 --- a/test/Model/GetAccountRelayTest.php +++ b/test/Model/GetAccountRelayTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAccountRelayTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Information about your SMTP account /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountTest.php b/test/Model/GetAccountTest.php index e7556196..3c4b5b44 100644 --- a/test/Model/GetAccountTest.php +++ b/test/Model/GetAccountTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAccountTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccount /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAggregatedReportTest.php b/test/Model/GetAggregatedReportTest.php index 4e825f1e..aa6175a0 100644 --- a/test/Model/GetAggregatedReportTest.php +++ b/test/Model/GetAggregatedReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAggregatedReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAggregatedReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesAttributesTest.php b/test/Model/GetAttributesAttributesTest.php index b45b436a..3d50820f 100644 --- a/test/Model/GetAttributesAttributesTest.php +++ b/test/Model/GetAttributesAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAttributesAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributesAttributes /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesEnumerationTest.php b/test/Model/GetAttributesEnumerationTest.php index 2d677195..c66432a8 100644 --- a/test/Model/GetAttributesEnumerationTest.php +++ b/test/Model/GetAttributesEnumerationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAttributesEnumerationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributesEnumeration /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesTest.php b/test/Model/GetAttributesTest.php index e8860775..1a0be281 100644 --- a/test/Model/GetAttributesTest.php +++ b/test/Model/GetAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributes /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignOverviewTest.php b/test/Model/GetCampaignOverviewTest.php index 0425a450..db6ab38f 100644 --- a/test/Model/GetCampaignOverviewTest.php +++ b/test/Model/GetCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignOverview /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsExclusionListsTest.php b/test/Model/GetCampaignRecipientsExclusionListsTest.php index 571479ec..76c73bff 100644 --- a/test/Model/GetCampaignRecipientsExclusionListsTest.php +++ b/test/Model/GetCampaignRecipientsExclusionListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetCampaignRecipientsExclusionListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipientsExclusionLists /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsListsTest.php b/test/Model/GetCampaignRecipientsListsTest.php index 24457f81..edd25596 100644 --- a/test/Model/GetCampaignRecipientsListsTest.php +++ b/test/Model/GetCampaignRecipientsListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetCampaignRecipientsListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipientsLists /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsTest.php b/test/Model/GetCampaignRecipientsTest.php index 4df908ab..627490bf 100644 --- a/test/Model/GetCampaignRecipientsTest.php +++ b/test/Model/GetCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipients /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignStatsTest.php b/test/Model/GetCampaignStatsTest.php index 66c70364..a9c4b665 100644 --- a/test/Model/GetCampaignStatsTest.php +++ b/test/Model/GetCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignStats /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoApiKeysTest.php b/test/Model/GetChildInfoApiKeysTest.php index 41259409..1247eb4f 100644 --- a/test/Model/GetChildInfoApiKeysTest.php +++ b/test/Model/GetChildInfoApiKeysTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildInfoApiKeysTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfoApiKeys /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoCreditsTest.php b/test/Model/GetChildInfoCreditsTest.php index 1f4940ec..6f9f6606 100644 --- a/test/Model/GetChildInfoCreditsTest.php +++ b/test/Model/GetChildInfoCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildInfoCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Credits available for your child /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoIpsTest.php b/test/Model/GetChildInfoIpsTest.php index 33e107de..fc00499d 100644 --- a/test/Model/GetChildInfoIpsTest.php +++ b/test/Model/GetChildInfoIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildInfoIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfoIps /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoStatisticsTest.php b/test/Model/GetChildInfoStatisticsTest.php index 8d035b8d..0fe025fb 100644 --- a/test/Model/GetChildInfoStatisticsTest.php +++ b/test/Model/GetChildInfoStatisticsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildInfoStatisticsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Statistics about your child account activity /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoTest.php b/test/Model/GetChildInfoTest.php index a7b3c000..86ecd6e3 100644 --- a/test/Model/GetChildInfoTest.php +++ b/test/Model/GetChildInfoTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildInfoTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfo /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildrenListTest.php b/test/Model/GetChildrenListTest.php index f096d8e2..cf8c671b 100644 --- a/test/Model/GetChildrenListTest.php +++ b/test/Model/GetChildrenListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetChildrenListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildrenList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetClientTest.php b/test/Model/GetClientTest.php index 8e4dc5aa..0bcac519 100644 --- a/test/Model/GetClientTest.php +++ b/test/Model/GetClientTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetClientTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetClient /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsClickedTest.php b/test/Model/GetContactCampaignStatsClickedTest.php index 2ab2c371..f5717a3f 100644 --- a/test/Model/GetContactCampaignStatsClickedTest.php +++ b/test/Model/GetContactCampaignStatsClickedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsClickedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsClicked /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsLinksTest.php b/test/Model/GetContactCampaignStatsLinksTest.php index c71dbc4e..e8668203 100644 --- a/test/Model/GetContactCampaignStatsLinksTest.php +++ b/test/Model/GetContactCampaignStatsLinksTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsLinksTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsLinks /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsMessagesSentTest.php b/test/Model/GetContactCampaignStatsMessagesSentTest.php index a707befb..7b618789 100644 --- a/test/Model/GetContactCampaignStatsMessagesSentTest.php +++ b/test/Model/GetContactCampaignStatsMessagesSentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsMessagesSentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsMessagesSent /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsOpenedTest.php b/test/Model/GetContactCampaignStatsOpenedTest.php index 7ecc45a4..15bdc4fd 100644 --- a/test/Model/GetContactCampaignStatsOpenedTest.php +++ b/test/Model/GetContactCampaignStatsOpenedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsOpenedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsOpened /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsTest.php b/test/Model/GetContactCampaignStatsTest.php index 30f04001..7b385862 100644 --- a/test/Model/GetContactCampaignStatsTest.php +++ b/test/Model/GetContactCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Campaign Statistics for the contact /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsTransacAttributesTest.php b/test/Model/GetContactCampaignStatsTransacAttributesTest.php index b8f1a3dc..22c77e71 100644 --- a/test/Model/GetContactCampaignStatsTransacAttributesTest.php +++ b/test/Model/GetContactCampaignStatsTransacAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsTransacAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsTransacAttributes /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php index 10fe7c04..deb90d5e 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptionsAdminUnsubscription /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php index 8cd69f21..77cebe03 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsUnsubscriptionsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptions /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php index b2159963..1a1ac5a4 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptionsUserUnsubscription /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactDetailsTest.php b/test/Model/GetContactDetailsTest.php index 8b65e3b9..2f6fbb8e 100644 --- a/test/Model/GetContactDetailsTest.php +++ b/test/Model/GetContactDetailsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactDetailsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactDetails /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactsTest.php b/test/Model/GetContactsTest.php index 1ced3018..91c47a7b 100644 --- a/test/Model/GetContactsTest.php +++ b/test/Model/GetContactsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetContactsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContacts /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailCampaignTest.php b/test/Model/GetEmailCampaignTest.php index 8dc2ef4d..7e6a6655 100644 --- a/test/Model/GetEmailCampaignTest.php +++ b/test/Model/GetEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailCampaignsTest.php b/test/Model/GetEmailCampaignsTest.php index 3d20db11..90b1ec85 100644 --- a/test/Model/GetEmailCampaignsTest.php +++ b/test/Model/GetEmailCampaignsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetEmailCampaignsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailCampaigns /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailEventReportEventsTest.php b/test/Model/GetEmailEventReportEventsTest.php index 1f86f8e8..b13521c1 100644 --- a/test/Model/GetEmailEventReportEventsTest.php +++ b/test/Model/GetEmailEventReportEventsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetEmailEventReportEventsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailEventReportEvents /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailEventReportTest.php b/test/Model/GetEmailEventReportTest.php index 8154b0a1..b7518f6a 100644 --- a/test/Model/GetEmailEventReportTest.php +++ b/test/Model/GetEmailEventReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetEmailEventReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailEventReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignOverviewSenderTest.php b/test/Model/GetExtendedCampaignOverviewSenderTest.php index 42434044..87a61316 100644 --- a/test/Model/GetExtendedCampaignOverviewSenderTest.php +++ b/test/Model/GetExtendedCampaignOverviewSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedCampaignOverviewSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignOverviewSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignOverviewTest.php b/test/Model/GetExtendedCampaignOverviewTest.php index d10e5727..205fa6ef 100644 --- a/test/Model/GetExtendedCampaignOverviewTest.php +++ b/test/Model/GetExtendedCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignOverview /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignStatsLinksStatsTest.php b/test/Model/GetExtendedCampaignStatsLinksStatsTest.php index 6c24a094..97a84b04 100644 --- a/test/Model/GetExtendedCampaignStatsLinksStatsTest.php +++ b/test/Model/GetExtendedCampaignStatsLinksStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedCampaignStatsLinksStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Statistics about the clicked links /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignStatsTest.php b/test/Model/GetExtendedCampaignStatsTest.php index 83fc6d56..0cb8b1fd 100644 --- a/test/Model/GetExtendedCampaignStatsTest.php +++ b/test/Model/GetExtendedCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignStats /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedClientAddressTest.php b/test/Model/GetExtendedClientAddressTest.php index b87ed003..f83cb41a 100644 --- a/test/Model/GetExtendedClientAddressTest.php +++ b/test/Model/GetExtendedClientAddressTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedClientAddressTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Address informations /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedClientTest.php b/test/Model/GetExtendedClientTest.php index a71ea053..05a610cf 100644 --- a/test/Model/GetExtendedClientTest.php +++ b/test/Model/GetExtendedClientTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedClientTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedClient /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedContactDetailsTest.php b/test/Model/GetExtendedContactDetailsTest.php index 43ab44b9..5356fe97 100644 --- a/test/Model/GetExtendedContactDetailsTest.php +++ b/test/Model/GetExtendedContactDetailsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedContactDetailsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedContactDetails /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedListCampaignStatsTest.php b/test/Model/GetExtendedListCampaignStatsTest.php index 7984254e..5b06864d 100644 --- a/test/Model/GetExtendedListCampaignStatsTest.php +++ b/test/Model/GetExtendedListCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedListCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedListCampaignStats /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedListTest.php b/test/Model/GetExtendedListTest.php index ff9be0a4..81fe81f4 100644 --- a/test/Model/GetExtendedListTest.php +++ b/test/Model/GetExtendedListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetExtendedListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFolderListsTest.php b/test/Model/GetFolderListsTest.php index 9e5a8a76..efbb8c76 100644 --- a/test/Model/GetFolderListsTest.php +++ b/test/Model/GetFolderListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetFolderListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolderLists /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFolderTest.php b/test/Model/GetFolderTest.php index ce1062de..9b0aeb75 100644 --- a/test/Model/GetFolderTest.php +++ b/test/Model/GetFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolder /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFoldersTest.php b/test/Model/GetFoldersTest.php index 1fe3eecc..e6844eed 100644 --- a/test/Model/GetFoldersTest.php +++ b/test/Model/GetFoldersTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetFoldersTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolders /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpFromSenderTest.php b/test/Model/GetIpFromSenderTest.php index 18a856f6..a22265d0 100644 --- a/test/Model/GetIpFromSenderTest.php +++ b/test/Model/GetIpFromSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetIpFromSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIpFromSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpTest.php b/test/Model/GetIpTest.php index 91d20517..35ff3356 100644 --- a/test/Model/GetIpTest.php +++ b/test/Model/GetIpTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetIpTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIp /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpsFromSenderTest.php b/test/Model/GetIpsFromSenderTest.php index 657e4bf3..9f5128a3 100644 --- a/test/Model/GetIpsFromSenderTest.php +++ b/test/Model/GetIpsFromSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetIpsFromSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIpsFromSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpsTest.php b/test/Model/GetIpsTest.php index 18272975..78cb2d43 100644 --- a/test/Model/GetIpsTest.php +++ b/test/Model/GetIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIps /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListTest.php b/test/Model/GetListTest.php index 8fc7fbe9..79d1e6f7 100644 --- a/test/Model/GetListTest.php +++ b/test/Model/GetListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsFolderTest.php b/test/Model/GetListsFolderTest.php index c4de2885..9deefed6 100644 --- a/test/Model/GetListsFolderTest.php +++ b/test/Model/GetListsFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetListsFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetListsFolder /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsListsTest.php b/test/Model/GetListsListsTest.php index 8a33acbe..b8327d79 100644 --- a/test/Model/GetListsListsTest.php +++ b/test/Model/GetListsListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetListsListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetListsLists /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsTest.php b/test/Model/GetListsTest.php index 42ab0d7e..90a51672 100644 --- a/test/Model/GetListsTest.php +++ b/test/Model/GetListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetLists /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetProcessTest.php b/test/Model/GetProcessTest.php index 574bc4ce..17f9bb2d 100644 --- a/test/Model/GetProcessTest.php +++ b/test/Model/GetProcessTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetProcessTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetProcess /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetProcessesTest.php b/test/Model/GetProcessesTest.php index f6997808..d6c7638c 100644 --- a/test/Model/GetProcessesTest.php +++ b/test/Model/GetProcessesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetProcessesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetProcesses /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetReportsReportsTest.php b/test/Model/GetReportsReportsTest.php index d29dc4f7..2bfee020 100644 --- a/test/Model/GetReportsReportsTest.php +++ b/test/Model/GetReportsReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetReportsReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetReportsReports /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetReportsTest.php b/test/Model/GetReportsTest.php index 5ae68068..835a61e3 100644 --- a/test/Model/GetReportsTest.php +++ b/test/Model/GetReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetReports /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListIpsTest.php b/test/Model/GetSendersListIpsTest.php index 03ad6ba7..8ae7e5bf 100644 --- a/test/Model/GetSendersListIpsTest.php +++ b/test/Model/GetSendersListIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSendersListIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersListIps /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListSendersTest.php b/test/Model/GetSendersListSendersTest.php index 2a1530d4..b29819bf 100644 --- a/test/Model/GetSendersListSendersTest.php +++ b/test/Model/GetSendersListSendersTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSendersListSendersTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersListSenders /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListTest.php b/test/Model/GetSendersListTest.php index c0702000..cb141b67 100644 --- a/test/Model/GetSendersListTest.php +++ b/test/Model/GetSendersListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSendersListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignOverviewTest.php b/test/Model/GetSmsCampaignOverviewTest.php index 70dc8d76..e91d6251 100644 --- a/test/Model/GetSmsCampaignOverviewTest.php +++ b/test/Model/GetSmsCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaignOverview /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignStatsTest.php b/test/Model/GetSmsCampaignStatsTest.php index e5ef44d4..c5a025e9 100644 --- a/test/Model/GetSmsCampaignStatsTest.php +++ b/test/Model/GetSmsCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaignStats /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignTest.php b/test/Model/GetSmsCampaignTest.php index 1ca6e29b..308fd1ff 100644 --- a/test/Model/GetSmsCampaignTest.php +++ b/test/Model/GetSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignsTest.php b/test/Model/GetSmsCampaignsTest.php index 9d017022..960fdf70 100644 --- a/test/Model/GetSmsCampaignsTest.php +++ b/test/Model/GetSmsCampaignsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsCampaignsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaigns /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsEventReportEventsTest.php b/test/Model/GetSmsEventReportEventsTest.php index 94e4d13c..62589bb6 100644 --- a/test/Model/GetSmsEventReportEventsTest.php +++ b/test/Model/GetSmsEventReportEventsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsEventReportEventsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsEventReportEvents /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsEventReportTest.php b/test/Model/GetSmsEventReportTest.php index a8cc17f1..b542d1c1 100644 --- a/test/Model/GetSmsEventReportTest.php +++ b/test/Model/GetSmsEventReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmsEventReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsEventReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplateOverviewSenderTest.php b/test/Model/GetSmtpTemplateOverviewSenderTest.php index 8a950fe2..a6b94dd9 100644 --- a/test/Model/GetSmtpTemplateOverviewSenderTest.php +++ b/test/Model/GetSmtpTemplateOverviewSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmtpTemplateOverviewSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplateOverviewSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplateOverviewTest.php b/test/Model/GetSmtpTemplateOverviewTest.php index f13ed8c6..be521a99 100644 --- a/test/Model/GetSmtpTemplateOverviewTest.php +++ b/test/Model/GetSmtpTemplateOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmtpTemplateOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplateOverview /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplatesTest.php b/test/Model/GetSmtpTemplatesTest.php index f0f1f351..1621bd48 100644 --- a/test/Model/GetSmtpTemplatesTest.php +++ b/test/Model/GetSmtpTemplatesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetSmtpTemplatesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplates /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetStatsByDomainTest.php b/test/Model/GetStatsByDomainTest.php index 479c07a9..52e8d679 100644 --- a/test/Model/GetStatsByDomainTest.php +++ b/test/Model/GetStatsByDomainTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetStatsByDomainTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetStatsByDomain /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacAggregatedSmsReportTest.php b/test/Model/GetTransacAggregatedSmsReportTest.php index cb1bd029..dd07e3d2 100644 --- a/test/Model/GetTransacAggregatedSmsReportTest.php +++ b/test/Model/GetTransacAggregatedSmsReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetTransacAggregatedSmsReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacAggregatedSmsReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacSmsReportReportsTest.php b/test/Model/GetTransacSmsReportReportsTest.php index a05aec91..f329112a 100644 --- a/test/Model/GetTransacSmsReportReportsTest.php +++ b/test/Model/GetTransacSmsReportReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetTransacSmsReportReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacSmsReportReports /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacSmsReportTest.php b/test/Model/GetTransacSmsReportTest.php index 418dae79..54f2771c 100644 --- a/test/Model/GetTransacSmsReportTest.php +++ b/test/Model/GetTransacSmsReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetTransacSmsReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacSmsReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetWebhookTest.php b/test/Model/GetWebhookTest.php index f7ef4bed..3118c6ed 100644 --- a/test/Model/GetWebhookTest.php +++ b/test/Model/GetWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetWebhook /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetWebhooksTest.php b/test/Model/GetWebhooksTest.php index e5349360..30c6b494 100644 --- a/test/Model/GetWebhooksTest.php +++ b/test/Model/GetWebhooksTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * GetWebhooksTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetWebhooks /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/ManageIpTest.php b/test/Model/ManageIpTest.php index 1d838063..33c1699e 100644 --- a/test/Model/ManageIpTest.php +++ b/test/Model/ManageIpTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * ManageIpTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description ManageIp /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostContactInfoContactsTest.php b/test/Model/PostContactInfoContactsTest.php index 6eeddc0a..7a7a7960 100644 --- a/test/Model/PostContactInfoContactsTest.php +++ b/test/Model/PostContactInfoContactsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * PostContactInfoContactsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostContactInfoContacts /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostContactInfoTest.php b/test/Model/PostContactInfoTest.php index c5dff949..bf14dd37 100644 --- a/test/Model/PostContactInfoTest.php +++ b/test/Model/PostContactInfoTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * PostContactInfoTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostContactInfo /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostSendFailedTest.php b/test/Model/PostSendFailedTest.php index 9aede031..28a26736 100644 --- a/test/Model/PostSendFailedTest.php +++ b/test/Model/PostSendFailedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * PostSendFailedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostSendFailed /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostSendSmsTestFailedTest.php b/test/Model/PostSendSmsTestFailedTest.php index f8c66946..f198069e 100644 --- a/test/Model/PostSendSmsTestFailedTest.php +++ b/test/Model/PostSendSmsTestFailedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * PostSendSmsTestFailedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostSendSmsTestFailed /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelChildTest.php b/test/Model/RemainingCreditModelChildTest.php index 3a8b53dc..f23a52f0 100644 --- a/test/Model/RemainingCreditModelChildTest.php +++ b/test/Model/RemainingCreditModelChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RemainingCreditModelChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Credits remaining for child account /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelResellerTest.php b/test/Model/RemainingCreditModelResellerTest.php index 4b954ba6..4b8a579a 100644 --- a/test/Model/RemainingCreditModelResellerTest.php +++ b/test/Model/RemainingCreditModelResellerTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RemainingCreditModelResellerTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemainingCreditModelReseller /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelTest.php b/test/Model/RemainingCreditModelTest.php index 232849e0..bf8bbd1b 100644 --- a/test/Model/RemainingCreditModelTest.php +++ b/test/Model/RemainingCreditModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RemainingCreditModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemainingCreditModel /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemoveCreditsTest.php b/test/Model/RemoveCreditsTest.php index 0966dbfc..93ce455b 100644 --- a/test/Model/RemoveCreditsTest.php +++ b/test/Model/RemoveCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RemoveCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemoveCredits /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactExportTest.php b/test/Model/RequestContactExportTest.php index d88af871..19efd5c8 100644 --- a/test/Model/RequestContactExportTest.php +++ b/test/Model/RequestContactExportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RequestContactExportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactExport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactImportNewListTest.php b/test/Model/RequestContactImportNewListTest.php index 0cb67772..9641e65a 100644 --- a/test/Model/RequestContactImportNewListTest.php +++ b/test/Model/RequestContactImportNewListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RequestContactImportNewListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactImportNewList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactImportTest.php b/test/Model/RequestContactImportTest.php index 26b1870c..5ac6d30c 100644 --- a/test/Model/RequestContactImportTest.php +++ b/test/Model/RequestContactImportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RequestContactImportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactImport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestSMSRecipientExportTest.php b/test/Model/RequestSMSRecipientExportTest.php index abd9197c..1e1fa8a0 100644 --- a/test/Model/RequestSMSRecipientExportTest.php +++ b/test/Model/RequestSMSRecipientExportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * RequestSMSRecipientExportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestSMSRecipientExport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendEmailAttachmentTest.php b/test/Model/SendEmailAttachmentTest.php index 2b223734..7cde4830 100644 --- a/test/Model/SendEmailAttachmentTest.php +++ b/test/Model/SendEmailAttachmentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendEmailAttachmentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendEmailAttachment /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendEmailTest.php b/test/Model/SendEmailTest.php index 63dcb469..85b6427d 100644 --- a/test/Model/SendEmailTest.php +++ b/test/Model/SendEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendReportEmailTest.php b/test/Model/SendReportEmailTest.php index c427f9ef..afa655a9 100644 --- a/test/Model/SendReportEmailTest.php +++ b/test/Model/SendReportEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendReportEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendReportEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendReportTest.php b/test/Model/SendReportTest.php index 72e73c42..dcc20630 100644 --- a/test/Model/SendReportTest.php +++ b/test/Model/SendReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendReport /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmsTest.php b/test/Model/SendSmsTest.php index f193c74b..73cddb40 100644 --- a/test/Model/SendSmsTest.php +++ b/test/Model/SendSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSms /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailAttachmentTest.php b/test/Model/SendSmtpEmailAttachmentTest.php index 503304d5..2f96741b 100644 --- a/test/Model/SendSmtpEmailAttachmentTest.php +++ b/test/Model/SendSmtpEmailAttachmentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailAttachmentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailAttachment /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailBccTest.php b/test/Model/SendSmtpEmailBccTest.php index 4042366e..2cbde6a0 100644 --- a/test/Model/SendSmtpEmailBccTest.php +++ b/test/Model/SendSmtpEmailBccTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailBccTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailBcc /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailCcTest.php b/test/Model/SendSmtpEmailCcTest.php index 0f1a09d0..10ca828c 100644 --- a/test/Model/SendSmtpEmailCcTest.php +++ b/test/Model/SendSmtpEmailCcTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailCcTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailCc /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailReplyToTest.php b/test/Model/SendSmtpEmailReplyToTest.php index 1bd062a7..cac5b2e7 100644 --- a/test/Model/SendSmtpEmailReplyToTest.php +++ b/test/Model/SendSmtpEmailReplyToTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailReplyToTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Email on which transactional mail recipients will be able to reply to /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailSenderTest.php b/test/Model/SendSmtpEmailSenderTest.php index aa07715d..ec25857f 100644 --- a/test/Model/SendSmtpEmailSenderTest.php +++ b/test/Model/SendSmtpEmailSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailTest.php b/test/Model/SendSmtpEmailTest.php index 70b65bfa..c44c56c8 100644 --- a/test/Model/SendSmtpEmailTest.php +++ b/test/Model/SendSmtpEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailToTest.php b/test/Model/SendSmtpEmailToTest.php index a2fbd13c..d8c6c4e0 100644 --- a/test/Model/SendSmtpEmailToTest.php +++ b/test/Model/SendSmtpEmailToTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendSmtpEmailToTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailTo /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTemplateEmailTest.php b/test/Model/SendTemplateEmailTest.php index bf6baafe..30c5dcbb 100644 --- a/test/Model/SendTemplateEmailTest.php +++ b/test/Model/SendTemplateEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendTemplateEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTemplateEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTestEmailTest.php b/test/Model/SendTestEmailTest.php index 3b01da45..fca37d6f 100644 --- a/test/Model/SendTestEmailTest.php +++ b/test/Model/SendTestEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendTestEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTestEmail /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTestSmsTest.php b/test/Model/SendTestSmsTest.php index ef8924b9..31a430e6 100644 --- a/test/Model/SendTestSmsTest.php +++ b/test/Model/SendTestSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendTestSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTestSms /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTransacSmsTest.php b/test/Model/SendTransacSmsTest.php index a02109ff..ab5035ea 100644 --- a/test/Model/SendTransacSmsTest.php +++ b/test/Model/SendTransacSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * SendTransacSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTransacSms /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateCampaignStatusTest.php b/test/Model/UpdateCampaignStatusTest.php index 908acccd..8e63db64 100644 --- a/test/Model/UpdateCampaignStatusTest.php +++ b/test/Model/UpdateCampaignStatusTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateCampaignStatusTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Status of the campaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateChildTest.php b/test/Model/UpdateChildTest.php index 8027863d..0abd5c23 100644 --- a/test/Model/UpdateChildTest.php +++ b/test/Model/UpdateChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateChild /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateContactTest.php b/test/Model/UpdateContactTest.php index e803b75c..ef0288f5 100644 --- a/test/Model/UpdateContactTest.php +++ b/test/Model/UpdateContactTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateContactTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateContact /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignRecipientsTest.php b/test/Model/UpdateEmailCampaignRecipientsTest.php index 65e8c200..a4bebb75 100644 --- a/test/Model/UpdateEmailCampaignRecipientsTest.php +++ b/test/Model/UpdateEmailCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateEmailCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaignRecipients /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignSenderTest.php b/test/Model/UpdateEmailCampaignSenderTest.php index 09295711..b5e1b321 100644 --- a/test/Model/UpdateEmailCampaignSenderTest.php +++ b/test/Model/UpdateEmailCampaignSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateEmailCampaignSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaignSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignTest.php b/test/Model/UpdateEmailCampaignTest.php index 94c7a8ec..f4f1c2e4 100644 --- a/test/Model/UpdateEmailCampaignTest.php +++ b/test/Model/UpdateEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateListTest.php b/test/Model/UpdateListTest.php index fe6c1025..ee7b7d12 100644 --- a/test/Model/UpdateListTest.php +++ b/test/Model/UpdateListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateList /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSenderTest.php b/test/Model/UpdateSenderTest.php index b0635cb3..171be96c 100644 --- a/test/Model/UpdateSenderTest.php +++ b/test/Model/UpdateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmsCampaignTest.php b/test/Model/UpdateSmsCampaignTest.php index 57946e93..515a42f9 100644 --- a/test/Model/UpdateSmsCampaignTest.php +++ b/test/Model/UpdateSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmsCampaign /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmtpTemplateSenderTest.php b/test/Model/UpdateSmtpTemplateSenderTest.php index 446e219c..38222c1e 100644 --- a/test/Model/UpdateSmtpTemplateSenderTest.php +++ b/test/Model/UpdateSmtpTemplateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateSmtpTemplateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmtpTemplateSender /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmtpTemplateTest.php b/test/Model/UpdateSmtpTemplateTest.php index 6c36c1ef..85c3eb8c 100644 --- a/test/Model/UpdateSmtpTemplateTest.php +++ b/test/Model/UpdateSmtpTemplateTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateSmtpTemplateTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmtpTemplate /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateWebhookTest.php b/test/Model/UpdateWebhookTest.php index 9828b9e2..aa954fc3 100644 --- a/test/Model/UpdateWebhookTest.php +++ b/test/Model/UpdateWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Swagger\Client; +namespace Sendinblue\Client; /** * UpdateWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateWebhook /** - * @package Swagger\Client + * @package Sendinblue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */